SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2306.13091 · CVPR · 2023

Evading Forensic Classifiers with Attribute-Conditioned Adversarial Faces

Fahad Shamshad, Karthik Nandakumar, Koushik Srivatsan

arXiv · PDF · Open in the Atlas

Code that ran

12 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (7 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 3 failures of our instrument; 8 no recorded run), measured 2026-11-23; 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/2306.13091.json · badge: /api/ran/2306.13091.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
koushiksrivats/face_attribute_attack marked official in Papers with Code
Papers with Code archive
12 ran · 8 no recorded run
FunctionStatusWhere it lives
Blur Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("6a657c5a423ebb1b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

ConstantInput Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("6ac39cc25c802292")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

EqualLinear Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("e47588046427d5bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

FusedLeakyReLU Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("49d075452b1d32c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

Generator Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("1ec76c108312391c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

ImageTransform Ran
ran; our contract draft was wrong, not the code
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("a14989f041846d5f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

NoiseInjection Ran
ran on a synthesized input
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("6a89165f91afae45")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

Normalize Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("3aff569b0f560591")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

PixelNorm Ran
ran on a synthesized input
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("9b4774177e343e0b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("9a98641c4a409588")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

upfirdn2d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("238fedc043c13f62")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

upfirdn2d_native Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("fe99cfd294676edb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

ModulatedConv2d Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("673fcfe5abee6fa2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

StyledConv Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("dabdb31d4bd12319")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

ToRGB Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("995aad99045f4c4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

ensure_checkpoint_exists Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("223870c61558817c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

fused_leaky_relu Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("737ec98d1a59d066")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

get_classifier Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("dd91635c995516a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

get_stylegan_generator Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("cc2b94960ff33e11")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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.

image_as_reference Not yet run
unverified (harvested, no recorded run)
koushiksrivats/face_attribute_attack/image_as_reference.py
pointer only (licence: NONE) · get_code("0910a44fbe46f84f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, koushiksrivats/face_attribute_attack 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 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 20 distinct functions with an identity, 14 are also present in other papers whose code we hold (14 with at least one paper dated earlier, 1 the same month, 5 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
upfirdn2d_native
brick of this paper's assembly: helper
11 other papers
9 dated earlier, 1 the same month, 1 later · 5 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 8 more not named here
Blur
brick of this paper's assembly: helper
10 other papers
9 dated earlier, 1 later · 4 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 7 more not named here
NoiseInjection
brick of this paper's assembly: helper
9 other papers
8 dated earlier, 1 later · 7 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 6 more not named here
ConstantInput
brick of this paper's assembly: helper
8 other papers
8 dated earlier · 5 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 5 more not named here
EqualLinear
brick of this paper's assembly: helper
8 other papers
7 dated earlier, 1 later
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 5 more not named here
PixelNorm
brick of this paper's assembly: helper
8 other papers
8 dated earlier · 6 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 5 more not named here
Upsample
brick of this paper's assembly: helper
8 other papers
8 dated earlier · 3 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2101.02477 (2021-01)
GAN-Control: Explicitly Controllable GANs
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
and 5 more not named here
FusedLeakyReLU
brick of this paper's assembly: helper
5 other papers
5 dated earlier · 1 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 2 more not named here
upfirdn2d
brick of this paper's assembly: helper
5 other papers
4 dated earlier, 1 later · 4 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
2104.06820 (2021-04)
Few-shot Image Generation via Cross-domain Correspondence
and 2 more not named here
Generator
brick of this paper's assembly: helper
2 other papers
2 dated earlier
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
ModulatedConv2d
brick of this paper's assembly: helper
2 other papers
2 dated earlier
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
StyledConv
brick of this paper's assembly: helper
2 other papers
2 dated earlier
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
ToRGB
brick of this paper's assembly: helper
2 other papers
2 dated earlier
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery
fused_leaky_relu
brick of this paper's assembly: helper
2 other papers
2 dated earlier · 2 only as an assembly brick
1812.04948 (2018-12)
A Style-Based Generator Architecture for Generative Adversarial Networks
2103.17249 (2021-03)
StyleCLIP: Text-Driven Manipulation of StyleGAN Imagery

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-23.

Repositories linked to this paper

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

Abstract

The ability of generative models to produce highly realistic synthetic face images has raised security and ethical concerns. As a first line of defense against such fake faces, deep learning based forensic classifiers have been developed. While these forensic models can detect whether a face image is synthetic or real with high accuracy, they are also vulnerable to adversarial attacks. Although such attacks can be highly successful in evading detection by forensic classifiers, they introduce visible noise patterns that are detectable through careful human scrutiny. Additionally, these attacks assume access to the target model(s) which may not always be true. Attempts have been made to directly perturb the latent space of GANs to produce adversarial fake faces that can circumvent forensic classifiers. In this work, we go one step further and show that it is possible to successfully generate adversarial fake faces with a specified set of attributes (e.g., hair color, eye size, race, gender, etc.). To achieve this goal, we leverage the state-of-the-art generative model StyleGAN with disentangled representations, which enables a range of modifications without leaving the manifold of natural images. We propose a framework to search for adversarial latent codes within the feature space of StyleGAN, where the search can be guided either by a text prompt or a reference image. We also propose a metalearning based optimization strategy to achieve transferable performance on unknown target models. Extensive experiments demonstrate that the proposed approach can produce semantically manipulated adversarial fake faces, which are true to the specified attribute set and can successfully fool forensic face classifiers, while remaining undetectable by humans. Code: https://github.com/ koushiksrivats/face_attribute_attack.

For agents

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

get_harvested_code_for_paper("2306.13091")
get_code_for_paper("2306.13091")
have("2306.13091")

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

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

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

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

Connect an agent — have() is free.