Caption Anything: Interactive Image Description with Diverse Multimodal Controls

Teng Wang, Jinrui Zhang, Junjie Fei, Hao Zheng, Yunlong Tang +3 more
5/4/2023
cs.CV

Official code: ttengwang/Caption-Anything (1,776 stars, BSD-3-Clause, last commit 2023-08-29).

Abstract

Controllable image captioning is an emerging multimodal topic that aims to describe the image with natural language following human purpose, $\textit{e.g.}$, looking at the specified regions or telling in a particular text style. State-of-the-art methods are trained on annotated pairs of input controls and output captions. However, the scarcity of such well-annotated multimodal data largely limits their usability and scalability for interactive AI systems. Leveraging unimodal instruction-following foundation models is a promising alternative that benefits from broader sources of data. In this paper, we present Caption AnyThing (CAT), a foundation model augmented image captioning framework supporting a wide range of multimodel controls: 1) visual controls, including points, boxes, and trajectories; 2) language controls, such as sentiment, length, language, and factuality. Powered by Segment Anything Model (SAM) and ChatGPT, we unify the visual and language prompts into a modularized framework, enabling the flexible combination between different controls. Extensive case studies demonstrate the user intention alignment capabilities of our framework, shedding light on effective user interaction modeling in vision-language applications. Our code is publicly available at https://github.com/ttengwang/Caption-Anything.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Caption-Anything is a versatile tool combining image segmentation, visual captioning, and ChatGPT, generating tailored captions with diverse controls for user preferences. https://huggingface.co/spaces/TencentARC/Caption-Anything https://huggingface.co/spaces/VIPLab/Caption-Anything

1,776104PythonApr 7, 20233 years agoBSD-3-Clause
chatgptcontrollable-generationcontrollable-image-captioningimage-captioningsegment-anything

Similar Papers

Cite this paper

@article{wang2023caption,
  title  = {Caption Anything: Interactive Image Description with Diverse Multimodal Controls},
  author = {Teng Wang and Jinrui Zhang and Junjie Fei and Hao Zheng and Yunlong Tang and Zhe Li and Mingqi Gao and Shanshan Zhao},
  year   = {2023},
  eprint = {2305.02677},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.02677v3}
}

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

Discussion