Papers › Towards Face Encryption by Generating Adversarial Identity Masks

Towards Face Encryption by Generating Adversarial Identity Masks

15 Mar 2020ICCV 2021 10arXiv:2003.06814archive 2025-07-28

Xiao Yang, Yinpeng Dong, Tianyu Pang, Hang Su, Jun Zhu, Yuefeng Chen, Hui Xue

As billions of personal data being shared through social media and network, the data privacy and security have drawn an increasing attention. Several attempts have been made to alleviate the leakage of identity information from face photos, with the aid of, e.g., image obfuscation techniques. However, most of the present results are either perceptually unsatisfactory or ineffective against face recognition systems. Our goal in this paper is to develop a technique that can encrypt the personal photos such that they can protect users from unauthorized face recognition systems but remain visually identical to the original version for human beings. To achieve this, we propose a targeted identity-protection iterative method (TIP-IM) to generate adversarial identity masks which can be overlaid on facial images, such that the original identities can be concealed without sacrificing the visual quality. Extensive experiments demonstrate that TIP-IM provides 95\%+ protection success rate against various state-of-the-art face recognition models under practical test scenarios. Besides, we also show the practical and effective applicability of our method on a commercial API service.

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="2003.06814")

Code

Syntology Ran 5 of 23 code samples harvested from 1 repository linked to this paper; 18 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 23 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shawnxyang/tip-im officialmentioned in paperpytorchApache-2.0 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

23 samples harvested; 5 ran; 2 honoured the contract we drafted; 18 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
2ran · our draft was wrong
1ran · fixture could not drive it
18unverified

Licence: 0 of the 23 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 shawnxyang/tip-im. “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.

IOU shawnxyang/tip-im/align_methods/align.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 9348919b3a8be935 · report
get_block shawnxyang/tip-im/networks/ArcFace.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · ad5dbf57f3ea2633 · report
get_blocks shawnxyang/tip-im/networks/ArcFace.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ea7941eb1ea8ffb2 · report
l2_norm shawnxyang/tip-im/networks/ArcFace.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · c54fea429589425d · report
to_rgb shawnxyang/tip-im/align_methods/align.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 29507ad0ee182d8c · report
LResNet50E_IR shawnxyang/tip-im/networks/CosFace.py official repository unverified Apache-2.0 (permissive) · 32918e149a737ef6 · report
RandomCrop shawnxyang/tip-im/input_diversify.py official repository unverified Apache-2.0 (permissive) · 86226494dfd08ce2 · report
Resize shawnxyang/tip-im/input_diversify.py official repository unverified Apache-2.0 (permissive) · 919b0ccbc0ed8a63 · report
affine shawnxyang/tip-im/input_diversify.py official repository unverified Apache-2.0 (permissive) · 00e18ccd3f1f30c4 · report
create_mtcnn shawnxyang/tip-im/align_methods/detect_face.py official repository unverified Apache-2.0 (permissive) · edfa6042244eb012 · report
detect_face shawnxyang/tip-im/align_methods/detect_face.py official repository unverified Apache-2.0 (permissive) · 96bf1c60f74fc61d · report
gaussian_kernel_matrix shawnxyang/tip-im/mmd.py official repository unverified Apache-2.0 (permissive) · 00f2288642d682fa · report
get_dataset_celeb shawnxyang/tip-im/align_methods/face_image.py official repository unverified Apache-2.0 (permissive) · 924034eebb04536f · report
get_dataset_webface shawnxyang/tip-im/align_methods/face_image.py official repository unverified Apache-2.0 (permissive) · baa6487e16d2b4a8 · report
get_model shawnxyang/tip-im/networks/FaceModel.py official repository unverified Apache-2.0 (permissive) · 01506ca0db5cb1e7 · report
layer shawnxyang/tip-im/align_methods/detect_face.py official repository unverified Apache-2.0 (permissive) · fab32b621c712604 · report
load_property shawnxyang/tip-im/align_methods/face_image.py official repository unverified Apache-2.0 (permissive) · a0e97123727a9fb0 · report
maximum_mean_discrepancy shawnxyang/tip-im/mmd.py official repository unverified Apache-2.0 (permissive) · d848d80fdf341607 · report
myphi shawnxyang/tip-im/networks/SphereFace.py official repository unverified Apache-2.0 (permissive) · 4edba53421463c1a · report
pairwise_distance shawnxyang/tip-im/mmd.py official repository unverified Apache-2.0 (permissive) · 21454b651fb3987f · report
parse_lst_line shawnxyang/tip-im/align_methods/face_preprocess.py official repository unverified Apache-2.0 (permissive) · 82b10a215c8cd30f · report
preprocess shawnxyang/tip-im/align_methods/face_preprocess.py official repository unverified Apache-2.0 (permissive) · 1586a591b369e039 · report
read_image shawnxyang/tip-im/align_methods/face_preprocess.py official repository unverified Apache-2.0 (permissive) · 79625c2830b046be · report

Tasks

Face Recognition

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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