Rare-event physics experiments use classifiers to pick a handful of candidate signal events out of millions of background events. The classifiers are trained on simulated events and then run on real detector data. The worrying failure is a background event that the simulation never anticipated, such as a noise burst or a mis-modeled detector region, which the classifier scores as confidently signal-like. The machine learning community has two tools that look made for this. The first is distribution-aware uncertainty, which judges confidence from the whole shape of the predicted class distribution, for example its distance from the uniform distribution. The second is true class probability (TCP) estimation, which trains a second network to predict how much probability the main classifier puts on the correct class. This note starts from an uncomfortable observation. In the binary signal-versus-background setting these experiments use, both tools reduce to the classifier's own score and add nothing. The proposal is to make them informative again by resolving "background" into the physical processes that simulation already labels, such as radioactive decays of specific isotopes, surface contamination, and multi-site gamma scatters. Confidence is then judged on that richer distribution.
The claim is deliberately narrow. On data drawn from the same distribution as the simulation, no confidence score can beat a well-trained binary classifier at ranking events, and we expect to confirm this as a sanity check. The open question is the simulation-to-reality shift. There, a process-resolved distribution that looks physically implausible, for example probability split between two background sources that cannot both produce the observed event, may flag spurious signal candidates that a scalar score cannot. If it does, experiments get a veto tied directly to the signal decision. If it does not, the result still closes off a tempting but empty line of work.
Why the obvious combination is empty
Take a calibrated binary classifier with output $p(x)$, the probability of the predicted class, and true class posterior $q(x)$. The expected true class probability that a ConfidNet-style auxiliary network learns to regress is
$$\mathbb{E}[\mathrm{TCP} \mid x] = q(x)\,p(x) + (1-q(x))\,(1-p(x)),$$
which equals $1 - 2p(1-p)$ when $p = q$. That is a monotone function of the maximum class probability. With two classes, distance-to-uniform, entropy and the Gini concentration of evidence are also all monotone in $|p - 1/2|$. The approaches the file credits with beating maximum class probability all assume many classes, and their wins come from the shape of the remaining probability mass or from the classifier being overconfident on its training set. These are ConfidNet in Confidence Estimation via Auxiliary Models and Addressing Failure Prediction by Learning Model Confidence, the Dirichlet-backed IAD-TCP* in Failure Prediction by Confidence Estimation of Uncertainty-Aware Dirichlet Networks, distance-to-uniform scoring in D2U: Distance-to-Uniform Learning for Out-of-Scope Detection, and Gini evidence concentration in Trusted Multi-View Classification with Expert Knowledge Constraints.
The overconfidence condition also mostly fails in physics. On the HIGGS benchmark, deep networks are far from perfect classifiers, which Searching for exotic particles in high-energy physics with deep learning shows by reporting discovery significance rather than near-perfect accuracy. So the "error scarcity" that motivated ConfidNet is not the binding problem. The research file's suggested gap of applying TCP and distribution-aware scores to signal-versus-background discrimination is therefore not a gap worth filling as stated. These papers constrain the design: they show where confidence gains come from, and that source is missing in the binary, error-rich case.
Core Claim
Simulation already knows which physical process produced each event, so background never truly has to be one class. Suppose the main classifier is trained to output a distribution $\pi(x)$ over $K$ processes: signal plus $K-1$ named backgrounds. In a neutrinoless double-beta search like PandaX-III, these would be ²¹⁴Bi, ²⁰⁸Tl, ²³⁸U surface events, and so on. Two non-degenerate confidence signals then appear. The first is a TCP auxiliary network that predicts the probability on the true process rather than the true binary label. Correct-process versus wrong-process is a much finer error signal, and the 0.5 and $1/K$ guarantees of the TCP papers apply at the process level. The second is a shape score on the background part of $\pi(x)$ for events that pass the signal cut. It is built from distance-to-uniform and from the "one-hot versus uniform" dual reference of SCALE: Self-uncertainty Conditioned Adaptive Looking and Execution for Vision-Language-Action Models.
We claim that this pair, used as a veto on events that pass the signal cut, reduces the excess background let through under simulation-to-reality shift at fixed signal efficiency. We also claim that it does so beyond what the binary score, input-level shift detectors, or ensemble disagreement achieve. The method borrows from D2U and SCALE, which supply the distance-to-reference scores, and from ConfidNet, which supplies the frozen-backbone auxiliary training. What is new is the target, true-process probability rather than true-class probability, and the regime, a veto under shift in a background-dominated stream.
Research Program
The work has three parts.
The first part is analytic and cheap. We formalize the binary collapse above. We also characterize when process resolution can and cannot help. Without shift, summing the calibrated process posteriors over the background processes gives exactly the binary posterior, so any gain on matched data can only come from better representations learned through the auxiliary process labels. The ablations below separate that effect from the confidence effect.
The second part builds the system. We train a process-resolved classifier on raw detector-level inputs, using the low-level-feature approach of Baldi et al. We then freeze it and train a ConfidNet-style head on its penultimate features to regress true-process probability. Because background outnumbers signal by orders of magnitude, the regression loss is reweighted per process, and we adopt the explicit penalty around the $1/K$ boundary used in IAD-TCP*.
The third part sets the veto threshold. Ordinal ranking is not enough for physicists, who need a known background acceptance; this is the calibration tension noted between the TCP literature and physics practice. We therefore follow the error-budget idea of PabLO in Rethinking Confidence Scores and Thresholds in Pseudolabeling-based SSL. The veto threshold is chosen on a held-out simulated calibration set to maximize retained signal subject to a fixed maximum signal loss. The background acceptance of the veto is then measured, not assumed.
Baselines
The do-nothing reference is a binary deep classifier on low-level inputs whose score is cut at a fixed signal efficiency. This is the setup of Baldi et al., who report an 8% AUC gain over traditional methods on HIGGS and a rise from 2.5σ to 4.9σ discovery significance. It is the right floor because our own analysis predicts that nothing beats it on matched data.
The strongest domain baseline in the topological setting is the PandaX-III hand-built discriminants: track energy ratio, end-blob charge, end-track twist, track length, and diffusion width. Topological background discrimination in the PandaX-III neutrinoless double beta decay experiment reports that these reach about seven orders of magnitude of background reduction at above 20% signal efficiency, and a 0.15 factor on ²³⁸U surface background at 75% signal retention. We re-implement these cuts on our simulation so that any comparison is like-for-like, rather than quoting the published numbers against a different simulation.
The strongest confidence baseline is binary ConfidNet on the same frozen backbone. As a reference only, on CIFAR-100 with VGG-16, ConfidNet reports 73.55% failure-prediction AUPR against 71.30% for the maximum-class-probability score in Confidence Estimation via Auxiliary Models. We report no number for physics data because no reported result was found on Lacuna for ConfidNet on any physics benchmark. We also include a five-member deep ensemble whose disagreement serves as the veto score. No reported result was found on Lacuna for ensembles on these benchmarks.
All methods share the same simulated training events and the same backbone architecture. They get an equal hyperparameter search budget, measured in trials, and the same calibration split. Ensembles are reported both at five times the compute and at matched compute with smaller members.
Two ablations isolate the key ingredient. The first trains with process labels but scores with the binary sum only, which measures the representation effect of process labels. The second uses the process-resolved shape score without the auxiliary network, which measures what the learned TCP adds over the geometry alone.
Beating the baselines means the following. Under shift, at matched signal efficiency and matched veto signal loss, the proposal must let through measurably less excess background than both binary ConfidNet and the ensemble, with confidence intervals from repeated training seeds that do not overlap. On matched data it must not be worse than the do-nothing classifier.
Why not just…?
Why not just cut harder on the binary score? On matched data this is the optimal choice, and we predict it will tie our method; that prediction is part of the test. Under shift, a harder cut only helps if the spurious events land at intermediate scores. The motivating failure is artifacts that score confidently as signal, and a cut on the very score being fooled cannot remove them. The shift experiments measure directly what fraction of injected artifacts sit above the nominal cut.
Why not just use deep-ensemble disagreement or Monte Carlo dropout, which averages many random forward passes? This is the most serious threat. Disagreement among models is a standard signal of distribution shift, and it does not collapse in the binary case, because it measures spread across models rather than within one output. The file reports that ConfidNet beat both MC dropout and the nearest-neighbor Trust Score at failure prediction in the original ConfidNet papers. However, that was image classification on matched data, not shift. The file also reports that multi-pass test-time sampling ran 3x to 15x slower in SCALE, which matters for real-time triggers such as those in Intelligent experiments through real-time AI: Fast Data Processing and Autonomous Detector Control for sPHENIX and future EIC detectors. Speed alone does not settle accuracy, so ensembles are run at both full and matched compute. If ensembles win at matched compute, we will report that the process-resolved approach is not needed.
Why not just train a generic shift detector, such as a density model or a classifier separating simulated from real events? Experiments already guard against mis-modeling with control regions, and an input-level shift detector is a simple, strong alternative. Its weakness is that it flags every unusual event, including harmless shifts deep in the background region that never reach the signal cut, so it spends veto budget poorly. We include a density-based detector on the penultimate features, trained under the same budget. Our method beats it only if it removes more excess background per unit of signal lost. That ratio is the deciding metric.
Proposed Experiments
The first experiment tests the binary collapse on HIGGS. We train the Baldi-style network, fit binary ConfidNet, and measure the rank correlation between ConfidNet's output and $|p - 1/2|$ on held-out events. We predict a rank correlation near one, and no gain in failure-prediction AUPR beyond what is explained by miscalibration. We then repeat with temperature-scaled outputs, where any remaining gap should shrink. This experiment is cheap and decisive for the negative half of the argument.
The second experiment is the main test, on a PandaX-III-like simulation of a high-pressure xenon time projection chamber (a gas detector that records the 3D ionization tracks of charged particles). It includes the signal and the named background processes from the topological discrimination paper, each labeled by its true process. We create held-out shifted test sets by changing detector effects that are absent from the training simulation: electron diffusion that departs from the simulated value, dead readout strips, gain non-uniformity, and injected noise pulses, at several strengths. Every number is reported at signal efficiencies of 20% and 50%. We measure background acceptance on matched and shifted data, the excess background under shift relative to matched data, and the background-removed-per-signal-lost ratio of each veto. We also record whether the veto threshold, set under a signal-loss budget on matched data, keeps its stated signal loss under shift.
The decisive outcome comes from the shift experiments. The proposal stands if the process-resolved TCP-plus-shape veto removes more of the shift-induced excess background than binary ConfidNet, the matched-compute ensemble, and the input-level shift detector, while tying the plain classifier on matched data. If the process-labels-but-binary-score ablation matches the full method, the gain came from learning better representations rather than from confidence estimation, and we would report that instead. If nothing beats the input-level detector, the conclusion is that rare-event searches should invest in modeling the shift directly rather than in classifier-side confidence scores. Each of these is a clear, publishable answer.
References
- Confidence Estimation via Auxiliary Models
- Addressing Failure Prediction by Learning Model Confidence
- Failure Prediction by Confidence Estimation of Uncertainty-Aware Dirichlet Networks
- D2U: Distance-to-Uniform Learning for Out-of-Scope Detection
- Trusted Multi-View Classification with Expert Knowledge Constraints
- Searching for exotic particles in high-energy physics with deep learning
- SCALE: Self-uncertainty Conditioned Adaptive Looking and Execution for Vision-Language-Action Models
- Rethinking Confidence Scores and Thresholds in Pseudolabeling-based SSL
- Topological background discrimination in the PandaX-III neutrinoless double beta decay experiment
- Intelligent experiments through real-time AI: Fast Data Processing and Autonomous Detector Control for sPHENIX and future EIC detectors