Diacorrect: Error Correction Back-End for Speaker Diarization

Jiangyu Han, Federico Landini, Johan Rohdin, Mireia Díez, Lukás Burget, Yuhang Cao, Heng Lu, Jan CernockýICASSP 2023

TL;DR

This paper introduces DiaCorrect, a novel framework that refines speaker diarization outputs by treating it as an error correction problem, similar to automatic speech recognition. By leveraging both acoustic features and initial diarization predictions, DiaCorrect significantly improves diarization accuracy, especially when the original diarization system is treated as a black box.

What Problem Does This Paper Address?

Speaker diarization, the task of identifying "who spoke when" in an audio recording, has seen significant advancements with end-to-end neural models. However, these models often require vast amounts of training data, which can be expensive and time-consuming to create. While simulated data can be used for training, a mismatch often exists between simulated and real-world data, necessitating fine-tuning on real data. This fine-tuning is impossible if one only has access to the output of a pre-trained diarization system, without the ability to retrain or modify the original model. This paper addresses this limitation by proposing an "error correction back-end" that can improve diarization results without needing access to the original model's internals, relying only on its outputs and potentially a small amount of real target domain data.

Methods

DiaCorrect employs a two-part architecture: two parallel convolutional encoders and a transformer-based decoder.

  • SAP Encoder: This encoder processes the initial speaker activity predictions (SAPs) from an existing diarization system. It's designed to capture temporal patterns within these predictions, using 1D convolutions and depthwise convolutions.
  • Speech Encoder: This encoder takes the raw acoustic features (log-Mel features) and processes them using 2D convolutions to capture both temporal and spectral dynamics.
  • Decoder: The outputs from both encoders are concatenated and fed into a transformer-based decoder, which then generates the refined speaker activity predictions.

The training process involves a permutation-invariant training (PIT) objective with a binary cross-entropy loss, similar to standard sequence-to-sequence tasks. To combat overfitting on simulated data, the authors introduce a data pruning strategy, selecting "hard" samples (recordings with higher baseline diarization error rates) for training. Additionally, for inference on real data, they propose a SAP calibration step to adjust the initial SAP distributions, further improving performance.

Datasets

The paper utilizes the following datasets:

  • Simulated Conversations (SC): Used for initial training. These are generated using real pause and overlap distributions from the DIHARD-III CTS development set.
  • CALLHOME (CH) Part 1 and Part 2: Real datasets used for fine-tuning and evaluation.
  • DIHARD-III CTS development (DH3 dev) and evaluation (DH3 eval): Real datasets used for fine-tuning and evaluation.

The datasets are described as 2-speaker scenarios.

Key Insights and Ideas

  • Diarization as Error Correction: The core idea of framing diarization refinement as an error correction task, inspired by ASR, is a significant conceptual shift. This allows leveraging established techniques from a related field.
  • Black-Box Diarization Improvement: DiaCorrect's ability to improve diarization results without access to the original model's internals is a crucial practical advantage, especially in scenarios where only the output is available.
  • Data Pruning for Hard Samples: Selecting "hard" samples for training is effective in reducing overfitting to simulated data and focusing the model on learning to correct actual errors.
  • SAP Calibration for Real Data: Calibrating the initial SAP distributions for real-world data is necessary because the optimal decision threshold can differ from simulated data, leading to performance gains.
  • Training from Scratch with Limited Data: The finding that DiaCorrect can achieve competitive results even when trained from scratch on a small amount of target domain data is highly promising, reducing computational burden.

Key Results

  • DiaCorrect significantly improves diarization performance compared to the baseline EEND-EDA system, especially on real datasets like CALLHOME and DIHARD-III.
  • With data pruning and SAP calibration, DiaCorrect can reduce the DER on CH2 from 8.62% to 7.91% and on DH3 eval from 19.58% to 17.60%, achieving performance comparable to fine-tuned EEND-EDA.
  • When fine-tuned on target domain data, DiaCorrect further reduces DER, achieving results comparable to or better than fine-tuned EEND-EDA. For example, DER on DH3 dev drops from 17.60% to 12.46%.
  • Training DiaCorrect from scratch on limited target domain data (e.g., ~3 hours for CH Part1, ~10 hours for DH3 dev) yields competitive results, demonstrating its efficiency.

Limitations and Future Work

  • Limited to 2 Speakers: The current architecture is demonstrated for 2-speaker scenarios. Generalizing to an arbitrary number of speakers is a key future direction.
  • Automatic SAP Calibration: The paper uses a manual calibration bias for inference. Future work will focus on developing automatic (supervised and unsupervised) SAP calibration methods.
  • Application to Other Systems: While DiaCorrect is designed to be a back-end for any diarization system, further exploration of its application with various initial diarization systems is planned.
  • Addressing Overlap: The paper mentions that DiaCorrect can refine diarization results, implying it can handle overlaps, but further explicit discussion on its performance in highly overlapped speech scenarios could be beneficial.

Summary updated

BibTeX
@inproceedings{han2023diacorrect,
  author = {Jiangyu Han and Federico Landini and Johan Rohdin and Mireia Díez and Lukás Burget and Yuhang Cao and Heng Lu and Jan Cernocký},
  title = {{Diacorrect: Error Correction Back-End for Speaker Diarization}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
}
Figure