Microphone-array localizers estimate where a sound comes from by adding up evidence from many frequency bands and many short time frames. Reverberation, noise and obstructions corrupt some of that evidence far more than the rest. Classical methods either weight every band equally or apply a hand-derived "trust score" per band. Deep networks can learn trust scores, but they are too heavy for hearing aids and smart glasses. We propose to learn these trust scores with gradient boosted decision trees. These are ensembles of small decision trees, each fit to correct the errors of the ones before it, and they are cheap to run on a CPU. The key design choice is how the trees are supervised. They are not fit to a hand-made per-band label. They are trained through the localizer itself: the boosting gradient for each time-frequency cell is the derivative of the final direction-estimate loss with respect to that cell's weight.
In two sentences: a boosted tree ensemble reads a handful of cheap per-cell acoustic features, such as coherence, band energy, direct-path confidence and onset strength, and outputs a weight for that cell in a standard steered-response power map. The trees are grown to minimize the error of the resulting direction estimate, so the weighting learns what actually helps localization rather than what a proxy formula says should help.
Core Claim
Our claim is that a direction-loss-coupled gradient boosted weighting model, applied upstream of an unchanged steered-response power with phase transform (SRP-PHAT) localizer, will reduce azimuth error and outlier rate relative to the best closed-form reliability weights. It should do so at a compute cost orders of magnitude below transformer-based localizers. The advantage should come specifically from training through the localizer, not merely from using trees. SRP-PHAT scores each candidate direction by summing phase-normalized cross-correlations across microphone pairs and frequencies.
The contrast with existing reliability weighting is in where the weights come from. AWEPAT derives pair weights from a Cramér-Rao bound, which assumes unbiased, uncorrelated, Gaussian errors. PROST maps the coherent-to-diffuse ratio (the share of direct-path versus reflected energy) to a von Mises concentration through a fixed mapping. Subband weighting for binaural localization turns per-band error rates into weights through a grid-searched warping $(\alpha, T)$. LSDD-wQ multiplies a direct-path-dominance confidence by a precomputed array directivity map and hand-tunes window lengths and band ranges.
All four papers motivate this work: each shows weighting matters, with gains of 30–40° at low SNR, up to 74% over least squares, and roughly halved error on EasyComm. All four also constrain it, because their features are exactly what we feed the trees. We keep their physics as inputs and replace their fixed combination rule with a learned one.
The only prior GBDT-audio hybrid in the file, Fonseca et al., used LightGBM as a whole-clip scene classifier on 820 summary features. There the trees produce the final label. Here they produce thousands of per-cell weights per second that feed a physical estimator. The heavy learned alternative, Yang et al., learns coherence end to end with a 6.8M-parameter transformer at 0.4 s inference on a GPU. We target the regime where that is not deployable.
Research Program
Each row of the tree ensemble's training data is one time-frequency cell $(t,f)$ of a multichannel recording. Its features are:
- the band's log energy and its change from the previous frame (an onset cue, in the spirit of the zero-crossing onset detection of Park & Park);
- an estimated coherent-to-diffuse ratio;
- the direct-path-dominance confidence $g(t,f)$ of LSDD-wQ;
- the spread of phase-transform cross-power phases across microphone pairs;
- frame-to-frame phase consistency;
- frequency;
- array-geometry summaries, such as the fraction of pairs near endfire for the previous frame's direction estimate, which carries AWEPAT's geometric insight.
All features are array-size-agnostic summaries, so one model can in principle serve several arrays.
The ensemble outputs a log-weight $s_{t,f}$, and the weight is $w_{t,f}=\exp(s_{t,f})$. The weighted steered-response power for direction $\theta$ over a frame block $B$ is
$$P_B(\theta)=\sum_{t\in B}\sum_{f} w_{t,f}\, \Phi_{t,f}(\theta),$$
where $\Phi_{t,f}(\theta)$ is the ordinary SRP-PHAT contribution of cell $(t,f)$ at direction $\theta$, summed over pairs. The training loss for block $B$ with true direction $\theta^\*$ is a soft angular error over a direction grid $\Theta$:
$$\mathcal{L}_B=\sum_{\theta\in\Theta} \operatorname{softmax}_\theta\big(\beta P_B(\theta)\big)\, d(\theta,\theta^\*),$$
where $\beta$ is a temperature and $d$ is great-circle angular distance.
Because $P_B$ is linear in each $w_{t,f}$, the exact derivative $\partial \mathcal{L}_B/\partial s_{t,f}$ is cheap to compute for every cell. A Gauss-Newton diagonal gives a positive curvature term. These per-row gradients and hessians are passed to XGBoost's custom-objective interface (Chen & Guestrin). This works even though the loss couples all cells in a block. The ensemble is thus boosted directly on localization error while each tree still sees ordinary tabular rows.
We will also add a mild penalty that anchors the mean log-weight per block at zero. This removes the overall scale ambiguity.
Three analyses follow the main model. First, a cost study counts tree-node visits per second for the chosen depth, tree count and number of frequency bins, and measures single-core CPU latency. Second, a TreeSHAP study attributes down-weighting decisions to features. We will check whether the learned model rediscovers known physics: low coherent-to-diffuse ratio, endfire geometry and absent onsets should drive suppression. We will also look for interactions the closed-form rules miss, such as high energy that is trusted only when phase spread is low. Third, a transfer study trains on one array and tests on another.
Baselines
The naive reference point is unweighted SRP-PHAT, implemented as in Lebarbenchon et al., with their pair pruning and the same direction grid and peak picking we use. On LOCATA single-source tasks they report success rates (error under 20° in azimuth and elevation) of at least 92% across tasks and 99.9% on Task 1. They also report robot-head errors below 10° on the moving-source Tasks 3 and 5. Because the published numbers are on the development set and depend on their configuration, we will rerun their open-source code on our exact splits. That rerun is the number to beat.
The strongest classical competitors are closed-form reliability weights inserted into the same SRP-PHAT pipeline. One uses the direct-path-dominance confidence alone. One uses the LSDD-wQ product of that confidence with the directivity map. One uses a coherent-to-diffuse-ratio weight passed through a monotone mapping whose one or two parameters are tuned on the same validation data the trees use. Giving the analytic methods a matched tuning budget is essential for fairness. On EasyComm the file reports LSDD-wQ reaching mean absolute error under 10° and about 10% outliers above 25° at the 50% most-reliable subset, against about 20° and 27% for plain LSDD (Mitchell et al.). For coherent-to-diffuse-ratio-weighted SRP-PHAT on LOCATA we found no reported result on Lacuna, so we will produce it ourselves.
For context on accuracy ceilings, the best LOCATA Task 1 submissions reached about 1.0° average azimuth error (Löllmann et al.). The heavy learned reference is the transformer localizer of Yang et al.: 13.9 cm on music and 21.3 cm on speech on LuViRA. We will not re-train it on our arrays. We cite it only to anchor the compute comparison.
Two learned competitors share our features and training data under an equal hyperparameter-search budget. The first is a small multilayer perceptron trained with the same direction-coupled loss by backpropagation, sized to match the tree ensemble's inference cost. The second is a linear model of log-weights trained the same way.
The ablation that isolates our key ingredient trains the identical tree ensemble on a local per-cell label instead of the coupled loss. The label is whether that cell's own phase-implied direction lies within 10° of truth. We then plug the predicted probabilities in as weights.
Beating a baseline means a lower median azimuth error and a lower outlier rate on held-out recordings, with block-bootstrap confidence intervals that exclude zero.
Why not just…?
Why not just use the coherent-to-diffuse ratio or direct-path-dominance weights, which need no training? This is the most serious threat. These proxies already deliver most of the documented gains (Evers et al., Mitchell et al.). The case against them is indirect: each rests on assumptions (AWEPAT's unbiased Gaussian errors) or on tuned parameters (the $(\alpha,T)$ warping, LSDD-wQ's windows) that their own authors flag as fragile. We will settle it empirically with the tuned-proxy baselines above. If the trees do not beat the best tuned proxy on LOCATA Tasks 3 and 5 and on EasyComm, the accuracy claim fails. What would remain is a diagnostic contribution: SHAP explanations of when the proxies fail.
Why not just train a small neural network on the same features? A tiny network trained through the same loss is a real alternative. The tree choice is not justified by accuracy evidence in the acoustic-localization literature, because none exists in the file. The only tabular comparisons there are a clinical task, where boosting beat logistic regression 0.838 to 0.737 AUC (Fang et al.), and scene classification, where LightGBM edged a CNN 80.8% to 79.9% (Fonseca et al.). Neither transfers directly. The compute-matched network baseline decides this. If it matches the trees, we will report that the direction-coupled training, not the model family, is the contribution. The trees would then keep only their advantages in inspection and branch-only integer inference.
Why not just label each cell as reliable or not and fit an ordinary classifier? This is simpler and plugs into any off-the-shelf boosting library. Its weakness is that a cell's usefulness depends on the other cells. A cell pointing correctly at a direction that twenty other cells already support adds little. A cell pointing at a reflection that competes with the true peak is harmful even if its own error seems moderate. The local-label ablation measures exactly this. We expect the coupled loss to matter most in reverberant moving-source conditions, where reflections form coherent false peaks.
Proposed Experiments
We need far more labeled cells than LOCATA provides. Training therefore uses simulated reverberant rooms, with microphone geometries matching the LOCATA robot head and Eigenmike and the EasyComm glasses, TIMIT speech, and randomized reverberation time, SNR and source motion. The LOCATA development set serves for validation and tuning of all methods. Testing uses the LOCATA evaluation recordings of Tasks 1, 3 and 5 and held-out EasyComm sessions. We report azimuth and elevation error, LOCATA success rate, EasyComm mean absolute error and outlier fraction above 25°, and CPU latency per second of audio.
The decisive checks follow from the baselines. The first asks whether boosted weights beat the tuned closed-form weights on moving-source Tasks 3 and 5. There uniform SRP-PHAT is already strong, so any gain must come from suppressing reflections. The second asks whether the coupled-loss trees beat the same trees trained on local labels. The third asks whether a model trained on simulated robot-head geometry transfers to the Eigenmike and to the glasses without retraining, which tests whether the array-agnostic features really are agnostic. The fourth asks whether TreeSHAP attributions agree with known physics on controlled simulations where we plant endfire geometry, a blocked microphone or a narrowband noise source. If they do not, the explanations cannot be trusted even where accuracy improves.
A positive outcome on the first two checks, at a latency compatible with a single embedded core, would establish learned weighting as a practical middle ground between hand-derived weights and heavy deep networks.
References
- Robust speaker localization through adaptive weighted pair TDOA (AWEPAT) estimation
- DoA Reliability for Distributed Acoustic Tracking
- Subband Weighting for Binaural Speech Source Localization
- Improved direction of arrival estimations with a wearable microphone array for dynamic environments by reliability weighting
- Acoustic Scene Classification by Ensembling Gradient Boosting Machine and Convolutional Neural Networks
- Efficient and Microphone-Fault-Tolerant 3D Sound Source Localization
- XGBoost: A Scalable Tree Boosting System
- Evaluation of an open-source implementation of the SRP-PHAT algorithm within the 2018 LOCATA challenge.
- The LOCATA Challenge: Acoustic Source Localization and Tracking
- Machine learning for predicting acute myocardial infarction in patients with sepsis