Linguistically Aided Speaker Diarization Using Speaker Role Information

Nikolaos Flemotomos, Panayiotis Georgiou, Shrikanth NarayananarXiv 2019 · DOI

TL;DR

Traditional speaker diarization relies purely on audio clustering, which frequently degrades in noisy or acoustically challenging environments. This paper introduces a linguistically-aided framework for structured conversations that leverages speaker role information from text transcripts to build robust acoustic profiles. By transforming an unsupervised clustering task into a supervised classification problem, the method significantly reduces diarization errors even when using highly imperfect automated transcripts.

What Problem Does This Paper Address?

Speaker diarization answers the fundamental question: "who spoke when?" Standard pipelines typically approach this as an unsupervised clustering problem, extracting acoustic embeddings (like x-vectors) from audio segments and grouping them based on geometric distance. However, acoustic similarity between different speakers, background noise, or periods of silence can easily corrupt these clusters, leading to merged speaker identities or fragmented timelines.

The authors address this vulnerability by introducing a second modality: linguistic content. In many real-world scenarios—such as doctor-patient visits, classroom lectures, or psychotherapy sessions—participants fill distinct roles with highly predictable language patterns. The paper tackles how to exploit these role-based linguistic variations to guide and stabilize the audio diarization process.

Methods

Instead of blindly clustering audio chunks, the proposed framework uses the conversation's text stream to bootstrap acoustic identities, effectively shifting the paradigm from unsupervised clustering to supervised classification.

The architecture consists of four main modules:

  1. Text-based Segmentation: The text stream is broken down into sentence-level chunks using a Bidirectional LSTM network paired with a Conditional Random Field (BiLSTM-CRF) inference layer, operating under the assumption that individual sentences are speaker-homogeneous.
  2. Role Recognition: Role-specific $n$-gram Language Models (LMs) calculate the perplexity of each text segment. The segment is assigned to the speaker role (e.g., therapist vs. patient) that minimizes perplexity.
  3. Profile Estimation: By aligning the text with the audio, the system extracts acoustic x-vectors for the segments assigned to each role. It averages these embeddings to construct a stable "acoustic profile" (or identity) for each speaker. Crucially, the authors introduce a confidence metric—the difference in perplexity between the best and second-best role assignments—to filter out ambiguous sentences, ensuring only high-confidence segments contribute to the profile.
  4. Audio Segmentation and Classification: Finally, the entire audio stream is uniformly segmented. Instead of clustering, each audio chunk's x-vector is directly classified against the pre-computed role profiles using a Probabilistic Linear Discriminant Analysis (PLDA) classifier.
Figure 1: Linguistically-aided speaker diarization using role in- formation.
Figure 2: Neural network for sentence-level text segmentation: A character representation is constructed for each word through a CNN and is concatenated with a word embedding (here shown in grey). This is the input to a BiLSTM-CRF architecture which predicts a sequence of labels. Here ‘B’ denotes a word at the beginning of a sentence and ‘M’ in the middle (any word which is not the first one of a sentence).

Datasets

The system was trained and evaluated using the following datasets:

  • PSYCH corpus: A dataset containing real-world dyadic psychotherapy (motivational interviewing) sessions between a therapist and a patient. It is split into training (74 sessions), development (44 sessions), and test (25 sessions) sets with no speaker overlap.
  • Fisher English corpus: A massive collection of telephone transcriptions used to pre-train the sentence-level text segmenter.
  • Counseling and Psychotherapy Transcripts Series (CPTS): Comprising 1,199 in-domain therapy sessions, this dataset was combined with Fisher and PSYCH-train to train the role-specific language models.

Key Insights and Ideas

  • Clustering to Classification: The core "aha!" moment is changing the mathematical nature of the diarization problem. By using text to pre-determine the cluster centers (the speaker profiles), the system bypasses the risks of unsupervised algorithms merging or misallocating clusters.
  • Robustness to ASR Errors: Remarkably, the system remains highly effective even when using noisy transcripts generated by an Automatic Speech Recognition (ASR) system with a high Word Error Rate (~40%). Because local text errors average out when aggregating language patterns over an entire session, the global speaker profiles remain accurate.
  • Less is More (Confidence Filtering): You do not need to analyze every utterance to understand a speaker's acoustic identity. Filtering out short or linguistically ambiguous sentences and relying only on the top 45–70% most confident segments actually yields cleaner acoustic profiles and lower overall error rates.

Key Results

The performance was evaluated using the Diarization Error Rate (DER):

  • The audio-only baseline system (using standard x-vector extraction and Hierarchical Agglomerative Clustering) achieved a DER of 11.05%.
  • Using reference transcripts with the proposed linguistically-aided system dropped the DER to 7.71% (a 30.23% relative improvement). Applying confidence filtering optimized this further to 7.30%.
  • Using ASR transcripts (with a 39.78% Word Error Rate), the system still significantly outperformed the baseline, achieving a DER of 8.37%. When confidence filtering was applied (retaining the top 45% most confident segments), the DER reached 7.84%.
Figure 5: DER (%) as a function of the percentage of the text segments we take into account per session for the profile esti- mation, based on our confidence metric. The text segmentation is either performed by our sequence tagger or based on the man- ually annotated speaker changes (oracle). Results are presented both with reference and with ASR transcripts.

Limitations and Future Work

  • Domain Dependence: Because role recognition is a supervised task, the system requires prior in-domain text data to train the role-specific language models. It cannot be deployed out-of-the-box for completely unstructured or unknown conversational domains.
  • Single Embedding Constraint: The framework models each speaker using a single averaged embedding profile. This might underperform in long recordings where acoustic conditions fluctuate or speakers significantly alter their tone. The authors suggest exploring speaker identity distributions as an alternative.
  • Basic Audio Segmentation: The final classification pass relies on simple uniform audio segmentation. Integrating a dedicated audio-based speaker change detector or a final re-segmentation module could further refine the exact boundaries and boost performance.

Summary updated

BibTeX
@misc{flemotomos2019linguistically,
  author = {Nikolaos Flemotomos and Panayiotis Georgiou and Shrikanth Narayanan},
  title = {{Linguistically Aided Speaker Diarization Using Speaker Role Information}},
  year = {2019},
  eprint = {1911.07994},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1911.07994},
}
Figure