From Local Details to Global Context: Advancing Vision-Language Models with Attention-Based Selection
Abstract
Pretrained vision-language models (VLMs), e.g., CLIP, demonstrate impressive zero-shot capabilities on downstream tasks. Prior research highlights the crucial role of visual augmentation techniques, like random cropping, in alignment with fine-grained class descriptions generated by large language models (LLMs), significantly enhancing zero-shot performance by incorporating multi-view information. However, the inherent randomness of these augmentations can inevitably introduce background artifacts and cause models to overly focus on local details, compromising global semantic understanding. To address these issues, we propose an Attention-Based Selection (ABS) method from local details to global context, which applies attention-guided cropping in both raw images and feature space, supplement global semantic information through strategic feature selection. Additionally, we introduce a soft matching technique to effectively filter LLM descriptions for better alignment. ABS achieves state-of-the-art performance on out-of-distribution generalization and zero-shot classification tasks. Notably, ABS is training-free and even rivals few-shot and test-time adaptation methods.
Cite
Text
Cai et al. "From Local Details to Global Context: Advancing Vision-Language Models with Attention-Based Selection." Proceedings of the 42nd International Conference on Machine Learning, 2025.Markdown
[Cai et al. "From Local Details to Global Context: Advancing Vision-Language Models with Attention-Based Selection." Proceedings of the 42nd International Conference on Machine Learning, 2025.](https://mlanthology.org/icml/2025/cai2025icml-local/)BibTeX
@inproceedings{cai2025icml-local,
title = {{From Local Details to Global Context: Advancing Vision-Language Models with Attention-Based Selection}},
author = {Cai, Lincan and Kang, Jingxuan and Li, Shuang and Ma, Wenxuan and Xie, Binhui and Qin, Zhida and Liang, Jian},
booktitle = {Proceedings of the 42nd International Conference on Machine Learning},
year = {2025},
pages = {6229-6242},
volume = {267},
url = {https://mlanthology.org/icml/2025/cai2025icml-local/}
}