Incremental Learning in Person Re-Identification

Prajjwal BhargavaarXiv 2018

Abstract

Person Re-Identification (ReID) remains a challenging computer vision task due to variations in lighting, pose, and background. Deep learning models often suffer from catastrophic forgetting when trained sequentially on new tasks. We propose a multi-head architecture and a novel Covariance loss to enable incremental learning in ReID. By sharing a base feature extractor and utilizing task-specific heads, our model achieves state-of-the-art results across multiple datasets while maintaining performance on previous tasks without needing original training data. Evaluation on Market 1501 and Duke MTMC datasets demonstrates the efficiency of this approach.

Introduction

Person Re-Identification involves recognizing the same individual across non-overlapping camera views. A significant hurdle in deploying these systems is incremental learning: the ability to learn new datasets (Task B) without losing performance on original ones (Task A). Standard solutions like knowledge distillation or data rehearsal are often computationally expensive or restricted by privacy concerns. This paper introduces a modular architecture and a discriminative loss function to address these challenges efficiently.

Methodology

The proposed system utilizes a modular design to balance stability and plasticity, allowing the model to expand its knowledge base without the overhead of maintaining multiple full-sized models.

Architecture

The model consists of a shared base and multiple task-specific heads:

  1. Base Model: A ResNet50 backbone, pretrained on ImageNet, serves as a universal feature extractor. The final pooling and fully connected layers are removed to preserve raw spatial feature maps.
  2. Multi-Head Pipelines: Each dataset is assigned a specific "head" comprising two convolutional blocks (using 1x1 and 3x3 kernels, Batch Normalization, and Leaky ReLU) followed by a fully connected layer.
Proposed multi-head architecture for incremental Person Re-ID, showing the transition from a shared ResNet50 base to task-specific output heads.

Training Strategy

Training occurs in two phases. In Phase 1, the base model and the first head are trained on an initial dataset (e.g., Market 1501). In Phase 2, the first head is frozen, and the base model is trained alongside a new head for a second dataset (e.g., Duke MTMC). This isolation allows the base model to learn general human features while heads capture dataset-specific nuances.

Covariance Loss

A core contribution is the Covariance loss, a contrastive objective designed to minimize the distance between features of the same identity while maximizing the distance between different identities. This loss is combined with standard Cross-Entropy loss to refine the model's discriminative power.

Experimental Results

The model was evaluated on the Market 1501 and Duke MTMC-reID benchmarks.

Optimization and Hyperparameters

The choice of optimizer and hyperparameters proved critical. Using a Cyclical Learning Rate (CLR) with SGD resulted in a Rank-1 accuracy boost of over 10% compared to Adam. Sensitivity analysis of the λ parameter in the loss function showed that a value of 1.0 yielded the highest accuracy of 84.6% after 100 epochs.

Impact of the λ hyperparameter on Rank-1 accuracy, demonstrating that a value of 1.0 provides optimal performance.

Performance Metrics

  • Standalone Performance: The model achieved 89.3% Rank-1 accuracy on Market 1501 and 80.0% on Duke MTMC.
  • Incremental Resilience: After training on Duke MTMC, the model retained 70.2% Rank-1 accuracy on Market 1501. While this is a drop from the initial 89.3%, it represents a significant success in avoiding total catastrophic forgetting without using any original Market 1501 data during the second phase.

Discussion and Conclusion

The multi-head approach effectively buffers task-specific knowledge, allowing for distillation-free incremental learning. However, a ~19% performance decay on the first task suggests room for improvement in maintaining long-term stability. Future work will explore the scalability of this architecture across more than two sequential tasks and its robustness to extreme domain variations, such as transitioning from visible light to infrared surveillance footage.

Summary updated

BibTeX
@misc{bhargava2018incremental,
  author = {Prajjwal Bhargava},
  title = {{Incremental Learning in Person Re-Identification}},
  year = {2018},
  eprint = {1808.06281},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1808.06281},
}
Figure