[论文解读] Caption Anything: Interactive Image Description with Diverse Multimodal Controls
Caption Anything (CAT) 是一个无训练框架,通过整合 SAM、BLIP-2/LLMs 与 ChatGPT,为零样本可控图像描述生成,提供多样的视觉和语言控制。
Controllable image captioning is an emerging multimodal topic that aims to describe the image with natural language following human purpose, $ extit{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.
研究动机与目标
- 推动可控图像描述,使描述与用户意图保持一致。
- 通过利用基础模型来支持广泛的控制信号,以克服数据稀缺。
- 将视觉与语言控制统一为模块化、可扩展的表示。
- 展示面向对象的对话和图像段落描述的互动能力。
提出的方法
- 使用 Segment Anything Model (SAM) 将视觉控制(点、框、轨迹)转换为像素级掩模。
- 使用预训练的字幕模型(BLIP-2)为掩码区域生成原始标题。
- 应用可视化的逐步推理链进行逐步推理,将标题聚焦于用户选择的对象上。
- 使用与语言控制对应的文本提示,通过指令微调的语言模型(如 ChatGPT)对原始标题进行细化。
- 将视觉和语言控制统一为掩码和文本提示,以便灵活扩展新的控制。
实验结果
研究问题
- RQ1一个零样本、基于基础模型的框架是否能够在多样的视觉控制和语言风格下生成可控的描述?
- RQ2如何将视觉和语言控制统一起来,以在无需特定任务训练的情况下实现灵活、交互式的标题生成?
- RQ3逐步可视化推理对将标题定位到用户所选区域的影响是什么?
- RQ4如何利用辅助工具(OCR、VQA)将 CAT 扩展到面向对象的对话和图像段落描述?
主要发现
- CAT 支撑多样的视觉控制(点、框、轨迹)和语言控制(情感、长度、语言、事实性)用于标题生成。
- 通过将 BLIP-2 与 SAM 和指令微调的 LLM 结合,框架实现了零样本标题生成。
- 视觉思维链提高了对用户所选区域的聚焦,并增强了描述细节。
- 文本细化器(ChatGPT)通过文本提示将标题定制为用户偏好。
- CAT 支持通过辅助工具和提示链扩展到面向对象的对话和图像段落描述。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。