TL;DR
This paper introduces a novel approach to speaker diarization by integrating Large Language Models (LLMs) into the decoding process. By performing a joint acoustic and lexical beam search, the method leverages the contextual understanding of LLMs to improve the accuracy of identifying who spoke when, achieving significant reductions in speaker-attributed word error rate.
What Problem Does This Paper Address?
Speaker diarization, the task of identifying "who spoke when" in an audio recording, traditionally relies heavily on acoustic features extracted from the audio. While effective, these acoustic-only systems miss out on valuable contextual information present in the spoken words themselves. Automatic Speech Recognition (ASR) systems also benefit from language models to improve word prediction. This paper bridges this gap by proposing a method to infuse lexical information, particularly from powerful LLMs, into the speaker diarization process. The challenge is to effectively combine acoustic cues with the semantic understanding of LLMs to enhance diarization accuracy, especially in scenarios where audio data for training diarization models is scarce compared to readily available text data.
Methods
The core of this paper is a novel contextual beam search approach for speaker diarization. The authors build upon existing acoustic-based speaker diarization systems and augment them with lexical information from LLMs during the inference stage. They model the multi-modal decoding process probabilistically, performing a joint acoustic and lexical beam search. This means the system considers both the audio characteristics (acoustic model) and the semantic meaning of the words (LLM) simultaneously to determine the most likely speaker for each word.
The probabilistic formulation involves estimating $P(S|E,W)$, the probability of a speaker $S$ given acoustic evidence $E$ and word $W$. This is decomposed using Bayes' theorem and a conditional independence assumption to $P(E|S)P(S|W)P(W)$. The acoustic model provides $P(E|S)$, while a pre-trained LLM is used to derive $P(S|W)$ (speaker probability given words) and $P(W)$ (word probability). They compare two types of language models for this: a traditional n-gram model and a more powerful LLM (based on Megatron-LM). The beam search then uses a scoring function that combines these probabilities, with tunable parameters to balance the influence of acoustic and lexical information.
Datasets
The paper uses the following datasets for evaluation:
- AMI-MH (Mixed Headset): A multi-speaker dataset.
- Call Home American English Speech (CHAES): A corpus of English telephone speech.
- CH-109: A subset of CHAES with two speakers per session.
- CH-others: Other sessions from CHAES.
The LLM used in the experiments was trained on a large dataset comprising 70% English data, 15% Stack v1.1, and 15% Common Crawl.
Key Insights and Ideas
- LLMs as a Rich Source of Context for Diarization: The most significant insight is that LLMs, with their vast knowledge of language and context, can provide complementary information to acoustic models for speaker diarization. This is particularly impactful because text data is far more abundant than speaker-annotated audio data.
- Data Sparsity Mitigation: By leveraging general-purpose LLMs trained on text-only datasets, the proposed method effectively addresses the data-sparsity challenge common in speaker diarization.
- Flexibility Beyond Fixed Speaker Counts: Unlike some systems that are limited by a fixed number of speakers, this approach is not constrained by the number of speakers, offering greater flexibility.
- Modularity and Adaptability: The approach allows for easy substitution of ASR models and LLMs, making it adaptable to different languages or evolving models without needing to retrain the entire diarization system.
- LLM's Superior Contextual Understanding: The LLM demonstrates a more nuanced estimation of speaker probability by processing the entire transcription within a context window, unlike n-gram models that often focus on single speakers.
Key Results
The proposed method achieved significant improvements in speaker diarization accuracy. Specifically, it showed up to a 39.8% relative delta-SA-WER improvement over the baseline acoustics-only system. This indicates that incorporating LLM-derived lexical information via contextual beam search effectively reduces speaker-attributed word errors. The paper also notes that using LLMs for $P(S|W)$ estimation generally leads to better performance than n-gram models. However, LLM inference is computationally more expensive, requiring roughly 15 times more time than n-gram models.
Limitations and Future Work
Limitations: * Computational Cost: The use of LLMs significantly increases computational time during inference compared to n-gram models. * Potential Trade-offs: The increased computational cost suggests a potential need for a trade-off, possibly through hybrid approaches.
Future Work: * Unified Beam Search: Integrate beam search for both ASR and diarization using a single LLM for a more efficient and accurate system. * Streamlined Multi-Speaker ASR: Combine ASR and diarization decoders to obtain more precise timestamps and speaker logits for a streamlined multi-speaker ASR system. * Advanced Contextualization: Explore fine-tuning or prompt-tuning LLMs with domain-specific data to further improve contextual understanding. * Multilingual Adaptation: Leverage multilingual ASR and LLMs to adapt the system to different languages, building on recent advancements in this area.
Summary updated