Is Someone Speaking?: Exploring Long-term Temporal Features for Audio-visual Active Speaker Detection

Ruijie Tao, Zexu Pan, Rohan Kumar Das, Xinyuan Qian, Mike Zheng Shou, Haizhou Li · DOI

Introduction

Active Speaker Detection (ASD) is a fundamental task in video understanding, aimed at identifying who is speaking in a visual scene. While humans effortlessly integrate visual cues like lip movement with auditory signals, automating this process remains challenging due to environmental noise, occlusions, and non-speech lip movements. This paper, presented at ACM Multimedia 2021, introduces TalkNet, a framework that shifts the paradigm from short-term local analysis to long-term "sentence-level" temporal context.

The Challenge of Short-term Context

Traditional ASD models often rely on short video segments, typically ranging from 200ms to 600ms. However, such brief windows are often ambiguous. A 200ms clip of a mouth opening could represent a gasp, chewing, or the beginning of a word, making it difficult to distinguish active speech from other facial movements.

Comparison of a 200ms video segment versus a longer sequence, highlighting the ambiguity of short-term features in Active Speaker Detection.

As illustrated in the figure above, short-term snippets lack the rhythmic and phonetic patterns necessary for robust detection. Humans utilize the global structure of a sentence and its synchronization with audio over several seconds to make accurate judgments. TalkNet addresses this by modeling long-term temporal evidence.

Methodology: The TalkNet Framework

TalkNet is an end-to-end pipeline designed to capture both inter-modality synchronization and long-term intra-modality patterns.

1. Feature Representation

The model employs a dual-stream frontend:

  • Visual Stream: Uses a 3D Convolutional layer followed by a ResNet18 to extract spatial features, which are then processed by a Visual Temporal Convolutional Network (V-TCN) to capture sequence information.
  • Audio Stream: Raw audio is converted into Mel-frequency cepstral coefficients (MFCCs) and processed through a ResNet34 with Squeeze-and-Excitation (SE) modules, ensuring the audio features match the temporal resolution of the video.

2. Audio-Visual Cross-Attention

To handle potential misalignments between audio and video streams, TalkNet uses a cross-attention mechanism. This allows the model to dynamically align the two modalities, focusing on synchronization cues where the audio frequencies correspond to the physical mechanics of speech.

3. Long-term Self-Attention

The core innovation is the application of self-attention across the entire utterance (up to 10 seconds). This layer identifies global patterns of speaking activity, effectively acting as a "sentence-level" classifier that integrates information across a broad temporal horizon.

4. Robust Training via Negative Sampling

To improve robustness against "distractor" voices, the authors introduced a negative sampling technique. During training, the audio track of a video is randomly swapped with another from the same batch. This forces the model to learn the specific synchronization between a speaker's lips and their unique voice, rather than just detecting generic speech sounds.

Experimental Results

TalkNet was evaluated on three major benchmarks, achieving state-of-the-art results:

  • AVA-ActiveSpeaker: The model achieved 92.3% mAP on the validation set and 90.8% mAP on the test set, a significant 3.5% improvement over previous leading methods.
  • Columbia ASD: TalkNet reached an average F1 score of 96.2%, demonstrating its effectiveness in multi-speaker panel discussions.
  • TalkSet: The authors also introduced TalkSet, a dataset derived from LRS3 and VoxCeleb2, to evaluate performance in edge cases where lip motion occurs without corresponding speech.
  • Ablation Study: The importance of long-term context was confirmed: reducing the input length to 0.2 seconds dropped performance to ~75% mAP, whereas using the full variable length (up to 10s) boosted it to over 92%.

Conclusion

TalkNet demonstrates that long-term temporal context is critical for solving the Active Speaker Detection problem in complex, real-world scenarios. By prioritizing synchronization over simple motion and leveraging global utterance patterns, the framework sets a new standard for the field. Future work may explore large-scale pre-training and optimizations for real-time deployment on edge devices.

Summary updated

BibTeX
@inproceedings{tao2021is,
  author = {Ruijie Tao and Zexu Pan and Rohan Kumar Das and Xinyuan Qian and Mike Zheng Shou and Haizhou Li},
  title = {{Is Someone Speaking?: Exploring Long-term Temporal Features for Audio-visual Active Speaker Detection}},
  booktitle = {ACM Multimedia},
  year = {2021},
  doi = {10.1145/3474085.3475587},
}
Figure