ITSELF: Attention Guided Fine-Grained Alignment for Vision-Language Retrieval
Tien-Huy Nguyen, Huu-Loc Tran, Thanh Duc Ngo
TL;DR
ITSELF addresses fine-grained vision-language retrieval for text-based person search by turning encoder attention into an Attentive Bank for implicit local alignment. The core innovations are GRAB, which uses Multi-layer Attention for Robust Selection (MARS) to form a diverse, high-saliency token bank, and Adaptive Token Scheduler (ATS) to progressively focus on discriminative details during training. The method couples a global alignment loss with a local alignment objective, yielding a final similarity that blends coarse and fine-grained cues. Experiments on CUHK-PEDES, ICFG-PEDES, and RSTPReid show state-of-the-art performance among CLIP-based approaches and strong cross-dataset generalization, highlighting the practicality of attention-guided locality without external supervision.
Abstract
Vision Language Models (VLMs) have rapidly advanced and show strong promise for text-based person search (TBPS), a task that requires capturing fine-grained relationships between images and text to distinguish individuals. Previous methods address these challenges through local alignment, yet they are often prone to shortcut learning and spurious correlations, yielding misalignment. Moreover, injecting prior knowledge can distort intra-modality structure. Motivated by our finding that encoder attention surfaces spatially precise evidence from the earliest training epochs, and to alleviate these issues, we introduceITSELF, an attention-guided framework for implicit local alignment. At its core, Guided Representation with Attentive Bank (GRAB) converts the model's own attention into an Attentive Bank of high-saliency tokens and applies local objectives on this bank, learning fine-grained correspondences without extra supervision. To make the selection reliable and non-redundant, we introduce Multi-Layer Attention for Robust Selection (MARS), which aggregates attention across layers and performs diversity-aware top-k selection; and Adaptive Token Scheduler (ATS), which schedules the retention budget from coarse to fine over training, preserving context early while progressively focusing on discriminative details. Extensive experiments on three widely used TBPS benchmarks showstate-of-the-art performance and strong cross-dataset generalization, confirming the effectiveness and robustness of our approach without additional prior supervision. Our project is publicly available at https://trhuuloc.github.io/itself
