English

A Contrastive Learning Framework Empowered by Attention-based Feature Adaptation for Street-View Image Classification

Computer Vision and Pattern Recognition 2026-02-19 v1 Artificial Intelligence Machine Learning

Abstract

Street-view image attribute classification is a vital downstream task of image classification, enabling applications such as autonomous driving, urban analytics, and high-definition map construction. It remains computationally demanding whether training from scratch, initialising from pre-trained weights, or fine-tuning large models. Although pre-trained vision-language models such as CLIP offer rich image representations, existing adaptation or fine-tuning methods often rely on their global image embeddings, limiting their ability to capture fine-grained, localised attributes essential in complex, cluttered street scenes. To address this, we propose CLIP-MHAdapter, a variant of the current lightweight CLIP adaptation paradigm that appends a bottleneck MLP equipped with multi-head self-attention operating on patch tokens to model inter-patch dependencies. With approximately 1.4 million trainable parameters, CLIP-MHAdapter achieves superior or competitive accuracy across eight attribute classification tasks on the Global StreetScapes dataset, attaining new state-of-the-art results while maintaining low computational cost. The code is available at https://github.com/SpaceTimeLab/CLIP-MHAdapter.

Keywords

Cite

@article{arxiv.2602.16590,
  title  = {A Contrastive Learning Framework Empowered by Attention-based Feature Adaptation for Street-View Image Classification},
  author = {Qi You and Yitai Cheng and Zichao Zeng and James Haworth},
  journal= {arXiv preprint arXiv:2602.16590},
  year   = {2026}
}
R2 v1 2026-07-01T10:41:34.920Z