Zero-shot audio captioning with audio-language model guidance and audio context keywords

Leonard Salewski, Stefan Fauth, A. Sophia Koepke, Zeynep Akata
11/14/2023
eess.AScs.AIcs.CL

Official code: ExplainableML/ZerAuCap (19 stars, last commit 2024-11-30).

Abstract

Zero-shot audio captioning aims at automatically generating descriptive textual captions for audio content without prior training for this task. Different from speech recognition which translates audio content that contains spoken language into text, audio captioning is commonly concerned with ambient sounds, or sounds produced by a human performing an action. Inspired by zero-shot image captioning methods, we propose ZerAuCap, a novel framework for summarising such general audio signals in a text caption without requiring task-specific training. In particular, our framework exploits a pre-trained large language model (LLM) for generating the text which is guided by a pre-trained audio-language model to produce captions that describe the audio content. Additionally, we use audio context keywords that prompt the language model to generate text that is broadly relevant to sounds. Our proposed framework achieves state-of-the-art results in zero-shot audio captioning on the AudioCaps and Clotho datasets. Our code is available at https://github.com/ExplainableML/ZerAuCap.

View on arXivView PDF

Code Implementations(1)

[NeurIPS 2023 - ML for Audio Workshop (Oral)] Zero-shot audio captioning with audio-language model guidance and audio context keywords

191Shell, PythonNov 13, 20231 years ago
audioaudio-captioningaudiocapsclotho-datasetlarge-language-models+3 more

Similar Papers

Cite this paper

@article{salewski2023zeroshot,
  title  = {Zero-shot audio captioning with audio-language model guidance and audio context keywords},
  author = {Leonard Salewski and Stefan Fauth and A. Sophia Koepke and Zeynep Akata},
  year   = {2023},
  eprint = {2311.08396},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.08396v1}
}

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/2311.08396.svg)](https://codeofpaper.com/paper/2311.08396)

Discussion