Introduction
Person re-identification (Re-ID) is the task of identifying the same individual across different, non-overlapping camera views. While deep learning has significantly advanced this field, models often struggle with "domain shift"—the performance drop when a model trained on one dataset (e.g., a sunny campus) is deployed in a different environment (e.g., a dimly lit subway). This paper introduces MetaBIN, a framework designed to enhance the generalization of Re-ID models to unseen target domains by addressing the fundamental problem of style bias.
The Normalization Dilemma: BN vs. IN
The primary cause of poor generalization in Re-ID is the conflict between identity features and style information. Standard Batch Normalization (BN) is effective at learning identity-related features but tends to preserve style variations such as lighting and camera angles, leading to overfitting on the source domain (under-style-normalization). Conversely, Instance Normalization (IN) removes style information but can inadvertently eliminate discriminative identity features (over-style-normalization).
While Batch-Instance Normalization (BIN) attempts to balance these two by using a learnable gate parameter $\rho$, it often overfits the specific styles of the training set. MetaBIN addresses this by using a meta-learning approach to find a more robust, domain-agnostic balance.
The MetaBIN Framework
MetaBIN employs a meta-learning pipeline inspired by Model-Agnostic Meta-Learning (MAML) to "stress-test" the normalization layers during training. Instead of aiming for a static setting, the model learns to recover from simulated "bad" normalization states.
- Simulating Failure States: The source data is split into meta-train and meta-test domains. During the meta-train phase, the model is intentionally pushed into unsuccessful states:
- Under-style-normalization: Biasing toward BN to force the model to distinguish identities despite style interference.
- Over-style-normalization: Biasing toward IN using specialized losses—Intra-domain scatter loss ($L_{scat}$) and Inter-domain shuffle loss ($L_{shuf}$)—to simulate identity blurring.
- Meta-Update: The model's balancing parameters ($\rho$) are updated based on its performance on the "unseen" meta-test domains after being subjected to these simulations.
- Cyclic Inner-Updating: A varying learning rate in the inner meta-loop simulates different levels of generalization difficulty, from easy to extreme.
Key Results and Efficiency
MetaBIN achieves state-of-the-art results on large-scale Domain Generalization (DG) benchmarks. Using a ResNet-50 backbone, it reached an average mAP of 73.6%, significantly outperforming previous methods like SNR (66.4%) and DualNorm (61.8%). It showed particularly strong gains on challenging datasets like GRID, with an 8.5% improvement in Rank-1 accuracy.
Beyond accuracy, the authors focused on practical deployment. By using first-order approximations and efficient memory management, MetaBIN remains computationally feasible. As shown in Figure 6, the framework maintains high accuracy while keeping memory usage well within the limits of standard hardware, preventing the meta-learning process from requiring massive hardware upgrades.
Conclusion
MetaBIN shifts the focus from finding a static normalization setting to training a model that can recover from poor normalization states. By simulating the trade-off between style and identity through meta-learning, it produces a Re-ID model that is truly domain-agnostic and robust for real-world deployment.
Summary updated