Lifelong Unsupervised Domain Adaptive Person Re-identification with Coordinated Anti-forgetting and Adaptation

Zhipeng Huang, Zhizheng Zhang, Cuiling Lan, Wenjun Zeng, Peng Chu, Quanzeng You, Jiang Wang, Zicheng Liu, Zhengjun Zha

Abstract

This paper addresses the challenge of Lifelong Unsupervised Domain Adaptive (LUDA) person re-identification, where models must continuously adapt to new, unlabeled camera streams without forgetting previous knowledge. We propose CLUDA-ReID, a framework that utilizes Coordinated Data Replay (CDR) to align adaptation and anti-forgetting goals via meta-learning, and Relational Consistency Learning (RCL) to preserve sample affinities during retrieval. Experiments on multiple benchmarks demonstrate that CLUDA-ReID significantly mitigates catastrophic forgetting and improves adaptation in both stationary and dynamic environments.

Introduction

Person Re-identification (ReID) is the task of spotting the same individual across different cameras, times, and locations. While Unsupervised Domain Adaptation (UDA) has helped models move from a labeled "source" dataset to an unlabeled "target" environment, standard UDA assumes you have all the target data upfront.

In real-world security systems, data arrives in a stream. A system might encounter new lighting conditions, camera angles, or entirely new groups of people over months. Existing models suffer from two main issues in this scenario:

  1. Catastrophic Forgetting: As the model learns from new video streams, it "overwrites" the features that helped it recognize people in previous environments.
  2. Suboptimal Adaptation: Simply replaying old data alongside new data often leads to conflicting optimization goals, slowing down how quickly the model can adapt to the current environment.

The CLUDA-ReID Framework

The authors propose a framework called CLUDA-ReID, featuring two main innovations designed to balance the acquisition of new knowledge with the preservation of old knowledge.

Overview of the CLUDA-ReID framework, illustrating Coordinated Data Replay (CDR) and Relational Consistency Learning (RCL).

Coordinated Data Replay (CDR)

Instead of just mixing old and new data in a batch, CDR uses a meta-learning approach inspired by MAML (Model-Agnostic Meta-Learning). It treats "adaptation to new data" as a meta-train step and "anti-forgetting of old data" as a meta-test step. This forces the model to find a gradient direction that satisfies both tasks simultaneously, ensuring that learning new things supports—or at least doesn't hurt—remembering old things.

Relational Consistency Learning (RCL)

Standard knowledge distillation usually tries to make a new model's classification outputs match an old model's. However, ReID is a retrieval task based on ranking. RCL focuses on preserving the affinities (how similar person A is to person B) between samples. By keeping these relative relationships consistent, the model maintains its ranking ability even as its internal feature representations shift.

ID-wise Reservoir Sampling

To manage the memory buffer, the system uses a sampling strategy that prioritizes keeping a diverse set of unique identities rather than just random images, which is crucial for fine-grained ReID.

Experimental Evaluation

The researchers evaluated their method on several standard ReID benchmarks (Market1501, CUHK-SYSU, MSMT17) and a new benchmark, MMP-Retrieval, designed to evaluate zero-shot generalization to completely unseen domains after several stages of adaptation.

Performance comparison of CLUDA-ReID components on PersonX and Market1501 datasets across multiple stages.

Key Results

  • Superior Adaptation: In dynamic scenarios, CLUDA-ReID outperformed basic stage-wise adaptation by significant margins. On the MSMT17 dataset, it achieved a 14.64% mAP, nearly doubling the performance of the baseline (7.18%).
  • Reduced Forgetting: When returning to a previously seen domain (like Market1501) after training on others, CLUDA-ReID maintained much higher accuracy (76.25% Rank-1) compared to the baseline (50.63% Rank-1).
  • Zero-Shot Generalization: The model showed a steady increase in performance on the unseen MMP-Retrieval dataset as it progressed through more training stages, suggesting that lifelong learning helps the model learn more robust, universal features.

Conclusion

CLUDA-ReID demonstrates that anti-forgetting and adaptation are not necessarily a zero-sum game. By using meta-optimization and relational distillation, the model can find "harmonious" updates that improve generalization. While the method relies on a fixed-size memory buffer and incurs some computational overhead due to meta-learning, it represents a significant step toward deploying robust ReID systems in evolving real-world environments.

Summary updated

BibTeX
@inproceedings{huang2021lifelong,
  author = {Zhipeng Huang and Zhizheng Zhang and Cuiling Lan and Wenjun Zeng and Peng Chu and Quanzeng You and Jiang Wang and Zicheng Liu and Zhengjun Zha},
  title = {{Lifelong Unsupervised Domain Adaptive Person Re-identification with Coordinated Anti-forgetting and Adaptation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr52688.2022.01389},
}
Figure