Abstract
RAVEN (Real-time Audio-Visual ENhancement) is a first-of-its-kind system designed to perform audio-visual speech enhancement (AVSE) entirely on standard CPU hardware. By fusing microphone data with visual "lip-reading" cues, the system isolates a target speaker's voice from extreme background noise and interfering talkers. With an algorithmic latency of just 120ms and a causal architecture, RAVEN is optimized for live applications such as video conferencing and assistive hearing technologies.
Introduction
Traditional speech enhancement algorithms, commonly found in smartphones and noise-canceling headphones, primarily rely on audio-only processing. While effective against steady background noise, these methods often struggle with the "cocktail party problem"—the challenge of isolating a single voice within a crowd of competing talkers.
Audio-Visual Speech Enhancement (AVSE) addresses this by incorporating video of a speaker’s lip movements to filter the audio signal. However, most existing AVSE models are "non-causal," requiring future video frames to process current audio, or they demand high-performance GPUs, limiting their utility in real-time, consumer-grade applications. RAVEN bridges this gap by providing a causal, CPU-efficient system for live use.
System Architecture
The RAVEN system utilizes a mask-based late-fusion architecture to process synchronized audio and video streams.
The pipeline consists of four primary stages:
- Visual Stream: The system crops the speaker's mouth from a 25 fps webcam feed. A pre-trained visual encoder, VSRiW (Visual Speech Recognition in the Wild), extracts lip embeddings using a ResNet and a 3D convolutional layer.
- Audio Stream: Noisy audio is converted into a spectrogram via Short-Time Fourier Transform (STFT) and processed through a 15-layer Convolutional Neural Network (CNN).
- Fusion & Masking: Visual embeddings are upsampled to 100 fps to match the audio's temporal resolution. These features are concatenated and fed into a uni-directional Long Short-Term Memory (LSTM) network. The LSTM predicts a "magnitude mask" to suppress noise and isolate the target speaker.
- Reconstruction: The mask is applied to the original noisy audio, and the signal is reconstructed into a waveform using an Inverse STFT (ISTFT).
The model is trained using a Phase-Sensitive Approximation (PSA) loss function, which improves the handling of the complex relationship between the magnitude and phase of speech signals.
Real-Time Implementation and Hardware
A key contribution of RAVEN is its ability to run on standard consumer hardware without a dedicated GPU. The system was demonstrated using a Mac Mini, proving its portability and efficiency.
The system achieves an algorithmic latency of 120ms (equivalent to 3 frames at 25 fps). While slightly higher than instantaneous audio-only systems, this latency is well within acceptable limits for real-time video conferencing. Furthermore, the processing time per frame remains under 40ms, ensuring the system maintains a live stream without lag.
Datasets and Training
The system was developed using two primary datasets:
- VoxCeleb2: Used for training the core AVSE model, providing a diverse range of "in-the-wild" celebrity voices and environments.
- GRID: Used to train the visual encoder. The authors achieved a Word Error Rate (WER) of 4.8 on this dataset, demonstrating high accuracy in the lip-reading component.
Key Insights and Results
RAVEN demonstrates that high-performance AVSE is achievable on standard CPUs through architectural optimization. By using a uni-directional LSTM and efficient CNNs, the system maintains causality, which is essential for live interaction.
The system is remarkably robust; because the visual stream is immune to acoustic interference, RAVEN can filter out non-speech sounds like door slams or even singing voices that typically confuse audio-only models. It remains effective even at signal-to-noise ratios (SNR) as low as -5 dB, where noise significantly overpowers the target speech.
Limitations and Future Work
The primary limitation of RAVEN, and AVSE systems in general, is the requirement for a clear line-of-sight to the speaker's mouth. If the camera's view is obstructed, performance may degrade to audio-only levels. Future research will focus on reducing the 2-frame lookahead required by the visual encoder to further decrease latency and exploring applications in advanced hearing aids and smart wearables.
Summary updated