arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2407.14329cs.SDeess.AS
收藏

基于编码器级知识蒸馏的高效音频字幕生成

Efficient Audio Captioning with Encoder-Level Knowledge Distillation

Shanghai Jiao Tong University(上海交通大学);University of Surrey(萨里大学)

Xuenan Xu, Haohe Liu, Mengyue Wu, Wenwu Wang, Mark D. Plumbley

AI总结:

针对音频字幕生成模型日益庞大的问题,提出编码器级知识蒸馏框架,结合对比损失,利用纯音频数据训练,实现19倍推理加速并保持竞争力。

摘要:

近年来,自动化音频字幕生成(AAC)模型取得了显著进展。然而,随着性能的提升,这些模型变得日益庞大。在本工作中,我们提出了一种适用于AAC的知识蒸馏(KD)框架。我们的分析表明,在基于编码器-解码器的AAC模型中,将知识蒸馏到编码器比蒸馏到解码器更为有效。为此,我们在训练中引入了编码器级KD损失,并辅以标准的监督损失和序列级KD损失。我们研究了两种编码器级KD方法,分别基于均方误差(MSE)损失和对比损失。实验结果表明,对比KD比MSE KD更具鲁棒性,在数据稀缺的情况下表现出更优的性能。通过在KD框架中利用纯音频数据进行训练,我们的学生模型取得了具有竞争力的性能,其推理速度提升了19倍(在线演示可在https://huggingface.co/spaces/wsntxxn/efficient_audio_captioning获取)。

英文摘要:

Significant improvement has been achieved in automated audio captioning (AAC) with recent models. However, these models have become increasingly large as their performance is enhanced. In this work, we propose a knowledge distillation (KD) framework for AAC. Our analysis shows that in the encoder-decoder based AAC models, it is more effective to distill knowledge into the encoder as compared with the decoder. To this end, we incorporate encoder-level KD loss into training, in addition to the standard supervised loss and sequence-level KD loss. We investigate two encoder-level KD methods, based on mean squared error (MSE) loss and contrastive loss, respectively. Experimental results demonstrate that contrastive KD is more robust than MSE KD, exhibiting superior performance in data-scarce situations. By leveraging audio-only data into training in the KD framework, our student model achieves competitive performance, with an inference speed that is 19 times faster\footnote{An online demo is available at \url{https://huggingface.co/spaces/wsntxxn/efficient_audio_captioning}}.

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

↑