AVFSNet: Audio-Visual Speech Separation for Flexible Number of Speakers with Multi-Scale and Multi-Task Learning

Daning Zhang, Ying Wei

TL;DR

AVFSNet is a novel audio-visual speech separation model designed to handle an unknown number of speakers in noisy, real-world environments. By combining a multi-scale "Branchformer" encoder with a parallel separation architecture, it achieves state-of-the-art performance and accurately counts speakers by analyzing separated speech masks rather than the raw mixture.

What Problem Does This Paper Address?

In the field of speech processing, the "cocktail party problem"—isolating a single voice from a noisy crowd—remains a significant hurdle. While deep learning has made massive strides, most current models suffer from two major limitations:

  1. The "Known Count" Assumption: Most systems require prior knowledge of exactly how many people are speaking.
  2. Noise Sensitivity: Audio-only models often fail in "harsh" acoustic environments (high background noise or reverberation).

Existing solutions for an unknown number of speakers usually rely on recursive separation (extracting speakers one by one), which leads to error accumulation, or fixed-output decoders, which have a hard upper limit on scalability. AVFSNet aims to break these constraints by using visual cues (lip movements) and a parallel architecture that doesn't need to know the speaker count upfront.

Methods

The authors introduce AVFSNet, which stands out through several architectural innovations:

  • Multi-Scale Audio Encoding (Branchformer): Instead of a standard convolutional encoder, they use a Branchformer. This architecture features two parallel branches: one for Global dependencies (using Multi-Head Self-Attention) and one for Local dependencies (using a convolutional gating MLP). This allows the model to capture both the fine-grained nuances of a single voice and the long-term structure of the conversation.
  • Parallel Independent Separation: Unlike recursive models that "peel" speakers away one at a time, AVFSNet processes all potential speakers in parallel. This prevents the "cascading error" effect where a mistake in isolating the first speaker ruins the separation for the rest.
  • Separation-Before-Counting: Most models try to count speakers before separating them. AVFSNet flips this. It generates masks for all potential speakers (based on detected faces/lips) and then uses a Speaker Counting Module to classify these masks as either "valid" or "phantom" (non-existent).
  • Audio-Visual Fusion: The model uses a pre-trained ResNet18 and Temporal Convolutional Network (TCN) to extract features from lip movements, which are then fused with audio features via cross-attention.

Datasets

The model was evaluated on two major benchmarks:

  • VoxCeleb2: A massive, "in-the-wild" dataset with diverse speakers, accents, and significant background noise.
  • LRS2 (Lip Reading Sentences 2): Sourced from BBC programs, providing high-quality synchronized audio and video. The researchers created custom mixtures (2-speaker and 3-speaker) to test the model's ability to generalize to unknown quantities.

Key Insights and Ideas

  • The Power of Parallelism: By treating separation as a parallel task guided by visual cues, the model removes the "upper limit" constraint found in many attractor-based models.
  • Counting via Quality: The "aha moment" here is that it is statistically easier for a neural network to identify a "fake" (phantom) separated mask than it is to guess the number of speakers from a messy, overlapping audio mixture.
  • Transfer Learning is Essential: The authors found that training a model on 2-speaker and 3-speaker mixtures simultaneously led to poor results. Instead, they used a transfer learning strategy: training on 2-speaker mixtures first, then fine-tuning on 3-speaker mixtures. This "curriculum" approach significantly boosted performance.

Key Results

AVFSNet achieved State-of-the-Art (SOTA) results across several metrics:

  • Separation Quality: On the LRS2-2mix dataset, it achieved an SI-SDRi of 14.34 dB, significantly outperforming other SOTA models like SEANet (13.05 dB) and MuSE (11.01 dB).
  • Counting Accuracy: The model reached a Speaker Count Accuracy (SCA) of 84.74% on complex mixtures, far higher than traditional attractor-based methods (which hovered around 59-64%).
  • Extrapolation: Remarkably, even when trained only on 2 and 3-speaker mixtures, the model provided measurable improvements on mixtures containing up to 10 speakers, demonstrating robust generalization.

Limitations and Future Work

While AVFSNet is highly effective, the authors note a few constraints:

  • Visual Dependency: The model assumes that the number of active speakers ($N$) does not exceed the number of detected faces/lip sequences ($M$). If a speaker is off-camera, the model cannot isolate them.
  • Static Membership: The current framework assumes no new speakers join or leave during the specific audio clip being processed.
  • Future Directions: The team plans to explore more adaptive networks that can handle the dynamic entry and exit of speakers in real-time video streams.

Summary updated

Abstract

Separating target speech from mixed signals containing flexible speaker quantities presents a challenging task. While existing methods demonstrate strong separation performance and noise robustness, they predominantly assume prior knowledge of speaker counts in mixtures. The limited research addressing unknown speaker quantity scenarios exhibits significantly constrained generalization capabilities in real acoustic environments. To overcome these challenges, this paper proposes AVFSNet -- an audio-visual speech separation model integrating multi-scale encoding and parallel architecture -- jointly optimized for speaker counting and multi-speaker separation tasks. The model independently separates each speaker in parallel while enhancing environmental noise adaptability through visual information integration. Comprehensive experimental evaluations demonstrate that AVFSNet achieves state-of-the-art results across multiple evaluation metrics and delivers outstanding performance on diverse datasets.
BibTeX
@misc{zhang2025avfsnet,
  author = {Daning Zhang and Ying Wei},
  title = {{AVFSNet: Audio-Visual Speech Separation for Flexible Number of Speakers with Multi-Scale and Multi-Task Learning}},
  year = {2025},
  eprint = {2507.12972},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.12972},
}
Figure