Probing self-attention in self-supervised speech models for cross-linguistic differences (2409.03115v1)
Abstract: Speech models have gained traction thanks to increase in accuracy from novel transformer architectures. While this impressive increase in performance across automatic speech recognition (ASR) benchmarks is noteworthy, there is still much that is unknown about the use of attention mechanisms for speech-related tasks. For example, while it is assumed that these models are learning language-independent (i.e., universal) speech representations, there has not yet been an in-depth exploration of what it would mean for the models to be language-independent. In the current paper, we explore this question within the realm of self-attention mechanisms of one small self-supervised speech transformer model (TERA). We find that even with a small model, the attention heads learned are diverse ranging from almost entirely diagonal to almost entirely global regardless of the training language. We highlight some notable differences in attention patterns between Turkish and English and demonstrate that the models do learn important phonological information during pretraining. We also present a head ablation study which shows that models across languages primarily rely on diagonal heads to classify phonemes.
- wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations. 2020.
- Revealing the dark secrets of bert. arXiv preprint, 2019. arXiv:1908.08593.
- TERA: Self-Supervised Learning of Transformer Encoder Representation for Speech. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 29:2351–2366, 2021. arXiv:2007.06028 [cs, eess].
- Probing self-supervised speech models for phonetic and phonemic information: a case study in aspiration, June 2023. arXiv:2306.06232 [cs, eess].
- Self-Supervised Speech Representation Learning: A Review. IEEE Journal of Selected Topics in Signal Processing, 16(6):1179–1210, October 2022. arXiv:2205.10643 [cs, eess].
- Comparative layer-wise analysis of self-supervised speech models, December 2022. arXiv:2211.03929 [cs, eess].
- Krisztina Polgárdi. Vowel harmony and disharmony in Turkish. 16(2):187–204, January 1999. Publisher: De Gruyter Mouton Section: The Linguistic Review.
- SparseBERT: Rethinking the Importance Analysis in Self-attention. In Proceedings of the 38th International Conference on Machine Learning, pages 9547–9557. PMLR, July 2021. ISSN: 2640-3498.
- UNDERSTANDING THE ROLE OF SELF ATTENTION FOR EFFICIENT SPEECH RECOGNITION. 2022.
- Structured Self-Attention Weights Encode Semantics in Sentiment Analysis, October 2020. arXiv:2010.04922 [cs].
- Understanding Self-Attention of Self-Supervised Audio Transformers. In Interspeech 2020, pages 3785–3789. ISCA, October 2020.