注意力引導適應於語碼轉換語音識別
Attention-Guided Adaptation for Code-Switching Speech Recognition
摘要
語碼轉換是一種在單一表達中使用兩種或更多語言的現象,在多語社區中很常見。在多語境下開發有效的雙語自動語音識別(ASR)系統,識別語碼轉換的能力至關重要。雖然預先訓練的多語種ASR模型(例如Whisper)在識別不同語言的單語音頻中表現出色,但它們在處理語碼轉換時的性能仍然是一個未解之謎。本研究藉由提出一個基於注意力引導的適應過程,進行雙語ASR的參數高效學習,來解決這個問題。首先,將分析Whisper模型的注意力行為,以識別LID標記的注意力圖。這一分析將引導一個注意力頭選擇過程,以識別這些注意力圖。然後,一個基於注意力引導的適應過程將引導這些選定的頭,在單詞預測期間關注語言變化。
此外,還引入了一個兩階段的適配器訓練過程,以確保Whisper模型的穩定、參數高效的適應。對普通話-英語語碼轉換語音語料庫的實驗表明,所提出的方法實現了14.2%的混合錯誤率,超過了最先進的方法,同時僅使用了Whisper模型的5.6%額外參數。
此外,還引入了一個兩階段的適配器訓練過程,以確保Whisper模型的穩定、參數高效的適應。對普通話-英語語碼轉換語音語料庫的實驗表明,所提出的方法實現了14.2%的混合錯誤率,超過了最先進的方法,同時僅使用了Whisper模型的5.6%額外參數。
Code-switching, a phenomenon where two or more languages are used within a single utterance, is a common practice in multilingual communities. The ability to recognize code-switching is essential for developing effective bilingual automatic speech recognition (ASR) systems in multilingual contexts. While pre-trained multilingual ASR models such as Whisper have shown promising results in recognizing different languages of monolingual speech, their performance in handling code-switching is still an open question. This work addresses this issue by proposing an attention-guided adaptation process to conduct parameter-efficient learning for bilingual ASR. Initially, the attention behavior of Whisper model will be analyzed to identify LID token attention map. This analysis then will lead to an attention head selection process to identify those attention map. Next, an attention-guided adaptation process will guide those selected heads to pay attention on the language changes during word prediction. Furthermore, a two-stage adapter training process is also introduced to ensure a stable parameter-efficient adaptation of the Whisper model. The experiments on the Mandarin-English code-switching speech corpus show that the proposed approach achieves a 14.2% mixed error rate, surpassing state-of-the-art method, while only utilizing 5.6% additional parameters over Whisper model.