Counting and Locating Sound Sources with an Unbinned Extended Likelihood over Phase Observations

Microphone arrays locate sound sources by comparing the timing of a sound across microphones. The workhorse method, GCC-PHAT (generalized cross-correlation with phase transform), throws away the loudness of each frequency and keeps only the phase. Phase carries the geometry, while loudness is scrambled by room echoes. Its multi-microphone form, SRP-PHAT (steered response power), adds these phase-aligned scores over a grid of candidate directions and reports the highest peak. This works well for one source. It has no principled answer to three questions practitioners actually face: how many sources are present, how sure we should be that a weak secondary peak is a real talker rather than a room echo or noise, and how to stop PHAT from amplifying noise at frequencies where the source is quiet.

Particle physicists face the same three questions when searching for rare decays buried in background. Their standard tool is the unbinned extended maximum likelihood fit. Each individual event is scored under signal and background probability models at its exact continuous coordinates, with no histogram. A Poisson term over the total count turns the number of signal events from each component into a fitted parameter with an error bar. Testing whether a component's yield is zero then gives a calibrated significance. We propose to treat every time-frequency cell of a multichannel recording as an "event," described by its vector of phase differences across microphone pairs and by a separate magnitude-based discriminating variable. We then fit an extended mixture of K directional sources plus a diffuse background directly to these events. The source directions come out continuous, without a grid. Source counts come out as yields with uncertainties. Detection of an additional source becomes a likelihood-ratio test whose null distribution is calibrated on silent frames, much as gamma-ray astronomers use "off-source" sky regions.

Core Claim

SRP-PHAT is already a likelihood in disguise, and making the disguise explicit fixes its main failures. Model one source's phase differences as wrapped Gaussian-like (von Mises) noise around the delay predicted by its direction, with no background. The log-likelihood is then a constant times the sum of cosines of phase residuals over pairs and frequencies, which is exactly the steered response power. The proposal keeps that core and adds the three ingredients the particle-physics fit supplies. The first is several signal components plus an explicit background component, so weak sources are not swallowed by side lobes. The second is an extended Poisson term, so yields and counts are estimated with uncertainty. The third is a per-event discriminating variable, which moves magnitude out of the location model and into the signal-versus-background decision. The likelihood for one analysis window is

$$ \mathcal{L}(\boldsymbol{\omega},\mathbf{N},N_b)=e^{-(\sum_k N_k+N_b)}\prod_{i=1}^{n}\Big[\sum_{k=1}^{K}N_k\,S(\boldsymbol{\phi}_i\mid\omega_k,f_i)\,A_s(a_i)+N_b\,B(\boldsymbol{\phi}_i\mid f_i)\,A_b(a_i)\Big]. $$

The symbols are as follows. $i$ indexes the $n$ time-frequency cells in the window. $\boldsymbol{\phi}_i$ is that cell's vector of PHAT-normalized inter-microphone phase differences, and $f_i$ is its frequency. $\omega_k$ is the continuous direction of source $k$, and $N_k$ is its expected number of dominated cells. $S$ is a product of von Mises densities centered on the phase delays implied by $\omega_k$, with a frequency-dependent concentration that absorbs reverberant blurring. $B$ is a diffuse-field phase density. $N_b$ is the background yield. $a_i$ is a magnitude-based variable, such as the cell's level above a noise floor estimated from silent frames. Its densities are $A_s$ under signal and $A_b$ under background.

This addresses the tension the research file identifies between PHAT and noise modeling (Gap 3). PHAT stays the right transform for the location variable. Magnitude is not discarded; it decides which component an event belongs to. Low-energy noise cells therefore no longer vote for a direction with full weight.

Relation to Prior Work

The method comes from the particle-physics and astroparticle literature. Update of the search for the neutrinoless decay τ→μγ uses an unbinned extended fit to extract signal and background yields jointly and to set limits. Observation of B+→ωK+ shows the specific pattern we borrow: a location-like variable fitted jointly with a separate discriminating variable (a Fisher event-shape score) instead of hard cuts. Signal estimation in on/off measurements including event-by-event variables (BASiL) weights each gamma-ray event by continuous shower variables and constrains background from off-source regions. It reports 15–20% better precision at 10% signal-to-noise. Our use of silent frames as the "off" region to constrain $N_b$, $B$ and $A_b$ is a direct transplant of that design. None of these papers touches wave propagation or phase. The closest methodological neighbor is Free-running vs Synchronous: Single-Photon Lidar, which fits signal flux, background flux and a continuous delay from unbinned photon timestamps by alternating L-BFGS-B and matched filtering. We reuse that optimization pattern: coarse SRP-PHAT peaks play the role of the matched filter for initialization, and gradient refinement handles yields and directions. That paper is single-channel and has no phase transform or multi-source counting.

On the acoustic side, three lines of work attack SRP-PHAT's grid and multi-source limits without a statistical model. Evaluation of an open-source SRP-PHAT implementation in LOCATA 2018 establishes strong single-source accuracy with grid search and global-peak picking, but has no mechanism for counting sources. Multiple Sound Source Localization with SVD-PHAT replaces the grid with an SVD subspace and nearest-neighbor search, and handles multiple sources by orthogonalizing away each found source in turn. It is geometric and sequential, with no yields, no background term and no stopping rule. SR-SRP upsamples coarse power maps with a CNN, but stays image-domain, single-source and uncalibrated. Supervised networks on GCC features (GCC-PHAT features for SELD; Audio inputs for active speaker detection) learn direction mappings from labels. The second of these papers motivates our Gap 3 fix: GCC-PHAT loses to SALSA-Lite by 4% F1 at 0 dB. SoundCam constrains the design choice: learned models there degraded when room furniture moved. That is evidence that a physically parameterized likelihood, which has no room-specific weights, has a real role.

Fitting mixtures of phase-difference distributions over time-frequency cells is not itself new in array processing. The research file does not index that literature, so we do not claim the mixture as our contribution. What is new is the extended yield parameterization, the explicit background component constrained by silent frames, the magnitude discriminating variable, and calibrated source-detection significance.

Research Program

We will first build the fit for far-field direction estimation on arbitrary array geometries. Directions are parameterized continuously on the sphere, and concentrations are pooled across frequency bands as a smooth function of frequency. The background phase density is either uniform on the torus or a diffuse-field coherence model; we will test both. The densities $A_s$ and $A_b$ are estimated nonparametrically: $A_b$ from silent frames, and $A_s$ by subtraction or from a held-out calibration recording.

Source counting proceeds by nested fits with $K=0,1,2,\dots$. The test statistic for adding a source is $q=-2\ln[\mathcal{L}(N_{K}=0)/\hat{\mathcal{L}}]$. Because the new source's direction is undefined when its yield is zero, the textbook chi-square asymptotics fail; this is the look-elsewhere problem familiar from resonance searches. We will therefore calibrate $q$ empirically by refitting on resampled silent and single-source segments, and report the resulting false-alarm rate.

The second stage ties yields across consecutive windows through a slowly varying Poisson rate per source. This connects the static fit to the trackers discussed in The LOCATA Challenge, but we treat tracking as secondary. Reflection-interference modeling, by analogy with the coherent isobar fits in Dalitz plot analysis of Ds+→K+K−π+, is explicitly out of scope. That paper shows how hard degenerate overlapping components become, and we do not want to inherit that difficulty in a first study.

The compute cost is modest. A one-second window at 16 kHz with a 512-point FFT yields roughly eight thousand cells. Each likelihood evaluation is a weighted sum of cosines, which is comparable to one SRP-PHAT evaluation per candidate source.

Baselines

The naive reference point is SRP-PHAT as run in the LOCATA open-source evaluation. This means the Multichannel BSS Locate toolbox with grid search, multi-peak extraction, and a peak-height threshold to count sources. We will tune the threshold on the same development split our method uses for calibration. On LOCATA single-source tasks that paper reports a success rate (error under 20°) of at least 92% across tasks and 99.9% on Task 1. On single-source accuracy, our method beats it only if it matches that success rate while reducing mean angular error. On multi-source tasks, it beats it if it achieves higher count accuracy at an equal false-alarm rate.

The strongest existing multi-source competitor is SVD-PHAT. That paper reports RMSE 0.2027 rad versus 0.3009 rad for SRP-PHAT with three simultaneous sources on simulated TIMIT rooms ($RT_{60}$ 200–500 ms). We will regenerate that setup, run SVD-PHAT with its subspace dimension tuned on held-out rooms, and give it oracle source counts, which favors it. Beating it means lower three-source RMSE than our re-run SVD-PHAT with the count estimated rather than given.

For single-source accuracy on LOCATA, the strongest number is SR-SRP: RMSAE 7.32°, against 7.96° for Cross3D. We report against that figure directly. We do not expect a training-free model to beat a learned upsampler on its own benchmark, so parity is the success criterion there.

For overlapping sources on DCASE 2019 Task 3, the reference is the GCC-gram CRNN with a DOA error of 20.4° (GCC-PHAT features for SELD). Because our method does not classify events, we compare only DOA error and frame-level source-count recall. No reported result was found on Lacuna for source-count accuracy or for detection calibration on any of these datasets, so those comparisons rest entirely on our own re-runs.

Four ablations isolate each ingredient, all with identical data and initialization. The first drops the Poisson term and selects $K$ by the Bayesian information criterion. The second drops the background component. The third drops the magnitude variable entirely. The fourth reinserts magnitude as a soft frequency weight on the phase term instead of as a discriminating variable.

Why not just…?

Why not just threshold SRP-PHAT peaks to count sources? Peak height mixes source loudness, reverberant side lobes and noise level. A fixed threshold therefore cannot hold a false-alarm rate across rooms, and the three-source degradation reported in SVD-PHAT (0.3009 rad) shows the side-lobe problem directly. Our experiment fixes a false-alarm rate on silent frames and compares detection power at that rate. If tuned thresholding matches us there, the extended fit's counting advantage is not real.

Why not just use SVD-PHAT's sequential orthogonalization? It resolves multiple sources well but needs an external stopping rule and gives no uncertainty on either direction or presence. Giving it oracle counts in our comparison isolates the question of whether the likelihood also localizes better. Running it with our significance test as the stopping rule checks whether counting is the only gain.

Why not just train a network on GCC-grams or SALSA features? On in-distribution data such networks will likely win on accuracy, and we do not claim otherwise. The case for the likelihood is out-of-distribution robustness and calibration, which SoundCam suggests learned acoustic models lack. We test this by training a CRNN on simulated rooms and evaluating both methods on LOCATA's real recordings.

Why not just fit a phase mixture model and pick K with BIC? This is the real threat. Point estimates of directions are nearly identical with or without the Poisson term, so the extended fit's value rests on yield uncertainties, the silent-frame background constraint, and calibrated tests. The first ablation settles this. If BIC counting matches our calibrated test in accuracy and false alarms, we will report that the background and magnitude terms, not the extension, carry the gain.

Why not just soften PHAT with a partial magnitude weighting? That partly addresses noise amplification without any likelihood. The fourth ablation compares magnitude-as-weight with magnitude-as-discriminant at 0 dB on TragicTalkers. There GCC-PHAT trails SALSA-Lite by 4% F1, which tells us the size of gap to aim at.

Proposed Experiments

The decisive check is LOCATA multi-source tasks (Tasks 2, 4 and 6) together with the regenerated SVD-PHAT simulations swept over one to three sources, $RT_{60}$ 200–500 ms, and 0–20 dB signal-to-noise. The metrics are source-count accuracy, angular RMSE with optimal assignment, and false-alarm rate at a fixed nominal level.

Calibration is checked by comparing the empirical distribution of $q$ on source-free segments against its silent-frame-calibrated null, and by checking coverage of yield and direction intervals in simulation. Each nominal 68% interval should contain the truth about 68% of the time; a gap would mean the concentration model is wrong.

The low-SNR check uses TragicTalkers at 0 dB with four microphones, comparing GCC-PHAT, SALSA-Lite (as reported), and our fit. The single-source check reports LOCATA Task 1 success rate and RMSAE against the SRP-PHAT and SR-SRP figures above.

The study succeeds if the fit counts sources better than tuned thresholding at matched false-alarm rate, beats re-run SVD-PHAT on three-source RMSE without oracle counts, and holds near nominal coverage. It fails informatively if the BIC ablation matches it, because that would locate the useful ingredient in the background and magnitude modeling rather than in the extension.

References

  1. 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>
  2. 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
  3. Signal estimation in on/off measurements including event-by-event variables
  4. Free-running vs Synchronous: Single-Photon Lidar for High-flux 3D Imaging
  5. Evaluation of an open-source implementation of the SRP-PHAT algorithm within the 2018 LOCATA challenge.
  6. Multiple Sound Source Localization with SVD-PHAT
  7. SR-SRP: Super-Resolution based SRP-PHAT for Sound Source Localization and Tracking
  8. GCC-PHAT Cross-Correlation Audio Features for Simultaneous Sound Event Localization and Detection (SELD) on Multiple Rooms
  9. Audio Inputs for Active Speaker Detection and Localization Via Microphone Array
  10. SoundCam: A Dataset for Finding Humans Using Room Acoustics
  11. The LOCATA Challenge: Acoustic Source Localization and Tracking
  12. 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>