XGBoost shows up in 30 papers in this archive, and the pattern across them is more useful than any single result. On tabular, cross-sectional problems with stable labels (default, fraud, response), gradient-boosted trees win cleanly and repeatedly against logistic regression. On time-series return prediction, the win shrinks to a few points of directional accuracy, and whether anything survives costs depends almost entirely on the evaluation design. This page sorts the corpus by problem type, then covers the two failure modes specific to trees on financial data: leakage through the pipeline and over-reading feature importance.

What XGBoost is used for in the corpus

Credit and default. This is where the evidence is strongest. A 2024 case study in the archive finds that an XGBoost model combining fundamentals, macro data and text embeddings outperforms generative LLMs at forecasting corporate credit ratings on 23 years of data, with code released. A bank-validated compliant credit-scoring paper reports that XGBoost improves default capture over an institution’s production scorecard on real auto-loan data, with out-of-time testing and swap-set analysis. A 2024 fintech marketing study finds XGBoost beating logistic regression across metrics, especially with categorical binning. See also the probability-of-default keyword page.

Return and direction prediction. Results here are real but modest. A 2026 paper forecasting NEPSE index log returns with walk-forward validation beats tuned ARIMA and Ridge on RMSE and reports 65.15% directional accuracy, while being candid that R-squared stays low. An S&P 500 trend study finds XGBoost best for long-horizon trends but KNN better short-term, and reports overfitting and poor recall for up-moves. A comparison on three NYSE stocks over 2020 to 2022 picks XGBoost on error metrics, using only 240 training days.

Volatility. XGBoost appears as a component rather than the forecaster. A 2025 paper on S&P 500 volatility with regime switching uses it to assign regime probabilities over HAR coefficients, and the regime-aware model beats the autoregressive baseline before, during and after 2020.

Surveillance and fraud. A 2025 study of crypto pump-and-dump detection reports recall near 95% for XGBoost after SMOTE oversampling. Classification with rare positives is the setting where trees are most comfortable.

Microstructure. A 2025 paper on forecasting liquidity withdrawal from Nasdaq market-by-order data compares AR and HAR against XGBoost at horizons from 250 milliseconds to 5 seconds and, usefully, identifies regimes where the linear models are the ones that dominate.

The baselines, and where the gains vanish

The baseline that matters is not an LSTM. It is logistic regression, Ridge, ARIMA or HAR on the same features, and buy-and-hold on the strategy side. The machine-learning hub notes that trees on engineered features remain stubbornly competitive with deep architectures, and the corpus agrees: a 2025 DeFi yield benchmark has XGBoost and random forest beating LSTM, transformer and quantum models on 28 Curve pools.

Three places the edge disappears:

  1. Error metrics to P&L. A paper that stops at RMSE or directional accuracy has tested a model, not a strategy. The NEPSE paper above evaluates on forecast errors only. The 2025 hybrid models study is the counterexample worth copying: it evaluates both error metrics and trading performance against buy-and-hold across two decades of S&P 500 and ten years of Bitcoin, and the winning hybrids combine ARIMA with SVM or LSTM, not XGBoost. The arithmetic of why accuracy does not translate is in how to evaluate an ML trading paper.
  2. Costs. Daily-rebalanced direction models trade constantly. Transaction costs and slippage routinely consume a two- or three-point accuracy edge. Treat any uncosted equity curve as an upper bound.
  3. Implausible headline numbers. A 2025 paper on macro alpha from news sentiment reports cost-adjusted Sharpe ratios of 5.87 on EUR/USD and 4.65 on USD/JPY from an XGBoost classifier. Its protocol reads well (expanding-window CV, published code), and our score note flags the Sharpes as warranting scrutiny anyway. Numbers like that are an invitation to reproduce, not to believe. The same applies to a 2026 hybrid trading system reporting a 135% return over 24 months.

Leakage mistakes specific to trees on time series

Trees do not care about feature scale and handle missing values natively, which removes two leakage channels and lulls people into ignoring the rest.

  • Shuffled or k-fold splits. Random cross-validation on overlapping financial samples is disqualifying. Use walk-forward with purging and embargo. The NEPSE paper’s design, tuning with time-series CV on the initial segment only and then walking forward under expanding and fixed windows, is the right shape.
  • Oversampling before splitting. SMOTE appears in several corpus papers. Synthetic minority points interpolated from the full sample put test-period information into training. Oversample inside each training fold only.
  • Feature selection on the full sample. Picking features by full-sample correlation, or by importance from a model that saw the test period, is leakage even when the final model is retrained cleanly. The 2023 feature selection with annealing paper selects from over 1,000 technical-indicator candidates, which is exactly the situation where the selection step must sit inside the walk-forward loop.
  • Labels built with future data. Forward returns, triple-barrier labels and rolling-window targets overlap the train-test boundary. The full taxonomy is in look-ahead bias and point-in-time data.
  • Hyperparameter search as trial count. Optuna over a wide grid is hundreds of trials. That count belongs in a deflated Sharpe calculation, and a single golden configuration without sensitivity analysis is a backtest overfitting tell.

Distribution shift is the other tree-specific issue: a tree cannot extrapolate outside the training range of any feature. The 2023 deep incremental learning paper on Numerai data addresses this with snapshot ensembles of XGBoost models across regimes and reports robustness checks over model size and sampling. That is the kind of regime dependence analysis most corpus papers skip.

Feature-importance pitfalls

Gain-based importance favours continuous and high-cardinality features, splits credit arbitrarily among correlated features, and says nothing about direction or causation. The S&P 500 trend paper’s finding that momentum and volume features dominate is a statement about the tree, not about the market. Checks worth demanding: importance computed on out-of-sample data, stability across walk-forward refits and seeds, and some handling of correlated clusters. SHAP is better but not immune. The best pattern in the corpus is the 2025 credit-scoring interpretability paper, which uses SHAP on an XGBoost benchmark to select ten features, then trains transparent glass-box models that match the black-box performance on Lending Club data. Importance there guides design; it is not the deliverable.

How to read these papers

Start with the credit papers, where the evidence is clean and the designs include out-of-time tests: the credit-ratings case study and the compliant credit-scoring paper. Then read the hybrid models study for what a full forecast-to-P&L evaluation looks like, and the NEPSE walk-forward paper for a clean protocol on a small market. Finish with the liquidity withdrawal paper as a reminder that linear models still win in identifiable regimes. For any paper on this list, run the ML trading paper checklist before the result is allowed to change your priors.

References: Chen & Guestrin, “XGBoost: A Scalable Tree Boosting System” (2016); Lundberg & Lee on SHAP (2017).


Broader area: Machine Learning · All topics: research topics → · Full archive: every paper →