HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attention

Shijie Geng, Jianbo Yuan, Yu Tian, Yuxiao Chen, Yongfeng Zhang
3/6/2023
cs.CVcs.CLcs.LG

No official code found. Best implementation: jeykigung/HiCLIP (31 stars, Apache-2.0, last commit 2023-03-02).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

jeykigung/HiCLIPCommunity100%
Apache-2.0
311Feb 28, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{geng2023hiclip,
  title  = {HiCLIP: Contrastive Language-Image Pretraining with Hierarchy-aware Attention},
  author = {Shijie Geng and Jianbo Yuan and Yu Tian and Yuxiao Chen and Yongfeng Zhang},
  year   = {2023},
  eprint = {2303.02995},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.02995v1},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.02995.svg)](https://codeofpaper.com/paper/2303.02995)

Discussion