RAGBoost: Robust Tabular Learning via Retrieval-Augmented and Ancillary-Guided Gradient Boosting

Jinlin Wang, Zhixuan Chen, Qi MaNeurIPS 2026

TL;DR

Gradient Boosted Decision Trees (like XGBoost) are the undisputed workhorses of tabular data, yet they suffer from "amnesia" across iterations—forcing sparse, deep leaves to guess their weights from tiny, noisy sample pools. RAGBoost gives gradient boosting a memory, borrowing gradient statistics from similar historical leaves to stabilize sparse predictions while probing for hidden local biases with temporary auxiliary trees. Best of all, it alters only the scalar leaf values during training, delivering foundation-model-beating accuracy with zero added cost at inference time.

What Problem Does This Paper Address?

Imagine trying to gauge the average height of people in a city, but you are only allowed to measure three people standing on one specific street corner. Your estimate is going to be wildly unstable.

This is the exact statistical trap lurking at the bottom of deep Gradient Boosted Decision Trees (GBDTs). As trees split data finer and finer to reduce approximation bias, the number of training samples reaching each leaf drops exponentially. Because leaf weights are calculated from the local sum of first- and second-order gradients, sparse leaves produce high-variance, unreliable updates.

Standard GBDTs fight this with global regularization—adding a fixed penalty ($\lambda$) to every leaf’s denominator—or by refusing to split small nodes altogether. That’s a blunt instrument: it treats a leaf with 5,000 samples the same way it treats a leaf with 5, oversmoothing genuine local signals. Meanwhile, every boosting iteration is completely memoryless. Even if structurally similar gradient patterns appear again and again across earlier trees, each new leaf computes its update in total isolation.

Methods

RAGBoost keeps the standard GBDT tree-building structure intact and upgrades only how leaf weights are estimated during training via a two-layer, gated correction mechanism:

Figure 1: Overview of the RAGBoost Framework Architecture.
  1. Layer 1: Retrieval-Augmented Empirical Shrinkage (Variance Control). Every high-confidence leaf from previous trees is encoded into a state vector (capturing structural stats, normalized gradients, and depth) and stored in a dynamic memory bank. When a sparse new leaf is admitted, RAGBoost retrieves the top-$K$ most similar historical leaves to form a data-driven gradient prior. An adaptive gate blends the noisy local update with this historical prior—shrinking heavily when sample counts are tiny and neighbors are reliable, and backing off when local data is plentiful. (Strict temporal ordering ensures current-tree leaves are only stored after the tree is finalized, preventing data leakage.)
  2. Layer 2: Ancillary Residual Correction (Bias Control). What if a leaf isn't just sparse, or has weird internal patterns that the memory bank hasn't seen? RAGBoost fits a handful of temporary "ancillary trees" to the current negative gradients as diagnostic probes. If their predictions align well with a leaf's unresolved residuals—and if Layer 1 retrieval was weak or uncertain—RAGBoost nudges the leaf weight to correct the local bias.

Once the scalar leaf weights are finalized, both the memory bank and ancillary trees are thrown away. At deployment, you are left with a standard, lightning-fast GBDT ensemble.

Datasets

The authors evaluate RAGBoost across three distinct settings:

  • 40 Public Tabular Benchmarks: Sourced from OpenML/AutoML suites (20 classification, 20 regression) spanning diverse scales and distributions using random 70/15/15 splits.
  • TabReD: An industrial-scale benchmark of 8 datasets featuring realistic temporal distribution shifts (evaluated on official time-based splits rather than i.i.d. random splits).
  • 5 Newly Synthesized DAG Benchmarks: Custom regression datasets (Sparse, Hetero, Repeated, Shift, and NoisyRare) generated via Directed Acyclic Graphs specifically to isolate and stress-test local failure modes of deep trees.

Key Insights and Ideas

  • Surgical Conservatism: You might expect RAGBoost to rewrite the whole tree, but diagnostics on the synthetic benchmarks show that 94.6% to 98.1% of sample-weighted updates remain standard GBDT updates! RAGBoost acts like a sniper, intervening almost exclusively in small leaves (e.g., 11–20 samples) with high residual variance.
  • Ungated Advice is Worse Than No Advice: In ablations, removing the confidence-aware dynamic gate (NoGate) actually made the model worse than standard XGBoost (1.288 vs. 1.266 RMSE). Knowing when to ignore retrieved history or auxiliary probes is what makes the math work.
  • Built-in Audit Trails: Because every leaf's pathway is logged (standard, retrieval-augmented, ancillary-corrected, etc.), RAGBoost natively tells you which test predictions relied on historical borrowing and which training leaves provided that provenance—while remaining 100% compatible with standard SHAP.

Key Results

Across the 40 public benchmarks, RAGBoost claims the #1 overall average rank (2.9750), comfortably beating tabular foundation models like TabPFN (4.0125), deep ensembles like TabM (4.4000), and XGBoost (5.1625). Its lead is sharpest in regression, where raw leaf-value estimation errors directly penalize RMSE.

Table 1: Aggregate performance on 40 public tabular datasets.

On TabReD (under temporal drift), RAGBoost secures 2nd place overall (average rank 3.56), outperforming XGBoost (4.44), LightGBM (5.19), CatBoost (5.69), and base TabM (3.69), trailing only the specialized TabM-mini variant (3.31).

Figure 2: Empirical runtime comparison. RAGBoost(rag) denotes the retrieval-only variant, while RAGBoost(rag+anc) denotes the full model with ancillary correction. TabPFN’s architecture imposes a hard limit of 50K samples, so the 100K × 120 setting exceeds its capacity. Full numerical results and theoretical complexity analysis are provided in Appendix C.

Efficiency: Training overhead is remarkably light. On a $100\text{K} \times 120$ dataset (a scale where TabPFN hits a hard architectural wall at 50K samples), retrieval-only RAGBoost trains in 9.00s—virtually identical to XGBoost (8.44s) and CatBoost (8.91s), using just 2–10 MB of extra RAM. Adding ancillary trees brings training to 30.5s, still far faster than large deep tabular baselines, with zero inference overhead.

Limitations and Future Work

Because RAGBoost operates strictly inside the axis-aligned gradient boosting paradigm and leaves tree topologies untouched, it cannot learn smooth, high-order continuous feature representations the way neural networks do (which helps explain why MLPs and TabM still edge it out on certain temporally shifted tasks like Ecom Offers). For future work, the authors suggest exploring hybrid architectures that marry node-adaptive boosting corrections with learned neural representations or cross-paradigm ensembles.

Summary updated

Abstract

Gradient Boosted Decision Trees (GBDTs) remain a leading approach for tabular learning, offering strong predictive performance, computational efficiency, and robustness to heterogeneous feature types. Yet their standard second-order leaf updates suffer from a node-level statistical limitation: as trees grow deeper, sparse leaves provide increasingly unreliable gradient estimates, while global regularization cannot adapt to local uncertainty or residual structure. We propose RAGBoost, a retrieval-augmented and ancillary-guided boosting framework for robust tabular learning. RAGBoost augments standard GBDT optimization with a two-layer node-adaptive correction mechanism. First, it retrieves historically observed leaves with similar gradient-state configurations to form node-conditional gradient priors, stabilizing variance-dominated sparse-leaf updates through empirical shrinkage. Second, it uses ancillary residual correction to detect and mitigate bias-dominated within-leaf residual structure that remains unresolved by the main tree. These corrections modify only leaf values, preserving the original tree structure and inference pipeline. Empirically, RAGBoost achieves the best overall average rank across 40 heterogeneous tabular benchmarks in our evaluation, while remaining strongly competitive with recent deep tabular and tabular foundation model baselines. On TabReD, an industrial-scale temporal-shift benchmark, RAGBoost outperforms XGBoost and the base TabM variant overall, suggesting improved robustness under realistic distribution drift.
BibTeX
@inproceedings{wang2026ragboost,
  author = {Jinlin Wang and Zhixuan Chen and Qi Ma},
  title = {{RAGBoost: Robust Tabular Learning via Retrieval-Augmented and Ancillary-Guided Gradient Boosting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=imedFDfGJM},
}
Figure