Skip to main content
QUICK REVIEW

[Paper Review] T-vectors: Weakly Supervised Speaker Identification Using Hierarchical Transformer Model

Yanpei Shi, Mingjie Chen|arXiv (Cornell University)|Oct 29, 2020
Speech Recognition and SynthesisComputer Science20 references6 citations
TL;DR

This paper proposes T-vectors, a hierarchical Transformer-based model with memory mechanisms for weakly supervised speaker identification in multi-speaker audio. By leveraging multi-head attention in frame-level and segment-level encoders and recurrent memory connections, the model achieves 13.3% and 10.5% relative improvement over H-vectors and S-vectors, respectively, on SWBC-S datasets under Concat and Overlap scenarios.

ABSTRACT

Identifying multiple speakers without knowing where a speaker's voice is in a recording is a challenging task. This paper proposes a hierarchical network with transformer encoders and memory mechanism to address this problem. The proposed model contains a frame-level encoder and segment-level encoder, both of them make use of the transformer encoder block. The multi-head attention mechanism in the transformer structure could better capture different speaker properties when the input utterance contains multiple speakers. The memory mechanism used in the frame-level encoders can build a recurrent connection that better capture long-term speaker features. The experiments are conducted on artificial datasets based on the Switchboard Cellular part1 (SWBC) and Voxceleb1 datasets. In different data construction scenarios (Concat and Overlap), the proposed model shows better performance comparaing with four strong baselines, reaching 13.3% and 10.5% relative improvement compared with H-vectors and S-vectors. The use of memory mechanism could reach 10.6% and 7.7% relative improvement compared with not using memory mechanism.

Motivation & Objective

  • Address the challenge of speaker identification in multi-speaker audio recordings without precise segment-level annotations.
  • Overcome limitations of prior models like H-vectors, which suffer from slow training and gradient vanishing due to GRU usage.
  • Improve long-term speaker feature modeling by introducing a memory mechanism between frame-level encoders.
  • Leverage the parallel processing and attention mechanisms of Transformers to better capture speaker-specific properties in overlapping speech.
  • Demonstrate robust performance under weak supervision using only utterance-level speaker labels, enabling scalable training on large-scale datasets.

Proposed method

  • Employ a hierarchical architecture with frame-level encoders and a segment-level encoder, both based on Transformer encoder blocks.
  • Use sinusoidal positional encoding to inject sequence order information into the input acoustic features.
  • Divide the input sequence into overlapping segments using a sliding window of size M and stride H, processed by N frame-level encoders.
  • Implement a multi-head self-attention mechanism with memory connections between frame-level encoders to maintain hidden states across segments.
  • Apply statistics pooling after each frame-level encoder and a final classifier with two fully connected layers and sigmoid activation.
  • Train the model using binary cross-entropy loss with utterance-level speaker label sets as supervision.

Experimental results

Research questions

  • RQ1Can a Transformer-based hierarchical architecture outperform RNN-based models like H-vectors in weakly supervised speaker identification?
  • RQ2How does the integration of memory mechanisms between frame-level encoders affect long-term speaker representation learning?
  • RQ3To what extent does multi-head attention in the Transformer block improve the modeling of overlapping speaker features compared to TDNNs?
  • RQ4How does the window size (M) in the sliding window segmentation impact model performance?
  • RQ5Does the proposed T-vector model generalize well across different data construction scenarios (Concat vs. Overlap) and varying numbers of speakers?

Key findings

  • The T-vector model achieves 13.3% relative improvement over H-vectors and 10.5% over S-vectors on the SWBC-S dataset in the Concat scenario.
  • In the Overlap scenario, the model shows 10.56% relative improvement over H-vectors and 7.7% over S-vectors.
  • The use of memory mechanisms leads to 10.6% and 7.7% relative performance gains compared to the same model without memory, particularly in long utterances.
  • The optimal window size for frame-level segmentation is 25 frames, yielding the best performance across both Concat and Overlap settings.
  • Performance degrades with increasing numbers of speakers per utterance, with the worst results observed in three-speaker conditions due to overlapping speech complexity.
  • The model demonstrates strong robustness even with limited training data, indicating scalability for large-scale weakly supervised learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.