Rel-HNN: Split Parallel Hypergraph Neural Network for Learning on Relational Databases
Abstract
Relational databases (RDBs) are ubiquitous in enterprise and real-world applications. Flattening the database poses challenges for deep learning models that rely on fixed-size input representations to capture relational semantics from the structured nature of relational data. Graph neural networks (GNNs) have been proposed to address this, but they often oversimplify relational structures by modeling all the tuples as monolithic nodes and ignoring intra-tuple associations. In this work, we propose a novel hypergraph-based framework, that we call rel-HNN, which models each unique attribute-value pair as a node and each tuple as a hyperedge, enabling the capture of fine-grained intra-tuple relationships. Our approach learns explicit multi-level representations across attribute-value, tuple, and table levels. To address the scalability challenges posed by large RDBs, we further introduce a split-parallel training algorithm that leverages multi-GPU execution for efficient hypergraph learning. Extensive experiments on real-world and benchmark datasets demonstrate that rel-HNN significantly outperforms existing methods in both classification and regression tasks. Moreover, although the benefits of split-parallel training diminish on smaller hypergraphs with fewer nodes due to communication overhead, it achieves substantial speedups of up to 3.18× on large-scale relational datasets and up to 2.94× on large hypergraph datasets.
Cite
Text
Alam et al. "Rel-HNN: Split Parallel Hypergraph Neural Network for Learning on Relational Databases." Transactions on Machine Learning Research, 2025.Markdown
[Alam et al. "Rel-HNN: Split Parallel Hypergraph Neural Network for Learning on Relational Databases." Transactions on Machine Learning Research, 2025.](https://mlanthology.org/tmlr/2025/alam2025tmlr-relhnn/)BibTeX
@article{alam2025tmlr-relhnn,
title = {{Rel-HNN: Split Parallel Hypergraph Neural Network for Learning on Relational Databases}},
author = {Alam, Md. Tanvir and Alam, Md. Ahasanul and Rahman, Md Mahmudur and Khan, Md Mosaddek},
journal = {Transactions on Machine Learning Research},
year = {2025},
url = {https://mlanthology.org/tmlr/2025/alam2025tmlr-relhnn/}
}