Improving Audio Captioning Models with Fine-Grained Audio Features, Text Embedding Supervision, and LLM Mix-Up Augmentation

Shih-Lun Wu, Xuankai Chang, Gordon Wichern, Jee-Weon Jung, François G. Germain, Jonathan Le Roux, Shinji Watanabe

Introduction

Automated Audio Captioning (AAC) is the task of generating natural language descriptions for audio clips. Unlike simple audio tagging, AAC requires an understanding of temporal relationships and acoustic nuances. Researchers from CMU and MERL have established a new state-of-the-art (SOTA) in this field by addressing three primary hurdles: coarse audio features, data scarcity, and the difficulty of semantic alignment between audio and text.

Methodology

The proposed architecture is a sequence-to-sequence (seq2seq) model that integrates fine-grained audio features with Large Language Model (LLM) supervision.

Model Architecture

The system utilizes a sophisticated encoder-decoder stack:

  • Audio Encoder: The standard PANN (1Hz) extractor is replaced with BEATs (Bidirectional Encoder representation from Audio Transformers), which provides fine-grained features at 50Hz. This is followed by a Conformer post-encoder to further contextualize the audio.
  • Text Supervision: To align audio and text, the INSTRUCTOR LLM generates embeddings for ground-truth captions. An InfoNCE loss (contrastive learning) is applied to pull audio features closer to these high-quality text embeddings during training.
  • Decoder: A BART decoder generates the final captions using cross-attention over the audio features.
Figure 1: Overview of the proposed AAC architecture, highlighting the BEATs encoder, INSTRUCTOR-based supervision, and the BART decoder.

ChatGPT Mix-up Augmentation

To combat data scarcity, the authors introduce "ChatGPT Mix-up." Standard mix-up involves blending two audio files and concatenating their labels. In this work, the authors use ChatGPT to merge two captions into a single, grammatically fluid sentence (e.g., using connectors like "while" or "amidst"). This caption is paired with the mixed audio of the two original samples, teaching the model to describe concurrent events naturally.

Hybrid Reranking

During inference, instead of standard beam search, the model uses nucleus sampling to generate 50 candidate captions. These are then reranked using a weighted sum of the decoder's log-likelihood and the similarity between the audio and generated text, as measured by the INSTRUCTOR model.

Experimental Results

The model was evaluated on the AudioCaps and Clotho (V2) datasets. It achieved a SPIDEr-FL score of 32.6 on the Clotho evaluation split, making it the top-performing single model and the winner of the 2023 DCASE AAC Challenge.

Ablation Study

Ablation studies confirmed the necessity of each component. The transition from PANN to BEATs features was the most impactful change, contributing a +6.6 point jump in the SPIDEr-FL score. The ChatGPT mix-up and hybrid reranking also provided significant performance boosts.

Figure 3: Ablation study showing the impact of various model components on performance metrics, with red text indicating the performance drop when components are removed.

Discussion and Conclusion

The research demonstrates that fine-grained audio resolution and LLM-based semantic supervision are key to advancing AAC. While the hybrid reranking process introduces computational overhead (roughly 3x slower than beam search), the resulting captions are significantly more descriptive and accurate. Interestingly, the authors noted that Reinforcement Learning (RL) to optimize for CIDEr can hurt performance on the SPIDEr-FL metric by producing disfluent text. Future work will explore larger pretrained extractors and advanced RL methods that maintain grammatical fluency.

Summary updated

BibTeX
@inproceedings{wu2023improving,
  author = {Shih-Lun Wu and Xuankai Chang and Gordon Wichern and Jee-Weon Jung and François G. Germain and Jonathan Le Roux and Shinji Watanabe},
  title = {{Improving Audio Captioning Models with Fine-Grained Audio Features, Text Embedding Supervision, and LLM Mix-Up Augmentation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
}
Figure