Classifier-Guided Captioning Across Modalities

Ariel Shaulov, Tal Shaharabany, Eitan Shaar, Gal Chechik, Lior Wolf
1/3/2025
cs.CLcs.AIcs.SD

No official code found. Best implementation: arielshaulov/Classifier-Guided-Captioning-Across-Modalities (0 stars, last commit 2025-01-16).

Abstract

Most current captioning systems use language models trained on data from specific settings, such as image-based captioning via Amazon Mechanical Turk, limiting their ability to generalize to other modality distributions and contexts. This limitation hinders performance in tasks like audio or video captioning, where different semantic cues are needed. Addressing this challenge is crucial for creating more adaptable and versatile captioning frameworks applicable across diverse real-world contexts. In this work, we introduce a method to adapt captioning networks to the semantics of alternative settings, such as capturing audibility in audio captioning, where it is crucial to describe sounds and their sources. Our framework consists of two main components: (i) a frozen captioning system incorporating a language model (LM), and (ii) a text classifier that guides the captioning system. The classifier is trained on a dataset automatically generated by GPT-4, using tailored prompts specifically designed to enhance key aspects of the generated captions. Importantly, the framework operates solely during inference, eliminating the need for further training of the underlying captioning model. We evaluate the framework on various models and modalities, with a focus on audio captioning, and report promising results. Notably, when combined with an existing zero-shot audio captioning system, our framework improves its quality and sets state-of-the-art performance in zero-shot audio captioning.

View on arXivView PDF

Code Implementations(1)

Official implementation of the paper "Classifier-Guided Captioning Across Modalities" [ICASSP 2025]

00HTMLJan 16, 20251 years ago

Similar Papers

Cite this paper

@article{shaulov2025classifierguided,
  title  = {Classifier-Guided Captioning Across Modalities},
  author = {Ariel Shaulov and Tal Shaharabany and Eitan Shaar and Gal Chechik and Lior Wolf},
  year   = {2025},
  eprint = {2501.03183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.03183v1}
}

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

Discussion