TMS: A Temporal Multi-scale Backbone Design for Speaker Embedding

Ruiteng Zhang, Jianguo Wei, Xugang Lu, Wenhuan Lu, Di Jin, Junhai Xu, Lin Zhang, Yantao Ji, Jianwu DangarXiv 2022 · DOI

Abstract

Speaker verification requires extracting unique voiceprints from speech signals that vary across multiple temporal scales, from short-term phonetics to long-term prosodic patterns. While multi-branch architectures capture these features effectively, they often introduce significant computational overhead and hardware inefficiency. This paper discusses the TMS (Temporal Multi-scale) backbone, which utilizes operator decoupling and structural re-parameterization to achieve state-of-the-art performance with high inference efficiency, outperforming the standard ECAPA-TDNN while running up to 46% faster.

Introduction

In speaker verification, the goal is to extract a unique embedding from an utterance. Human speech is inherently hierarchical; speaker identity is encoded in both short-term features (like phonetics) and long-term features (like rhythm and intonation). Current top-tier models, such as ECAPA-TDNN, use multiple branches in their neural networks to observe these different time scales simultaneously. However, adding branches usually leads to a massive increase in parameters and computational complexity, making them difficult to deploy on modern hardware like GPUs.

The TMS Architecture: Efficiency through Specialization

The authors introduce the TMS module, which reimagines the standard Time-Delay Neural Network (TDNN) layer through two primary innovations:

  1. Operator Decoupling: Instead of one heavy convolutional operation, the task is split into a Channel-modeling operator (focusing on relationships between frequency channels) and a Temporal multi-branch modeling operator (capturing different time scales).
  2. Depth-wise Separable Convolutions: Because the multi-scale branches only model the temporal dimension, they are computationally inexpensive. This allows the network to incorporate many more scales (up to 4 branches in tests) with almost no increase in total parameters.
Figure 1: Evolution of TDNN architectures, culminating in the TMS module (e) which decouples channel and temporal modeling.

Structural Re-parameterization

A key highlight of the TMS design is the "Training vs. Inference" paradigm. During the training phase, the model uses a complex multi-branch structure to learn a diverse set of features. Once training is complete, mathematical transformations are used to collapse these parallel branches and Batch Normalization (BN) layers into a single, streamlined path.

Figure 6: Comparison between the (a) training-time frame-level model with multiple branches and the (b) simplified inference-time model.

This re-parameterization ensures that the inference model is mathematically identical to the complex training model but runs significantly faster on production hardware. In GPU tests, the re-parameterized TMS model achieved a speedup of 29% to 46% depending on the hardware used.

Experimental Evaluation

The models were rigorously evaluated on two major benchmarks: VoxCeleb (in-domain, clean speech) and CNCeleb (out-of-domain, multi-genre Chinese speech).

Key Results

  • Accuracy: On the VoxCeleb1-test set, the proposed Rep-A-TMS-TDNN achieved an Equal Error Rate (EER) of 0.915%, compared to 1.010% for the ECAPA-TDNN baseline.
  • Complexity: Despite the performance boost, the model maintains a similar parameter count (~7.2M) to standard E-TDNN models.
  • Robustness: The TMS model showed better generalization on the CNCeleb dataset, remaining robust where other complex models sometimes overfit to the training data.

Conclusion and Future Work

TMS represents a significant advancement in balancing accuracy and efficiency for speaker embedding. By specializing operators and leveraging re-parameterization, it provides a hardware-friendly way to exploit multi-scale temporal information. Future work may explore adaptive temporal scaling—allowing the network to dynamically prioritize specific time scales—and investigate performance on extremely noisy or short speech segments.

Summary updated

BibTeX
@misc{zhang2022tms,
  author = {Ruiteng Zhang and Jianguo Wei and Xugang Lu and Wenhuan Lu and Di Jin and Junhai Xu and Lin Zhang and Yantao Ji and Jianwu Dang},
  title = {{TMS: A Temporal Multi-scale Backbone Design for Speaker Embedding}},
  year = {2022},
  eprint = {2203.09098},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.09098},
}
Figure