Diarist: Streaming Speech Translation with Speaker Diarization

Mu Yang, Naoyuki Kanda, Xiaofei Wang, Jun-Kun Chen, Peidong Wang, Jian Xue, Jinyu Li, Takuya Yoshioka

TL;DR

DiariST is the first end-to-end streaming speech translation (ST) system that simultaneously identifies who is speaking, even during overlapping conversation. By integrating token-level serialized output training (t-SOT) and token-level speaker embeddings (t-vectors), the researchers achieved robust performance on a newly released benchmark, DiariST-AliMeeting, rivaling high-quality offline models while maintaining low latency.

What Problem Does This Paper Address?

In real-world conversations, people often talk over one another. For a speech translation system to be truly useful, it needs to do two things: translate the audio into another language and attribute those translations to the correct speaker (Speaker Diarization, or SD).

Traditionally, this is done with a "cascaded" pipeline: an Automatic Speech Recognition (ASR) model transcribes the audio, a diarization model assigns speakers to words based on timestamps, and a Machine Translation (MT) model translates the text. However, this approach is slow and suffers from error propagation.

End-to-end (E2E) models are faster and more accurate, but they face a unique hurdle: unlike ASR, the relationship between input audio and output translation is non-monotonic (words change order). This makes it incredibly difficult to get the precise word-level timestamps that standard diarization techniques rely on. Furthermore, handling overlapping speech in a streaming (real-time) fashion remains a significant technical challenge.

Methods

The authors propose DiariST, which builds on a neural transducer-based ST backbone. It introduces three key innovations to solve the diarization and overlap problems:

  1. t-SOT (Token-level Serialized Output Training): Originally for ASR, this framework allows the model to output translations for multiple speakers in a single stream. When speakers overlap, the model inserts a special separator token (<cc>) to indicate a speaker switch, effectively "unzipping" the overlap into a serial sequence.
  2. t-vector (Token-level Speaker Embedding): Instead of relying on audio segments, the system generates a speaker embedding (a "t-vector") for every single translated token. These vectors are then clustered in real-time to identify the speaker.
  3. Two-Step Training for ST: Because ST lacks physical emission times for words, the authors first train a single-talker model to generate Viterbi alignments. These alignments provide the "model-based timestamps" needed to sort tokens chronologically for the multi-talker t-SOT training phase.

Datasets

To evaluate this new task, the authors introduced DiariST-AliMeeting.

  • Source: Based on the AliMeeting corpus (Mandarin Chinese meeting recordings).
  • Translation: Reference transcriptions were translated into English (human-translated for dev/test sets; GPT-4 for the training set).
  • Complexity: The dataset includes three difficulty levels: IHM-CAT (clean, concatenated audio), IHM-MIX (clean audio with overlaps), and SDM (distant microphone audio with overlaps and noise).

The models were pre-trained on a massive 14,000-hour multilingual in-house dataset and the VoxCeleb dataset for speaker recognition.

Key Insights and Ideas

  • Linguistic-Driven Diarization: The system shows that you don't necessarily need precise audio timestamps to perform diarization. By using token-level embeddings (t-vectors) that work in tandem with the transducer's internal states, the model leverages both acoustic and linguistic cues.
  • The Power of Serialization: t-SOT is remarkably effective at handling overlaps. By simply learning when to "switch" speakers in the output text stream, the model avoids the complexity of source separation (trying to physically unmix the audio).
  • New Metrics for a New Task: The authors proposed SAgBLEU (Speaker-Agnostic BLEU) to measure raw translation quality and SAtBLEU (Speaker-Attributed BLEU) to measure translation quality penalized by diarization errors. This provides a holistic view of system performance.

Key Results

DiariST demonstrated strong performance, particularly in challenging overlapping scenarios. As shown in the comparison of streaming systems:

Table 2. SAgBLEU and SAtBLEU of the streaming ST and SD systems.
  • Overlap Handling: The t-SOT ST model significantly outperformed a standard single-speaker (1spk) ST model on the IHM-MIX and SDM sets. For example, on the test set (IHM-MIX), t-SOT improved SAgBLEU from 16.15 to 16.62.
  • Diarization Accuracy: The combination of t-SOT ST + t-vec achieved the best SAtBLEU scores across almost all conditions, proving that token-level embeddings are superior to standard window-based d-vectors when dealing with overlapping speech.
  • Comparison to Offline: Surprisingly, the streaming DiariST system achieved SAtBLEU scores comparable to (and sometimes better than) offline baseline systems built using Whisper, despite the offline systems having the advantage of looking at the entire recording at once.

Limitations and Future Work

  • Timestamp Absence: The current streaming system does not produce word-level timestamps, which prevents the calculation of standard Diarization Error Rate (DER).
  • Language Scope: The evaluation was limited to Mandarin-to-English translation. Expanding this to more language pairs is a natural next step.
  • Clustering Latency: While the inference is streaming, the speaker identification still relies on a clustering algorithm. Future work could explore fully end-to-end speaker identification to further reduce latency.

The authors have released their evaluation data and code to encourage the community to tackle this difficult "who spoke what" problem in real-time translation.

Summary updated

BibTeX
@inproceedings{yang2024diarist,
  author = {Mu Yang and Naoyuki Kanda and Xiaofei Wang and Jun-Kun Chen and Peidong Wang and Jian Xue and Jinyu Li and Takuya Yoshioka},
  title = {{Diarist: Streaming Speech Translation with Speaker Diarization}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446050},
}
Figure