Ramba: Selective State-Space Models for Relational Deep Learning

Yiming Liu, Chunyu Wei, Haozhe Lin, Fengjun Xiao, Junqi Zhang, Yunhai Wang, Yueguo Chen
Proceedings of the 43rd International Conference on Machine Learning, PMLR 306:78943-78967, 2026.

Abstract

Relational Deep Learning aims to learn directly on multi-table databases, yet current methods face a fundamental tension: Transformers’ quadratic complexity prohibits the large contexts relational data demands, while GNNs sacrifice global context for efficiency. We introduce Ramba, the first selective state-space model for relational databases. Our approach features two innovations: (1) Topology-Aware Linearization, which processes cells via global columnar serialization in O(L) complexity while recovering relational structure through sparse entity and foreign-key attention masks; and (2) Schema Dynamic Gating, which modulates SSM state transitions based on semantic alignment between the currently scanned attribute and the prediction target, enabling cross-table relevance filtering without relying on value distributions. Together, these enable Ramba to ingest vast relational contexts while selectively retaining semantically relevant information, a combination existing architectures cannot achieve. Experiments demonstrate state-of-the-art performance with linear scalability across diverse relational benchmarks.

Cite this Paper


BibTeX
@InProceedings{pmlr-v306-liu26ep, title = {Ramba: Selective State-Space Models for Relational Deep Learning}, author = {Liu, Yiming and Wei, Chunyu and Lin, Haozhe and Xiao, Fengjun and Zhang, Junqi and Wang, Yunhai and Chen, Yueguo}, booktitle = {Proceedings of the 43rd International Conference on Machine Learning}, pages = {78943--78967}, year = {2026}, editor = {Zhang, Tong and Dudik, Miroslav and Jaggi, Martin and Agarwal, Alekh and Li, Sharon and Schuurmans, Dale and Zhu, Jerry and Berkenkamp, Felix and Dong, Hanze and Bietti, Alberto}, volume = {306}, series = {Proceedings of Machine Learning Research}, month = {06--11 Jul}, publisher = {PMLR}, pdf = {https://raw.githubusercontent.com/mlresearch/v306/main/assets/liu26ep/liu26ep.pdf}, url = {https://proceedings.mlr.press/v306/liu26ep.html}, abstract = {Relational Deep Learning aims to learn directly on multi-table databases, yet current methods face a fundamental tension: Transformers’ quadratic complexity prohibits the large contexts relational data demands, while GNNs sacrifice global context for efficiency. We introduce Ramba, the first selective state-space model for relational databases. Our approach features two innovations: (1) Topology-Aware Linearization, which processes cells via global columnar serialization in O(L) complexity while recovering relational structure through sparse entity and foreign-key attention masks; and (2) Schema Dynamic Gating, which modulates SSM state transitions based on semantic alignment between the currently scanned attribute and the prediction target, enabling cross-table relevance filtering without relying on value distributions. Together, these enable Ramba to ingest vast relational contexts while selectively retaining semantically relevant information, a combination existing architectures cannot achieve. Experiments demonstrate state-of-the-art performance with linear scalability across diverse relational benchmarks.} }
Endnote
%0 Conference Paper %T Ramba: Selective State-Space Models for Relational Deep Learning %A Yiming Liu %A Chunyu Wei %A Haozhe Lin %A Fengjun Xiao %A Junqi Zhang %A Yunhai Wang %A Yueguo Chen %B Proceedings of the 43rd International Conference on Machine Learning %C Proceedings of Machine Learning Research %D 2026 %E Tong Zhang %E Miroslav Dudik %E Martin Jaggi %E Alekh Agarwal %E Sharon Li %E Dale Schuurmans %E Jerry Zhu %E Felix Berkenkamp %E Hanze Dong %E Alberto Bietti %F pmlr-v306-liu26ep %I PMLR %P 78943--78967 %U https://proceedings.mlr.press/v306/liu26ep.html %V 306 %X Relational Deep Learning aims to learn directly on multi-table databases, yet current methods face a fundamental tension: Transformers’ quadratic complexity prohibits the large contexts relational data demands, while GNNs sacrifice global context for efficiency. We introduce Ramba, the first selective state-space model for relational databases. Our approach features two innovations: (1) Topology-Aware Linearization, which processes cells via global columnar serialization in O(L) complexity while recovering relational structure through sparse entity and foreign-key attention masks; and (2) Schema Dynamic Gating, which modulates SSM state transitions based on semantic alignment between the currently scanned attribute and the prediction target, enabling cross-table relevance filtering without relying on value distributions. Together, these enable Ramba to ingest vast relational contexts while selectively retaining semantically relevant information, a combination existing architectures cannot achieve. Experiments demonstrate state-of-the-art performance with linear scalability across diverse relational benchmarks.
APA
Liu, Y., Wei, C., Lin, H., Xiao, F., Zhang, J., Wang, Y. & Chen, Y.. (2026). Ramba: Selective State-Space Models for Relational Deep Learning. Proceedings of the 43rd International Conference on Machine Learning, in Proceedings of Machine Learning Research 306:78943-78967 Available from https://proceedings.mlr.press/v306/liu26ep.html.

Related Material