RECAP: Retrieval-Augmented Audio Captioning

Sreyan Ghosh, Sonal Kumar, Chandra Kiran Reddy Evuru, Ramani Duraiswami, Dinesh Manocha
9/18/2023
eess.AScs.AIcs.CL

No official code found. Best implementation: Sreyan88/RECAP (16 stars, last commit 2024-06-23).

Abstract

We present RECAP (REtrieval-Augmented Audio CAPtioning), a novel and effective audio captioning system that generates captions conditioned on an input audio and other captions similar to the audio retrieved from a datastore. Additionally, our proposed method can transfer to any domain without the need for any additional fine-tuning. To generate a caption for an audio sample, we leverage an audio-text model CLAP to retrieve captions similar to it from a replaceable datastore, which are then used to construct a prompt. Next, we feed this prompt to a GPT-2 decoder and introduce cross-attention layers between the CLAP encoder and GPT-2 to condition the audio for caption generation. Experiments on two benchmark datasets, Clotho and AudioCaps, show that RECAP achieves competitive performance in in-domain settings and significant improvements in out-of-domain settings. Additionally, due to its capability to exploit a large text-captions-only datastore in a training-free fashion, RECAP shows unique capabilities of captioning novel audio events never seen during training and compositional audios with multiple events. To promote research in this space, we also release 150,000+ new weakly labeled captions for AudioSet, AudioCaps, and Clotho.

View on arXivView PDF

Code Implementations(1)

Sreyan88/RECAPCommunity100%

Code for ICASSP 2024 Paper: RECAP: Retrieval-Augmented Audio Captioning

160Shell, PythonSep 18, 20232 years ago
aiaudioaudio-captioningaudio-processingclap+5 more

Cite this paper

@article{ghosh2023recap,
  title  = {RECAP: Retrieval-Augmented Audio Captioning},
  author = {Sreyan Ghosh and Sonal Kumar and Chandra Kiran Reddy Evuru and Ramani Duraiswami and Dinesh Manocha},
  year   = {2023},
  eprint = {2309.09836},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.09836v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2309.09836.svg)](https://codeofpaper.com/paper/2309.09836)

Discussion