通过双重去偏机制,让图像描述随推理成本提升而更准确详实。
ScaleCap: Inference-Time Scalable Image Captioning via Dual-Modality Debiasing
- 用问答逐步注入视觉细节,动态补充信息
- 通过对比评分识别并剔除幻觉描述,提升准确性
- 适合追求高质量描述的科研与应用开发者
本文提出ScaleCap,一种推理时可扩展的图像描述生成策略,能生成更全面、详细的图像描述。主流多模态大模型存在固有偏差:多模态偏差导致描述粒度不均,对某些元素详述而对其他忽略;语言偏差引发不存在物体的幻觉。为解决此问题,提出可扩展的去偏描述方法,随着推理预算增加,持续丰富并校准描述内容。具体包含两个新组件:基于启发式的问题回答,根据图像生成内容相关问题并作答,逐步向描述中注入相关信息;句级离线对比解码,有效识别并消除由语言偏差引发的幻觉。随着推理成本增加,ScaleCap提出更多启发式问题,逐步捕获额外视觉细节,生成更准确、均衡、丰富的描述。大量模态对齐实验验证其有效性。使用ScaleCap标注45万张图像并用于LVLM预训练,在11个常用基准上实现一致性能提升。此外,通过将图像替换为描述进行VQA任务、从描述重建图像评估语义覆盖度,进一步展示生成描述的丰富性与保真度。代码已开源。
原文摘要 · Abstract (English)
This paper presents ScaleCap, an inference-time scalable image captioning strategy that generates comprehensive and detailed image captions. The key challenges of high-quality image captioning lie in the inherent biases of LVLMs: multimodal bias resulting in imbalanced descriptive granularity, offering detailed accounts of some elements while merely skimming over others; linguistic bias leading to hallucinated descriptions of non-existent objects. To address these issues, we propose a scalable debiased captioning strategy, which continuously enriches and calibrates the caption with increased inference budget. Specifically, we propose two novel components: heuristic question answering and contrastive sentence rating. The former generates content-specific questions based on the image and answers them to progressively inject relevant information into the caption. The latter employs sentence-level offline contrastive decoding to effectively identify and eliminate hallucinations caused by linguistic biases. With increased inference cost, more heuristic questions are raised by ScaleCap to progressively capture additional visual details, generating captions that are more accurate, balanced, and informative. Extensive modality alignment experiments demonstrate the effectiveness of ScaleCap. Annotating 450K images with ScaleCap and using them for LVLM pretraining leads to consistent performance gains across 11 widely used benchmarks. Furthermore, ScaleCap showcases superb richness and fidelity of generated captions with two additional tasks: replacing images with captions in VQA task, and reconstructing images from captions to assess semantic coverage. Code is available at https://github.com/Cooperx521/ScaleCap.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。