NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Background-Anchored Transduction for Rare-Signal Searches

Physicists who hunt for rare events train their classifiers on simulation or on calibration runs, where signal and background labels are known. They then apply those classifiers to real science data, which looks slightly different: detector noise drifts, the event generator mismodels jets, electronics gain shifts. Transductive domain adaptation means letting the model see the unlabeled deployment data while it trains. It is the obvious remedy, and the standard version already works in simulation-to-simulation tests. That version aligns the whole feature distribution of the training data with that of the deployment data. We argue that it is built on the wrong picture of a rare-event search. In a real search the deployment data is not a mixture resembling the training set. It is almost pure background, with signal present at perhaps one part in $10^4$ to $10^9$ or not at all. If you force a balanced signal-plus-background training set to look like an almost-all-background target, the aligner has to map signal features onto background. That is exactly the wrong move.

We propose to turn this rarity from a liability into an anchor. Because the unlabeled science data is essentially a clean sample of the target background, a classifier can be trained to rank labeled signal above the raw science data, and ranking quality against that data is provably equivalent to ranking quality against the true target background, whatever the unknown signal fraction. The danger is that such a classifier learns "simulation versus real data" instead of "signal versus background". We remove that shortcut with a single, narrow constraint. The classifier's score distribution on labeled source background must match its score distribution on the unlabeled target. This constraint acts on one number per event, not on the whole representation. The result is a transductive method whose core assumption, a nearly signal-free target, is the physical norm in these searches rather than an inconvenience. It should hold up under the extreme label shift where global alignment breaks.

Core Claim

Let $S_s$ be labeled source signal, $B_s$ labeled source background, and $U_t$ the unlabeled target data. The target data is a mixture $U_t = \pi S_t + (1-\pi) B_t$ with unknown, tiny signal fraction $\pi$. For any scoring function $f$, the area under the ROC curve (AUC, the probability that a random signal event outscores a random background event) satisfies

$$\mathrm{AUC}(f; S, U_t) = \tfrac{\pi}{2} + (1-\pi)\,\mathrm{AUC}(f; S, B_t),$$

because a signal event compared against $U_t$ faces another signal event with probability $\pi$ (a coin flip on average) and a background event otherwise. Maximizing AUC against the raw target data therefore maximizes AUC against the unseen target background, with no knowledge of $\pi$. This is the mirror image of AUC Maximization under Positive Distribution Shift. That paper derives a prior-independent target-AUC loss under the assumption that the negative class is stationary and the positive class shifts. It tests the loss on vision and clinical tabular data. Physical detectors violate that assumption. The background is what drifts, as the MAJORANA, LEGEND data-cleaning and PandaX-4T programs document. The signal, by contrast, is governed by known physics and reaches us only through simulation or calibration proxies.

The identity holds only if the signal we rank against $U_t$ is the target signal $S_t$. We only have source signal $S_s$. Training $S_s$ against $U_t$ therefore mixes class differences with domain differences. We control this with the objective

$$\min_f \; -\mathrm{AUC}(f; S_s, U_t) \;-\; \lambda_1\, \mathrm{AUC}(f; S_s, B_s) \;+\; \lambda_2\, D\big(f(B_s),\, f(U_t)\big),$$

where $D$ is a one-dimensional distance between score distributions (for example the Wasserstein-1 distance on sorted scores). $\lambda_1, \lambda_2$ are weights. The first two terms ask $f$ to rank signal above both backgrounds. The third term says a classifier may not separate source background from target data. If $f$ cannot tell simulated background from real background, it cannot be using simulation artifacts that are shared by signal and background, which are the common kind: detector response, noise, gain. It can still use them if the artifacts are signal-specific.

This constraint is honest only when $B_s$ and $B_t$ are the same physical process under different modeling or detector conditions. Where the background composition genuinely differs, as with calibration gammas versus science-run backgrounds in germanium, we apply the match conditionally inside energy windows where the composition is agreed.

The falsifiable claim is this. As the target signal fraction falls from balanced toward $10^{-5}$, global adversarial alignment degrades, while background-anchored score matching holds or improves. Score-level matching also sculpts less than feature-level matching.

Research Program

The work has three parts.

Why global alignment fails. We build a controlled generator-shift benchmark with a tunable target signal fraction and measure where global alignment breaks. The closest existing work is Adversarial domain adaptation to reduce sample bias of a high energy physics event classifier. It trains a domain-adversarial network, that is, a network whose features are penalized when a second network can tell source from target, on $t\bar{t}H$ versus $t\bar{t}b\bar{b}$. It adapts from MadGraph+Herwig to PowhegBox+Pythia and assumes the signal-to-background ratio is the same in both domains. We reproduce its setting, including its reported need for a linear discriminator loss and RMSProp, and then vary only the target signal fraction. This isolates label shift as the failure mode rather than asserting it.

The method and its sculpting properties. Here we build the background-anchored objective itself and study how it sculpts. Sculpting means carving fake peaks into smooth background spectra, the hazard that Isolating Unisolated Upsilons with Anomaly Detection in CMS Open Data guards against. That work uses sideband density estimation and a same-sign control sample. We borrow its validation logic: a control sample known to contain no resonance must show no peak after selection. We add an optional decorrelation term on invariant mass or energy. We also compare constraining the score against constraining the full representation, which is the key design question.

Real detector shift. Finally we move to a detector setting with genuine shift: germanium pulse-shape discrimination. Deep learning based pulse shape discrimination for germanium detectors compresses 256-sample waveforms with an autoencoder. It then trains a 141-parameter classifier on $^{228}$Th calibration data, using the double-escape peak as a single-site signal proxy and the full-energy peak as multi-site background. That classifier is frozen and never sees science-like data. LEGEND's semi-supervised cleaning shows that high-rate and low-rate operating conditions produce different leakage behavior. It also shows that its affinity-propagation clustering is limited to about 10,000 events and needs human labeling. Our objective needs neither clustering nor human labels, and it scales linearly because all its terms are ranking and one-dimensional score comparisons. We use high-rate calibration as source and low-rate conditions as target.

Two further lines of work inform the design but are not reused directly. Background Splitting shows that treating a diverse background as one class cripples features, jumping from 10.6 to 52.9 mAP on iNaturalist-BG at 99.98% background. That result motivates an optional auxiliary head that predicts unsupervised background sub-clusters. We treat it as an ablation, not a core ingredient, because its teacher-based pseudo-labels do not exist for waveforms. Graph-diffusion transduction, as in domain-adaptive regression for forest monitoring, is a possible refinement. The research file notes that its quadratic cost and its tendency to merge tiny signal clusters into background make it a poor fit for the core method.

Baselines

The naive reference is a source-only classifier: the same architecture trained on $S_s$ versus $B_s$ and applied unchanged to the target. On the $t\bar{t}H$ generator-shift task, Clavijo et al. report a target AUC of 0.657 for this setting, with 47% systematic uncertainty on signal purity. In the germanium setting, the matching reference is the frozen Holl et al. classifier. It reaches 90% background rejection at 90% signal acceptance on calibration data, on par with the scalar $A/E$ cut, which we also run.

The strongest existing method on this exact question is the domain-adversarial network of Clavijo et al. It reports a target AUC of 0.760 and systematic uncertainty reduced to 0.3%, in the balanced-ratio, simulation-to-simulation setting. It is the strongest competitor because it is the only published transductive method applied to physics signal-versus-background discrimination. We run it with the authors' linear discriminator loss and RMSProp, and we give it the same feature extractor, the same data splits and the same number of hyperparameter trials as our method. We first require it to reproduce roughly 0.760 at the balanced ratio. Beating it means higher target AUC and higher background rejection at fixed signal efficiency at target signal fractions of $10^{-2}$ and below, together with no worse performance at the balanced ratio.

The second strong competitor is the prior-independent AUC loss of AUC Maximization under Positive Distribution Shift, run as published. That paper reports best or comparable AUC in 11 of 12 vision test cases. There is no reported result found on Lacuna for it on physics or detector data. Its stationary-background assumption is violated by construction in our benchmarks, so it tests whether the direction of the assumed shift matters.

We also run a classifier-based importance-reweighting baseline. A domain classifier trained on $B_s$ versus $U_t$ produces weights that are applied to all source events before ordinary training. All baselines share architecture, data and a fixed tuning budget.

Two ablations isolate the key ingredient. The first drops the score-matching term, leaving signal versus raw target data. The second replaces score matching with feature-level adversarial alignment restricted to the background class. If the first ablation matches the full method, the constraint is unnecessary. If the second matches it at equal sculpting, the "score-only" choice is not what matters.

Why not just…?

Why not just run the published domain-adversarial network, which already works? It works when the target resembles the source mixture. Its adversary rewards any feature map under which source and target look identical. With a balanced source and a target that is 99.99% background, one such map collapses signal onto background. The target-fraction sweep in our first experiment tests this directly. If the adversarial network holds up at $10^{-4}$, our motivating claim is wrong and we will report it as such.

Why not just train simulated signal against raw real data, since the identity above says that is prior-free? This is the real near-miss, close to weak-supervision practice. It is correct only when source and target signal coincide. Otherwise the classifier gains AUC by detecting the simulation itself. We measure this failure directly by checking how well its score separates $B_s$ from $U_t$. The first ablation quantifies what the matching term adds. If the gap is negligible on real detector shift, the simpler method wins and the proposal reduces to a recommendation to use it.

Why not just reweight the source background to look like the target and train as usual? This is a genuine threat. It is cheap, standard, and uses the same background-only information. Its weakness is that weights learned on background are extrapolated to signal events wherever signal populates regions the background sample covers sparsely. That is common in rare searches, because signal sits in the tails. It is included as a full baseline, and we report performance separately for signal events inside and outside the background's high-density region.

Why not just use the physics cuts, $A/E$ or prompt-light fraction? They are interpretable and robust. But Holl et al. show that learned pulse-shape models catch multi-site events that $A/E$ misses. Gambhir et al. show simple cuts yield only 1.6σ where a multidimensional method reaches 6.4σ. We keep $A/E$ as a floor. We also report whether our score, restricted to events $A/E$ accepts, still removes background.

Why not just use focal loss or class re-weighting for the imbalance? These address imbalance within one domain, not shift between domains. Background Splitting reports that such methods fail badly at 99.98% background. We include focal loss once as a sanity check, not as a contender.

Proposed Experiments

Generator shift. The primary benchmark is the $t\bar{t}H(H\to b\bar{b})$ generator-shift task of Clavijo et al.: 41 kinematic features, MadGraph+Herwig as source and PowhegBox+Pythia as target. We construct target sets whose signal fraction is swept over balanced, $10^{-1}$, $10^{-2}$, $10^{-3}$, $10^{-4}$ and $10^{-5}$, and evaluate on held-out labeled target events. Because we cannot confirm from the file that this dataset is public, we build a parallel benchmark as a fallback. It takes the top-tagging jet data used by Particle Transformer and regenerates the target with a different parton-shower program, using the same sweep. Metrics are target AUC, background rejection at 50% and 90% signal efficiency, and the signal-purity systematic as defined by Clavijo et al.

Sculpting check. We apply each method's selection to background-only target events and fit the invariant-mass spectrum for spurious peaks. We borrow the same-sign control-sample logic of Gambhir et al.

Detector shift. For germanium waveforms we use the $^{228}$Th calibration protocol of Holl et al. and the high-rate versus low-rate conditions of the LEGEND Full Chain Test. High-rate calibration is the source. The target is low-rate data with the double-escape-peak events hidden from training. The held-out low-rate peak events then serve as ground-truth target signal. Metrics are background rejection at 90% signal acceptance, benchmarked against the 90/90 reference, plus the LEGEND sacrifice and leakage figures.

Mirrored vision test. To test generality, we invert the positive-shift vision benchmarks of the NeurIPS 2024 paper so that the negative class shifts. This gives that method its fair home turf alongside ours.

Decisive results. The proposal succeeds if three things hold. First, the adversarial baseline falls below source-only performance somewhere in the sweep while our method stays above 0.760-equivalent. Second, the score-matching term beats both ablations on target AUC or sculpting. Third, low-rate germanium rejection exceeds the frozen classifier at matched acceptance. It fails if the first ablation matches the full method throughout, or if reweighting matches it on out-of-support signal.