TLDR: A new acoustic echo cancellation (AEC) solution for mobile full-duplex speech interactions has been developed by Alibaba Group. It features a small-footprint neural network model that leverages data augmentation for robustness, progressive learning for enhanced speech quality, and a novel post-processing strategy with tailored parameters to optimize performance specifically for Voice Activity Detection (VAD) and Automatic Speech Recognition (ASR) on mobile devices.
In today’s world, where mobile devices are central to our communication, clear and uninterrupted speech interactions are paramount. However, a common nuisance known as acoustic echo can severely degrade the quality of calls and voice commands, especially in full-duplex scenarios where both parties are speaking simultaneously. This echo, often heard as a delayed version of one’s own voice, makes conversations difficult and impacts the performance of voice-activated features like Voice Activity Detection (VAD) and Automatic Speech Recognition (ASR).
Traditional solutions often struggle with the complexities of mobile environments, which include a wide variety of devices, unpredictable nonlinear distortions, and varying signal latencies. These challenges highlight the need for more flexible and effective echo cancellation technologies that can work seamlessly with existing system-level solutions.
A Novel Approach to Acoustic Echo Cancellation
Researchers from Alibaba Group have introduced a groundbreaking neural network-based Acoustic Echo Cancellation (AEC) solution designed specifically for mobile full-duplex speech interactions. This innovative system, detailed in their paper “A Small-footprint Acoustic Echo Cancellation Solution for Mobile Full-Duplex Speech Interactions”, aims to overcome the limitations of current methods by focusing on robustness, speech quality, and optimization for downstream applications like VAD and ASR.
The proposed AEC system operates in two main stages. The first stage handles linear echo, while the second stage, a Neural Network-based Residual Echo Suppressor (RES), tackles any remaining and nonlinear echo. What makes this solution stand out are four key contributions:
1. Multi-faceted Data Augmentation (DA): To ensure the model performs well across diverse mobile acoustic environments, the researchers employed various data augmentation strategies. This includes techniques like SpecAugment, which modifies the reference signal to simulate real-world variations, and a unique method of merging utterances to create longer, more realistic conversational segments. This makes the model highly adaptable to different scenarios.
2. Progressive Learning (PL): This strategy is integrated into the RES model’s training process. Instead of trying to achieve perfect echo cancellation in one go, progressive learning guides the model to incrementally improve the Signal-to-Echo Ratio (SER) at each stage. This staged approach not only makes the echo elimination process more transparent but also significantly enhances the fidelity and quality of the speech signal, especially in challenging low-SER conditions.
3. Post-processing with Wiener Filtering (PWF): A novel post-processing technique is applied after the RES stage. This method generates two distinct signals, each specifically tailored for VAD and ASR tasks. By adjusting a parameter called ‘beta’, the system can modulate the echo cancellation effect. For VAD, a larger beta enhances echo suppression, leading to more accurate detection of speech start and end points. For ASR, a smaller beta retains more residual echo but better preserves speech quality, which is crucial for accurate transcription. This allows for simultaneous optimization of both applications with minimal computational overhead.
4. Small-footprint Model with Streaming Inference: Recognizing the resource constraints of mobile devices, the researchers designed a lightweight RES model with only 432,000 parameters. This small footprint, combined with streaming inference capabilities (processing data in real-time without needing to wait for the entire signal), ensures seamless deployment and efficient operation on smartphones and other mobile devices.
Also Read:
- Advancing Speech Diarization and Separation Without Prior Enrollments
- SpeakerLM: An End-to-End AI Solution for Speaker Diarization and Recognition
Empirical Results and Impact
The effectiveness of this new AEC solution was rigorously tested using a custom dataset recorded from 100 different smartphones, as no suitable public datasets existed for mobile scenarios with VAD and ASR annotations. The results were compelling:
- Speech Quality (PESQ) and Echo Reduction (ERLE): The integration of Data Augmentation and Progressive Learning significantly improved both the Perceptual Evaluation of Speech Quality (PESQ) and Echo Return Loss Enhancement (ERLE), demonstrating enhanced adaptability and speech quality, particularly in low-echo scenarios.
- VAD and ASR Performance: The combination of DA, PL, and especially the Post-processing with Wiener Filtering (PWF) yielded the best performance for both VAD (measured by Detection Cost Function, DCF) and ASR (measured by Word Error Rate, WER). The tailored parameters of PWF proved crucial in achieving superior results for both tasks, even at high loudspeaker volumes.
This research marks a significant step forward in acoustic echo cancellation for mobile devices. By integrating advanced techniques like data augmentation, progressive learning, and a smart post-processing strategy, the solution not only delivers clearer audio but also enhances the performance of critical voice-driven applications, paving the way for more natural and efficient full-duplex speech interactions on our smartphones.


