One for More: Selecting Generalizable Samples for Generalizable ReID Model

Enwei Zhang, Xinyang Jiang, Hao Cheng, Ancong Wu, Fufu Yu, Ke Li, Xiaowei Guo, Feng Zheng, Wei-Shi Zheng, Xing Sun

Introduction

Person Re-identification (ReID) involves matching individuals across non-overlapping camera views. Despite advancements in deep learning, real-world ReID remains challenging due to data imbalances, noisy labels, and extreme variations in environmental conditions. Standard training paradigms often suffer from a "one-for-one" objective: the model is updated to minimize loss on a specific training batch, which does not necessarily translate to better generalization on unseen data. This often leads to overfitting on easy patterns or noisy samples.

The One-for-More Framework

To address these limitations, the authors propose the One-for-More framework. This approach shifts the focus from minimizing batch-specific loss to selecting samples that maximize the model's generalization ability. The framework consists of two components: a ReID model (the student) and a learnable Data Sampler (the teacher).

The One-for-More training pipeline, illustrating the interaction between the Data Sampler and the ReID model via expectation estimation.

The Sampler uses a Multi-Layer Perceptron (MLP) to predict selection probabilities. It is trained using a meta-learning objective: in each iteration, the sampler selects a batch, the ReID model is "virtually" updated, and the sampler is rewarded if this update reduces loss on a separate validation set. To handle the non-differentiable nature of sampling, the authors employ an expectation approximation for back-propagation through the ReID update process.

Experimental Evaluation

The method was evaluated on major ReID benchmarks including Market-1501, DukeMTMC-reID, and MSMT-17, as well as CIFAR-10 for general classification tasks.

  • Performance: On Market-1501, the framework achieved 82.27% mAP, significantly outperforming the baseline (78.73%). On the more challenging MSMT-17 dataset, it reached 51.60% mAP.
  • Robustness: The model proved highly resistant to label noise and data imbalance. In experiments with 30% missing data for certain identities, it maintained an 84.68% mAP, whereas standard baselines degraded significantly.
  • Feature Quality: The model demonstrated superior ability in matching difficult cross-viewpoint cases, such as identifying a person from both front and back views, indicating it learned more robust, identity-centric features.

Analysis of the Learned Sampler

A key strength of the One-for-More approach is the emergence of an Adaptive Curriculum. Unlike fixed heuristics like Focal Loss or OHEM, the sampler dynamically adjusts its strategy based on the model's current state and actual generalization performance.

Visualization of samples selected by the sampler at different training stages, demonstrating an emergent adaptive curriculum.

As shown in the visualization, the sampler initially prioritizes clear, high-resolution images to facilitate early convergence. As training progresses (e.g., by Epoch 200), it shifts toward more complex samples—those with occlusions, significant pose changes, or motion blur—to push the model's boundaries. Furthermore, because noisy samples do not contribute to broader generalization, the sampler naturally learns to assign them low selection probabilities, providing inherent noise resistance.

Conclusion and Future Work

The "One-for-More" objective provides a principled way to select training data based on its utility for generalization rather than simple batch-wise loss reduction. While the current implementation introduces some computational overhead due to the look-ahead update step, it represents a significant step toward more robust and automated training pipelines for ReID and beyond. Future work may explore more complex sampler architectures and more efficient expectation estimation techniques to scale the framework to massive datasets.

Summary updated

BibTeX
@inproceedings{zhang2021one,
  author = {Enwei Zhang and Xinyang Jiang and Hao Cheng and Ancong Wu and Fufu Yu and Ke Li and Xiaowei Guo and Feng Zheng and Wei-Shi Zheng and Xing Sun},
  title = {{One for More: Selecting Generalizable Samples for Generalizable ReID Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i4.16444},
}
Figure