Efficient Audio Captioning with Encoder-Level Knowledge Distillation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Xu, Xuenan, Liu, Haohe, Wu, Mengyue, Wang, Wenwu, Plumbley, Mark D.
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909262236614656
author Xu, Xuenan
Liu, Haohe
Wu, Mengyue
Wang, Wenwu
Plumbley, Mark D.
author_facet Xu, Xuenan
Liu, Haohe
Wu, Mengyue
Wang, Wenwu
Plumbley, Mark D.
contents 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}}.
format Preprint
id arxiv_https___arxiv_org_abs_2407_14329
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Efficient Audio Captioning with Encoder-Level Knowledge Distillation
Xu, Xuenan
Liu, Haohe
Wu, Mengyue
Wang, Wenwu
Plumbley, Mark D.
Sound
Audio and Speech Processing
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}}.
title Efficient Audio Captioning with Encoder-Level Knowledge Distillation
topic Sound
Audio and Speech Processing
url https://arxiv.org/abs/2407.14329