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

Shutong Wu, Sizhe Chen, Cihang Xie, Xiaolin Huang
5/24/2022
cs.LGstat.ML

Official code: cychomatica/One-Pixel-Shotcut (14 stars, Python, Apache-2.0, last commit 2025-09-28).

Abstract

Unlearnable examples (ULEs) aim to protect data from unauthorized usage for training DNNs. Existing work adds $\ell_\infty$-bounded perturbations to the original sample so that the trained model generalizes poorly.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICLR 2023 Spotlight] One-Pixel Shortcut: on the Learning Preference of Deep Neural Networks

144Python, ShellAug 24, 20221 years agoApache-2.0

Similar Papers

Cite this paper

@article{wu2022onepixel,
  title  = {One-Pixel Shortcut: on the Learning Preference of Deep Neural Networks},
  author = {Shutong Wu and Sizhe Chen and Cihang Xie and Xiaolin Huang},
  year   = {2022},
  eprint = {2205.12141},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12141}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.12141.svg)](https://codeofpaper.com/paper/2205.12141)

Discussion