SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.08161 · CVPR · 2024

LAFS: Landmark-based Facial Self-supervised Learning for Face Recognition

Georgios Tzimiropoulos, Chen Feng, Ioannis Patras, Zhonglin Sun, Vit Cnn

arXiv · PDF · Open in the Atlas

Code that ran

12 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2403.08161.json · badge: /api/ran/2403.08161.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
szlbiubiubiu/lafs_cvpr2024 marked official in Papers with Code
Papers with Code archive
12 ran · 2 no recorded run
FunctionStatusWhere it lives
FeedForward Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("6c4e6da8c7866587")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Hsigmoid Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("97e2bf83055f2f7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Hswish Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("aca782f4ff28c88e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Identity Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("897a6cef897cd588")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MobileBottleneck Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("28ab6836b172e7dd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

MobileNetV3_backbone Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("8d4ae19fb1c257ec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Residual_droppath Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("4b3cd3da7ae0fdbb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SEModule Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("b2dab58cfcef1537")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Transformer Ran
ran on a synthesized input
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("b5f1aaa85390cced")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

conv_bn Ran
ran; our contract draft was wrong, not the code
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("3c7c350b0122c904")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_patches_pytorch_gridsample Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("593850f8a0f901e3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

make_divisible Ran
ran, honoured the contract we drafted
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("e122dab1d91b8c35")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Attention Not yet run
unverified (harvested, no recorded run)
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("5eb1f008cc961666")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ViT_face_landmark_patch8_4simmin_glo_loc Not yet run
unverified (harvested, no recorded run)
szlbiubiubiu/lafs_cvpr2024/face_pre_pro/ViT_face.py
pointer only (licence: NONE) · get_code("737ca9ca3ee915bd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, szlbiubiubiu/lafs_cvpr2024 when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 0 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
make_divisible
brick of this paper's assembly: helper
12 other papers
12 dated earlier · 1 only as an assembly brick
1503.03832 (2015-03)
FaceNet: A Unified Embedding for Face Recognition and Clustering
1801.04381 (2018-01)
MobileNetV2: Inverted Residuals and Linear Bottlenecks
1811.08383 (2018-11)
TSM: Temporal Shift Module for Efficient Video Understanding
and 9 more not named here
conv_bn
brick of this paper's assembly: helper
4 other papers
4 dated earlier
1503.03832 (2015-03)
FaceNet: A Unified Embedding for Face Recognition and Clustering
1905.02244 (2019-05)
Searching for MobileNetV3
2001.00705 (2020-01)
Fractional Skipping: Towards Finer-Grained Dynamic CNN Inference
and 1 more not named here
Hsigmoid
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.02244 (2019-05)
Searching for MobileNetV3
Hswish
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.02244 (2019-05)
Searching for MobileNetV3
Identity
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.02244 (2019-05)
Searching for MobileNetV3
MobileBottleneck
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.02244 (2019-05)
Searching for MobileNetV3
SEModule
brick of this paper's assembly: helper
1 other paper
1 dated earlier
1905.02244 (2019-05)
Searching for MobileNetV3
extract_patches_pytorch_gridsample
brick of this paper's assembly: helper
1 other paper
1 dated earlier
2212.00057 (2022-12)
Part-based Face Recognition with Vision Transformers

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this work we focus on learning facial representations that can be adapted to train effective face recognition models, particularly in the absence of labels. Firstly, compared with existing labelled face datasets, a vastly larger magnitude of unlabeled faces exists in the real world. We explore the learning strategy of these unlabeled facial images through self-supervised pretraining to transfer generalized face recognition performance. Moreover, motivated by one recent finding, that is, the face saliency area is critical for face recognition, in contrast to utilizing random cropped blocks of images for constructing augmentations in pretraining, we utilize patches localized by extracted facial landmarks. This enables our method -namely LAndmarkbased Facial Self-supervised learning (LAFS), to learn key representation that is more critical for face recognition. We also incorporate two landmark-specific augmentations which introduce more diversity of landmark information to further regularize the learning. With learned landmark-based facial representations, we further adapt the representation for face recognition with regularization mitigating variations in landmark positions. Our method achieves significant improvement over the state-of-the-art on multiple face recognition benchmarks, especially on more challenging few-shot scenarios. The code is available at https://github.com/szlbiubiubiu/LAFS CVPR2024.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.08161")
get_code_for_paper("2403.08161")
have("2403.08161")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2403.08161.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2403.08161.svg)](https://syntology.ai/paper/2403.08161)

Connect an agent — have() is free.