SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2206.03693 · NeurIPS · 2022

Autoregressive Perturbations for Data Poisoning

Micah Goldblum, Tom Goldstein, Jonas Geiping, Vasu Singla, David Jacobs, Pedro Sandoval-Segura

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2206.03693.json · badge: /api/ran/2206.03693.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
psandovalsegura/autoregressive-poisoning canonical (classifier label)
classifier basis: classifier_2025
2 ran · 1 no recorded run
psandovalsegura/learn-from-unlearnable community
Papers with Code archive
1 ran · 1 no recorded run
FunctionStatusWhere it lives
ARProcessPerturb3Channel Ran
ran on a synthesized input · constructed an object; no result was computed
psandovalsegura/autoregressive-poisoning/autoregressive.py
code served (permissive licence) · get_code("060b77a13d61aa6d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, ARProcessPerturb3Channel: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Construct a valid b parameter: shape (3, 3, 3) with last entry per channel = 0
b = torch.randn((3, 3, 3))
for c in range(3):
    b[c][2][2] = 0
    b[c] /= torch.sum(b[c])

ARGS = {
    'b': b
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ARProcessPerturb3Channel — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a ARProcessPerturb3Channel output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
eval_on_loader Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
psandovalsegura/learn-from-unlearnable/dfr_step_1.py
pointer only (licence: NONE) · get_code("164f4838834c6092")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, psandovalsegura/learn-from-unlearnable when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

perturb_with_ar_process Ran
ran; our contract draft was wrong, not the code
psandovalsegura/autoregressive-poisoning/create_ar_poisons_3channel.py
code served (permissive licence) · get_code("48b84fc945bc8e86")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 32, 32) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

class ARProcess(nn.Module):
    """Stand-in AR process that generates perturbations"""
    def __init__(self):
        super().__init__()
    
    def generate(self, p, eps, size, crop):
        """Generate delta perturbation and some auxiliary output"""
        # Return a delta tensor matching the input shape and a dummy auxiliary output
        delta = torch.randn(3, 32, 32) * eps
        aux = None
        return delta, aux

# Create AR processes for each class (10 classes for CIFAR-10)
num_classes = 10
ar_processes = [ARProcess() for _ in range(num_classes)]

# Create batch of inputs: (B=2, C=3, H=32, W=32)
inputs = torch.rand(2, 3, 32, 32)

# Create targets: batch of class indices
targets = torch.tensor([0, 5])

# Parameters for AR process generation
p_norm = 2
size = (32, 32)
crop = 0
eps = 1.0

ARGS = {
    "ar_processes": ar_processes,
    "inputs": inputs,
    "targets": targets,
    "p_norm": p_norm,
    "size": size,
    "crop": crop,
    "eps": eps,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 32, 32) — shape (2, 3, 32, 32) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
export_poison Not yet run
unverified (harvested, no recorded run)
psandovalsegura/autoregressive-poisoning/create_ar_poisons_3channel.py
code served (permissive licence) · get_code("ee60eb57e628b222")
How it ran

no invocation recorded.

train_model Not yet run
unverified (harvested, no recorded run)
psandovalsegura/learn-from-unlearnable/dfr_step_1.py
pointer only (licence: NONE) · get_code("4fe69afc04e54986")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, psandovalsegura/learn-from-unlearnable when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The prevalence of data scraping from social media as a means to obtain datasets has led to growing concerns regarding unauthorized use of data. Data poisoning attacks have been proposed as a bulwark against scraping, as they make data "unlearnable" by adding small, imperceptible perturbations. Unfortunately, existing methods require knowledge of both the target architecture and the complete dataset so that a surrogate network can be trained, the parameters of which are used to generate the attack. In this work, we introduce autoregressive (AR) poisoning, a method that can generate poisoned data without access to the broader dataset. The proposed AR perturbations are generic, can be applied across different datasets, and can poison different architectures. Compared to existing unlearnable methods, our AR poisons are more resistant against common defenses such as adversarial training and strong data augmentations. Our analysis further provides insight into what makes an effective data poison.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2206.03693")
get_code_for_paper("2206.03693")
have("2206.03693")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2206.03693.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2206.03693.svg)](https://syntology.ai/paper/2206.03693)

Connect an agent — have() is free.