liveBook · Manning

Ordered boosting

As explained in Ensemble Methods for Machine Learning

Ordered boosting is a boosting approach that uses ordered data processing to reduce prediction-shift bias during training.

Ordered boosting changes how a boosting model learns from training examples. Instead of repeatedly computing residuals from the full training data, it first places examples in a random permutation and lets each example use only the examples that came earlier. This prevents the model from indirectly learning from a target value while constructing the prediction used to calculate that example’s residual. section 8.2.1

The motivation is prediction shift: ordinary gradient or Newton boosting reuses training data across iterations, changing the gradient distribution and biasing estimates of generalization. Ordered boosting addresses this by using permutation-based histories when training weak estimators. The same ordering principle supports ordered target statistics for categorical features, but the two operations solve related problems at different stages. section 8.2.1

A simplified ordered-boosting procedure is:

  • Randomly permute the training examples. section 8.2.1
  • For each example, construct the information used for its training update from only the preceding examples in the permutation. section 8.2.1
  • Use multiple randomized sequences in practice because examples appearing early have shorter histories and therefore less information. section 8.2.1

A small permutation

Suppose eight examples are ordered as 4, 7, 1, 8, 2, 6, 5, 3. When calculating an ordered quantity for example 2, use only 4, 7, 1, and 8. When calculating it for example 6, use those four examples plus 2. The current example’s own target is never included. section 8.2.1

CatBoost packages ordered target statistics and ordered boosting into one workflow for categorical data. It identifies categorical columns, performs the needed ordered encoding during training, and uses ordered boosting without requiring a separate category-encoding step. Its base estimators are oblivious decision trees. section 8.2 section 8.3.4

How Ensemble Methods for Machine Learning covers it

How deep it goes
Explains permutation, restricted histories, residual computation, and multiple sequences, but does not develop formal proofs or full implementation internals.
Examples
Uses an eight-example permutation and an income-prediction comparison with CatBoost, LightGBM, XGBoost, and random forests.
What it assumes
Assumes familiarity with categorical features and ensemble learning while reinforcing target encoding, boosting, residuals, and prediction shift.
What you can do after
Apply it via CatBoost to train models with categorical features without separate categorical preprocessing.
How it connects
Connects categorical features, ordered target statistics, target leakage, prediction shift, gradient boosting, and CatBoost.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Ensemble Methods for Machine Learning. The section links point to the parts of the book it draws on.