HarmoCLIP: Harmonizing Global and Regional Representations in Contrastive Vision-Language Models

Haoxi Zeng, Haoxuan Li, Yi Bin, Pengpeng Zeng, Xing Xu +2 more
11/27/2025
cs.CVcs.AI

Official code: Erosist/HarmoCLIP (4 stars, last commit 2025-12-01).

Abstract

Contrastive Language-Image Pre-training (CLIP) has demonstrated remarkable generalization ability and strong performance across a wide range of vision-language tasks. However, due to the lack of region-level supervision, CLIP exhibits limited fine-grained semantic understanding. Although several methods attempt to mitigate this issue, they unintentionally disrupt the global alignment, resulting in a persistent trade-off where improving local perception simultaneously degrades global coherence. In this paper, we propose HarmoCLIP, a novel framework designed to harmonize global and region representations within CLIP. We first identify that the absence of direct alignment between local textual and visual semantics is the fundamental cause of the trade-off. To address this, HarmoCLIP introduces an explicit fine-grained semantic supervision term that directly aligns textual segments with their corresponding visual regions, effectively bridging the image region space and the textual space. To further strengthen the representation capability at the local level, our method introduces a novel Region-Language Alignment supervision strategy that promotes fine-grained semantic learning without compromising global semantic consistency. Extensive experiments demonstrate that HarmoCLIP achieves state-of-the-art (improvement up to 69.78%) performance on the global task of retrieval and yields a substantial 3.2% improvement in Top-1 accuracy on the region task of bounding-box classification, consistently outperforming prior approaches while providing a balanced, efficient, and plug-and-play solution to the global-local trade-off in CLIP. Code is available at https://github.com/Erosist/HarmoCLIP.

View on arXivView PDF

Code Implementations(1)

Erosist/HarmoCLIPOfficial100%

The code for paper: HarmoCLIP: Harmonizing Global and Regional Representations in Contrastive Vision-Language Models

40Shell, PythonNov 27, 202510 months ago

Similar Papers

Cite this paper

@article{zeng2025harmoclip,
  title  = {HarmoCLIP: Harmonizing Global and Regional Representations in Contrastive Vision-Language Models},
  author = {Haoxi Zeng and Haoxuan Li and Yi Bin and Pengpeng Zeng and Xing Xu and Yang Yang and Heng Tao Shen},
  year   = {2025},
  eprint = {2511.22594},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22594v1}
}

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

Discussion