Meta-Learned Window Classifiers for Weakly Supervised Resonance Searches

Many searches for new particles look for a bump: a small excess of events at some mass, sitting on a smooth background. One strong way to find such a bump without knowing what the signal looks like is to train a classifier to tell events inside a candidate mass window from events in the neighboring "sidebands" just outside it. If the window holds nothing but background, the classifier cannot do better than chance. If it holds a signal, the classifier learns to find it. The weakness is practical. Each window is a new classification problem with a signal fraction that may be well under one percent, and it is solved from scratch, usually with a boosted decision tree (an ensemble of small decision trees trained one after another). That approach needs large statistics before it picks up anything. It also has to be repeated across the whole mass scan, and it drives the analysis toward background-density models that are expensive to build.

Visual object tracking solved a problem with the same structure years ago. A tracker must build a new target-versus-background classifier in every video from a handful of samples, and it must do so without contaminating that classifier with distractors. DiMP handled this by building the online classifier fit into the network itself: a few steps of a solver, written so that gradients pass through them. Training then shapes the features, the loss weights, and the step sizes so that a few-shot fit on local context separates foreground from background well. We propose the same construction for resonance searches. A mass window is treated as a "frame." Its sidebands are the local background context. A meta-trained feature extractor, paired with a built-in few-step solver, fits a window-specific classifier in milliseconds. That classifier is designed to find faint excesses with less data than a boosted decision tree trained from scratch, and to stay flat when the window contains only background.

Core Claim

We claim that the features used for weakly supervised bump hunting should be learned for the task of fitting a small classifier from window-versus-sideband contrasts at tiny signal fractions, rather than fixed in advance or learned for some other task. The mechanism is episodic meta-training. Each training episode is a simulated mass window. Some episodes contain an injected signal drawn from a broad family of synthetic decays, and others contain none. Inside each episode, a linear head $w$ on features $\phi_\theta(x)$ is fit by $K$ unrolled steepest-descent steps with Gauss-Newton step lengths, following DiMP. The loss inside each episode uses only the weak labels, window versus sideband:

$$ L_{\text{in}}(w) = \sum_{i} v_\eta(m_i)\,\ell\big(w^\top \phi_\theta(x_i),\, y_i\big) + \lambda \|w\|^2 . $$

Here $y_i = 1$ for events inside the window and $0$ for sideband events, $m_i$ is the event's mass, $v_\eta$ is a learned per-mass weight that plays the role of DiMP's spatial weight for class imbalance, and $\ell$ is the logistic loss. The outer objective trains $\theta$, $\eta$, $\lambda$, and the step-size parameters. It scores the fitted head $w_K$ against the true signal labels, which are available in simulation, and adds a penalty that keeps the features independent of mass:

$$ L_{\text{out}} = \mathbb{E}_{\text{episodes}}\Big[\ell_{\text{true}}\big(w_K;\ \text{signal vs. background}\big)\Big] + \beta\, \widehat{I}\big(\phi_\theta(x);\, m\big). $$

In this expression, $\widehat{I}$ is an adversarial estimate of mutual information of the kind used in NuRD. In background-only episodes, the outer loss rewards a head with no spread in scores, so the system is explicitly trained not to invent excesses.

This differs from the closest existing work in a specific way. CATHODE, as applied in the CMS Open Data Upsilon analysis, fits a normalizing flow to the sidebands, samples a synthetic background in the window, and trains a separate boosted decision tree for each window. The density model and the classifier never inform each other, and nothing carries over from one window to the next. NuRD multi-background representation learning learns mass-decorrelated features from labeled background classes and then scores anomalies with a fixed rule, either maximum logit or Mahalanobis distance. It performs no fit on the window's own data. Our method removes CATHODE's intermediate generative step, and it replaces NuRD's static score with a fit specific to each window. The features that fit is built on are trained for exactly that use.

Research Program

The feature extractor is a mass-decorrelated network over the event's auxiliary observables: jet substructure for the LHC Olympics dijet setting, and muon isolation and kinematics for the dimuon setting. The solver is DiMP's steepest-descent layer with $K$ between 2 and 10 steps, operating on a linear head. Meta-training episodes come from background simulation cut into sliding mass windows. Signals are injected at fractions spanning roughly $10^{-4}$ to $10^{-2}$ of the window population. They are drawn from a family of parametric decays, such as two-prong and three-prong jets with varied masses, together with a large share of background-only episodes.

The main scientific risk is that meta-training on synthetic signals quietly turns a model-agnostic search into a model-dependent one. We address this in two ways. First, every test signal is held out from the meta-training family. Second, we report performance as a function of the distance between the held-out signal and the training family. The Black Box 3 anomaly from the LHC Olympics 2020, a diffuse signal with several decay modes that almost every participating method missed, is the natural stress test. Top-quark jets in the hls4ml jet data used by NuRD are a second held-out signal type.

We borrow one more idea from tracking. Color-based distractor suppression explicitly downweights background regions that resemble the target. Our analogue adds a hard-negative term to the outer loss for known background processes that mimic signal inside a window, such as $W/Z$ jets in a QCD window. We treat this term as optional and ablate it.

Baselines

The naive reference point is a plain bump hunt on the raw mass spectrum with no classifier. On CMS Open Data, the Upsilon analysis reports $1.6\sigma$ for this setting. We rerun it on identical data selections and window definitions, and every learned method must clearly exceed it.

The strongest existing method is CATHODE: a normalizing-flow background model trained on sideband data, followed by a boosted-decision-tree ensemble that classifies data against synthetic samples, with its output converted to a likelihood-ratio weight. The Upsilon analysis reports $6.4\sigma$ on the 2016 CMS DoubleMu opposite-sign spectrum, with no spurious resonance in the same-sign control channel. It is the strongest competitor because it is the only method in the file that has made a real discovery with weak supervision. We will rerun CATHODE with the published configuration on the same selections, and on LHC Olympics R&D injection scans with the same windows. Its flow and tree ensemble get a hyperparameter search budget equal in GPU-hours to our meta-training plus per-window fitting. The Lacuna file gives no reported CATHODE numbers on LHC Olympics R&D. On CMS Open Data, beating it means reaching at least $6.4\sigma$ at a fraction of the per-window compute while keeping a null result in the same-sign channel. On injection scans, beating it means detecting the signal at a lower injected fraction at matched false-discovery rate on background-only runs.

The representation baseline is NuRD, which reports AUROC 0.914 and significance improvement 2.32 for its maximum-logit score, and mass-sculpting JSD 0.118 for its Mahalanobis score, against VAE values of 0.881 and 0.255 on hls4ml jets (Gandrakota et al.). We use it in two ways. First, as a static anomaly score. Second, as the decisive ablation: NuRD features frozen, with a logistic-regression head fit per window by an ordinary solver run to convergence. This isolates the key ingredient, which is whether meta-learning the features and solver for window fitting adds anything beyond good decorrelated features plus per-window fitting. We also include a per-window CWoLa-style baseline: a boosted decision tree trained directly on window versus sideband, with no flow. A second ablation removes the background-only episodes, to test whether they are what controls false excesses.

Why not just…?

Why not just run CATHODE, which already made a discovery? For large signals with clean sidebands, CATHODE may simply match us, and we say so up front. The gap we target is the low-signal-fraction regime and the cost of the scan. CATHODE trains a flow and a tree ensemble for each window, and its separate generative step struggles with complex phase spaces, a limitation the Upsilon analysis itself acknowledges. The injection scans settle this directly. If CATHODE's detection threshold and our method's threshold coincide at every injected fraction, the proposal reduces to a speed improvement and we will report it that way.

Why not just fit logistic regression on frozen NuRD features in each window? This is the most serious threat, because it captures most of the proposal with none of the meta-learning. NuRD's features, however, were trained to separate labeled background classes. Nothing in that training makes them sensitive to faint, unseen excesses when fit from a handful of events, and NuRD's residual sculpting (JSD 0.118) suggests leftover mass information that a per-window fit could turn into a fake bump. The frozen-features ablation is run at identical data and compute. If it matches the meta-learned model within statistical error, we will drop the unrolled solver and publish the simpler recipe.

Why not just use an autoencoder or VAE anomaly score? Such a score needs no labels and no windows. It underperforms discriminative scores on the file's own evidence, with AUROC 0.881 and JSD 0.255 versus 0.914 and 0.118 (Gandrakota et al.). Generative and unsupervised methods also largely failed on Black Box 3 (LHC Olympics 2020). We include it as a reference, not as the main competitor.

Why not just apply physics cuts? Hand-designed cuts are transparent, and PandaX-III's topological cuts reach roughly $10^7$ background suppression. But cuts presuppose a known signal morphology. In the unisolated-Upsilon setting they give only $1.6\sigma$, so they serve as our naive floor.

Proposed Experiments

The first decisive check is an injection scan on LHC Olympics R&D. For each injected fraction, we measure the significance improvement at a fixed background efficiency, and the minimum fraction at which the excess exceeds $3\sigma$. Every method uses the same windows and receives the same compute. The second check is a false-discovery test on Black Box 2 and on background-only injection runs. We count spurious excesses across the full scan and measure mass sculpting with the same Jensen–Shannon divergence NuRD reports. A method that improves sensitivity but raises the spurious-excess rate fails this check. The third check covers held-out signals: Black Box 1 and Black Box 3, plus top jets in a jet-mass window on hls4ml data. Performance is plotted against how far each signal lies from the meta-training family, so readers can see where the loss of model agnosticism begins. The fourth check is real data. We reproduce the CMS Open Data dimuon analysis, target the reported $6.4\sigma$ in the opposite-sign channel, require no excess in the same-sign channel, and report wall-clock time per window against CATHODE.

The claim is supported only if the meta-learned predictor beats both CATHODE and the frozen-NuRD ablation at low injected fractions while matching them on false-discovery rate. If it does not, the result still tells the field whether per-window fitting on good decorrelated features is the whole story.