LSTKC: Long Short-Term Knowledge Consolidation for Lifelong Person Re-identification

Kunlun Xu, Xu Zou, Jiahuan Zhou

Abstract

Lifelong Person Re-identification (LReID) aims to train a single model on a continuous stream of datasets while mitigating catastrophic forgetting. Traditional methods often rely on storing historical exemplars, which raises privacy concerns and increases storage overhead. This paper introduces Long Short-Term Knowledge Consolidation (LSTKC), an exemplar-free framework that addresses these challenges. LSTKC filters out erroneous knowledge from previous models using ground-truth labels of current data and adaptively fuses model parameters based on estimated knowledge differences. Experimental results across 12 datasets demonstrate that LSTKC achieves state-of-the-art performance and exhibits superior generalization to unseen domains.

Introduction

Person Re-identification (ReID) models frequently suffer from performance degradation when deployed across different environments due to domain shifts. Lifelong ReID (LReID) addresses this by enabling models to learn continuously from a stream of datasets. However, two primary hurdles persist: catastrophic forgetting, where the model loses previously acquired knowledge, and privacy/storage overhead associated with maintaining image exemplars from past datasets.

Existing exemplar-free approaches typically employ Knowledge Distillation (KD) to preserve old knowledge. However, as illustrated in Figure 1, these methods often inadvertently distill "erroneous knowledge." Because old models may perform poorly on new, unseen domains, blindly mimicking their outputs can lead the new model to learn incorrect relational patterns.

Comparison between existing distillation methods and the proposed LSTKC framework.

Methods

The LSTKC framework consists of two primary modules designed to handle knowledge at different temporal scales: Short-Term Knowledge Transfer and Long-Term Knowledge Consolidation.

Rectification-based Short-Term Knowledge Transfer (R-STKT)

During the training phase on a new dataset, LSTKC utilizes a "Relation Matrix" to track image similarities. To prevent the distillation of errors, the framework compares the predictions of the old model ($M_{t-1}$) with the new model ($M_t^*$) using the ground-truth labels of the current data. By identifying false positives and false negatives in the old model's predictions, the system "rectifies" the relation matrix. This ensures that only accurate relational knowledge is distilled into the new model, preventing the propagation of domain-specific errors.

Estimation-based Long-Term Knowledge Consolidation (E-LTKC)

After training on a specific step, LSTKC performs a knowledge-guided model fusion. Unlike standard fusion techniques that use fixed weights, E-LTKC calculates a scalar value ($\delta_t$) representing the "knowledge difference" between the old and new models. This value adaptively determines the fusion ratio for model parameters, balancing the retention of historical features with the integration of new information.

The complete LSTKC framework architecture, including short-term knowledge transfer and long-term consolidation.

Experimental Results

The researchers evaluated LSTKC on a benchmark of 12 datasets, including five seen domains (Market-1501, DukeMTMC-reID, CUHK-SYSU, MSMT17-V2, and CUHK03) and seven unseen domains for testing generalization.

Performance on Seen and Unseen Domains

LSTKC significantly outperformed existing state-of-the-art (SOTA) methods such as PatchKD and AKA. On seen domains, it improved average mAP/Rank@1 by up to 6.4%/9.4%. More impressively, it demonstrated robust generalization on unseen domains, surpassing SOTA by up to 9.0%/5.5%. Notably, the consolidated model often outperformed a "JointTrain" model (trained on all data simultaneously), suggesting that the consolidation process encourages the learning of more generalizable, domain-agnostic features.

Ablation Studies

Ablation experiments confirmed the necessity of both modules. Removing either the Rectification (R-STKT) or the Consolidation (E-LTKC) led to a significant performance drop, highlighting the importance of filtering short-term errors and adaptively managing long-term parameter fusion.

Discussion and Conclusion

LSTKC provides a robust, privacy-preserving solution for LReID. By treating the old model as an unreliable teacher and rectifying its "lessons" before distillation, the framework avoids the pitfalls of traditional KD. Furthermore, adaptive parameter fusion ensures a more nuanced balance between stability and plasticity.

While effective, LSTKC faces some limitations. The distillation constraints can slightly hinder feature acquisition on the very first dataset in a sequence. Additionally, the computational cost of calculating the relation matrix scales with the number of identities. Future work includes adapting this framework to Vision Transformer (ViT) architectures and optimizing the computational efficiency of the consolidation process. Overall, LSTKC represents a significant step toward deploying adaptive ReID systems in real-world, privacy-sensitive environments.

Summary updated

BibTeX
@inproceedings{xu2024lstkc,
  author = {Kunlun Xu and Xu Zou and Jiahuan Zhou},
  title = {{LSTKC: Long Short-Term Knowledge Consolidation for Lifelong Person Re-identification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i14.29554},
}
Figure