- Introduced by
- Machine learning / particle physics community
- Year
- 2000
- Type
- Particle discrimination algorithm
- Family
- Multivariate classifier
What does it do?
Boosted decision trees (BDTs) are multivariate classifiers used in particle physics to separate particle types, such as electrons from photons or kaons from pions, using several detector variables at once.
They combine many shallow decision trees trained one after another with adaptive reweighting, so that each new tree concentrates on candidates the earlier trees got wrong. The output is a single discriminant score that is then cut at a chosen working point.
The intuition behind the method
A decision tree sorts candidates with a sequence of yes-or-no questions about detector variables, for example whether a calorimeter energy exceeds a threshold. A single shallow tree is a weak classifier and can be unstable. Boosting trains a sequence of such trees: after each tree, the candidates it misclassified receive more weight, so the next tree is trained to handle them. The final score is a weighted combination of all the trees. Because the splits are conditioned on each other, the ensemble can capture correlations between variables that a set of independent rectangular cuts on each variable would not.
History
Boosting and decision-tree ensembles were developed in machine learning around 2000, and particle physicists later adopted BDTs for discrimination tasks. Breiman (2001) introduces Random Forests, a related ensemble method that trains its trees independently rather than sequentially by boosting. Neural networks have since been applied to many of the same classification tasks, and BDTs remain in use in several analyses.
When to use it
Choose a BDT when several correlated detector variables are available for each candidate and a single cut on any one of them does not separate the classes well enough. It is a common choice when a labelled training sample of signal and background can be obtained, from simulation or from control data, and when the analysis needs a single tunable score. Avoid it when the training sample is small or does not represent the data, because the classifier will inherit those biases. Avoid it also when every individual selection criterion must be stated and justified on its own, since the score combines all variables in a way that is not a set of simple cuts.
Limitations and considerations
- The classifier is only as good as its training sample; if the simulated or control samples differ from the data in the variables used, the working point will not hold.
- Sequential reweighting makes the ensemble sensitive to noise and rare outliers, so it can fit detector artifacts unless its depth, number of trees and regularisation are constrained.
- The combined score does not identify which variable or cut drove an individual decision, which makes individual classifications hard to explain.
- Output is reliable only within the region of the variable space covered by training; extrapolation to unseen kinematics or detector conditions can change performance without warning.
- Correlations between training variables that are absent or different in real data, such as a dependence on momentum, can produce biased efficiencies.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Combines many detector variables into one score, so it can use correlations that independent rectangular cuts on each variable miss.
- Tree splits depend only on the ordering of values within each variable, so the method does not require the inputs to be rescaled to a common range.
- Handles inputs that mix continuous and discrete variables without needing a separate encoding step for each type.
- Evaluating a trained ensemble is typically fast. Training cost grows with the number of trees, their depth and the sample size, so these settings should be chosen with that in mind.
Applications
- Separating electrons from photons using calorimeter and tracking variables
- Separating kaons from pions by combining detector particle-identification information with tracking variables
- Jet flavour tagging using track quality and secondary-vertex properties
- Muon identification using information from several muon-detector layers
- Real-time particle selection in trigger systems, where the classifier must run within the latency budget
How it works
How it works
Collect labelled training samples of signal and background candidates whose true identities are known, and record the detector variables for each candidate.
Apply quality requirements so that only well-measured tracks or calorimeter clusters enter the sample, and check that the variable distributions in signal and background are understood. Rescaling is not needed for the tree splits themselves, since a split depends only on how candidates are ordered in each variable.
Train the ensemble by building decision trees one after another. After each tree, increase the weights of the candidates it misclassified so that the next tree focuses on them. The weight update and the contribution of each tree to the final score depend on the boosting algorithm chosen, such as AdaBoost or gradient boosting.
Pass each candidate through all trained trees and combine their outputs into one discriminant score. Higher scores indicate candidates that look more like the signal class in the training sample.
Choose a working point, a threshold on the discriminant score, that gives the signal efficiency and background contamination required by the physics analysis, and select candidates above it. Determine the efficiency and contamination at the chosen threshold with data-driven control samples or sidebands rather than relying only on the training sample. Propagate their statistical and systematic uncertainties, and check that the working point remains valid under the assumptions of the training sample.
Common pitfalls
- Evaluating performance on the same events used for training gives optimistic efficiencies and background rejection; separate, randomised training and test samples are needed.
- Including highly correlated or detector-dependent variables can let the classifier learn features specific to the training conditions rather than the physics.
- Adding many variables without checking their discriminating power or their stability across data-taking periods increases the risk of spurious correlations.
- Applying the trained BDT in kinematic regions that the training sample does not cover can degrade performance, and this should be checked with validation samples before the score is used.
- Class imbalance between signal and background in the training sample can bias the classifier towards the more populous class. The sample composition and any per-class weighting should be stated and checked against the analysis region.
- Simulated training samples with cross-sections or kinematic spectra that differ from those in the analysis region can shift the score distribution. Sample weighting or reweighting to the analysis spectrum may be needed before the working point is set.
Frequently asked questions
What is the difference between a BDT and a Random Forest?
Both are ensembles of decision trees. A BDT trains its trees sequentially, with each tree reweighted towards the candidates the previous trees misclassified. A Random Forest trains its trees independently and averages their outputs. The sequential training is what makes a BDT sensitive to noise and overtraining, which is why its regularisation settings matter more.
How do I prevent overtraining in my BDT?
Use separate training and test samples. Monitor performance on both during training and stop when test performance levels off while training performance keeps improving. Limit tree depth and the number of trees. Cross-validate on several data splits, and use the regularisation parameters of your implementation to penalise complex trees.
Why do I get different BDT scores on the same particle in different data samples?
The BDT was trained on specific distributions of detector variables in one sample. If another sample has different variable distributions, because of detector alignment, trigger selection or the momentum spectrum, the score and its efficiency change. Validate performance across data-taking periods and against simulation.
Can I use a BDT trained on simulation on real data?
Yes, but with care. First check that the simulated and real distributions of the input variables agree. Apply simulation-to-data corrections, such as scale factors, where they differ. Monitor performance on control samples in real data and retrain if the agreement is poor.
Related methods
Sources
Breiman, L. (2001). Random Forests. Machine Learning, 45(1), 5–32.
Open DOI referenceKieseler, J., et al. (2016). Machine learning for detector trigger optimization at the LHC. Nuclear Instruments and Methods in Physics Research Section A, 824, 29–37.
Open publication referenceAarrestad, T. K., et al. (2021). Machine learning for particle discrimination at the LHC. Journal of Physics: Conference Series, 1525(1), 012034.
Open publication reference