[论文解读] HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attention
HiCLIP 将层级感知注意力加入 CLIP 的图像和文本两个分支,使无监督地发现层级结构并提升跨模态对齐,以用于视觉和视觉-语言任务。
The success of large-scale contrastive vision-language pretraining (CLIP) has benefited both visual recognition and multimodal content understanding. The concise design brings CLIP the advantage in inference efficiency against other vision-language models with heavier cross-attention fusion layers, making it a popular choice for a wide spectrum of downstream tasks. However, CLIP does not explicitly capture the hierarchical nature of high-level and fine-grained semantics conveyed in images and texts, which is arguably critical to vision-language understanding and reasoning. To this end, we equip both the visual and language branches in CLIP with hierarchy-aware attentions, namely Hierarchy-aware CLIP (HiCLIP), to progressively discover semantic hierarchies layer-by-layer from both images and texts in an unsupervised manner. As a result, such hierarchical aggregation significantly improves the cross-modal alignment. To demonstrate the advantages of HiCLIP, we conduct qualitative analysis on its unsupervised hierarchy induction during inference, as well as extensive quantitative experiments on both visual recognition and vision-language downstream tasks.
研究动机与目标
- 在视觉和语言中显式建模分层(局部到全局)语义,以提升多模态理解。
- 开发层级感知注意力掩码,使跨层逐步合并相邻的补丁/标记。
- 评估 HiCLIP 对视觉识别、图像-文本检索和视觉-语言推理的影响,并与 CLIP 家族基线进行比较。
提出的方法
- 通过引入掩码 C 来定义层级感知注意力,该掩码偏向将空间上/语义上相似的补丁或标记合并。
- 对于语言,计算相邻标记之间的邻近亲和分数,确保不易分裂、跨层的亲和力递增,并由沿标记路径的亲和力乘积推导出 C。
- 对视觉,将其扩展到二维网格图,通过计算四连通补丁之间的邻近亲和力并通过两条单步路径传播分数来形成 C,从而得到 Group Transformer。
- 使用类似 CLIP 的对比损失,通过图像的 Group Transformer 和文本的 Tree Transformer 对 HiCLIP 进行预训练;可选将自监督目标(HiDeCLIP)结合进来。
- 推理阶段,进行无监督层级诱导,通过提取跨层的邻近亲和力分数来形成层级树/组。
实验结果
研究问题
- RQ1层级感知注意力是否能提高 CLIP 的跨模态对齐,从而提升零样本视觉识别和下游的视觉-语言任务?
- RQ2在 HiCLIP 下,图像和文本中的层级结构如何显现,它们是否可用于无监督的层级诱导?
- RQ3与 CLIP 及相关基线相比,HiCLIP 在视觉单任务与视觉-语言任务上的数据规模与模型容量扩展性如何?
主要发现
- HiCLIP 在零样本视觉识别上显著优于 CLIP 风格的基线;在 1500 万数据下,11 个数据集的平均准确率从 31.8(CLIP)提升至 41.8(HiCLIP)。
- 在 3000 万数据下,HiCLIP 在视觉单任务基准上的平均分为 53.4,其占比 CLIP 48.4,而 HiDeCLIP 为 57.4,表明随着更大规模的预训练存在可扩展的收益。
- 在 MSCOCO 上跨数据规模,HiCLIP/HiDeCLIP 显著提升零样本图像文本检索;HiCLIP(15M)达到 Rsum 285.1,而 CLIP 为 211.5;HiCLIP(30M)达到 333.5,而 CLIP 为 300.8。
- 视觉-语言推理任务(VQA、SNLI-VE)也受益于 HiCLIP,相较于 CLIP 和 DeCLIP 基线具有更高的准确率和检索指标。
- 展示了无监督的层级诱导:视觉和文本的层级在跨层中显现,形成可解释的层级表示。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。