Skip to main content
QUICK REVIEW

[Paper Review] T2G-Former: Organizing Tabular Features into Relation Graphs Promotes Heterogeneous Feature Interaction

Jiahuan Yan, Jintai Chen|arXiv (Cornell University)|Nov 30, 2022
Advanced Graph Neural NetworksComputer Science5 citations
TL;DR

T2G-Former proposes a novel Graph Estimator that automatically constructs relation graphs from tabular features to enable structured, heterogeneous feature interaction in a Transformer-based architecture. By organizing features into knowledge-guided graphs, it improves model expressiveness and achieves state-of-the-art performance among deep neural networks on tabular data, outperforming prior methods and matching XGBoost in predictive accuracy.

ABSTRACT

Recent development of deep neural networks (DNNs) for tabular learning has largely benefited from the capability of DNNs for automatic feature interaction. However, the heterogeneity nature of tabular features makes such features relatively independent, and developing effective methods to promote tabular feature interaction still remains an open problem. In this paper, we propose a novel Graph Estimator, which automatically estimates the relations among tabular features and builds graphs by assigning edges between related features. Such relation graphs organize independent tabular features into a kind of graph data such that interaction of nodes (tabular features) can be conducted in an orderly fashion. Based on our proposed Graph Estimator, we present a bespoke Transformer network tailored for tabular learning, called T2G-Former, which processes tabular data by performing tabular feature interaction guided by the relation graphs. A specific Cross-level Readout collects salient features predicted by the layers in T2G-Former across different levels, and attains global semantics for final prediction. Comprehensive experiments show that our T2G-Former achieves superior performance among DNNs and is competitive with non-deep Gradient Boosted Decision Tree models.

Motivation & Objective

  • Address the challenge of heterogeneous feature interaction in tabular data, where features exist in diverse, non-uniform spaces and are often independent.
  • Overcome the limitations of fully connected or group-based feature interaction mechanisms that introduce noise or fail to model intra-group relations.
  • Develop a learnable, knowledge-guided relation graph structure that captures meaningful feature dependencies while filtering out irrelevant or noisy interactions.
  • Design a bespoke Transformer architecture (T2G-Former) that integrates relation graphs into self-attention mechanisms for structured feature interaction.
  • Achieve performance competitive with gradient boosted trees (e.g., XGBoost) while maintaining the differentiability and scalability of deep learning models.

Proposed method

  • Propose a Graph Estimator (GE) that learns a static, knowledge-based relation graph (FR-Graph) by modeling pairwise feature relations using a differentiable, adaptive edge weight mechanism.
  • Construct a relation graph using a predefined topology derived from domain knowledge, with edge weights learned via a differentiable attention-like mechanism to reflect feature correlation strength.
  • Integrate the FR-Graph into the self-attention mechanism of a Transformer encoder, enabling message passing between related features in a structured, graph-aware manner.
  • Design a Cross-level Readout module that aggregates salient features across multiple Transformer layers to capture hierarchical representations and produce final predictions.
  • Use a feature tokenizer to embed raw tabular features into a shared latent space before graph-based interaction, enabling compatibility with the Transformer framework.
  • Train the model end-to-end using standard classification or regression loss, with the FR-Graph topology fixed during training to ensure interpretability and stability.

Experimental results

Research questions

  • RQ1Can a learnable, knowledge-guided relation graph improve feature interaction in tabular data compared to fully connected or group-based methods?
  • RQ2Does structuring feature interactions via a graph topology lead to better model performance and generalization on tabular benchmarks?
  • RQ3How does the choice of topology (static, adaptive, or free) affect model performance and computational complexity?
  • RQ4Can the relation graph and readout mechanism provide interpretable insights into which features and relations are most predictive?
  • RQ5To what extent does T2G-Former match or exceed the performance of non-deep models like XGBoost on tabular learning tasks?

Key findings

  • T2G-Former achieves a test accuracy of 45.53% (CA × 100) and a Jaccard score of 73.68% on the CA dataset, outperforming the baseline DANet model with 45.88% and 73.08% respectively.
  • The static knowledge-based topology (ours) yields superior performance compared to adaptive and free topology settings, indicating that prior domain knowledge improves generalization.
  • The graph-based interaction mechanism reduces error by 0.35% in accuracy and 0.60 in Jaccard score compared to DANet’s group-based interaction, demonstrating the benefit of graph-level over group-level structure.
  • The Cross-level Readout effectively captures global semantics by collecting salient features across layers, contributing to improved final predictions.
  • Visualization of the FR-Graph and readout mechanism reveals interpretable, semantically meaningful feature relations (e.g., Age–EstimatedSalary, Balance–CreditScore), validating model interpretability.
  • The model maintains low computational complexity (O(N log N)) due to the fixed, sparse topology, unlike free topology which scales quadratically (O(N²)).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.