Introduction
Traditional Gradient Boosted Decision Trees (GBDTs), such as XGBoost and LightGBM, are the gold standard for tabular data. However, real-world data is rarely confined to a single table; it is typically relational, spread across multiple tables (e.g., users, transactions, and products). To apply GBDTs to such data, practitioners usually perform "propositionalization"—manually flattening the relational structure into a single table. This process is labor-intensive, prone to "relational shortsightedness" (missing patterns that span multiple joins), and can lead to a massive explosion in feature count.
This paper introduces Relational GBDT, a novel framework that enables tree-based models to navigate complex relational schemas automatically. By integrating a non-differentiable attention mechanism, the authors allow GBDTs to leverage structural topology without the need for manual feature engineering or differentiable backpropagation.
Methodology: The Two-Pass Training Process
Relational GBDT operates by augmenting each weak learner (tree) within a gradient boosting loop through a two-pass process:
- The Schedule: The database schema is represented as a directed acyclic graph (DAG) or "schedule" that defines how information flows between tables.
- Forward Pass (Top-Down): Starting from the "root" table (containing the target labels), the algorithm propagates pseudo-responses (residuals) down to child tables. Local regressive models are trained for each table to predict these residuals based on local features.
- Backward Pass (Bottom-Up): Information is aggregated back up the schedule using an attention mechanism. This includes Soft Attention (weighting child features by forward-pass model scores), Hard Attention (selecting features from the most relevant related row), and Score Aggregation (pulling up summary statistics like min, max, or mean of child model predictions).
- Final Tree Construction: The root table is enriched with these aggregated features, and a final decision tree is trained on the complete set.
Experimental Evaluation
The authors evaluated Relational GBDT on five diverse datasets, including synthetic benchmarks designed to test relational depth and real-world datasets like the Arxiv citation network and financial loan records.
Key Results
Relational GBDT consistently outperformed standard GBDTs and Neural Networks applied to both root-only and flattened data:
- Synthetic Accuracy: Achieved 98.96%, significantly higher than the 92% reached by standard GBDTs on flattened data, proving its ability to overcome relational shortsightedness.
- Arxiv Performance: Reached 66.70% accuracy, a substantial improvement over the 52.92% achieved by flattening the citation data.
- Efficiency and Interpretability: The method is computationally efficient and maintains the interpretability of standard trees. Users can analyze feature importance for both local and attention-derived relational features.
Conclusion and Future Work
Relational GBDT bridges the gap between the structural awareness of deep learning and the high performance of tree-based models on tabular data. While current limitations include the lack of native support for temporal ordering and complex circular schemas, the framework provides a powerful, interpretable alternative to manual propositionalization. Future work may focus on optimizing pseudo-label updates to further improve boosting rates.
Summary updated