Papers › Purify Unlearnable Examples via Rate-Constrained Variational Autoencoders

Purify Unlearnable Examples via Rate-Constrained Variational Autoencoders

2 May 2024arXiv:2405.01460archive 2025-07-28

Yi Yu, YuFei Wang, Song Xia, Wenhan Yang, Shijian Lu, Yap-Peng Tan, Alex C. Kot

Unlearnable examples (UEs) seek to maximize testing error by making subtle modifications to training examples that are correctly labeled. Defenses against these poisoning attacks can be categorized based on whether specific interventions are adopted during training. The first approach is training-time defense, such as adversarial training, which can mitigate poisoning effects but is computationally intensive. The other approach is pre-training purification, e.g., image short squeezing, which consists of several simple compressions but often encounters challenges in dealing with various UEs. Our work provides a novel disentanglement mechanism to build an efficient pre-training purification method. Firstly, we uncover rate-constrained variational autoencoders (VAEs), demonstrating a clear tendency to suppress the perturbations in UEs. We subsequently conduct a theoretical analysis for this phenomenon. Building upon these insights, we introduce a disentangle variational autoencoder (D-VAE), capable of disentangling the perturbations with learnable class-wise embeddings. Based on this network, a two-stage purification approach is naturally developed. The first stage focuses on roughly eliminating perturbations, while the second stage produces refined, poison-free results, ensuring effectiveness and robustness across various scenarios. Extensive experiments demonstrate the remarkable performance of our method across CIFAR-10, CIFAR-100, and a 100-class ImageNet-subset. Code is available at https://github.com/yuyi-sd/D-VAE.

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="2405.01460")

Code

Syntology Ran 11 of 13 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 9 ran with no contract checked.

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

yuyi-sd/d-vae officialmentioned in paperpytorchMIT 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

13 samples harvested; 11 ran; 0 honoured the contract we drafted; 2 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
9ran
2unverified

Licence: 0 of the 13 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 yuyi-sd/D-VAE. “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.

BDR yuyi-sd/D-VAE/dataset.py official repository ran fingerprinted MIT (permissive) · d67c0086a92ec8d7 · report
DenseNet121 yuyi-sd/D-VAE/models/DenseNet.py official repository ran MIT (permissive) · dfb395bae3d07d76 · report
DenseNet169 yuyi-sd/D-VAE/models/DenseNet.py official repository ran MIT (permissive) · f295fe3c209ecf78 · report
DenseNet201 yuyi-sd/D-VAE/models/DenseNet.py official repository ran MIT (permissive) · 6383aee1c940e7a5 · report
JPEGcompression yuyi-sd/D-VAE/dataset.py official repository ran MIT (permissive) · 85f37398aa70266a · report
ResNet18 yuyi-sd/D-VAE/models/ResNet.py official repository ran MIT (permissive) · 68634298232db423 · report
ResNet34 yuyi-sd/D-VAE/models/ResNet.py official repository ran MIT (permissive) · b2e6f658713469be · report
ResNet50 yuyi-sd/D-VAE/models/ResNet.py official repository ran MIT (permissive) · 97c797446a5cfee3 · report
ResNetDVAE yuyi-sd/d-vae/models/ResNet.py official repository ran MIT (permissive) · 7a6f115523f576f3 · report
conv1x1 yuyi-sd/D-VAE/models/resnet_official.py official repository ran · our draft was wrong MIT (permissive) · 2a80220dabcb742a · report
conv3x3 yuyi-sd/D-VAE/models/resnet_official.py official repository ran · our draft was wrong MIT (permissive) · 600ff2c45e0de056 · report
patch_noise_extend_to_img yuyi-sd/D-VAE/dataset.py official repository unverified MIT (permissive) · aefa2123c98d35c6 · report
resnet18 yuyi-sd/D-VAE/models/resnet_official.py official repository unverified MIT (permissive) · 0e2be202574017d8 · report

Tasks

Disentanglement

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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