What Makes You Unique? Attribute Prompt Composition for Object Re-Identification

Yingquan Wang, Pingping Zhang, Chong Sun, Dong Wang, Huchuan LuarXiv 2025 · DOI

Overview

The Attribute Prompt Composition (APC) framework addresses a fundamental trade-off in object re-identification (ReID): the balance between fine-grained discrimination and environmental generalization. By utilizing a dictionary of learnable textual attributes and a "Fast-Slow" training strategy, APC achieves superior performance across diverse camera environments while maintaining the robust perceptual knowledge of pre-trained vision-language models.

The Re-Identification Challenge

Object ReID involves identifying the same person or vehicle across non-overlapping camera networks. Researchers typically face a "Goldilocks" problem:

  1. Discrimination: Capturing minute details (e.g., a specific logo) to distinguish similar individuals.
  2. Generalization: Avoiding overfitting to domain-specific noise like lighting or backgrounds.

Existing Vision-Language Models (VLMs) like CLIP offer immense general knowledge, but standard fine-tuning for ReID often leads to "catastrophic forgetting," where this general robustness is sacrificed for narrow task accuracy.

Proposed Method: Attribute Prompt Composition

The authors introduce two primary innovations to solve these issues: the Attribute Prompt Generator and the Fast-Slow Training Strategy.

1. Attribute Prompt Generator (APG)

Instead of using fixed identity labels, the model employs a Semantic Attribute Dictionary (SAD) consisting of learnable vectors that represent various visual traits. A Prompt Composition Module (PCM) adaptively selects and blends these attributes based on visual features, allowing the model to describe an individual as a unique combination of shared traits. This approach makes the model more robust to domain shifts, as textual concepts are inherently more stable than raw pixel values across different lighting conditions.

The detailed architecture of the Attribute Prompt Generator (APG) and the Fast-Slow Training Strategy (FSTS).

2. Fast-Slow Training Strategy (FSTS)

To preserve the model's pre-trained VLM intelligence, FSTS uses a dual-stream approach. The Fast Update Stream (FUS) learns rapidly from task-specific ReID data, while the Slow Update Stream (SUS) is updated via an Exponential Moving Average (EMA). The SUS acts as a stable teacher, providing consistent prototypes that guide the learning process without chasing the noise present in individual training batches.

Experimental Results

The APC framework was rigorously tested on both person and vehicle ReID benchmarks, consistently outperforming state-of-the-art (SOTA) methods.

Person Re-Identification Performance

On the MSMT17 dataset, APC achieved 77.1% mAP, a 1.3% improvement over the previous SOTA (CLIP-ReID). It also showed exceptional performance in domain generalization; when trained on MSMT17 and tested on the unseen Market1501 dataset, it reached 55.7% mAP, significantly outperforming specialized generalization methods like OGNorm and PAT.

Performance comparison of APC against SOTA methods on major person ReID benchmarks.

Vehicle Re-Identification and Efficiency

The framework is highly versatile, achieving 85.1% mAP and 97.9% Rank-1 accuracy on the VeRi-776 vehicle dataset. Despite its architectural complexity, the model remains efficient, processing approximately 580 images per second—a negligible 1.5% slowdown compared to simpler baselines.

Conclusion

By treating identity as a composition of robust textual attributes rather than a monolithic ID, APC provides a powerful framework for generalized object ReID. The use of a momentum-based "slow" teacher ensures that the model retains its broad perceptual abilities while mastering task-specific details. Future research will explore improving the interpretability of these learnable attributes and further optimizing the computational overhead of the dictionary selection process.

Summary updated

BibTeX
@misc{wang2025what,
  author = {Yingquan Wang and Pingping Zhang and Chong Sun and Dong Wang and Huchuan Lu},
  title = {{What Makes You Unique? Attribute Prompt Composition for Object Re-Identification}},
  year = {2025},
  eprint = {2509.18715},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.18715},
}
Figure