University of Amsterdam Proves Graph-Based Tabular AI Learns Basically Random Structures
A new paper proves that graph-based tabular deep learning models learn feature graphs no better than random chance — and fixing that boosts accuracy.
ProTakeaways
- Core finding: Graph-based tabular deep learning (GTDL) models learn feature interaction graphs no better than random chance (ROC AUC ≈ 0.5).
- Root cause: GTDL models only optimize predictive loss, giving them no incentive to learn the true underlying graph structure.
- Key experiment: Imposing the ground-truth graph by pruning false edges consistently improves model accuracy, especially with limited training data.
- Practical warning: Attention maps and learned adjacency matrices used for interpretability in models like FT-Transformer and T2G-Former are likely meaningless.
- Classical baseline wins on structure: The Bayesian PGM method BDgraph recovers feature interactions far more accurately than any GTDL method tested.
- Open source: The evaluation framework and code are publicly available for the community to benchmark structural fidelity.
Deep learning has conquered images, text, and audio. Tabular data , the spreadsheets and databases that power most real-world ML applications , remains stubbornly resistant. Deep learning methods still struggle to compete against traditional, tree-based machine learning methods on tabular data. A promising class of approaches, graph-based tabular deep learning (GTDL), was supposed to change that by explicitly modeling which features interact with each other. A new paper from the University of Amsterdam just showed that these methods are failing at the one thing they were designed to do.
The promise of graph-based tabular learning
Tabular data is messy. Each column means something different, and the relationships between columns are complex, indirect, and dataset-specific. The idea behind GTDL is elegant: model the inductive bias of feature interactions naturally in the form of a graph, where the nodes represent features and the edges their interactions. If a model knows that age and income interact but zip_code and blood_pressure do not, it can focus its parameters where they matter.
Two families of methods pursue this goal. Implicit GTDL methods , like FT-Transformer and SAINT , use attention maps as a proxy for feature relationships. Explicit GTDL methods , like FiGNN, T2G-Former, and INCE , go further, learning a trainable weighted adjacency matrix that directly encodes which features talk to which. GNNs for tabular data typically have trainable parameters that represent individual features or interactions, allowing for more flexible modeling compared to attention-based methods that rely on shared parameters across features.
Both families share a common assumption: that the graph structure they learn is meaningful. The Amsterdam team decided to actually test that assumption.
The graph is basically random
Current GTDL approaches primarily focus on optimizing predictive accuracy, often neglecting the accurate modeling of the underlying graph structure. Using synthetic datasets with known ground-truth graph structures, the researchers find that current GTDL methods fail to recover meaningful feature interactions, as their edge recovery is close to random.
The key insight is that there is no ground truth for real-world datasets , you cannot check whether the learned graph is correct if you do not know what the correct graph looks like. The team solved this by generating synthetic datasets where the true feature interaction graph is known by construction. They used two data generation pipelines:
- Multivariate Normals (MVN): Sample a random graph, then sample data from a multivariate Gaussian whose covariance structure is constrained by that graph. Features connected by an edge are statistically dependent; disconnected features are conditionally independent.
- Structural Causal Models (SCM): Build a directed acyclic graph (DAG) , a causal graph where each node is computed from its parents via a nonlinear function. This mimics how tabular foundation models like TabPFN generate synthetic data, and produces more complex, nonlinear interactions.
With ground truth in hand, the team measured how well each GTDL model's learned adjacency matrix matched the true one, using ROC AUC (a score of 0.5 means the model is guessing randomly; 1.0 is perfect). For all GTDL methods, across both datasets, the ROC AUC is approximately 0.5, which is equal to random chance. There is no difference in the values of the adjacency matrix whether there exists a true edge or not.
This held across all four models tested , FT-Transformer, FiGNN, T2G-Former, and INCE , and did not improve even when training data was scaled up to 100,000 samples. The models were not just noisy; they were structurally blind.
Why this happens
The root cause is a misalignment between what GTDL methods optimize and what they claim to learn. The training loss is tied to predictive performance, providing no incentive to ensure accuracy or meaningfulness in the learned graph structure. As a result, the adjacency matrix may reflect optimization artifacts rather than genuine feature interactions.
Think of it this way: a model can get good predictions by learning a dense, noisy graph that happens to route information through the right paths on average. It never needs to commit to the clean, sparse graph that reflects the true data-generating process. Accuracy and structural fidelity are different objectives, and optimizing one does not guarantee the other.
Meanwhile, a classical probabilistic graphical model (PGM) , specifically BDgraph, a Bayesian structure learning method , achieved ROC AUC values close to 1.0 on the linear MVN datasets and reasonable scores on the nonlinear SCM datasets. The fact that this non-deep learning method can learn the feature interactions, while these advanced GTDL methods cannot, suggests that GTDL methods have room for improvement in learning the graph structure.
Fixing the graph improves predictions
The team then ran a controlled experiment: what happens if you give a GTDL model the true graph? They pruned each model's adjacency matrix to include only the ground-truth edges, masking out all spurious connections. The result was consistent across models and datasets.
When the graph is pruned to the true edges, the models are less likely to overfit to spurious or irrelevant feature interactions. Restricting the model to only the true interactions simplifies the optimization landscape, allowing the learning algorithm to focus on meaningful relationships rather than being distracted by false edges.
The benefit was especially pronounced with limited data. The benefit of incorporating the true graph increases by reducing the number of training samples. When ample data is available, models benefit less from incorporating the graph structure correctly, but when data is scarce, leveraging the graph structure improves the predictions. This is consistent with the broader principle of geometric deep learning: when data is abundant, models can implicitly learn structure; when it is scarce, baking structure in explicitly pays off.
One exception was FiGNN, which did not benefit much from pruning. The paper traces this to an architectural difference: FiGNN treats prediction as a graph-level task (aggregating all node embeddings before predicting), while T2G-Former, INCE, and FT-Transformer treat it as a node-level task (predicting from a dedicated target node). Node-level models are more sensitive to which edges exist, so they gain more from a clean graph.
What this means in practice
The implications split into two directions. First, do not trust the attention maps. Every GTDL paper in the survey , FiGNN, T2G-Former, DRSA-Net, INCE, MPCFIN, TabNet, SAINT, FT-Transformer , uses its learned graph or attention map for interpretability. The learned feature interactions should not be used for interpretability or explainability. If you are using these visualizations to explain model decisions to stakeholders, the graphs are likely meaningless.
Second, if you have domain knowledge about feature relationships, use it. The pruning experiments show that injecting the correct graph structure , even partially , can improve accuracy, particularly in low-data regimes. This is actionable today: most GTDL frameworks allow you to mask the adjacency matrix with a prior structure.
Here is a minimal example of how you might impose a known interaction structure on an FT-Transformer-style model:
import torch
# known_graph: binary adjacency matrix from domain knowledge
# shape: (num_features, num_features)
known_graph = torch.tensor([
[1, 1, 0, 0],
[1, 1, 1, 0],
[0, 1, 1, 1],
[0, 0, 1, 1],
], dtype=torch.float)
def masked_attention(attn_weights, graph_mask):
# Zero out attention between non-interacting features
# before softmax normalization
attn_weights = attn_weights.masked_fill(graph_mask == 0, float('-inf'))
return torch.softmax(attn_weights, dim=-1)
The paper also highlights a gap in the evaluation culture of the field. Existing GTDL methods typically evaluate the learned graph structure only qualitatively, as real-world datasets rarely include ground-truth feature interaction graphs. The synthetic benchmarking framework introduced here , with MVN and SCM data generators and ROC AUC graph quality scores , gives the community a concrete tool to measure structural fidelity going forward.
What comes next
The paper is a diagnostic, not a fix. The authors identify three directions for future work:
- Beyond edge presence: Future methods should learn not just which features interact, but how , the functional form of the interaction (linear, multiplicative, threshold-based).
- Harder benchmarks: The current synthetic graphs have only 10 nodes. Scaling to larger, denser graphs with categorical features and missing nodes is the next challenge.
- Relational databases: The same structural fidelity question applies to relational deep learning, where the relevant graph is the schema of a database rather than a feature interaction graph.
The code and experiments are publicly available on GitHub, and the paper is published in Transactions on Machine Learning Research. For anyone building tabular models where interpretability matters , fraud detection, clinical decision support, credit scoring , this paper is a necessary reality check on what graph-based methods actually learn.