Domain generalizable person re-identification (DG re-ID) aims to learn discriminative representations that are robust to distributional shifts. While data augmentation is a straightforward solution to improve generalization, certain augmentations exhibit a polarized effect in this task, enhancing in-distribution performance while deteriorating out-of-distribution performance. In this paper, we investigate this phenomenon and reveal that it leads to sparse representation spaces with reduced uniformity. To address this issue, we propose a novel framework, Balancing Alignment and Uniformity (BAU), which effectively mitigates this effect by maintaining a balance between alignment and uniformity. Specifically, BAU incorporates alignment and uniformity losses applied to both original and augmented images and integrates a weighting strategy to assess the reliability of augmented samples, further improving the alignment loss. Additionally, we introduce a domain-specific uniformity loss that promotes uniformity within each source domain, thereby enhancing the learning of domain-invariant features. Extensive experimental results demonstrate that BAU effectively exploits the advantages of data augmentation, which previous studies could not fully utilize, and achieves state-of-the-art performance without requiring complex training procedures.
Fig. Analysis of alignment and uniformity.
(a) Alignment \((\mathcal{L}_{\mathrm{align}})\) and uniformity \((\mathcal{L}_{\mathrm{uniform}})\) on Market-1501 when MS+CS+C3 \(\rightarrow\) M under Protocol-3 with varying augmentation probabilities.
(b) T-SNE visualization with and without the domain-specific uniformity loss \(\mathcal{L}_{\mathrm{domain}}\).
The values in parentheses in each legend label indicate the uniformity of the corresponding domain.
@inproceedings{
cho2024generalizable,
title={Generalizable Person Re-identification via Balancing Alignment and Uniformity},
author={Yoonki Cho and Jaeyoon Kim and Woo Jae Kim and Junsik Jung and Sung-Eui Yoon},
booktitle={Advances in Neural Information Processing Systems},
year={2024},
}