Tool
XGBoost
XGBoost, short for “Extreme Gradient Boosting,” is a machine-learning system that trains ensembles of decision trees. It adds trees in sequence to improve predictions while penalizing model complexity.
What it is
XGBoost is a supervised-learning system for tasks such as regression, classification, and ranking. Its model adds together the scores from multiple trees, with each tree assigning a score to an example based on the leaf it reaches.12
The system is designed to make tree boosting scalable, including for sparse data and large datasets. Its design includes methods for approximate tree learning, parallel and distributed training, and processing data that does not fit in memory.1
How it works
XGBoost starts with a prediction and adds one tree at a time. At each step, it calculates the first- and second-order gradients of the loss for the current predictions, then uses those values to guide the next tree. The final prediction is the sum of the scores from all the trees.12
For each candidate tree structure, XGBoost groups the gradient values by leaf and calculates a score for the structure. The best score for a leaf with gradient sum G and second-order-gradient sum H uses the leaf weight −G/(H + λ), where λ penalizes large weights. It builds trees greedily by testing splits; a split is useful when its loss reduction, after the split penalty γ, is positive.12
The training objective combines prediction loss with a complexity penalty. In the described formulation, the penalty is γ times the number of leaves plus λ/2 times the sum of squared leaf weights. XGBoost can also shrink the scores added at each boosting step, and its system design includes a sparsity-aware tree-learning algorithm and a weighted quantile sketch for approximate learning.1
Where it came from
Tianqi Chen and Carlos Guestrin presented XGBoost in “XGBoost: A Scalable Tree Boosting System,” published for KDD ’16 in 2016. It builds on gradient tree boosting; the paper also situates its work alongside earlier parallel tree-boosting methods and describes a second-order training approach.1
Versions and relatives
Strengths and limits
The XGBoost system combines tree learning with parallel and distributed computing, out-of-core computation, and methods for sparse data. Its original description reports that these design choices allow it to scale to very large datasets using fewer resources than existing systems.1
Additive tree learning builds one split at a time, rather than searching all possible tree structures. The XGBoost tutorial notes that this can produce a degenerate model in some edge cases when the solution depends on considering more than one feature dimension at a time.2
In a comparative analysis on the datasets studied, XGBoost placed second in both accuracy and training speed; LightGBM was fastest, and CatBoost had the best generalization accuracy and AUC, with small differences between methods. These results describe that comparison rather than a guarantee for other datasets.4
How recent papers use it
In Thetis++, XGBoost trains a classifier that chooses between Thetis semantic search and BM25 keyword search.5
For music-item similarity, XGBoost is used as a regressor that predicts a regularized cosine similarity target from engineered pair features.6
For finance page-stream segmentation, an XGBoost classifier uses TF-IDF features to filter finance content.7
Names and versions
- Also written as
- XGBoost (Extreme Gradient Boosting), XGBoost classifier
- Versions of it
- Hybrid XGBoost (1 paper)
Papers that mention XGBoost
19 Nov 2026Used
Exploring Semantic Table Search in Data Lakes
XGBoost is used to train a classifier that selects between Thetis and BM25.
17 Nov 2026Used
Music Similarity Learning in Sparse Latin Scenarios
The regression model used to predict the regularized cosine target from engineered features.
17 Nov 2026Used
RICoT: Recurrent Interleaved Chain-of-Thought for Page Stream Segmentation
The XGBoost classifier filters finance content using TF-IDF features.
Sources
- 1XGBoost: A Scalable Tree Boosting Systemarxiv.org
- 2Introduction to Boosted Trees — xgboost 3.4.2 documentationxgboost.readthedocs.io
- 3XGBoost Parameters — xgboost 3.4.2 documentationxgboost.readthedocs.io
- 4A comparative analysis of gradient boosting algorithms | Artificial Intelligence Review | Springer Nature Linklink.springer.com
- 5Exploring Semantic Table Search in Data LakesPaper explained on this site
- 6Music Similarity Learning in Sparse Latin ScenariosPaper explained on this site
- 7RICoT: Recurrent Interleaved Chain-of-Thought for Page Stream SegmentationPaper explained on this site
Every paragraph above was checked against the sources it cites before it was published.