Killing two birds with one stone: Can an audio captioning system also be used for audio-text retrieval?
Preprint
Abstract
Automated Audio Captioning (AAC) aims to develop systems capable of describing an audio recording using a textual sentence. In contrast, Audio-Text Retrieval (ATR) systems seek to find the best matching audio recording(s) for a given textual query (Text-to-Audio) or vice versa (Audio-to-Text). These tasks require different types of systems: AAC employs a sequence-to-sequence model, while ATR utilizes a ranking model that compares audio and text representations within a shared projection subspace. However, this work investigates the relationship between AAC and ATR by exploring the ATR capabilities of an unmodified AAC system, without fine-tuning for the new task. Our AAC system consists of an audio encoder (ConvNeXt-Tiny) trained on AudioSet for audio tagging, and a transformer decoder responsible for generating sentences. For AAC, it achieves a high SPIDEr-FL score of 0.298 on Clotho and 0.472 on AudioCaps on average. For ATR, we propose using the standard Cross-Entropy loss values obtained for any audio/caption pair. Experimental results on the Clotho and AudioCaps datasets demonstrate decent recall values using this simple approach. For instance, we obtained a Text-to-Audio R@1 value of 0.382 for Au-dioCaps, which is above the current state-of-the-art method without external data. Interestingly, we observe that normalizing the loss values was necessary for Audio-to-Text retrieval.Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- WavCaps: A ChatGPT-Assisted Weakly-Labelled Audio Captioning Dataset for Audio-Language Multimodal ResearchIEEE/ACM Transactions on Audio, Speech, and Language Processing, 2024
- Adapting a ConvNeXt Model to Audio Classification on AudioSet2023
- Improving Text-Audio Retrieval by Text-Aware Attention Pooling and Prior Matrix Revised Loss2023
- Audio-Text Models Do Not Yet Leverage Natural Language2023
- On Metric Learning for Audio-Text Cross-Modal Retrieval2022
- Audio Retrieval With Natural Language Queries: A Benchmark StudyIEEE Transactions on Multimedia, 2022
- SpecAugment: A Simple Data Augmentation Method for Automatic Speech Recognition2019