Self-supervised Representation Learning With Path Integral Clustering For Speaker Diarization

Prachi Singh, Sriram Ganapathy

Abstract

Speaker diarization, the process of partitioning an audio stream into homogeneous segments according to speaker identity, has traditionally relied on disjoint stages of embedding extraction and clustering. This paper introduces Self-Supervised Clustering (SSC), an iterative framework that jointly optimizes these two components. By leveraging Path Integral Clustering (PIC)—a graph-based algorithm that captures global structural connectivity—and a triplet-based representation learning scheme, the SSC framework allows speaker embeddings to adapt to the specific acoustic characteristics of a given recording. Our approach achieves state-of-the-art performance, notably a 59% relative improvement in Diarization Error Rate (DER) on the AMI meeting corpus.

Introduction

The standard "who spoke when" pipeline typically involves extracting fixed speaker embeddings (e.g., x-vectors) followed by a clustering step, such as Agglomerative Hierarchical Clustering (AHC). However, this decoupled approach prevents the clustering process from informing the representation learning, and vice versa. Furthermore, traditional clustering methods often rely on local distance metrics that may not reflect the global manifold of speaker characteristics in a complex acoustic environment.

To bridge this gap, we propose the Self-Supervised Clustering (SSC) framework. SSC treats clustering labels as pseudo-supervision to refine a Deep Neural Network (DNN) in an iterative loop. This ensures that the embeddings are not just generic speaker features but are optimized for the specific nuances of the current session.

Methodology

The SSC Framework

The core of our method is an iterative loop consisting of a forward clustering pass and a backward representation learning pass.

Overview of the Self-Supervised Clustering (SSC) iterative framework.
  1. Forward Pass (Clustering): We employ Path Integral Clustering (PIC) to group audio segments. Unlike AHC, which merges clusters based on local distances, PIC considers the density of connections across the entire graph.
  2. Backward Pass (Learning): The clusters identified by PIC serve as pseudo-labels. We then train the DNN using a triplet loss function. This process pulls segments from the same predicted cluster closer together in the embedding space while pushing segments from different clusters apart.
  3. Temporal Constraints: To account for the nature of human speech, we incorporate a temporal continuity heuristic. Since neighboring segments are highly likely to belong to the same speaker, we apply an exponential decay function to the similarity matrix, encouraging smoother speaker transitions.

Path Integral Clustering (PIC)

PIC is a key innovation in our pipeline. It models the data as a graph where nodes represent audio segments. The affinity between two clusters is defined by the sum of probabilities of all possible paths between them, effectively capturing the structural connectivity of the speaker manifold.

Conceptual illustration of Path Integral Clustering (PIC) showing how path probabilities are summed to determine cluster affinity.

This global perspective makes PIC more robust to outliers than local methods. Additionally, PIC is computationally efficient, scaling at $O(N^2)$ compared to the $O(N^3)$ complexity of standard AHC for long recordings.

Experimental Results

We evaluated the SSC framework on the CALLHOME and AMI Meeting Corpus datasets.

Performance Metrics

The system demonstrated significant gains over baseline x-vector/AHC systems:

  • AMI Meeting Corpus: Achieved a DER of 4.6% on the development set, a 59% relative improvement.
  • CALLHOME: Achieved a DER of 6.3% with known speaker counts, representing a 13% relative improvement.

Robustness to Unknown Speaker Counts

When the number of speakers is not provided a priori, the system utilizes an eigenvalue-based stopping criterion. Under these conditions, the framework remained robust, yielding a 7.0% DER on CALLHOME and a 5.2% DER on AMI.

Discussion and Conclusion

The success of the SSC framework highlights the importance of joint optimization in diarization. By allowing the clustering algorithm to provide feedback to the embedding extractor, the model learns session-specific representations that are far more effective than static, pre-trained features.

While our results are promising, several challenges remain. Our current experiments utilize "oracle" Speech Activity Detection (SAD), and performance in fully automated pipelines may vary. Furthermore, the current implementation does not explicitly handle overlapping speech ("double-talk"), which is a common occurrence in natural meetings. Future work will focus on integrating robust SAD and multi-label classification to address these limitations.

In conclusion, the combination of Path Integral Clustering and self-supervised triplet learning provides a powerful, efficient, and accurate solution for modern speaker diarization tasks.

Summary updated

BibTeX
@article{singh2021self,
  author = {Prachi Singh and Sriram Ganapathy},
  title = {{Self-supervised Representation Learning With Path Integral Clustering For Speaker Diarization}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2021},
  doi = {10.1109/taslp.2021.3075100},
}
Figure