ISCA Archive IberSPEECH 2022
ISCA Archive IberSPEECH 2022

Efficient Transformers for End-to-End Neural Speaker Diarization

Sergio Izquierdo del Alamo, Beltrán Labrador, Alicia Lozano-Diez, Doroteo T. Toledano

The recently proposed End-to-End Neural speaker Diarization framework (EEND) handles speech overlap and speech activity detection natively. While extensions of this work have reported remarkable results in both two-speaker and multispeaker diarization scenarios, these come at the cost of a long training process that requires considerable memory and computational power. In this work, we explore the integration of efficient transformer variants into the Self-Attentive EEND with Encoder-Decoder based Attractors (SA-EEND EDA) architecture. Since it is based on Transformers, the cost of training SA-EEND EDA is driven by the quadratic time and memory complexity of their self-attention mechanism. We verify that the use of a linear attention mechanism in SA-EEND EDA decreases GPU memory usage by 22%. We conduct experiments to measure how the increased efficiency of the training process translates into the two-speaker diarization error rate on CALLHOME, quantifying the impact of increasing the size of the batch, the model or the sequence length on training time and diarization performance. In addition, we propose an architecture combining linear and softmax attention that achieves an acceleration of 12% with a small relative DER degradation of 2%, while using the same GPU memory as the softmax attention baseline.


doi: 10.21437/IberSPEECH.2022-32

Cite as: Izquierdo del Alamo, S., Labrador, B., Lozano-Diez, A., Toledano, D.T. (2022) Efficient Transformers for End-to-End Neural Speaker Diarization . Proc. IberSPEECH 2022, 156-160, doi: 10.21437/IberSPEECH.2022-32

@inproceedings{izquierdodelalamo22_iberspeech,
  author={Sergio {Izquierdo del Alamo} and Beltrán Labrador and Alicia Lozano-Diez and Doroteo T. Toledano},
  title={{Efficient Transformers for End-to-End Neural Speaker Diarization }},
  year=2022,
  booktitle={Proc. IberSPEECH 2022},
  pages={156--160},
  doi={10.21437/IberSPEECH.2022-32}
}