Grables: Tabular Learning Beyond Independent Rows

Tamara Cucumides, Floris Geerts · DOI

Abstract

Tabular learning is still dominated by row-wise predictors that score each row independently, which fits i.i.d. benchmarks but fails on transactional, temporal, and relational tables where labels depend on other rows. We show that row-wise prediction rules out natural targets driven by global counts, overlaps, and relational patterns. To make "using structure" precise across architectures, we introduce grables: a modular interface that separates how a table is lifted to a graph (constructor) from how predictions are computed on that graph (node predictor), pinpointing where expressive power comes from. Experiments on synthetic tasks, transaction data, and a RelBench clinical-trials dataset confirm the predicted separations: message passing captures inter-row dependencies that row-local models miss, and hybrid approaches that explicitly extract inter-row structure and feed it to strong tabular learners yield consistent gains.

Introduction: The Row-Locality Assumption

Standard tabular machine learning models, such as gradient-boosted trees (XGBoost, LightGBM) or specialized MLPs, operate under a strong, often implicit assumption of row-locality. They treat each row as an independent and identically distributed (i.i.d.) sample, scoring it using only the features contained within that specific row.

However, real-world data is rarely isolated. In transactional, temporal, or relational databases, a row's label often depends on its relationship to other rows. For example, detecting credit card fraud might require knowing if a specific card ID was used 50 times in the last hour across other rows. Traditional tabular models are "blind" to these cross-row dependencies, a limitation that cannot be overcome simply by increasing model size or training data.

The Grables Framework

To rigorously analyze and bridge this gap, we introduce Grables (graph + tables). This modular framework separates the learning process into two distinct components:

  1. Graph Constructor: The logic that lifts a flat table into a relational structure (e.g., a bipartite graph connecting rows to shared categorical values).
  2. Node Predictor: The architecture used to compute predictions on this graph (e.g., a Message Passing Neural Network or MPNN).

By decoupling the structure from the predictor, we can pinpoint exactly where expressive power originates and compare different architectures on a level playing field.

Expressivity and Logical Tasks

Using tools from formal logic (Graded Modal Logic), we mathematically prove that row-local models are fundamentally incapable of representing targets that rely on global counts, overlaps, or shared witnesses. To empirically validate this "grabular expressivity," we designed four logical tasks that isolate these relational dependencies:

  • Uniqueness: Is a value unique in the dataset?
  • Counting: Does a value appear more than $k$ times?
  • Double Condition: Does a row share a value with another row that meets a specific condition?
  • Diamond: Do two rows share multiple common attributes?
Four logical tasks (Uniqueness, Counting, Double condition, Diamond) used to test the relational expressivity of models.

Empirical Findings

Our experiments across synthetic, retail, and complex relational datasets (RelBench) confirm several key insights:

Model Capacity vs. Structural Blindness

In "stress tests" where row-local proxies (spurious correlations) were removed, purely tabular models failed entirely on relational tasks, often achieving 0.0 F1 scores. In contrast, GNNs achieved near-perfect performance (~0.99 AUC), proving that the limitation of tabular models is representational, not a lack of capacity.

Implicit Attention is Insufficient

While tabular foundation models like TabPFN use cross-row attention, giving them implicit access to structure, they consistently underperformed explicit graph-based models on tasks requiring strict relational reasoning. This suggests that the inductive bias of message passing is more effective for relational data than general-purpose attention.

The Power of Hybrid Models

The most effective approach for real-world data is a hybrid one. By explicitly extracting inter-row structural features (via GNN embeddings or fixed neighborhood aggregations) and feeding them into a powerful tabular learner like LightGBM, we achieve the best of both worlds. On the relbench-trial dataset, this hybrid approach outperformed both pure tabular models and pure relational GNNs:

  • LightGBM (Tabular only): 0.7009 AUC
  • GNN (Relational only): 0.6860 AUC
  • Hybrid (LightGBM + GNN embeddings): 0.7486 AUC

Conclusion

The path forward for tabular learning involves moving beyond the row-locality assumption. While tabular models are robust at handling messy, heterogeneous features, GNNs excel at capturing structure. Hybrid models that inject structural awareness into strong tabular learners represent a significant step toward more capable relational machine learning.

Summary updated

BibTeX
@misc{cucumides2026grables,
  author = {Tamara Cucumides and Floris Geerts},
  title = {{Grables: Tabular Learning Beyond Independent Rows}},
  year = {2026},
  eprint = {2602.03945},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.03945},
}
Figure