3D-Speaker-Toolkit: An Open-Source Toolkit for Multimodal Speaker Verification and Diarization

Yafeng Chen, Siqi Zheng, Hui Wang, Luyao Cheng, Tinglong Zhu, Rongjie Huang, Chong Deng, Qian Chen, Shiliang Zhang, Wen Wang, Xihao Li

TL;DR

The 3D-Speaker-Toolkit is a new open-source platform that moves beyond traditional audio-only speaker recognition by integrating acoustic, visual, and semantic (textual) data. By fusing these three "dimensions," the toolkit achieves state-of-the-art performance in speaker verification and diarization, especially in noisy, real-world environments where audio alone often fails.

What Problem Does This Paper Address?

Identifying "who is speaking" (speaker verification) and "who spoke when" (speaker diarization) is a cornerstone of speech technology. However, most existing toolkits rely almost exclusively on acoustic signals. In the real world, these signals are often degraded by background noise, room reverberation, or overlapping voices.

Humans don't just listen to identify a speaker; we look at facial movements and follow the logic of the conversation. The authors address the lack of a comprehensive, production-ready toolkit that allows researchers and engineers to easily implement this same "multimodal" approach in machine learning models.

Methods

The toolkit is built on a modular architecture consisting of three primary components:

  • Acoustic Module: This is the core engine, supporting both fully-supervised models (like the authors' novel ERes2Net and CAM++) and self-supervised learning (SSL) algorithms (like RDINO and SDPN). A key feature is its "online" feature preparation, which applies data augmentation in real-time during training rather than saving processed files to disk, saving massive amounts of storage.
  • Visual Module: This pipeline handles face tracking (using RFB-Net), active speaker detection (TalkNet), and face recognition (CurricularFace). It identifies which face on screen is actually producing the sound.
  • Textual Module: Leveraging BERT-based models, this module analyzes the transcript of the speech to detect dialogue patterns and speaker turns, providing a "semantic" map of the conversation.
  • Multimodal Fusion: The toolkit uses a method called E2CP (joint constraint propagation) to fuse these disparate data streams into a single, unified clustering framework for diarization.

For industrial use, the toolkit supports exporting models to the ONNX format, making them ready for deployment on high-performance inference servers like Triton.

Datasets

The authors utilize several standard benchmarks but also introduce a significant new resource:

  • 3D-Speaker Dataset (New): A large-scale corpus featuring over 10,000 speakers. It is unique because it records speakers simultaneously across multiple devices at varying distances and includes various dialects, specifically designed to test "disentanglement" in speech representations.
  • Standard Benchmarks: The models are also trained and evaluated on VoxCeleb 1 & 2, CNCeleb, AISHELL-4, and AliMeeting.

Key Insights and Ideas

  • The Power of "And": The most significant insight is that audio, video, and text are complementary. While audio might be noisy, visual cues are often clear; while visual cues might be blocked (off-screen speakers), the semantic flow of text can still suggest a speaker change.
  • Self-Supervision is Catching Up: The toolkit’s self-supervised models (specifically SDPN) are reaching impressive performance levels, significantly reducing the need for massive amounts of human-labeled data.
  • Production-First Design: Unlike many academic toolkits that are difficult to move into the real world, this toolkit prioritizes lightweight code (pure PyTorch) and standard deployment formats (ONNX).

Key Results

  • State-of-the-Art Verification: Their ERes2NetV2 model achieved a top-tier Equal Error Rate (EER) of 0.61% on the VoxCeleb1-O benchmark.
  • Superior Self-Supervision: The SDPN framework achieved an EER of 1.80%, outperforming other recent self-supervised methods like C3-DINO (2.50%) by a relative 28%.
  • Multimodal Gains: In diarization tasks, moving from an audio-only system to a full multimodal system (Audio+Visual+Textual) improved the Diarization Error Rate (DER) from 9.37% down to 9.01% and significantly improved the Jaccard Error Rate (JER) from 27.21% to 22.57%.

Limitations and Future Work

While the toolkit is comprehensive, the authors note a few areas for growth:

  • Verification Fusion: Currently, the multimodal fusion is primarily optimized for diarization. The authors plan to extend these multimodal techniques to speaker verification in future updates.
  • Efficiency: Future work will focus on model compression to make these complex multimodal models run even faster on edge devices.
  • Model Adaptation: They aim to explore better ways to adapt large, pre-trained foundation models to specific speaker-related tasks.

Summary updated

BibTeX
@inproceedings{chen2025d,
  author = {Yafeng Chen and Siqi Zheng and Hui Wang and Luyao Cheng and Tinglong Zhu and Rongjie Huang and Chong Deng and Qian Chen and Shiliang Zhang and Wen Wang and Xihao Li},
  title = {{3D-Speaker-Toolkit: An Open-Source Toolkit for Multimodal Speaker Verification and Diarization}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2025},
  url = {https://openreview.net/forum?id=AcyzqjuKvH},
}

Loading related content...

Figure