Skip to main content
QUICK REVIEW

[论文解读] Dense and Aligned Captions (DAC) Promote Compositional Reasoning in VL Models

Sivan Doveh, Assaf Arbelle|arXiv (Cornell University)|May 31, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 12
一句话总结

这篇论文提出 Dense and Aligned Captions (DAC) 通过提升 caption 质量和密度来改善视觉-语言模型的组合推理,然后用 MIL 与负样本增强进行微调;应用于 CLIP,在 VL 组合基准上取得实质性提升,同时不影响线性迁移能力。

ABSTRACT

Vision and Language (VL) models offer an effective method for aligning representation spaces of images and text, leading to numerous applications such as cross-modal retrieval, visual question answering, captioning, and more. However, the aligned image-text spaces learned by all the popular VL models are still suffering from the so-called `object bias' - their representations behave as `bags of nouns', mostly ignoring or downsizing the attributes, relations, and states of objects described/appearing in texts/images. Although some great attempts at fixing these `compositional reasoning' issues were proposed in the recent literature, the problem is still far from being solved. In this paper, we uncover two factors limiting the VL models' compositional reasoning performance. These two factors are properties of the paired VL dataset used for finetuning and pre-training the VL model: (i) the caption quality, or in other words `image-alignment', of the texts; and (ii) the `density' of the captions in the sense of mentioning all the details appearing on the image. We propose a fine-tuning approach for automatically treating these factors leveraging a standard VL dataset (CC3M). Applied to CLIP, we demonstrate its significant compositional reasoning performance increase of up to $\sim27\%$ over the base model, up to $\sim20\%$ over the strongest baseline, and by $6.7\%$ on average.

研究动机与目标

  • 识别限制视觉-语言模型在组合推理方面的因素,特别是 caption 的质量和密度。
  • 提出基于 DAC 的微调流程,使用改进的 caption 以及带负样本增强的 MIL。
  • 在 CLIP 上使用 CC3M 评估 DAC,并评估在 VL 组合基准和线性迁移能力上的提升。

提出的方法

  • 通过使用 caption 生成模型(BLIP2)生成与图像条件相关的 caption 来提升 caption 质量,从而改善图像-文本对齐。
  • 通过基于大语言模型的扩展和语义过分割(SAM)来提高 caption 密度,为每张图像创建多个 caption,然后应用 MIL 损失以处理噪声。
  • 对训练 caption 应用负向文本增强,以突出组合属性、关系和状态。
  • 使用参数高效微调(LoRA),在对增强数据进行微调的同时避免遗忘基础模型。
  • 使用 CLIP 风格对比损失、负样本损失以及基于 MIL 的损失(L_MIL^{neg})的组合进行训练,以优化图像-文本对齐。
  • 在 CLIP-BASE 与 CC3M 上演示 DAC,和基线(CLIP、BLIP2、SVLC、NegClip)进行比较,并通过 Elevater LP 评估线性迁移。

实验结果

研究问题

  • RQ1视觉-语言数据集中的 caption 质量和密度如何影响模型的组合推理?
  • RQ2自动化的 caption 质量/密度提升是否可以在不损害下游迁移能力的情况下提升组合推理?
  • RQ3带负向文本增强的 MIL 基损失是否能更好地利用增强后的 caption 进行 VL 对齐?
  • RQ4LLM 基的密度扩展与 SAM 基的密度扩展对组合推理提升的贡献分别是什么?

主要发现

  • DAC 在 VL 基准的组合推理方面,相较于基础 CLIP,在对象间关系方面提升高达约27%,在最强基线上的平均提升约6.7%。
  • 仅提升 caption 质量即可带来显著提升,结合 caption 密度扩展后进一步提升。
  • DAC 变体(DAC-LLM 和 DAC-SAM)在 VL-Checklist 和 ARO 基准测试的多数指标上优于强基线。
  • 使用 LoRA 微调可维持接近线性迁移能力,仅在 Elevater 的 5-shot LP 上下降约 1.5%。
  • 使用增强后的 caption 能实现对未标记图像集合的利用,以改进 VL 的组合推理。
  • MIL 变体中带负向增强的 L_MIL^{neg} 提供了最佳消融结果。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。