Auto-DSP: Learning to Optimize Acoustic Echo Cancellers

Jonah Casebeer, Nicholas J. Bryan, Paris Smaragdis

Introduction

Adaptive filters are fundamental to audio signal processing, enabling critical functions like noise reduction and acoustic echo cancellation (AEC). Traditionally, these filters rely on hand-derived iterative optimization algorithms such as Least Mean Squares (LMS) or Recursive Least Squares (RLS). However, tuning these algorithms for complex, non-linear hardware is difficult and requires significant domain expertise.

Auto-DSP proposes a meta-learning approach to automatically discover optimal online update rules for these filters directly from data. By framing adaptive filtering as a "learning to learn" problem, the researchers bypass the need for manual mathematical derivation, creating a system that can adapt to challenging acoustic environments more effectively than traditional methods.

System Architecture

The Auto-DSP framework consists of two primary interacting components: a differentiable adaptive filter (the Optimizee) and a neural network (the Optimizer).

System architecture of Auto-DSP, showing the interaction between the neural optimizer ($g_\phi$) and the differentiable filter ($f_\theta$).

The Optimizee typically employs a Multidelay block frequency domain (MDF) filter. The Optimizer is a complex-valued Gated Recurrent Unit (GRU) that learns to output weight updates for the filter. Instead of a fixed mathematical rule, the GRU processes raw error gradients and its own hidden state to determine the exact update. To ensure training stability, the authors implemented a novel complex-domain feature extraction step that clips and logarithmically compresses gradient magnitudes while preserving phase, effectively "whitening" the gradients.

Experimental Results

The system was evaluated using the Microsoft AEC Challenge dataset, focusing on single-talk scenarios across both linear and nonlinear acoustic scenes.

ERLE performance over time for linear and nonlinear scenes, demonstrating Auto-DSP's superior convergence and recovery after an echo path change at 10 seconds.

Superior Echo Reduction and Convergence

The learned optimizer (specifically a GRU with 48 hidden units) achieved an Echo Return Loss Enhancement (ERLE) of 10.40 dB in nonlinear scenes and 14.21 dB in linear scenes. This performance significantly exceeds traditional baselines like Speex AEC (~9.8 dB and 8.7 dB respectively) and hand-tuned block NLMS. Notably, Auto-DSP reaches steady-state performance in approximately 2 seconds, whereas baseline methods often require up to 6 seconds.

Robustness to Scene Changes

A key strength of the meta-learned approach is its zero-shot adaptation capability. When subjected to an abrupt change in the echo path (simulated at the 10-second mark in testing), Auto-DSP was the only method capable of rapidly recovering its peak performance. This suggests that the neural optimizer has learned a generalized strategy for filter adjustment that extends beyond the specific static scenes encountered during training.

Conclusion and Future Outlook

Auto-DSP demonstrates that neural networks can successfully replace decades of hand-derived DSP rules. While the current implementation focuses on single-talk scenarios and requires more computational power than simple LMS updates (achieving a real-time factor of 0.36 on a standard CPU), it opens the door for automated algorithm design in complex signal processing tasks. Future work will focus on addressing "double-talk" scenarios and optimizing the model for low-power edge devices.

Summary updated

BibTeX
@inproceedings{casebeer2021auto,
  author = {Jonah Casebeer and Nicholas J. Bryan and Paris Smaragdis},
  title = {{Auto-DSP: Learning to Optimize Acoustic Echo Cancellers}},
  booktitle = {WASPAA},
  year = {2021},
  doi = {10.1109/waspaa52581.2021.9632678},
}
Figure