Seeing What Matters: Empowering CLIP with Patch Generation-to-Selection

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Pei, Gensheng, Chen, Tao, Wang, Yujia, Cai, Xinhao, Shu, Xiangbo, Zhou, Tianfei, Yao, Yazhou
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866909547391614976
author Pei, Gensheng
Chen, Tao
Wang, Yujia
Cai, Xinhao
Shu, Xiangbo
Zhou, Tianfei
Yao, Yazhou
author_facet Pei, Gensheng
Chen, Tao
Wang, Yujia
Cai, Xinhao
Shu, Xiangbo
Zhou, Tianfei
Yao, Yazhou
contents The CLIP model has demonstrated significant advancements in aligning visual and language modalities through large-scale pre-training on image-text pairs, enabling strong zero-shot classification and retrieval capabilities on various domains. However, CLIP's training remains computationally intensive, with high demands on both data processing and memory. To address these challenges, recent masking strategies have emerged, focusing on the selective removal of image patches to improve training efficiency. Although effective, these methods often compromise key semantic information, resulting in suboptimal alignment between visual features and text descriptions. In this work, we present a concise yet effective approach called Patch Generation-to-Selection to enhance CLIP's training efficiency while preserving critical semantic content. Our method introduces a gradual masking process in which a small set of candidate patches is first pre-selected as potential mask regions. Then, we apply Sobel edge detection across the entire image to generate an edge mask that prioritizes the retention of the primary object areas. Finally, similarity scores between the candidate mask patches and their neighboring patches are computed, with optimal transport normalization refining the selection process to ensure a balanced similarity matrix. Our approach, CLIP-PGS, sets new state-of-the-art results in zero-shot classification and retrieval tasks, achieving superior performance in robustness evaluation and language compositionality benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2503_17080
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Seeing What Matters: Empowering CLIP with Patch Generation-to-Selection
Pei, Gensheng
Chen, Tao
Wang, Yujia
Cai, Xinhao
Shu, Xiangbo
Zhou, Tianfei
Yao, Yazhou
Computer Vision and Pattern Recognition
The CLIP model has demonstrated significant advancements in aligning visual and language modalities through large-scale pre-training on image-text pairs, enabling strong zero-shot classification and retrieval capabilities on various domains. However, CLIP's training remains computationally intensive, with high demands on both data processing and memory. To address these challenges, recent masking strategies have emerged, focusing on the selective removal of image patches to improve training efficiency. Although effective, these methods often compromise key semantic information, resulting in suboptimal alignment between visual features and text descriptions. In this work, we present a concise yet effective approach called Patch Generation-to-Selection to enhance CLIP's training efficiency while preserving critical semantic content. Our method introduces a gradual masking process in which a small set of candidate patches is first pre-selected as potential mask regions. Then, we apply Sobel edge detection across the entire image to generate an edge mask that prioritizes the retention of the primary object areas. Finally, similarity scores between the candidate mask patches and their neighboring patches are computed, with optimal transport normalization refining the selection process to ensure a balanced similarity matrix. Our approach, CLIP-PGS, sets new state-of-the-art results in zero-shot classification and retrieval tasks, achieving superior performance in robustness evaluation and language compositionality benchmarks.
title Seeing What Matters: Empowering CLIP with Patch Generation-to-Selection
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2503.17080