Introduction
Acoustic Echo Cancellation (AEC) is a critical component in modern telecommunications, designed to remove the echo resulting from a loudspeaker's output being captured by its own microphone. While traditional deep learning models have made significant strides in this area, they often struggle with speech distortion and "echo leakage" during double-talk scenarios. Generative models, specifically diffusion models, offer a promising alternative by learning the underlying distribution of clean speech. However, their iterative nature typically results in high computational latency, making them impractical for real-time applications on edge devices.
Researchers at Meta have introduced FADI-AEC, a novel framework that optimizes diffusion-based AEC. By running the score model only once per frame and guiding noise generation with far-end signals, FADI-AEC achieves state-of-the-art performance with a 97% reduction in latency compared to standard diffusion approaches.
Methodology: Bridging Generative Quality and Real-Time Speed
The FADI-AEC framework introduces several key innovations to overcome the bottlenecks of traditional diffusion models.
1. Stochastic Regeneration
Rather than generating speech from pure Gaussian noise, FADI-AEC employs a "stochastic regeneration" strategy. The system first uses a standard predictive filter to generate a rough estimate of the clean speech. This estimate serves as the starting point for the diffusion process, which then refines the signal to produce high-quality, natural-sounding speech.
2. The Fast Score Innovation
Standard diffusion models require multiple iterations of a "score function" per audio frame to denoise the signal. FADI-AEC optimizes this by leveraging temporal continuity. By using the enhanced signal from the previous frame to inform the current one, the model can achieve high-quality results while running the score model only once per frame. This transition from iterative processing to a continuous stream is the primary driver behind the model's speed.
3. Far-end Guided Noise
In typical speech enhancement, noise is treated as random. However, in AEC, the "noise" (the echo) is highly correlated with the far-end signal. FADI-AEC incorporates the far-end signal directly into the noise generation process. This domain-specific guidance allows the model to converge more accurately and rapidly than general-purpose generative tools.
4. Hybrid Training Objectives
The model is trained using a hybrid loss function. This includes a score-matching loss to ensure the accuracy of the diffusion process and a supervised mean square error (MSE) loss to keep the initial predictive filter grounded in the target clean speech.
Experimental Setup and Datasets
To ensure robustness across diverse real-world conditions, the researchers trained FADI-AEC on a massive scale:
- Data Volume: Approximately 2,000 hours of audio derived from 720,000 conversations.
- Sources: A mix of the ICASSP 2023 AEC-challenge synthetic dataset and a private Meta dataset.
- Augmentations: The training data included simulations of various reverberation times (RT60), signal-to-noise ratios (SNR), clock drifts, and non-linear distortions typical of low-cost hardware.
Results
The performance of FADI-AEC marks a significant milestone for generative models in real-time audio processing.
- Latency: The baseline diffusion model (DI-AEC) exhibited a latency of 325ms. FADI-AEC reduced this to 9.14ms, meeting the stringent requirements for real-time communication.
- Speech Quality: In the ICASSP 2023 AEC Challenge blind test, FADI-AEC achieved a PESQ score of 4.781 in double-talk scenarios, outperforming existing state-of-the-art models like ByteAudio.
- Echo Suppression: The model reached an Echo Return Loss Enhancement (ERLE) of 89.41 dB, a substantial improvement over standard convolutional recurrent networks (CRNs), which typically range between 67 and 82 dB.
Conclusion and Future Work
FADI-AEC demonstrates that generative diffusion models can be adapted for high-stakes, real-time applications. By treating the diffusion process as a continuous temporal stream and utilizing far-end signals as a guide, the researchers have effectively eliminated the latency barrier.
While the current model shows exceptional performance, future work will focus on the "initialization stability" of the system—ensuring the very first frames of a call are as clear as the rest. Additionally, the "fast score" approach holds potential for broader speech enhancement tasks, including general noise suppression and dereverberation.
Summary updated