Does meta-labelling add to signal efficacy? How to test it honestly
Meta-labelling promises to improve a trading signal by learning when to trust it. The claim is plausible, and the toy arithmetic in our worked example shows how precision can rise. But a secondary model adds complexity, parameters and room for self-deception. This article sets out how to test whether meta-labelling adds real value to a signal out of sample, and what can go wrong.
Educational content on research methodology. No trading results are reported here.
Define "efficacy" before testing
"Better" can mean several different things, and a meta-labelling layer can improve one while worsening another. Before running anything, decide which of these is the objective:
- Classification quality: precision, recall, F1 score, area under the ROC curve, log loss.
- Economic quality: return per trade, Sharpe ratio, maximum drawdown, turnover after costs.
- Stability: how much performance varies across folds, periods and instruments.
Accuracy alone is a poor measure, because many primary models produce imbalanced labels. If 70 per cent of signals are bad, a secondary model that rejects everything is 70 per cent accurate and useless.
Choose the right baselines
The question is not whether the secondary model beats the primary model, but whether it beats simpler ways of achieving the same effect. Useful baselines include:
- The primary model alone, acting on every signal.
- A random filter that accepts the same share of signals at random. If meta-labelling accepts 45 per cent of signals, the baseline accepts a random 45 per cent; repeating this many times gives a distribution to test against.
- A volatility filter that skips signals when recent volatility is above a threshold. Many secondary models end up learning little more than this.
- A single-feature rule using the most important feature from the secondary model with a simple threshold.
If the meta-model cannot beat baselines 3 and 4, its machine learning is decoration.
Validate without leakage
Trade labels overlap in time, so ordinary cross-validation leaks information. Use purged k-fold cross-validation with an embargo, as described in our laboratory article, and keep a final walk-forward period that is never used for model choices. The primary model's parameters must also be fixed using only data before each test period; otherwise the secondary model is filtering signals that were themselves tuned on the test data.
Watch the threshold
The probability threshold that converts a prediction into "act" or "skip" is a parameter. Choosing it after seeing test results is a form of overfitting. Fix it in advance (0.5 is a neutral choice for calibrated probabilities), choose it inside each training fold, or report results across a range of thresholds as a precision-recall curve. Check probability calibration too: a model that outputs 0.7 should be right about 70 per cent of the time on those signals.
Count the attempts
A researcher who tries ten feature sets, three classifiers and five thresholds has run 150 experiments. The best one will look good by chance. Two remedies help. First, keep a log of all trials and report how many there were. Second, adjust performance statistics for multiple testing; the deflated Sharpe ratio of Bailey and López de Prado (2014) estimates how high a Sharpe ratio must be, given the number of trials, before it is credible.
Design an experiment
A credible test of meta-labelling might look like this:
- Choose several primary models with different logic, for example a trend rule, a mean-reversion rule and a breakout rule, defined from published sources.
- Apply them across several instruments and a long period.
- Generate triple-barrier labels with barriers fixed in advance.
- Train the secondary model with a fixed feature set and purged cross-validation, using walk-forward re-training.
- Measure classification and economic metrics against all four baselines, with costs included.
- Report the distribution of results across primary models and instruments, not only the averages.
If meta-labelling helps across most combinations, the evidence is meaningful. If it helps only for one primary model on one instrument, the result is most likely noise.
What the evidence suggests
Published work since 2018 has explored the idea in some depth. The 2022 papers on meta-labelling in The Journal of Financial Data Science described conditions under which a secondary model is expected to help, notably when the primary model has a low precision and when the features carry information about the regime in which the primary model works. They also proposed architectures such as ensembles of secondary models and approaches to calibrate bet sizes. The common thread is that meta-labelling is a way of adding conditional information about when a signal works; it cannot rescue a primary model with no edge at all.
In practice, the most robust gains reported tend to come from position sizing rather than filtering: scaling bets by the secondary model's confidence can lower volatility and drawdowns without discarding as many good signals.
Checklist
- Objective and metrics fixed before testing.
- Random and volatility-filter baselines included.
- Purged, embargoed, walk-forward validation.
- Threshold chosen inside training folds or reported as a curve.
- Number of trials logged and Sharpe ratios deflated.
- Results shown across several primary models and instruments, after costs.
Reading results correctly
Suppose a test shows that meta-labelling raises precision from 45 to 52 per cent on average across instruments, with costs included. Before concluding, check three things. First, is the improvement larger than the variation between folds and periods? If precision ranges from 40 to 60 per cent across folds, a seven-point average gain may not be significant. Second, does the gain survive when the volatility-filter baseline is used as the reference instead of the raw primary model? Third, does the improvement translate into better risk-adjusted returns after the reduced number of trades? Higher precision with much lower recall can leave total profit unchanged. These numbers are illustrative only; the point is that a single improved metric is never enough.
Sources
- López de Prado, M. (2018). Advances in Financial Machine Learning. Wiley. Chapters 3, 7 and 10–14.
- Joubert, J. F. (2022). Meta-Labeling: Theory and Framework. The Journal of Financial Data Science, 4(3).
- Bailey, D. and López de Prado, M. (2014). The Deflated Sharpe Ratio. Journal of Portfolio Management, 40(5), 94–107.
- Niculescu-Mizil, A. and Caruana, R. (2005). Predicting Good Probabilities with Supervised Learning. Proceedings of ICML 2005.
- scikit-learn documentation, Probability calibration.