Papers › One-Pixel Shortcut: on the Learning Preference of Deep Neural Networks

One-Pixel Shortcut: on the Learning Preference of Deep Neural Networks

24 May 2022arXiv:2205.12141archive 2025-07-28

Shutong Wu, Sizhe Chen, Cihang Xie, Xiaolin Huang

Unlearnable examples (ULEs) aim to protect data from unauthorized usage for training DNNs. Existing work adds ℓ_∞-bounded perturbations to the original sample so that the trained model generalizes poorly. Such perturbations, however, are easy to eliminate by adversarial training and data augmentations. In this paper, we resolve this problem from a novel perspective by perturbing only one pixel in each image. Interestingly, such a small modification could effectively degrade model accuracy to almost an untrained counterpart. Moreover, our produced \emph{One-Pixel Shortcut (OPS)} could not be erased by adversarial training and strong augmentations. To generate OPS, we perturb in-class images at the same position to the same target value that could mostly and stably deviate from all the original images. Since such generation is only based on images, OPS needs significantly less computation cost than the previous methods using DNN generators. Based on OPS, we introduce an unlearnable dataset called CIFAR-10-S, which is indistinguishable from CIFAR-10 by humans but induces the trained model to extremely low accuracy. Even under adversarial training, a ResNet-18 trained on CIFAR-10-S has only 10.61% accuracy, compared to 83.02% by the existing error-minimizing method.

PaperPDFCodeCode 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="2205.12141")

Code

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

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

cychomatica/one-pixel-shotcut officialmentioned in papermentioned on GitHubpytorchApache-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

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

Licence: 0 of the 18 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 cychomatica/one-pixel-shotcut. “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.

conv3x3 cychomatica/one-pixel-shotcut/model/WideResNet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 00e569acd6b45ef0 · report
make_layers cychomatica/one-pixel-shotcut/model/VGG.py official repository ran Apache-2.0 (permissive) · ac62432dc5134b0d · report
mixup_criterion cychomatica/one-pixel-shotcut/augmentation/Mixup.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 97f484048ac03556 · report
mixup_data cychomatica/one-pixel-shotcut/augmentation/Mixup.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 8897714b1e9b6396 · report
Densenet121 cychomatica/one-pixel-shotcut/model/DenseNet.py official repository unverified Apache-2.0 (permissive) · a2b0fd19f9050594 · report
Densenet169 cychomatica/one-pixel-shotcut/model/DenseNet.py official repository unverified Apache-2.0 (permissive) · 020eefbf270b4c86 · report
Densenet201 cychomatica/one-pixel-shotcut/model/DenseNet.py official repository unverified Apache-2.0 (permissive) · 85e9b46978ad9fdc · report
ResNet18 cychomatica/one-pixel-shotcut/model/ResNet.py official repository unverified Apache-2.0 (permissive) · ff9d88e7227f5564 · report
ResNet34 cychomatica/one-pixel-shotcut/model/ResNet.py official repository unverified Apache-2.0 (permissive) · ca1d217d7ca5ddf4 · report
ResNet50 cychomatica/one-pixel-shotcut/model/ResNet.py official repository unverified Apache-2.0 (permissive) · 71455bb26f47a8a0 · report
VGG11 cychomatica/one-pixel-shotcut/model/VGG.py official repository unverified Apache-2.0 (permissive) · e4759822cc516831 · report
VGG13 cychomatica/one-pixel-shotcut/model/VGG.py official repository unverified Apache-2.0 (permissive) · 885b135d492f1a82 · report
load_cifar100_data cychomatica/one-pixel-shotcut/utils.py official repository unverified Apache-2.0 (permissive) · 042cdc9057142cfc · report
load_cifar10_data cychomatica/one-pixel-shotcut/utils.py official repository unverified Apache-2.0 (permissive) · b1ebcb3950081b8d · report
mixup_step cychomatica/one-pixel-shotcut/augmentation/Mixup.py official repository unverified Apache-2.0 (permissive) · cc3a82b123fab81e · report
net_param_diff_norm cychomatica/one-pixel-shotcut/utils.py official repository unverified Apache-2.0 (permissive) · 6d2cddc06920551f · report
pixel_search cychomatica/one-pixel-shotcut/perturb.py official repository unverified Apache-2.0 (permissive) · 7c22627ec0aafc3a · report
step cychomatica/one-pixel-shotcut/training.py official repository unverified Apache-2.0 (permissive) · 6613eec4ec10b472 · report

Tasks

Data Augmentation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

RandAugment

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