Continual Representation Learning for Biometric Identification

Bo Zhao, Shixiang Tang, Dapeng Chen, Hakan Bilen, Rui Zhao

Abstract

With the explosion of digital data in recent years, continuously learning new tasks from a stream of data without forgetting previously acquired knowledge has become increasingly important. In this paper, we propose a new continual learning (CL) setting, namely “continual representation learning”, which focuses on learning better representation in a continuous way. We also provide two large-scale multi-step benchmarks for biometric identification, where the visual appearance of different classes are highly relevant. In contrast to requiring the model to recognize more learned classes, we aim to learn feature representation that can be better generalized to not only previously unseen images but also unseen classes/identities. For the new setting, we propose a novel approach that performs the knowledge distillation over a large number of identities by applying the neighbourhood selection and consistency relaxation strategies to improve scalability and flexibility of the continual learning model. We demonstrate that existing CL methods can improve the representation in the new setting, and our method achieves better results than the competitors.

Introduction: From Recognition to Representation

Traditional Continual Learning (CL) is primarily designed to solve the problem of "catastrophic forgetting"—where a model loses the ability to perform old tasks when trained on new ones. This is typically measured by testing the model on the same classes it saw during training. However, biometric identification (such as face recognition or person re-identification) operates under a different requirement: the model must learn feature representations that generalize to completely new identities it has never encountered before.

Comparison between standard Continual Learning (CL) and the proposed Continual Representation Learning (CRL) setting.

The authors identify three major gaps in current research that their work addresses:

  1. The Goal Gap: Standard CL focuses on "seen" classes; biometrics requires generalization to "unseen" identities.
  2. The Scale Gap: Real-world biometrics involve millions of identities, making standard classification-based distillation computationally impossible.
  3. The Rigidity Gap: Existing distillation methods force the new model to mimic the old one too strictly, which can prevent the model from learning better features from new data.

Proposed Method: Flexible Knowledge Distillation (FKD)

To bridge these gaps, the paper introduces Flexible Knowledge Distillation (FKD), a framework designed to make continual learning both scalable and effective for high-dimensional biometric data.

Overview of the proposed Flexible Knowledge Distillation (FKD) framework, featuring Neighborhood Selection and Consistency Relaxation.

1. Neighborhood Selection (NS)

In systems with millions of identities, calculating a full distillation loss across every class is a massive bottleneck. NS solves this by only considering the "neighbors"—the top $K$ most similar classes to a given input. By distilling knowledge only from these relevant classes, the method remains computationally efficient ($O(1)$ complexity relative to total identities) as the system grows.

2. Consistency Relaxation (CR)

Standard distillation uses strict losses that penalize any difference between old and new model outputs. The authors argue this is too restrictive for representation learning. They introduce an adaptive margin ($\delta_i$) based on the entropy of the old model's predictions. This "relaxes" the constraint: as long as the new model's output is "close enough" to the old one, it isn't penalized, allowing the model to refine its internal logic to better suit new data.

Benchmarking CRL

The authors argue that existing CL benchmarks are insufficient for biometrics and introduce two large-scale multi-step benchmarks:

  • CRL-face: Based on the MS1M dataset, featuring ~92,000 identities and 5.8 million images. Evaluation is performed on standard "unseen" sets like LFW and MegaFace.
  • CRL-person: A combination of Market1501, DukeMTMC, and MSMT17, featuring ~7,000 identities and 90,000 images.

Key Results and Insights

The proposed method consistently outperformed state-of-the-art (SOTA) continual learning methods like LWF (Learning Without Forgetting) and LFL (Less-Forgetting Learning):

  • Face Recognition: On the MegaFace benchmark (10-step setting), the proposed method achieved 70.28% Top-1 accuracy, outperforming LWF (69.03%) and the "Finetune" baseline (66.85%).
  • Person Re-ID: On the 10-step setting, the method reached 53.1% Top-1 accuracy, a significant jump over the Baseline (39.2%).

Generalization is the Metric

In CRL, the primary challenge is not the forgetting of specific training labels, but the potential degradation of the feature space. The paper shifts the evaluation focus to how well the model performs on third-party testing sets of novel identities. By acknowledging that the "teacher" model isn't perfect and allowing the "student" room to improve, the FKD approach ensures that the feature representation continues to evolve rather than stagnate.

Limitations and Future Work

While the method beats other continual learning strategies, a performance gap still exists between CRL and "Joint Training" (training on all data at once). Additionally, the performance depends on hyper-parameters like neighborhood size ($K$). Future work could explore how these models handle the extreme noise and domain shifts found in "in-the-wild" surveillance footage.

Summary updated

BibTeX
@inproceedings{zhao2021continual,
  author = {Bo Zhao and Shixiang Tang and Dapeng Chen and Hakan Bilen and Rui Zhao},
  title = {{Continual Representation Learning for Biometric Identification}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00124},
}
Figure