Home Knowledge Base Boosting

Boosting is an ensemble technique where models are trained sequentially, with each new model specifically targeting the errors made by the previous models — unlike bagging (which trains independent models in parallel to reduce variance), boosting builds an additive chain where Model 2 focuses on the examples Model 1 got wrong, Model 3 focuses on what Models 1+2 still get wrong, and so on, progressively reducing both bias and variance to produce the most powerful supervised learning algorithms available for structured/tabular data (XGBoost, LightGBM, CatBoost).

What Is Boosting?

How Gradient Boosting Works

StepProcessWhat the Model Learns
1. Train Tree 1Fit to the target yRough overall pattern
2. Compute residuals$r_1 = y - hat{y}_1$ (what Tree 1 got wrong)Errors of Tree 1
3. Train Tree 2Fit to residuals $r_1$How to fix Tree 1's errors
4. Update prediction$hat{y} = hat{y}_1 + eta cdot hat{y}_2$ (η = learning rate)Combined prediction
5. Compute new residuals$r_2 = y - (hat{y}_1 + eta cdot hat{y}_2)$Remaining errors
6. Repeat N timesEach tree fixes the remaining residualProgressively better fit

Boosting Algorithms Timeline

AlgorithmYearKey InnovationStatus
AdaBoost1997Reweight misclassified examplesHistoric, still used for simple tasks
Gradient Boosting (GBM)1999Fit residuals using gradient descent in function spaceFoundation of modern boosting
XGBoost2014Regularization + parallelized splits + missing value handlingDominated Kaggle 2014-2020
LightGBM2017Histogram binning + leaf-wise growth + GOSSFastest, most memory-efficient
CatBoost2017Native categorical encoding + ordered boostingBest for categorical-heavy data

Critical Hyperparameters

ParameterEffectToo LowToo High
n_estimators (# trees)Number of sequential modelsUnderfittingOverfitting (mitigated by early stopping)
learning_rate (η)Shrinkage per treeNeeds many more treesOverfits quickly
max_depthIndividual tree complexityWeak learners (good for boosting)Each tree overfits
subsampleFraction of data per treeMore regularizationLess regularization

Rule of thumb: Use a low learning rate (0.01-0.1) with many trees (500-5000) and early stopping.

Boosting is the most powerful supervised learning paradigm for structured data — sequentially building an additive ensemble where each model corrects the errors of its predecessors, powering the XGBoost/LightGBM/CatBoost family that dominates tabular data competitions and production systems, with the critical requirement of proper learning rate and early stopping tuning to prevent the overfitting that sequential error-correction can cause.

boostingsequentialerror

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.