A Comparative Study of Importance Attribution to Columns in Deep Learning over Relational Databases

Hila Levi-Yosefi, Shunit Agmon, Ester Livshits, Agapi Rissaki, Benny KimelfeldarXiv 2026

Deep learning over relational databases (RDL) is a burgeoning field, but as models like Relational Graph Transformers become more powerful, they also become more opaque. When a model predicts a clinical trial outcome or a driver’s finishing position, which specific database columns actually drove that decision?

This paper, "A Comparative Study of Importance Attribution to Columns in Deep Learning over Relational Databases," provides the first systematic look at whether the "explanation method" you choose actually changes the story the model tells.

TL;DR

The authors compare four major feature importance methods for relational deep learning and find that while they mostly agree on regression tasks, they often diverge significantly on classification. Crucially, simple column ablation is often a "good enough" proxy for expensive game-theoretic methods like Shapley, offering massive computational savings without sacrificing explanation quality.

What Problem Does This Paper Address?

In a standard flat-table ML model, feature importance is relatively straightforward. In a relational database, however, an attribute might be several foreign-key "hops" away from the target entity. Its influence propagates through complex relational structures and aggregation mechanisms.

Existing Explainable AI (XAI) methods—like Shapley values or Mask Learning—have been adapted for this setting, but practitioners didn't know if these methods were interchangeable. If two different explainers give you two different sets of "most important" columns, which one do you trust? This paper develops a methodology to compare these explainers based on attribute rankings, score distributions, and fidelity (how well the explanation actually reflects model behavior).

Methods

The researchers evaluated four distinct explanation frameworks:

  1. Single Column Ablation (SCA): A simple, fast method that masks one column at a time and measures the drop in prediction accuracy.
  2. Monte Carlo Shapley (Shapley-MC): A game-theoretic approach that estimates an attribute's "fair share" of the prediction by sampling permutations of all attributes.
  3. Kernel SHAP (Shapley-KS): A more efficient approximation of Shapley values using a weighted linear surrogate model.
  4. Mask Learning: An optimization-based approach that learns a continuous "mask" over attributes to find the smallest subset that preserves the model's original prediction.

A key theoretical contribution of the paper is proving that computing the exact Shapley value for these models is #P-hard, even for simple linear models over a single table, justifying the need for the approximation strategies used in the study.

Datasets

The study utilizes the RelBench framework, a comprehensive benchmark for relational deep learning. They tested two architectures—Heterogeneous GraphSAGE (HGS) and Relational Graph Transformers (RelGT)—across four datasets:

  • rel-trial: Clinical trial records (15 tables, ~5.5M rows).
  • rel-arxiv: Physics publication data (6 tables, ~2M rows).
  • rel-f1: Formula 1 racing data (9 tables, ~98K rows).
  • rel-event: Social event application data (5 tables, ~41.3M rows).

Tasks included both binary classification (e.g., will a trial succeed?) and regression (e.g., how many citations will a paper get?).

Key Insights and Ideas

  • Regression vs. Classification: Explainers are much more consistent in regression tasks. In these settings, most methods converge on a "tight core" of critical attributes. Classification tasks, however, produce much more disagreement between methods.
  • The "Cheap" Proxy: Single Column Ablation (SCA) aligns remarkably well with the much more expensive Shapley-based methods. For many practitioners, SCA can serve as a high-fidelity, low-cost alternative.
  • Mask Learning is the Outlier: Mask Learning often produces different results because its mathematical objective is different: it looks for a sufficient subset of features rather than ranking individual marginal contributions. This leads to a more "generous" distribution of importance scores.
Figure 2: Pairwise explainer similarity for regression, showing alignment on different prefixes (𝑘) for HGS and RelGT.
  • Fidelity Can Be Deceptive: The authors found cases where two explainers had similar "fidelity" scores (meaning they both seemed to capture model behavior well) but actually pointed to different sets of important attributes. This highlights why ranking alignment is a necessary complement to standard fidelity metrics.

Key Results

  • Computational Efficiency: The speedups are dramatic. Kernel SHAP was ~37x faster than Monte Carlo Shapley, but Single Column Ablation was the clear winner, running ~9.3x faster than Kernel SHAP.
  • Ranking Consensus: In regression tasks, the similarity between SCA and Shapley methods was often above 0.8 (where 1.0 is perfect agreement). In classification, this similarity frequently dropped below 0.6.
Figure 2: Pairwise similarity heatmaps for regression show high agreement (dark green) between SCA, Shapley-KS, and Shapley-MC.
Figure 3: Similarity heatmaps for classification show much more "red" and light green, indicating significant disagreement between methods.

Limitations and Future Work

  • Architecture Scope: The study focused primarily on graph-based neural networks. Future work could expand this to "relational foundation models" or specialized tabular architectures like TabPFN.
  • Human-in-the-loop: While the paper uses algorithmic metrics, the authors acknowledge that "importance" is ultimately for humans. Future studies should include human-centric evaluations to see which mathematical notion of importance best aligns with expert intuition.
  • Mask Learning Integration: Unlike the other three methods, Mask Learning requires specific architectural integration, making it slightly less "plug-and-play" for arbitrary models.

Summary updated

BibTeX
@misc{leviyosefi2026comparative,
  author = {Hila Levi-Yosefi and Shunit Agmon and Ester Livshits and Agapi Rissaki and Benny Kimelfeld},
  title = {{A Comparative Study of Importance Attribution to Columns in Deep Learning over Relational Databases}},
  year = {2026},
  eprint = {2611.05986},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.05986},
}
Figure