Papers › Caption Anything: Interactive Image Description with Diverse Multimodal Controls

Caption Anything: Interactive Image Description with Diverse Multimodal Controls

4 May 2023arXiv:2305.02677archive 2025-07-28

Teng Wang, Jinrui Zhang, Junjie Fei, Hao Zheng, Yunlong Tang, Zhe Li, Mingqi Gao, Shanshan Zhao

Controllable image captioning is an emerging multimodal topic that aims to describe the image with natural language following human purpose, 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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.02677")

Code

Syntology Ran 3 of 10 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ttengwang/caption-anything officialmentioned in papermentioned on GitHubpytorchBSD-3-Clause report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 3 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
1ran
7unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from ttengwang/caption-anything. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

contrastive_loss ttengwang/caption-anything/caption_anything/captioner/modeling_blip.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · 4675779aec92d6c0 · report
cut_dialogue_history ttengwang/caption-anything/caption_anything/utils/chatbot.py official repository ran · our draft was wrong fingerprinted BSD-3-Clause (permissive) · 0f0179451c7c8909 · report
prompts ttengwang/caption-anything/caption_anything/utils/chatbot.py official repository ran BSD-3-Clause (permissive) · e8bafcb096991087 · report
blip_loss ttengwang/caption-anything/caption_anything/captioner/modeling_blip.py official repository unverified BSD-3-Clause (permissive) · a5e8522096c36f22 · report
boundary ttengwang/caption-anything/caption_anything/captioner/base_captioner.py official repository unverified BSD-3-Clause (permissive) · ce21ed86e2cfbd5d · report
get_new_image_name ttengwang/caption-anything/caption_anything/utils/chatbot.py official repository unverified BSD-3-Clause (permissive) · 5ae4d76bf88ad349 · report
gt_bbox ttengwang/caption-anything/caption_anything/utils/densecap_painter.py official repository unverified BSD-3-Clause (permissive) · 91c053efaa6c0477 · report
new_seg_to_box ttengwang/caption-anything/caption_anything/captioner/base_captioner.py official repository unverified BSD-3-Clause (permissive) · 46167d2d7c39ffb7 · report
parse_bbox ttengwang/caption-anything/caption_anything/utils/densecap_painter.py official repository unverified BSD-3-Clause (permissive) · 68ef60bd886a1090 · report
seg_to_box ttengwang/caption-anything/caption_anything/captioner/base_captioner.py official repository unverified BSD-3-Clause (permissive) · ce858c1a6ea89f7c · report

Tasks

Image CaptioningInstruction Followingcontrollable image captioning

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections