arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.13377cs.CLcs.AIeess.AS
收藏

线性复杂度自监督学习用于语音处理

Linear-Complexity Self-Supervised Learning for Speech Processing

Samsung AI Center Cambridge(三星剑桥人工智能中心)

Shucong Zhang, Titouan Parcollet, Rogier van Dalen, Sourav Bhattacharya

AI总结:

本文首次将线性复杂度的SummaryMixing上下文编码器用于自监督语音预训练,在保持或提升下游任务性能的同时,显著降低预训练时间和显存消耗。

摘要:

自监督学习(SSL)模型通常需要数周的时间在多块高端GPU上进行预训练。这些模型通常具有多头自注意力(MHSA)上下文编码器。然而,MHSA在输入长度上占用二次方的时间和空间,导致预训练成本高昂。已经提出了MHSA的线性复杂度替代方案。例如,在监督训练中,SummaryMixing模型是首个在多个语音处理任务上超越MHSA的模型。然而,这些更便宜的替代方案尚未在SSL中进行探索。本文首次研究了用于SSL的线性复杂度上下文编码器。在MP3S基准的下游任务上,SummaryMixing实现了更好或相当的性能,同时将wav2vec 2.0模型的预训练时间和峰值显存分别减少了18%和23%,使得一个155M参数的wav2vec 2.0模型在4块Tesla A100 GPU上在一周内完成预训练。代码可在https://github.com/SamsungLabs/SummaryMixing获取。

英文摘要:

Self-supervised learning (SSL) models usually require weeks of pre-training with dozens of high-end GPUs. These models typically have a multi-headed self-attention (MHSA) context encoder. However, MHSA takes quadratic time and space in the input length, contributing to the high pre-training cost. Linear-complexity alternatives to MHSA have been proposed. For instance, in supervised training, the SummaryMixing model is the first to outperform MHSA across multiple speech processing tasks. However, these cheaper alternatives have not been explored for SSL yet. This paper studies a linear-complexity context encoder for SSL for the first time. With better or equivalent performance for the downstream tasks of the MP3S benchmark, SummaryMixing reduces the pre-training time and peak VRAM of wav2vec 2.0 model by 18% and by 23%, respectively, leading to the pre-training of a 155M wav2vec 2.0 model finished within one week with 4 Tesla A100 GPUs. Code is available at https://github.com/SamsungLabs/SummaryMixing.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑