# CoReFace: Sample-Guided Contrastive Regularization for Deep Face Recognition

Source: [CoReFace: Sample-Guided Contrastive Regularization for Deep Face Recognition](<https://www.sota2.com/research/paper/68fa6f2b1e209131cea4438d>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-26T01:15:37.285Z

Authors: Youzhe Song, Feng Wang

Published: 2023-04-23T14:33:24.000Z

## Abstract

The discriminability of feature representation is the key to open-set face recognition. Previous methods rely on the learnable weights of the classification layer that represent the identities. However, the evaluation process learns no identity representation and drops the classifier from training. This inconsistency could confuse the feature encoder in understanding the evaluation goal and hinder the effect of identity-based methods. To alleviate the above problem, we propose a novel approach namely Contrastive Regularization for Face recognition (CoReFace) to apply image-level regularization in feature representation learning. Specifically, we employ sample-guided contrastive learning to regularize the training with the image-image relationship directly, which is consistent with the evaluation process. To integrate contrastive learning into face recognition, we augment embeddings instead of images to avoid the image quality degradation. Then, we propose a novel contrastive loss for the representation distribution by incorporating an adaptive margin and a supervised contrastive mask to generate steady loss values and avoid the collision with the classification supervision signal. Finally, we discover and solve the semantically repetitive signal problem in contrastive learning by exploring new pair coupling protocols. Extensive experiments demonstrate the efficacy and efficiency of our CoReFace which is highly competitive with the state-of-the-art approaches.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Face Recognition on IJB-B (TAR@FAR=1e-6)](<https://www.sota2.com/research/sota/face-recognition-on-ijb-b-tar-at-far-1e-6.md>): Face Recognition; IJB-B; TAR@FAR=1e-6: 47.02.

- [Face Verification on LFW, CFP-FP, CPLFW, AgeDB, CALFW, VGG2-FP](<https://www.sota2.com/research/sota/face-verification-on-lfw-cfp-fp-cplfw-agedb-calfw-vgg2-fp.md>): Face Verification; High-quality Datasets (LFW, CFP-FP, CPLFW, AgeDB, CALFW, VGG2-FP); Accuracy (LFW): 99.83.

- [Face Recognition on IJB-C (TAR@FAR=1e-6)](<https://www.sota2.com/research/sota/face-recognition-on-ijb-c-tar-at-far-1e-6.md>): Face Recognition; IJB-C; TAR@FAR=1e-6: 89.34.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2304.11668>)

[PDF](<https://arxiv.org/pdf/2304.11668.pdf>)
