Papers › AdaFace: Quality Adaptive Margin for Face Recognition

AdaFace: Quality Adaptive Margin for Face Recognition

3 Apr 2022CVPR 2022 1arXiv:2204.00964archive 2025-07-28

Minchul Kim, Anil K. Jain, Xiaoming Liu

Recognition in low quality face datasets is challenging because facial attributes are obscured and degraded. Advances in margin-based loss functions have resulted in enhanced discriminability of faces in the embedding space. Further, previous studies have studied the effect of adaptive losses to assign more importance to misclassified (hard) examples. In this work, we introduce another aspect of adaptiveness in the loss function, namely the image quality. We argue that the strategy to emphasize misclassified samples should be adjusted according to their image quality. Specifically, the relative importance of easy or hard samples should be based on the sample's image quality. We propose a new loss function that emphasizes samples of different difficulties based on their image quality. Our method achieves this in the form of an adaptive margin function by approximating the image quality with feature norms. Extensive experiments show that our method, AdaFace, improves the face recognition performance over the state-of-the-art (SoTA) on four datasets (IJB-B, IJB-C, IJB-S and TinyFace). Code and models are released in https://github.com/mk-minchul/AdaFace.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2204.00964")

Code

Syntology Ran 17 of 22 code samples harvested from 6 repositories linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 3 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 1 sample from 1 repository, 1 ran; community (archive-listed): 20 samples from 5 repositories, 15 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mk-minchul/adaface officialmentioned in papermentioned on GitHubpytorchMIT report
chelsea234/m2f2_det mentioned on GitHubpytorchMIT report
sithu31296/EasyFace mentioned on GitHubpytorch report
tomas-gajarsky/facetorch mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

22 samples harvested; 17 ran; 2 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
3ran · our draft was wrong
11ran
5unverified

Licence: 11 of the 22 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 6 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AdaFace mk-minchul/adaface/head.py official repository ran MIT (permissive) · 775e2b18a7335c45 · report
AdaFace sithu31296/EasyFace/easyface/recognition/heads/adaface.py community (archive-listed) ran MIT (permissive) · fdd08128d4e32cda · report
AdaFace RocketFlash/easy_metric_learning/src/model/margin/adaface.py community (archive-listed) ran Apache-2.0 (permissive) · 25446533fe6fcf5d · report
BasicBlockIR Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · d9cbf9097e9b2f3b · report
BasicBlockIRSE Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran no licence file found · pointer only · c7ff115d76b10e48 · report
BottleneckIR Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 5ff2d0550242806c · report
BottleneckIRSE Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · metamorphic tier: invariant no licence file found · pointer only · e880b0d152ae66fd · report
Flatten Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 3f852d5b1c843b52 · report
MagFaceIResNet100 tomas-gajarsky/facetorch/model_defs/verify_model.py community (archive-listed) ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 28bfa34e142cf7bf · report
SEModule Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 20b077f2201866aa · report
_MagFaceIBasicBlock tomas-gajarsky/facetorch/model_defs/verify_model.py community (archive-listed) ran · metamorphic tier: deterministic fingerprinted Apache-2.0 (permissive) · 1d1184e941b3a490 · report
build_one_hot RocketFlash/easy_metric_learning/src/model/margin/adaface.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 00fcae2b28b19dbb · report
get_blocks Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) ran · honoured contract no licence file found · pointer only · e82dfb7d2386721b · report
is_mixed_label RocketFlash/easy_metric_learning/src/model/margin/adaface.py community (archive-listed) ran · violated contract fingerprinted Apache-2.0 (permissive) · ef4ec1a6ba91a991 · report
l2_norm sithu31296/EasyFace/easyface/recognition/heads/adaface.py community (archive-listed) ran · our draft was wrong fingerprinted MIT (permissive) · 32e701066e89cd01 · report
l2_norm RocketFlash/easy_metric_learning/src/model/margin/adaface.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 27524a6bac90b755 · report
AdaFaceLoss leondgarse/Keras_insightface/losses.py community (archive-listed) unverified MIT (permissive) · bf12a79527a79d4a · report
ArcfaceLossSimple leondgarse/Keras_insightface/losses.py community (archive-listed) unverified MIT (permissive) · 40d45aa734161334 · report
Backbone Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) unverified no licence file found · pointer only · f3ef8c1d9f566160 · report
Bottleneck Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) unverified no licence file found · pointer only · c9258e60d2cf27ee · report
initialize_weights Armxyz1/Results-on-RFW/AdaFace/backbones/net.py community (archive-listed) unverified no licence file found · pointer only · dd1764dcd0628ab8 · report
get_block identical code first harvested elsewhere ran · honoured contract fingerprinted licence of this copy not recorded · ad5dbf57f3ea2633 · report

Tasks

Face RecognitionFace Recognition (Closed-Set)Face VerificationSurveillance-to-BookingSurveillance-to-SingleSurveillance-to-Surveillance

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Face Recognition IJB-B ArcFace + MS1MV2 + R100 Rank-1 0.9450 #2 of 4 Archive leaderboard report
Face Recognition IJB-B ArcFace + MS1MV2 + R100 TAR @ FAR=1e-5 0.8933 #2 of 4 Archive leaderboard report
Face Recognition IJB-B AdaFace + MS1MV3 + R100 TAR @ FAR=0.0001 0.9425 #4 of 4 Archive leaderboard report
Face Recognition LFW ArcFace + MS1MV2 + R100 Accuracy 0.9983 #5 of 16 Archive leaderboard report
Face Recognition LFW AdaFace + WebFace4M + R100 Accuracy 0.9980 #7 of 16 Archive leaderboard report
Face Verification IJB-B AdaFace (WebFace4M) TAR@FAR=0.0001 96.03 #10 of 12 Archive leaderboard report
Face Verification IJB-B AdaFace (MS1MV3) TAR@FAR=0.0001 95.84 #11 of 12 Archive leaderboard report
Face Verification IJB-B AdaFace (MS1MV2) TAR@FAR=0.0001 95.67 #12 of 12 Archive leaderboard report
Face Verification IJB-C AdaFace (WebFace4M) TAR @ FAR=1e-4 97.39% #13 of 26 Archive leaderboard report
Face Verification IJB-C AdaFace (MS1MV3) TAR @ FAR=1e-4 97.09% #16 of 26 Archive leaderboard report
Face Verification IJB-C AdaFace (MS1MV2) TAR @ FAR=1e-4 96.89% #17 of 26 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections