Late but Phase-Correct: Remote Interferer Models for Low-Latency Earbud Enhancement

Earbud speech enhancement has to produce each output sample within about 3 ms, so all of it runs on a tiny on-device chip. The best published system of this kind, Speech Boosting, meets that deadline by working directly on the raw waveform, with no conversion to frequencies. Its authors report the price: the model struggles to remove harmonic noise such as alarm tones, because a waveform model cannot see energy concentrated at particular frequencies. Meanwhile a paired phone, or a cloud server, has far more compute. It sits 20–200 ms away, which is far too slow for the audio path. This proposal asks what such a slow helper can still contribute. The answer we test is a compact, phase-accurate model of the interferer. An alarm is a sum of a few tones whose timing (phase) advances predictably, so a description estimated from audio that is 100 ms stale can be projected forward to the present and subtracted sample by sample on the earbud.

The idea in two sentences: the remote side never processes the live signal. It sends back a few numbers per harmonic interferer (frequency, frequency drift, amplitude, phase, and a label saying "this is not speech"), and the earbud locks a cheap oscillator to those numbers and cancels the interferer in the time domain before its small waveform network runs. Phase is what makes this work. Knowing only which frequencies are loud lets you attenuate them. Knowing their phase lets you cancel them while leaving speech energy at the same frequencies intact, and phase is also the quantity that degrades with network delay.

Core Claim

Edge–cloud split inference so far ships features of the live signal and waits for an answer. Examples are token pruning with early exit for text (Distributed Collaborative Inference), codebook features for images (CAFC-SE), and deadline-aware compression (Zhou et al.). All of these break when the deadline is shorter than the round trip. We claim that harmonic interferers are the case where stale information keeps its value. Their phase can be extrapolated, and the error of that extrapolation can be budgeted in closed form.

Suppose interferer partial $k$ has frequency $f_k$, drift $\dot f_k$, and phase $\phi_k$ at the remote estimate time, and the descriptor arrives after delay $D$. The earbud then predicts

$$\hat\phi_k(t_0+D)=\phi_k+2\pi f_k D+\pi \dot f_k D^2 .$$

If the predicted phase is wrong by $\varepsilon$ radians, subtracting the predicted tone leaves residual power

$$\frac{P_{\text{res}}}{P_{\text{int}}}=2-2\cos\varepsilon .$$

This follows directly from subtracting two equal-amplitude sinusoids offset by $\varepsilon$. Getting 10 dB of cancellation needs $\varepsilon<0.32$ rad. A frequency error $\delta f$ contributes $\varepsilon\approx 2\pi\,\delta f\,D$, so at $D=100$ ms the remote estimate must be accurate to about 0.5 Hz. Remote extrapolation alone is therefore fragile. The design uses the remote descriptor only to initialize and label a local phase-locked loop: a tiny oscillator that continuously re-aligns its phase to the incoming microphone signal. Under this design the delay determines how quickly a new alarm gets handled, not how well a tracked one is cancelled.

Research Program

We build three components.

The first is a remote interferer analyzer. It is a large non-causal complex-spectrum model in the style of MP-SENet, which decodes magnitude and phase in parallel and uses an anti-wrapping phase loss. We add a head that outputs up to $K$ partial tracks with a speech/non-speech label. Its phase head is trained with the amplitude-weighted von Mises loss of Nguyen et al.. That loss focuses training on high-energy time–frequency cells, and those are exactly the interferer peaks we need. High-frequency phase instability, which those authors flag as unsolved, matters less here because the descriptor is a few parametric tracks rather than a dense phase map.

The second is an on-earbud tracker: one second-order phase-locked loop per partial (well under 1 MCPS for $K\le 8$), seeded by each descriptor. It subtracts the reconstructed interferer from the microphone signal. A lock detector decides when the tracker has drifted off the interferer, and in that case it falls back to plain pass-through.

The third is the waveform network of Speech Boosting, a Wave-U-Net with an LSTM, pruned with SPDY+OBC and kept within the 0.21 GMACs budget. It is fine-tuned on the residual so that it learns to tolerate imperfect cancellation.

The analysis has two strands. We derive and empirically check the cancellation-versus-delay curve implied by the equations above. We also characterize which interferer classes are predictable enough to qualify, including steady alarms, pulsed beepers, sirens with sweeping pitch, and appliance hum, and which are not.

Baselines

The naive reference is the unprocessed noisy input, together with the on-device Wave-U-Net+LSTM alone. The latter is the system whose alarm failure motivates this work. The authors report 3.71 ± 0.05 subjective MOS and 4.27 WV-MOS on VoiceBank+DEMAND at 0.21 GMACs (Speech Boosting). We retrain it on the same data mixture as our system. Our system must at least match it on general noise and beat it on the harmonic-interferer subset. No reported result exists on Lacuna for any model on a harmonic-alarm subset, so we construct that subset and report it ourselves.

The strongest classical competitor is an on-device adaptive line enhancer or adaptive notch filter, given the same cycle budget as our tracker. It needs no remote side at all, so it is the most serious threat. It gets the same tuning budget, a grid over step size and number of notches selected on a validation split.

The strongest learned upper reference is a non-causal MP-SENet-style complex model applied to the whole signal (3.50 PESQ on VoiceBank+DEMAND per MP-SENet). It cannot meet the deadline, and it marks how much of the possible gain we recover. A causal mid-latency point is the 1-layer RT-SEMamba student at 25 ms (3.18 PESQ, RT-SEMamba).

Three ablations isolate the key ingredient. The first is a magnitude-only descriptor, in which the remote side sends frequencies and levels and the earbud applies notch attenuation without phase. The second is remote phase extrapolation without local locking. The third is a local tracker without remote seeding or labels. Beating the magnitude-only ablation on speech preservation at interferer frequencies is the evidence that phase is the essential element.

Why not just…?

Why not just run an adaptive notch filter on the earbud? This is a real threat. Adaptive filters track steady tones cheaply. Speech, however, is itself harmonic, and an adaptive filter that has no notion of "alarm" will also lock onto vowel harmonics. It also re-acquires slowly when a siren sweeps or a beeper pulses. The remote label and seed are meant to fix exactly these two problems. The experiment settles the question by stratifying by interferer type. If the adaptive filter matches us on all strata, including speech distortion measured on clean-speech-only segments, then the remote side adds nothing and we would report that.

Why not just fit a frequency-domain model on the earbud? Speech Boosting found that TF-GridNet lost to the waveform model under the 3 ms, 291 MCPS budget. Ultra-Low Latency Speech Enhancement shows that ultra-low latency is recoverable by scaling channel width, which is the one thing an earbud cannot afford. We include a pruned asymmetric-window spectral model at matched MACs as an extra check.

Why not just send audio to the phone or cloud and enhance it there? Round trips over Bluetooth or a wide-area network exceed the 3–5 ms hearable deadline by an order of magnitude, and Sun et al. place the bottleneck in transport rather than compute. Our design moves only slow side information, at a few hundred bytes per second, so jitter and lost packets delay updates instead of stalling audio.

Why not just send magnitude information and suppress those bins? This is the magnitude-only ablation. Attenuating a frequency band removes the speech energy that shares it, and Smaragdis et al. show that working with magnitude while leaving the noisy phase untouched caps achievable quality. We expect phase-coherent subtraction to preserve speech harmonics that overlap the alarm.

Proposed Experiments

The training data uses VoiceBank+DEMAND and the DNS Challenge mixture of 700 hours of speech and 247 hours of noise (Ultra-Low Latency Speech Enhancement). From the AudioSet and Freesound portions we build a harmonic-interferer test subset of alarms, beepers, sirens and hum, mixed at −5 to 15 dB SNR.

Remote delay is simulated over 20–200 ms with jitter, plus 0–10% packet error, matching the regime in Zhou et al.. The earbud side is held to under 3 ms algorithmic latency and is profiled for cycle count under the 291 MCPS reference.

The metrics are PESQ, STOI, WV-MOS, and DNSMOS overall and per interferer class. Two further metrics are interferer residual energy and speech distortion within ±50 Hz of interferer partials, both computed against clean references.

We plan three decisive checks. The first compares measured cancellation against the $2-2\cos\varepsilon$ prediction as $D$ grows. It should hold for pure extrapolation and flatten once local locking is added. The second is the magnitude-only versus phase-coherent comparison on speech preserved near interferer frequencies, which isolates whether phase matters. The third is the stratified comparison against the adaptive notch filter, which decides whether the remote side is worth having. If the pulsed and swept classes show no gain over the adaptive filter, the claim shrinks to "remote labels prevent speech notching." We would report that narrower result as such.