GroupSD: Self-Distillation from Intermediate ViT Layers for Generalizable Person Re-identification

Authors: Jieru Jia, Jian Yang, Yuhua Qian, Tao Yan, Chao Li, Qiuqi Ruan

Abstract:

Person re-identification (re-ID) methods have seen remarkable advancements in closed-world testbeds, but they fail to generalize well when deployed to unseen camera networks with domain shift. Domain generalization (DG) aims to circumvent this issue by training a model that performs well on arbitrary unseen target domains without re-training. While recent advances in Knowledge Distillation (KD) show promising performance in DG, most previous methods focus solely on the final output layers without taking into account the rich information in intermediate layers, which hinders the model from capturing nuanced and robust representations. This paper reveals the importance of intermediate layers and presents GroupSD, a lightweight Self-Distillation strategy that excavates the abundant knowledge in intermediate Vision Transformer (ViTs) layers with a simple yet effective grouping mechanism by organizing ViT layers into ensembles with similar properties. Moreover, a sub-network termed Adaptive Feature Weighting (AFW) is introduced to dynamically fuse features within each group with input-dependent weights. GroupSD requires no modification to backbone architectures and can be regarded as a simple baseline for exploring intermediate features that also enable cross-block information communication. Experiments on various DG re-ID benchmarks show that this straightforward framework achieves state-of-the-art performance while incurring marginal training cost.

Keywords:

Tue Aug 18 15:15:00 GMT+08:00 2026