Complementary Views as an Identifiability Tool in Unbinned Extended Likelihood Fits

Physicists who count rare events, and engineers who count spoofed voice recordings arriving at a speaker-verification system, want the same thing. They want to know how many signal events are in a batch, with an honest error bar, when the background may not look the way their simulation or training data said it would. Physicists use the unbinned extended maximum likelihood fit for this. That is a fit that assigns each event a probability density over its continuous measurements and treats the total event count as Poisson-distributed, so that it returns absolute signal and background yields. The fit's known weakness is that any error in the assumed background shape leaks directly into the signal yield. Speech researchers, meanwhile, routinely combine complementary features, such as spectral magnitude and phase, because each captures what the other misses. They use the combination only to sharpen a classifier.

This note proposes using complementarity for a different purpose. If two feature streams are built so that they are statistically independent once you know whether an event is signal or background, the joint two-stream density becomes a mixture of products. Mixtures of that form can be pinned down from the data alone. The background shape can then be left free and learned from the unlabeled target batch inside the extended fit, instead of being fixed from simulation. Complementary fusion becomes a way to guard against mismodeled backgrounds, not only a way to gain accuracy. The same view says early fusion, which concatenates the streams, is the wrong design for counting, because it destroys the product structure that makes a free background identifiable.

Core Claim

Consider events $i=1,\dots,N$, each summarized by two learned scalar scores: $u_i$ from stream A (for example a magnitude network) and $v_i$ from stream B (for example a phase network). The proposed extended likelihood is

$$\mathcal{L}(N_s,N_b,\phi)=\frac{e^{-(N_s+N_b)}}{N!}\prod_{i=1}^{N}\Big[N_s\,f_s(u_i)\,g_s(v_i)+N_b\,f_b(u_i;\phi)\,g_b(v_i;\phi)\Big].$$

Here $N_s$ and $N_b$ are the expected signal and background yields. $f_s$ and $g_s$ are the signal score densities, taken from labeled training data. $f_b$ and $g_b$ are flexible one-dimensional background densities with parameters $\phi$, for example monotone splines. These are fitted on the target batch itself.

The claim has three parts. First, when the two streams are conditionally independent given the event's class, this fit recovers $N_s$ without bias even when the true background differs from anything seen in training. Second, profile-likelihood intervals from the fit keep their nominal coverage. Third, a fit with fixed background templates, whether over a fused score or over factorized hand-built variables, is biased and undercovers under the same shift.

The idea generalizes the "ABCD" sideband logic used in collider physics. That logic assumes two independent variables to predict background in a signal region from three control regions. The generalization is continuous and unbinned, and the independent variables are learned rather than hand-chosen.

Relation to Prior Work

Several papers motivate the gap. Observation of $B^+ \to \omega [K^+$](/work/observation-of-mml-math-xmlns-mml-http-www-ey7a) fuses kinematic variables with a Fisher event-shape discriminant inside an unbinned fit. It assumes the variables factorize, and it takes all shapes from fixed models. Signal estimation in on/off measurements including event-by-event variables, known as BASiL, combines two complementary observables, angular distance and "hadronness," using simulated templates. It reports a 15–20% precision gain over hard cuts. Both papers show that combining complementary variables event by event pays off. Both also use factorization only as a simplifying approximation with trusted templates. We use factorization in the opposite direction: we enforce it by construction, so that the templates no longer need to be trusted. Update of the search for $\tau \to \mu\gamma$ shows that unbinned extended fits beat cut-and-count in low-statistics regimes. That result is the reason we keep the fit unbinned rather than histogramming the two scores.

Other papers supply the fusion side and constrain the design. Replay attack detection with relative phase features fuses magnitude (CQCC) and phase GMM scores by a weighted sum, and it notes that the weights are brittle under shift between development and evaluation data. The DKU Replay Detection System averages scores from six magnitude and phase ResNets on ASVspoof 2019 Physical Access. It explicitly leaves open learnable fusion back-ends. We supply a statistical back-end whose target is a yield, not a verdict on a single utterance. Attention Is Not Always the Answer finds that simple additive fusion beats cross-attention for voice activity detection. Particle Transformer finds the reverse for jets, where pairwise features must bias the attention mechanism. Our framing gives one criterion for that dispute in the counting setting. The streams should be kept separate and made mutually uninformative given the class, however each stream is built internally.

The closest attempt to join likelihoods with learned models is Free-running vs Synchronous single-photon lidar. It derives an unbinned joint estimator of signal flux, background flux and depth, then adds a learned prior in a separate plug-and-play stage. That paper couples a learned model to the likelihood as an external prior. We put learned features inside the likelihood and leave the background free.

Research Program

The work has four parts.

The first part is training stream networks that are independent given the class. On labeled training data, we train two separate networks, each on one feature family, to produce a scalar signal-versus-background score. The loss adds a penalty on dependence between $u$ and $v$ within each class. We will use distance correlation as the penalty, because it catches nonlinear dependence. The penalty weight trades discriminating power against independence, and we will sweep it.

The second part is the fit. We implement the extended likelihood above with spline background densities. We minimize it with L-BFGS-B and build profile-likelihood intervals for $N_s$.

The third part is theory and diagnostics. We will state the identifiability condition: two classes, two independent views, and each view separating the classes to some degree. We will also derive, to first order, how residual dependence between the views translates into bias in $N_s$. The bias should grow roughly linearly with the within-class covariance between $u$ and $v$, because the product model then misassigns that covariance to the signal term. This gives a measurable criterion for whether a given pair of streams is usable.

The fourth part is stress tests under deliberate background shift.

Baselines

The naive reference is cut-and-count. It thresholds the fused score at a working point chosen on development data and subtracts the expected background count from training rates. This is the approach that BASiL and Lee et al. show loses precision. We include it to anchor the scale of the other results.

The strongest competitor is a one-dimensional unbinned extended fit on the averaged score of the magnitude and phase networks, DKU-style, with signal and background templates taken from training data. This is standard modern practice: fuse for discrimination, then fit the discriminant. On raw discrimination this fused system is excellent. Cai et al. report an evaluation equal error rate of 0.66% on ASVspoof 2019 Physical Access with six-model averaging. We will use the same backbones, feature families and training data for both systems, retrain every network ourselves, and give each the same hyperparameter search budget. The fused-score baseline will therefore not be handicapped by weaker networks.

A second strong baseline is a factorized two-dimensional fit with fixed training templates, in the style of Bergfeld et al. It isolates the effect of freeing the background from the effect of simply having two dimensions. A third is a binned two-dimensional ABCD-style estimate on the same two scores, which isolates the value of staying unbinned.

The key ablations are two. One runs our fit with streams trained without the independence penalty, which is what early fusion or unconstrained two-stream training yields. The other keeps the penalty but fixes the background templates.

Beating the strongest baseline means this. Under shifted backgrounds, our absolute bias in $N_s$ must be smaller by a margin larger than the spread across seeds. Our 68% interval coverage must stay within a few points of nominal while the baseline's does not. On unshifted data, our interval width may be larger, but by no more than about 20%.

Why not just…?

Why not just fit the fused classifier score in one dimension? This is the real threat, and on unshifted data it will likely give narrower intervals, because fusion maximizes discrimination. Its weakness is that its background template comes from training. Oo et al. show exactly this kind of development-to-evaluation shift in ASVspoof 2017, where the CQCC baseline reaches 21.61% equal error rate on evaluation data. The shift experiment below settles the question. If the fused one-dimensional fit stays unbiased under unseen rooms and devices, the proposal's main motivation fails, and we will report that.

Why not just use a binned two-dimensional ABCD estimate? It uses the same independence idea with far less machinery. Binning throws away resolution, though, and leaves bins sparse at small $N$, which is the point made by Mitchell et al. and the $\tau\to\mu\gamma$ analysis. We will compare the two across batch sizes. We expect the binned method to match ours at large $N$ and to fall behind below a few hundred events. If it matches everywhere, the unbinned part of the contribution is unnecessary.

Why not just classify each event and count, or retune fusion weights per domain? Classify-and-count inherits the classifier's error rates, which are themselves estimated on the wrong distribution. It also gives no Poisson error bar. Retuning weights per domain needs labels from the target domain, and the setting assumes there are none. The cut-and-count baseline covers the first option directly.

Why not use attention-based fusion to capture cross-stream correlations? For counting, cross-stream correlation within a class is what breaks identifiability. Attention would buy discrimination at the price of robustness. The ablation without the penalty measures that price.

Proposed Experiments

The speech testbed is ASVspoof 2019 Physical Access, described in The ASVspoof 2019 database. It spans 27 environments and 40 loudspeakers. Stream A uses LFCC magnitude features and stream B uses group-delay phase features, as in DKU. We train on a subset of acoustic environments and replay configurations. We then build test batches from held-out environments, with a Poisson-distributed total count and a replay fraction swept from 1% to 30%.

The physics testbed uses JetClass. Stream A is jet mass. Stream B is a substructure tagger trained to be independent of mass. We inject a narrow resonance at controlled rates and distort the background by reweighting it in ways not seen in training.

We report bias and coverage for $N_s$, interval width, and the measured within-class dependence between streams. No reported result on yield bias or coverage for either benchmark was found on Lacuna. The only anchors in the file are discrimination figures: 0.66% equal error rate from DKU, and 86.1% JetClass accuracy for Particle Transformer.

The decisive check is a plot of yield bias against measured within-class dependence, pooled across penalty strengths and both testbeds. If bias tracks dependence as the first-order analysis predicts, and the independence-trained fit keeps coverage under shift while the fused one-dimensional fit loses it, the claim holds. If on-domain interval inflation is large, or held-out rooms break conditional independence even with the penalty, the method is not worth using. That would be a clear negative result.

References

  1. Observation of<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msup><mml:mrow><mml:mi mathvariant="italic">B</mml:mi></mml:mrow><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msup></mml:mrow><mml:mo>→</mml:mo><mml:mrow><mml:msup><mml:mrow><mml:mi mathvariant="italic">ω</mml:mi><mml:mi mathvariant="italic">K</mml:mi></mml:mrow><mml:mrow><mml:mo>+</mml:mo></mml:mrow></mml:msup></mml:mrow></mml:math>and Search for Related<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mi mathvariant="italic">B</mml:mi></mml:math>Decays Modes
  2. Signal estimation in on/off measurements including event-by-event variables
  3. Update of the search for the neutrinoless decay<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:mrow><mml:mover><mml:mrow><mml:mi>τ</mml:mi></mml:mrow><mml:mrow><mml:mo>→</mml:mo></mml:mrow></mml:mover></mml:mrow></mml:mrow><mml:mi>μ</mml:mi><mml:mi>γ</mml:mi></mml:math>
  4. Replay attack detection with auditory filter-based relative phase features
  5. The DKU Replay Detection System for the ASVspoof 2019 Challenge: On Data Augmentation, Feature Representation, Classification, and Fusion
  6. Attention Is Not Always the Answer: Optimizing Voice Activity Detection with Simple Feature Fusion
  7. Particle Transformer for Jet Tagging
  8. Free-running vs Synchronous: Single-Photon Lidar for High-flux 3D Imaging
  9. Dalitz plot analysis of<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:msubsup><mml:mi>D</mml:mi><mml:mi>s</mml:mi><mml:mo>+</mml:mo></mml:msubsup><mml:mo>→</mml:mo><mml:msup><mml:mi>K</mml:mi><mml:mo>+</mml:mo></mml:msup><mml:msup><mml:mi>K</mml:mi><mml:mo>−</mml:mo></mml:msup><mml:msup><mml:mi>π</mml:mi><mml:mo>+</mml:mo></mml:msup></mml:math>
  10. The ASVspoof 2019 database