自我監督學習在即時語者分群之應用
Self-Supervised Learning for Online Speaker Diarization
摘要
近年來,語者分群(speaker diarization)旨在解決“誰在何時說話”的問題,並通過說話人身份將输入音频流划分为均匀段。離線版語者分群(offline speaker diarization)通常被用於回顧從廣播節目,會議或電話中錄製的音訊信息。但是離線版本的說話人分群技術不再能夠滿足現代實際應用或需求。而當今的說話人分群之應用程式應該能夠進行短時間計算運作,並且能夠在不讀取所有資料的情況下做出即時的決定。因此,即時語者分群(online speaker diarization)的目的是即時瞭解語音片段的說話者身份和時間資訊。本文將介紹一個基本版的即時說話者語者分群解決方案,並在此基礎上,提出一個新的的時說話者語者分群模型,以改善基本模型的不足。
對於即時說話者分群任務,需要即時語音活動檢測(online voice activity detection)和即時聚類(online clustering),但是其準確度總比離線說話者分群任務要差。除了即時語音活動檢測之外,更有效的說話人特徵提取模組(speaker feature extraction module)和即時聚類方法是需要改進的地方。在本文中,我們提出了一種基於自我監督學習(self-supervised learning)的說話人特徵提取器,並結合了合適的即時聚類方法,用於即時語者分群任務。基於自我監督學習的說話人特徵提取器包括用於長期資訊學習的雙向長短時記憶迴圈神經網路(Bi-LSTM)模組,用於短時資訊學習的時延神經網路(TDNN)模組。同時使用標籤不變性學習(label invariance learning)可獲得更具有魯棒性(robust)的模型與應用對比學習(contrastive learning)獲得更好的說話人分群表現。除了上述無監督式學習(unsupervised learning)的方法之外,在無監督式訓練后,我們還對說話者標籤分類器(speaker label classifier) 進行了標籤估計的訓練。因此,我們將利用這個附加的監督式學習(supervised learning)訓練來進行提升模型的效能。
除了對即時語者分群任務的結構改進外,基本版的即時語者分群的模型原則上還是基於x-vector所訓練的離線版說話人分群模型得到。通過新的模型解決基本版模型的三個問題是本文的重點,它們是對說話人特徵提取模組的訓練與說話人聚類無關,說話人特徵提取模組不能捕獲長期資訊,即時聚類方法由於時間增加而語音片段變多,將需要更多的計算時間。我們提出的新的線上說話者分群模型對這些問題進行改進。
對於即時說話者分群任務,需要即時語音活動檢測(online voice activity detection)和即時聚類(online clustering),但是其準確度總比離線說話者分群任務要差。除了即時語音活動檢測之外,更有效的說話人特徵提取模組(speaker feature extraction module)和即時聚類方法是需要改進的地方。在本文中,我們提出了一種基於自我監督學習(self-supervised learning)的說話人特徵提取器,並結合了合適的即時聚類方法,用於即時語者分群任務。基於自我監督學習的說話人特徵提取器包括用於長期資訊學習的雙向長短時記憶迴圈神經網路(Bi-LSTM)模組,用於短時資訊學習的時延神經網路(TDNN)模組。同時使用標籤不變性學習(label invariance learning)可獲得更具有魯棒性(robust)的模型與應用對比學習(contrastive learning)獲得更好的說話人分群表現。除了上述無監督式學習(unsupervised learning)的方法之外,在無監督式訓練后,我們還對說話者標籤分類器(speaker label classifier) 進行了標籤估計的訓練。因此,我們將利用這個附加的監督式學習(supervised learning)訓練來進行提升模型的效能。
除了對即時語者分群任務的結構改進外,基本版的即時語者分群的模型原則上還是基於x-vector所訓練的離線版說話人分群模型得到。通過新的模型解決基本版模型的三個問題是本文的重點,它們是對說話人特徵提取模組的訓練與說話人聚類無關,說話人特徵提取模組不能捕獲長期資訊,即時聚類方法由於時間增加而語音片段變多,將需要更多的計算時間。我們提出的新的線上說話者分群模型對這些問題進行改進。
In recent years, speaker diarization aims to address the problem of “who spoke when”, and is able to split an utterance into homogeneous regions by speaker identities. Offline speaker diarization usually being used for the review of the existing audio recorded from a broadcast show, a meeting, or a telephone call. But offline simulation works can no longer meet modern real-world application or needs. Today’s application for speaker diarization should be able to work overtime with short time computation and make the timely decision without read all the data. Therefore, it is the purpose of the online speaker diarization to know the speaker identity and time information of the speech segment at any time. This paper will introduce a baseline online speaker diarization solution, and on this basis, propose an advanced online speaker diarization model to improve the deficiencies of the basic model.
For the online speaker diarization task, an online voice activity detection and an online clustering is needed, but always get the worse result than the offline speaker diarization task. Besides the online voice activity detection, a more effective speaker feature extraction module and an online clustering method are the points to make an improvement. In this paper, we proposed a speaker feature extractor based on self- supervised learning with a suitable online clustering for online speaker diarization task. The self-supervised speaker feature extractor includes a Bi-LSTM module for the long-term information learning, a TDNN module for the local information learning. Label invariance learning for a robust model and contrastive learning for a better speaker clustering. Besides this, a speaker label classifier is also trained after unsupervised training mentioned above. Therefore, thesupervised-learning based speaker label classifier will be used for the efficacy improvement of the model.
In addition to structural improvements to online tasks, the basic model is in principle an online version well-trained X-vector based offline speaker diarization model. The three problems of the basic model are the focus of this paper, they are the training of speaker feature extraction module is not related to the speaker clustering, the speaker feature extraction module cannot capture the long-term information and Clustering method will requires a lot of computation when there are too many speech segments. The advanced online speaker diarization model we proposed made an improvement on these problems.
For the online speaker diarization task, an online voice activity detection and an online clustering is needed, but always get the worse result than the offline speaker diarization task. Besides the online voice activity detection, a more effective speaker feature extraction module and an online clustering method are the points to make an improvement. In this paper, we proposed a speaker feature extractor based on self- supervised learning with a suitable online clustering for online speaker diarization task. The self-supervised speaker feature extractor includes a Bi-LSTM module for the long-term information learning, a TDNN module for the local information learning. Label invariance learning for a robust model and contrastive learning for a better speaker clustering. Besides this, a speaker label classifier is also trained after unsupervised training mentioned above. Therefore, thesupervised-learning based speaker label classifier will be used for the efficacy improvement of the model.
In addition to structural improvements to online tasks, the basic model is in principle an online version well-trained X-vector based offline speaker diarization model. The three problems of the basic model are the focus of this paper, they are the training of speaker feature extraction module is not related to the speaker clustering, the speaker feature extraction module cannot capture the long-term information and Clustering method will requires a lot of computation when there are too many speech segments. The advanced online speaker diarization model we proposed made an improvement on these problems.