Open Family Office Datasets Tickers Strategies Portfolios Research Posts About Changelog

Uncertainty in Gradient Boosting via Ensembles

Source

Citation. Andrey Malinin, Liudmila Prokhorenkova and Aleksei Ustimenko, all of Yandex. Malinin and Prokhorenkova are also at HSE University, and Prokhorenkova at MIPT. "Uncertainty in Gradient Boosting via Ensembles". ICLR 2021, arXiv:2006.10562, version 4 of 2 April 2021. The three authors are marked as equal contributors. CatBoost's uncertainty page cites the same work with Ustimenko first, as Ustimenko, Prokhorenkova and Malinin (2020). The method is in CatBoost, Yandex's gradient-boosting library, under Apache 2.0. CatBoost itself is described by Prokhorenkova et al. (2018), arXiv:1706.09516.

Status. Not applicable for now. The project has no model-based strategy to attach uncertainty to. If one comes, this paper's own table is the warning. CatBoost's cheap uncertainty for regression can't be trusted to flag new conditions, and true ensembles can.

Read. Read on 2026-11-28 from the arXiv PDF of version 4, with pdftotext. I read the method (Sections 3 and 4), the synthetic experiments, Table 1 and the conclusion. I saw the figures only through their captions and the text. I didn't read the appendices, the CatBoost paper, or the library's code. So the claims about has_time and ordered boosting below come from the issue and the docs, not from my reading.

Summary

Claim. Ensembles of gradient-boosted models "successfully detect anomalous inputs", but have "limited ability to improve the predicted total uncertainty". A virtual ensemble, taken from the trees of one model, gives some of that benefit at no extra cost.

Method.

Findings, as the source reports them (Table 1).

Regression dataset AUC-ROC of knowledge uncertainty: SGB ensemble SGLB ensemble Virtual ensemble
Boston housing 80 80 49
Concrete 92 92 56
Energy 100 100 32
Kin8nm 45 45 45
Naval 100 100 87
Power plant 72 73 57
Protein 99 99 94
Wine quality 74 72 49

For classification, the virtual ensembles' AUC was 67 to 93, against 74 to 99 for true ensembles. For error detection, "ensembles do not outperform single models". The authors write that total uncertainty "consistently" ranked errors better than knowledge uncertainty "across all datasets". On the synthetic "spiral" data, virtual ensembles "struggle to detect out-of-domain regions".

Where the claims go beyond the evidence

The cheap method fails in regression. The abstract presents the virtual ensemble as a benefit. In Table 1, its knowledge uncertainty detects out-of-domain inputs at or below chance on four regression datasets: 49, 32, 49 and 45. Energy's 32 ranks new inputs as more familiar than old ones. The authors explain the gap by correlation and by the absence of categorical features in regression. They show it, but the abstract does not.

Out-of-domain is easy here. The shifted inputs come from a different dataset altogether, normalised by the training data's means. A market regime break is subtler: the same features, in a new range or a new joint pattern. The paper has no time series and no gradual shift.

No intervals. Table 1 gives single numbers, with no seeds, no spread and no tests. Several gaps of a few points can't be told from noise.

Credit. The authors report where their method does worse, including the spiral figure and the virtual ensemble's weak regression results. They state that knowledge uncertainty "contributes little" to total uncertainty for these models.

Use in this repo

Use true ensembles, not virtual ones. A forecast that sizes down when its inputs are unfamiliar needs knowledge uncertainty that works. For regression, which is what a return forecast is, the paper's evidence favours ten independent models over virtual_ensembles_predict. Ten models cost ten times as much to train, and the evidence says that is the price.

Test it on the project's own shift first. Before a strategy trusts the signal, test it on a planted shift in the synthetic markets of RQ1 (#5). Test it on a held-out crisis too, such as the windows in stress.py (#219). The test asks whether the AUC is clearly above 50 there. The paper's test, rows from another dataset, is too easy to stand in for that.

Conformal intervals don't need the assumption. Conformal prediction gives coverage without a model of the uncertainty (#130, docs/literature/conformal-prediction.md). It doesn't separate the two kinds of uncertainty, but it doesn't need correlated members to be independent either.

Every setting is a trial. The ensemble's size, the trees kept, the depth and the learning rate are choices, and each enters the trial ledger (#7). So does any threshold on knowledge uncertainty that decides when to stand aside. Two settings keep CatBoost's own steps free of look-ahead. One is a time-ordered encoding of categories (has_time). The other is early stopping on a separate, earlier window (splits.py, #10).