Speech enhancement models, which take noisy audio and try to return clean speech, degrade badly when they meet noise they never saw during training. One promising fix is test-time training: while the model processes incoming audio, it keeps updating its own weights using a self-supervised objective that needs no clean reference. That mechanism has a hidden weakness. A single impulsive event, such as a click, a clipped microphone sample, or an electrical crackle, produces a huge reconstruction error. With the usual squared or absolute error, that error becomes a large weight update, pushed straight into the shared encoder. The model can then be damaged for everything that follows. Classical adaptive filtering ran into exactly this problem decades ago and solved it with redescending losses. These are losses whose gradient rises for moderate errors and then falls back toward zero for extreme ones, so the update switches itself off during a spike.
We propose to carry that solution into deep test-time adaptation, with one change that we think is essential. The saturation threshold should not be a fixed number. It should be set per frequency band from a running robust estimate of the current residual scale. The reason is a conflict built into this problem. Unseen noise makes errors large everywhere, and the model should adapt to that. An impulse makes errors large locally, relative to the recent background, and the model should ignore it. A fixed-bandwidth correntropy loss cannot tell these two cases apart. A scale-relative one can. The claim is that this relative outlier rejection keeps test-time adaptation's gains on unseen noise while removing its failure mode under bursts. It should also beat both the obvious bounded-loss fix (Huber) and the obvious hard-gating fix (skipping frames that an energy detector flags).
Core Claim
The closest existing work is Test-Time Training for Speech Enhancement. It uses a Y-shaped network whose shared encoder is updated online by masked-spectrogram prediction and noisy-target objectives. It reaches a PESQ of 3.145 on VoiceBank+DEMAND with its online-batch variant. PESQ is a standard 1-to-4.5 perceptual quality score. Its auxiliary losses are ordinary reconstruction errors, and it is never evaluated under impulsive corruption.
The robustness tool we reuse comes from adaptive filtering. The maximum correntropy criterion scores each error with a Gaussian kernel. Its generalized form is Generalized Correntropy for Robust Adaptive Filtering, which uses a generalized-Gaussian kernel and proves zero probability of divergence, but only for scalar linear filters and only with hand-set, static kernel parameters. The band-wise version is Two Improved Normalized Subband Adaptive Filter Algorithms, which reduces step sizes only in the subbands a burst corrupts. Neither line has been attached to a deep, non-convex model that adapts online.
Concretely, let $r_{t,f}$ be the self-supervised residual at frame $t$ and frequency band $f$. We replace the auxiliary loss with
$$\mathcal{L}_t = \sum_f \sigma_{t,f}^2\left(1 - \exp\left(-\frac{r_{t,f}^2}{2\sigma_{t,f}^2}\right)\right), \qquad \sigma_{t,f} = \kappa \cdot \mathrm{MAD}_f(r_{t-W:t-1,f}),$$
Here $\mathrm{MAD}_f$ is the median absolute deviation of band $f$'s residuals over the previous $W$ frames, and $\kappa$ is a single global multiplier. The $\sigma^2$ prefactor makes the loss match half the squared error for small residuals, so adaptation in ordinary conditions behaves like the original method. Its gradient, $r\exp(-r^2/2\sigma^2)$, vanishes for residuals many local scales above the recent median.
Using the median makes the scale estimate itself resistant to the spike. Using a lookback window means that a lasting shift to a new noise type raises $\sigma$ within about $W$ frames and adaptation resumes. This idea of conditioning on instantaneous, frame-level conditions rather than utterance-level averages follows the SNR-conditioned variable-parameter models of Dong Yu et al.. Here we apply it to the loss rather than the acoustic model.
Research Program
We first build a corrupted evaluation suite, because no benchmark in the file tests test-time adaptation under impulses. On VoiceBank+DEMAND and on the Deep Noise Suppression (DNS) Challenge 2020 test data (INTERSPEECH 2020 DNS Challenge), we inject three kinds of impulsive corruption at controlled rates and amplitudes. The first is Bernoulli-Gaussian impulses, the standard model in the adaptive-filtering simulations. The second is alpha-stable heavy-tailed noise. The third is band-limited clicks and hard clipping, meant to mimic microphone and transmission faults. For unseen-noise stress, we also use the WSJ0-noise and WSJ0-music mismatched sets from Mixup-breakdown. On those sets, standard supervised training collapses to 1.86 and 1.93 dB SI-SNRi (the improvement in scale-invariant signal-to-noise ratio), which makes them a sharp test of whether robust adaptation still adapts.
Second, we reimplement the Y-shaped test-time-training model and swap only the auxiliary loss. Everything else stays fixed: the encoder, the update schedule, the learning rate, and which parameters are updated. To show the effect does not depend on one backbone, we repeat the swap on a stronger model, MP-SENet. It reports a PESQ of 3.50 on VoiceBank+DEMAND with only 2.05M parameters, and we add a self-supervised head to it.
Third, we analyze why the method works. We log the gradient-norm distribution per update, the encoder weight drift relative to the source model, and a divergence rate: the fraction of streams in which PESQ on clean-background segments after a burst falls more than a fixed margin below the frozen model. This divergence rate is the deep-model analog of the adaptive-filtering literature's probability of divergence. We also check theory against practice. Abhishek Roy et al. show that Huber loss restores fast convergence under heavy-tailed, dependent data, but only for convex losses and exponentially mixing processes. We test empirically whether the bounded-but-nonvanishing Huber gradient is enough in the non-convex, bursty setting, or whether the vanishing gradient is actually needed.
Baselines
The naive reference points are the frozen source model with no adaptation, and standard test-time training with its original reconstruction losses. The second is the strongest existing method and the one directly threatened by the failure mode. Its published figure is PESQ 3.145 on clean VoiceBank+DEMAND for the online-batch noisy-target variant, reported in Test-Time Training for Speech Enhancement. We will first reproduce that number within a small tolerance before trusting any comparison. There is no reported result found on Lacuna for any test-time-trained enhancement model under impulsive corruption, so every impulsive-condition number will be produced by us under one protocol. On the unseen-noise sets, Mixup-Breakdown Training's reported 13.52 SI-SNRi on WSJ0-noise and 15.95 on WSJ0-music (Mixup-breakdown) serve as reference points from a different, semi-supervised offline approach. They show the size of gain that adaptation to unseen noise can reach.
The competing robust fixes all sit inside the same test-time training loop. The first is Huber loss on the auxiliary objective, with its threshold tuned. The second is log-cosh loss as used by Yakun Niu et al.. The third is global gradient-norm clipping. The fourth is hard gating, which skips any frame whose input energy or residual exceeds a running-median threshold. The fifth is front-end amplitude clipping or median filtering followed by standard test-time training.
Two ablations isolate the proposal's key ingredient. One is fixed-bandwidth correntropy, with $\sigma$ tuned once on a development set; it tests whether the scale-relative bandwidth matters. The other is full-band rather than per-band bandwidth; it tests whether band-locality, the lesson of the subband filters, carries over.
Fairness is enforced in four ways. All methods share the same backbone checkpoint, the same streaming order and the same update frequency. Every method gets the same hyperparameter budget: an equal number of grid points, tuned on a held-out corrupted development split that shares no noise files with test. Every method gets identical per-frame compute limits. All results are averaged over at least five stream orderings with confidence intervals.
Beating the strongest competitor has three parts. Under impulsive corruption, the method must be significantly better than Huber, clipping and hard gating in both mean PESQ and divergence rate. On clean VoiceBank+DEMAND, it must lose at most a negligible amount relative to standard test-time training. On WSJ0-noise, WSJ0-music and DNS, it must keep at least most of standard test-time training's gain over the frozen model.
Why not just…?
Why not just use Huber loss or gradient clipping in the adaptation step? This is the most plausible competitor. Its bounded gradient may already be enough when the update rate is small. The adaptive-filtering results in Generalized Correntropy for Robust Adaptive Filtering and Yi Yu et al. suggest that constant-magnitude influence still pushes weights in the spike's direction on every corrupted frame. Dense bursts would then accumulate drift that a vanishing gradient avoids. That evidence comes from linear filters, though. The divergence-rate and weight-drift measurements at increasing burst density and learning rate settle the question directly. If Huber matches us at every density, the honest conclusion is that saturation is unnecessary for deep test-time training, and we would report that.
Why not just skip adaptation on frames an energy detector flags? Hard gating is simple and captures much of the intuition. It fails in two predictable places. Impulses are often band-limited, so skipping the whole frame throws away useful adaptation signal in the clean bands, which is the lesson of the subband filters. Speech onsets and sudden real noise changes also trip energy thresholds, which stalls adaptation exactly when the noise changes. The comparison on band-limited clicks, and on streams with abrupt switches between unseen noise types, tests both claims. If gating matches the soft per-band loss there, the contribution reduces to "gate your test-time updates," and we would narrow the claim to that.
Why not just clip or median-filter the input before enhancement? Front-end limiting is cheap. It distorts phase and spreads energy across bands, and the phase-aware models MP-SENet and EDNet show that phase errors cost perceptual quality. It also does nothing about moderate impulses below the clip level, which still inflate reconstruction error. We run it both alone and combined with our loss, because the two may be complementary rather than competing.
Why not just rely on large-scale training so adaptation is unnecessary? Massive weak supervision as in Alec Radford et al. improves zero-shot robustness in recognition. The DIHARD results of Park et al. show that errors in the wild remain high: a diarization error rate of 46.72% on Track 2 Eval. The frozen strong-backbone baseline measures how much room adaptation actually has. If that room is near zero, the proposal's value shrinks to preventing harm, and we will say so.
Decisive Checks
The idea succeeds or fails on one result. Streams will interleave an unseen noise type with bursts of Bernoulli-Gaussian and band-limited impulses at increasing density. On those streams, scale-relative correntropy must show a divergence rate near zero while standard test-time training's rises with burst density. It must also keep a clear PESQ and SI-SDR advantage over the frozen model on the unseen-noise segments, and it must beat both fixed-bandwidth correntropy and hard gating.
A second check targets the specific mechanism. After an abrupt switch to a new unseen noise type, the adaptive bandwidth should recover its adaptation rate within roughly the lookback window $W$, while fixed-bandwidth correntropy stays shut off. If fixed bandwidth recovers just as well, the scale-tracking component is unnecessary, and the claim reduces to "use a redescending loss."
A third check is a sanity condition. On clean VoiceBank+DEMAND, the method should reproduce the published 3.145 PESQ within noise, confirming that it behaves like the original objective when nothing impulsive happens.
References
- Test-Time Training for Speech Enhancement
- Generalized Correntropy for Robust Adaptive Filtering
- Two Improved Normalized Subband Adaptive Filter Algorithms with Good Robustness Against Impulsive Interferences
- Discriminative training of variable-parameter HMMs for noise robust speech recognition
- The INTERSPEECH 2020 Deep Noise Suppression Challenge: Datasets,\n Subjective Testing Framework, and Challenge Results
- Mixup-breakdown: A Consistency Training Method for Improving Generalization of Speech Separation Models
- MP-SENet: A Speech Enhancement Model with Parallel Denoising of Magnitude and Phase Spectra
- On Empirical Risk Minimization with Dependent and Heavy-Tailed Data
- Primary Quantization Matrix Estimation of Double Compressed JPEG Images via CNN
- EDNet: A Versatile Speech Enhancement Framework With Gating Mamba Mechanism and Phase Shift-Invariant Training
- Robust Speech Recognition via Large-Scale Weak Supervision
- The Second DIHARD Challenge: System Description for USC-SAIL Team