UnSeg: One Universal Unlearnable Example Generator is Enough against All Image Segmentation

Ye Sun, Hao Zhang, Tiehua Zhang, Xingjun Ma, Yu-Gang Jiang
2/3/2026

No official code found. Best implementation: sunye23/UnSeg (10 stars, last commit 2025-07-05).

Abstract

Image segmentation is a crucial vision task that groups pixels within an image into semantically meaningful segments, which is pivotal in obtaining a fine-grained understanding of real-world scenes. However, an increasing privacy concern exists regarding training large-scale image segmentation models on unauthorized private data. In this work, we exploit the concept of unlearnable examples to make images unusable to model training by generating and adding unlearnable noise into the original images. Particularly, we propose a novel Unlearnable Segmentation (UnSeg) framework to train a universal unlearnable noise generator that is capable of transforming any downstream images into their unlearnable version. The unlearnable noise generator is finetuned from the Segment Anything Model (SAM) via bilevel optimization on an interactive segmentation dataset towards minimizing the training error of a surrogate model that shares the same architecture with SAM but is trained from scratch. We empirically verify the effectiveness of UnSeg across 6 mainstream image segmentation tasks, 10 widely used datasets, and 7 different network architectures, and show that the unlearnable images can reduce the segmentation performance by a large margin. Our work provides useful insights into how to leverage foundation models in a data-efficient and computationally affordable manner to protect images against image segmentation models.

View on arXivView PDF

Code Implementations(1)

sunye23/UnSegCommunity74%

[NeurIPS 2024] UnSeg: One Universal Unlearnable Example Generator is Enough against All Image Segmentation

100Shell, PythonOct 3, 20241 years ago
image-segmentationsegment-anythingunlearnable-examples

Similar Papers

Cite this paper

@article{sun2026unseg,
  title  = {UnSeg: One Universal Unlearnable Example Generator is Enough against All Image Segmentation},
  author = {Ye Sun and Hao Zhang and Tiehua Zhang and Xingjun Ma and Yu-Gang Jiang},
  year   = {2026},
  eprint = {2410.09909},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.09909},
  url    = {https://arxiv.org/abs/2410.09909},
  journal = {NEURIPS 2024 2024}
}

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/2410.09909.svg)](https://codeofpaper.com/paper/2410.09909)

Discussion