HGCLIP: Exploring Vision-Language Models with Graph Representations for Hierarchical Understanding

Peng Xia, Xingtong Yu, Ming Hu, Lie Ju, Zhiyong Wang +2 more
11/23/2023
cs.CV

Official code: richard-peng-xia/HGCLIP (46 stars, MIT, last commit 2024-11-30).

Abstract

Object categories are typically organized into a multi-granularity taxonomic hierarchy. When classifying categories at different hierarchy levels, traditional uni-modal approaches focus primarily on image features, revealing limitations in complex scenarios. Recent studies integrating Vision-Language Models (VLMs) with class hierarchies have shown promise, yet they fall short of fully exploiting the hierarchical relationships. These efforts are constrained by their inability to perform effectively across varied granularity of categories. To tackle this issue, we propose a novel framework (HGCLIP) that effectively combines CLIP with a deeper exploitation of the Hierarchical class structure via Graph representation learning. We explore constructing the class hierarchy into a graph, with its nodes representing the textual or image features of each category. After passing through a graph encoder, the textual features incorporate hierarchical structure information, while the image features emphasize class-aware features derived from prototypes through the attention mechanism. Our approach demonstrates significant improvements on 11 diverse visual recognition benchmarks. Our codes are fully available at https://github.com/richard-peng-xia/HGCLIP.

View on arXivView PDF

Code Implementations(1)

MIT

[COLING'25] HGCLIP: Exploring Vision-Language Models with Graph Representations for Hierarchical Understanding

463PythonSep 20, 20231 years agoMIT
graph-representationshierarchical-image-classificationmulti-modal-learningvision-language-model

Similar Papers

Cite this paper

@article{xia2023hgclip,
  title  = {HGCLIP: Exploring Vision-Language Models with Graph Representations for Hierarchical Understanding},
  author = {Peng Xia and Xingtong Yu and Ming Hu and Lie Ju and Zhiyong Wang and Peibo Duan and Zongyuan Ge},
  year   = {2023},
  eprint = {2311.14064},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.14064v3}
}

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/2311.14064.svg)](https://codeofpaper.com/paper/2311.14064)

Discussion