Unsupervised Unlearnable Segmentation via Semantic Structure Disruption

Jiale Cai, Zhihao Li, Gezheng Xu, Ruiyi Fang, Hao Zheng, Zhimin Mei, Song Tang, Charles Ling, Boyu WangNeurIPS 2026

TL;DR

Imagine releasing images online that look completely normal to human eyes, yet carry an invisible "poison" that prevents unauthorized AI models from learning how to segment them. Previous ways to shield segmentation data required expensive, pixel-by-pixel human labels just to generate the shield—an unrealistic ask for everyday data owners. DRIFT solves this by hijacking the geometric and structural shortcuts neural networks naturally use to group pixels, protecting your visual data without needing a single annotation.

What Problem Does This Paper Address?

Modern machine learning runs on scraped data, prompting researchers to develop Unlearnable Examples (UEs): images modified with tiny, imperceptible pixel perturbations ($\epsilon \le 8/255$) that trick unauthorized models into learning useless shortcuts instead of real semantics. When trained on UEs, a model fits the training data easily, then fails spectacularly on clean test data.

So far, UEs have mostly targeted image classification—essentially injecting a simple, fake pattern tied to a whole-image label. Image segmentation, however, is a dense prediction task; it cares about crisp boundaries, spatial neighborhoods, and multi-scale context rather than a single category tag. Furthermore, existing segmentation-specific UE methods (like UnSeg) assume you already have ground-truth pixel masks to craft the perturbations. In reality, people uploading street-view, medical, or industrial photos rarely pay for dense pixel annotations just to protect raw images from scrapers who might auto-label them later. The authors ask: How do we make images unlearnable for segmentation when we have zero labels?

Methods

Instead of attacking class labels, DRIFT (Disrupting Region-level and Interlayer Feature sTructure) attacks the two fundamental structural priors segmentation networks rely on: local pixel grouping and multi-scale alignment.

Figure 1: DRIFT protects segmentation data by replacing clean segmentation structure with misleading yet easy- to-fit pseudo-structure in an unsupervised manner.

Here is how the recipe works:

  1. Discover Clean Structure (Label-Free): DRIFT passes clean images through a frozen, pre-trained Vision Transformer (ViT) encoder and clusters spatial tokens into $M$ coherent "proto-regions"—rough, unsupervised stand-ins for objects and parts.
  2. Invent a Misleading Pseudo-Structure: Each proto-region is assigned a spatially adjacent partner region using a directed, non-reciprocal mapping (so Region A points to B, while B points to C—avoiding a simple, reversible A$\leftrightarrow$B label swap). From this mapping, DRIFT builds two fake priors, weighted heavily near region boundaries:
  3. Pseudo region-level affinity: Steering tokens to resemble features in their neighbor's region rather than their own.
  4. Pseudo cross-layer correspondence: Shifting feature alignment across network layers by one step toward the partner region's boundary, breaking multi-scale feature fusion.
  5. Make the Lie Easy to Believe: A misleading pattern only works if a downstream neural network actually adopts it during training instead of ignoring it as random noise. DRIFT adds a lightweight auxiliary structure learner trained alongside the perturbation generator. By forcing perturbations to minimize this auxiliary learner's loss when predicting the fake regions, DRIFT guarantees the bogus geometry is effortless for future models to latch onto.

Datasets

No new datasets are introduced; the authors evaluate DRIFT across four standard, widely adopted computer vision benchmarks covering semantic, instance, and panoptic segmentation:

  • Pascal VOC 2012 (semantic segmentation)
  • Cityscapes (urban street scenes; semantic, instance, and panoptic)
  • ADE20K (diverse scenes; semantic, instance, and panoptic)
  • COCO (complex everyday scenes; instance and panoptic)

Key Insights and Ideas

  • Poisoning training, not blinding inference: When tested on a frozen foundation model (SAM 3), DRIFT images only drop segmentation quality slightly (49.6% to 45.4% mIoU), meaning the objects are still visually intact. Yet if you fine-tune SAM 3's encoder on DRIFT data, performance on clean images plunges from 77.3% to 56.2% mIoU. DRIFT specifically corrupts the learning dynamics.
  • Structural cues transcend architectures: Even though DRIFT crafts perturbations using a frozen ViT encoder, those exact perturbations cripple CNN-based models like DeepLabV1 through DeepLabV3+ and ResNet-backed Mask2Former. Region affinity and cross-layer alignment are universal priors, not ViT quirks.
  • JPEG can't wash out structural lies: Standard pixel-noise UEs often shatter under simple lossy compression. On Pascal VOC, JPEG compression ruins the supervised baseline UnSeg (recovering model accuracy from 5.8% up to 44.8% mIoU), whereas DRIFT holds the model down at 26.4% mIoU because structural shifts survive pixel smoothing.
  • Defining a trap isn't enough; you have to bait it: Ablations show that removing the auxiliary learner causes downstream mIoU to jump from 5.6% up to 21.9%. Without explicitly optimizing the fake structure to be easy to fit, networks partially ignore it.

Key Results

Across the board (lower numbers mean better protection), DRIFT severely degrades segmentation models and goes toe-to-toe with supervised UnSeg—despite using zero labels:

Table 1: Main results on ADE20K and COCO using Mask2Former. Lower values indicate stronger unlearnability. Methods are grouped by whether segmentation annotations are used during perturba- tion generation. The best results among methods without segmentation annotations are boldfaced, while the overall best results are underlined. R50: ResNet50, Swin-T: Swin Transformer-Tiny.
  • ADE20K (Mask2Former, Swin-T): Clean training achieves 41.6 PQ (panoptic), 27.9 AP (instance), and 47.7 mIoU (semantic). DRIFT slashes these to 5.9 PQ / 7.6 AP / 11.5 mIoU. On small objects ($\text{AP}^S$), DRIFT (1.8) even beats supervised UnSeg (4.0).
  • Cityscapes (Mask2Former, ResNet50): DRIFT drops performance from 62.1 PQ / 79.4 mIoU down to 4.8 PQ / 12.2 mIoU, vastly outperforming classification-adapted unsupervised baselines like CUDA (51.6 PQ / 65.8 mIoU) and SynPer (30.1 PQ / 25.5 mIoU).
  • Pascal VOC (DeepLabV3+): Clean mIoU of 89.0% collapses to 3.0% under DRIFT, surpassing supervised UnSeg (5.2%).

Limitations and Future Work

DRIFT isn't free Lunch. First, extracting ViT features, building proto-regions, and running alternating optimization with an auxiliary learner adds computational overhead compared to simple noise generators. Second, because DRIFT concentrates its structural redirection near region boundaries, it is slightly less effective on massive, sprawling objects—the shifted pseudo-structure still largely overlaps with the giant object's interior, leaving supervised methods like UnSeg with an edge on large-object metrics ($\text{AP}^L$). Future work aims to speed up perturbation generation and devise stronger global displacement strategies for large-area categories.

Summary updated

Abstract

Unlearnable examples (UEs) aim to prevent machine learning models from extracting useful information in protected training data. Extending UEs to segmentation is practically important but challenging, because pixel-level annotations are expensive to obtain and therefore cannot be assumed available when generating protective perturbations. This motivates us to study unsupervised unlearnable segmentation, where UE perturbations must be generated without segmentation annotations. Since dense prediction fundamentally relies on region-level affinity and cross-layer feature correspondence, effective segmentation data protection faces a twofold design challenge: perturbations should induce misleading alternatives to these structural priors, while the induced structure must remain easy to fit so that downstream segmentation models can adopt it during training. To address these challenges, we propose **DRIFT** (**D**isrupting **R**egion-level and **I**nterlayer **F**eature s**T**ructure) an unsupervised method that generates unlearnable examples for segmentation. Specifically, DRIFT constructs pseudo region-level affinity and pseudo cross-layer correspondence from clean-image features. It then optimizes perturbations to steer the extracted features of protected images toward the misleading pseudo-structure rather than the clean one, while an auxiliary structure learner, trained to predict pseudo-region assignments, explicitly encourages the induced structure to remain easy to fit. Extensive experiments across four segmentation datasets and multiple architectures demonstrate that DRIFT provides strong protection, consistently degrading the generalization performance of models trained on protected data and remaining competitive with the supervised UE baseline.
BibTeX
@inproceedings{cai2026unsupervised,
  author = {Jiale Cai and Zhihao Li and Gezheng Xu and Ruiyi Fang and Hao Zheng and Zhimin Mei and Song Tang and Charles Ling and Boyu Wang},
  title = {{Unsupervised Unlearnable Segmentation via Semantic Structure Disruption}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=kfTjioww6E},
}
Figure