[Paper Review] Evaluating Off-the-Shelf Machine Listening and Natural Language Models for Automated Audio Captioning
This paper evaluates off-the-shelf pre-trained machine listening and natural language models for automated audio captioning using a Transformer-based architecture. It finds that combining YAMNet for audio encoding with BERT for word embeddings, along with a multi-head attention adapter on audio features, yields the best performance, significantly improving SPIDEr scores over baseline configurations.
Automated audio captioning (AAC) is the task of automatically generating textual descriptions for general audio signals. A captioning system has to identify various information from the input signal and express it with natural language. Existing works mainly focus on investigating new methods and try to improve their performance measured on existing datasets. Having attracted attention only recently, very few works on AAC study the performance of existing pre-trained audio and natural language processing resources. In this paper, we evaluate the performance of off-the-shelf models with a Transformer-based captioning approach. We utilize the freely available Clotho dataset to compare four different pre-trained machine listening models, four word embedding models, and their combinations in many different settings. Our evaluation suggests that YAMNet combined with BERT embeddings produces the best captions. Moreover, in general, fine-tuning pre-trained word embeddings can lead to better performance. Finally, we show that sequences of audio embeddings can be processed using a Transformer encoder to produce higher-quality captions.
Motivation & Objective
- To investigate the effectiveness of off-the-shelf pre-trained audio and natural language models in automated audio captioning (AAC).
- To determine optimal combinations of pre-trained models for AAC using a unified Transformer-based framework.
- To evaluate design choices such as fine-tuning word embeddings, using adapters on audio embeddings, and overlapping frame extraction.
- To identify which pre-trained models and configurations yield the highest captioning quality on the Clotho dataset.
Proposed method
- A Transformer-based encoder-decoder framework is used, with a fixed pre-trained audio encoder (E), an optional adapter (A), and a Transformer decoder (D).
- Audio embeddings are extracted from four pre-trained machine listening models: YAMNet, VGGish, OpenL3, and COALA.
- Word embeddings are derived from pre-trained NLP models (e.g., BERT, word2vec, GloVe, fastText), used as input to the decoder.
- The adapter (A) is implemented as a multi-layer perceptron (MLP), multi-head attention (MHA), or no adapter, to process audio embeddings before decoding.
- Audio embeddings are extracted with and without 50% frame overlap to assess temporal context impact.
- The model is trained end-to-end with cross-entropy loss, and inference uses greedy decoding.
Experimental results
Research questions
- RQ1Which pre-trained audio encoder yields the best performance in automated audio captioning?
- RQ2How does fine-tuning pre-trained word embeddings affect captioning quality?
- RQ3Does using an adapter (MLP or MHA) on audio embeddings improve caption generation?
- RQ4What is the impact of overlapping frame extraction on audio embedding quality?
- RQ5Which combination of audio and word embedding models produces the highest SPIDEr score?
Key findings
- YAMNet combined with BERT word embeddings and an MHA-based adapter achieved the highest SPIDEr score of 0.1793.
- Fine-tuning pre-trained word embeddings significantly improved performance, with p < 0.001 in Wilcoxon signed-rank tests.
- Using a multi-head attention adapter on audio embeddings consistently outperformed both no adapter and an MLP adapter.
- Computing audio embeddings with 50% overlap improved performance for COALA (p < 8.08e−07) and YAMNet (p < 3.92e−06).
- BERT as a fixed external word embedding model outperformed other pre-trained embeddings, even without fine-tuning.
- The MHA-based adapter was most effective for self-supervised models like OpenL3, suggesting it better exploits their semantic-rich representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.