SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.06187 · 2024

Scissorhands: Scrub Data Influence via Connection Sensitivity in Networks

arXiv · PDF · Open in the Atlas

Code that ran

8 of 13 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 7 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2401.06187.json · badge: /api/ran/2401.06187.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
jingwu321/scissorhands canonical (classifier label)
classifier basis not recorded on the link
6 ran · 5 no recorded run
copy not recorded community
not in the paper's declared repositories
2 ran · 0 no recorded run
FunctionStatusWhere it lives
chunk Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from vicgalle/stable-diffusion-aesthetic-gradients
pointer only; the stored copy get_code serves, from vicgalle/stable-diffusion-aesthetic-gradients, is pointer only (licence: NOASSERTION) · get_code("8241c0562bc710fd")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

conv1x1 Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/models/ResNet.py
code served (permissive licence) · get_code("d9def42110729a85")
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 Conv2d. 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 torch.nn as nn

torch.manual_seed(0)

# The function conv1x1 takes in_planes, out_planes, and stride as parameters
# It returns an nn.Conv2d layer configured for 1x1 convolution
# We need to provide valid integer arguments for these parameters

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/models/ResNet.py
code served (permissive licence) · get_code("160bb14bd76201b4")
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 Conv2d. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
    "groups": 1,
    "dilation": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
dumps_data Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/lmdb_dataset.py
code served (permissive licence) · get_code("cadb98df0b43c793")
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 bytes. 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 pickle
import torch
import numpy as np

# Set seed for reproducibility
torch.manual_seed(0)

# Create various serializable objects to test dumps_data
obj_dict = {
    "key1": "value1",
    "key2": 42,
    "key3": [1, 2, 3]
}

obj_list = [1, 2, 3, "test", {"nested": "dict"}]

obj_tensor = torch.randn(2, 4)

obj_numpy = np.array([[1, 2, 3], [4, 5, 6]])

class SimpleClass:
    def __init__(self):
        self.data = "test_data"
        self.value = 123

obj_custom = SimpleClass()

obj_tuple = (1, 2, "three", [4, 5])

obj_string = "This is a simple string"

obj_number = 42.5

# Test with dict - this is a common serialization target
ARGS = {
    "obj": obj_dict
}
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 bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes 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
get_x_y_from_data_dict Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/imagenet.py
code served (permissive licence) · get_code("c7ae957080f6f740")
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 tuple. 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 torch.nn as nn

torch.manual_seed(0)

# Create small tensors with distinct dimensions
x_tensor = torch.randn(2, 4)  # batch size 2, feature dim 4
y_tensor = torch.randn(2, 3)  # batch size 2, label dim 3

# Case 1: data_dict with tensors (not lists)
data_dict_tensors = {
    'x': x_tensor,
    'y': y_tensor
}

device = 'cpu'

ARGS = {
    'data': data_dict_tensors,
    'device': device
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
loads_data Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/lmdb_dataset.py
pointer only (licence: MIT); the stored copy get_code serves, from s-enmt/MMFT, is pointer only (licence: NOASSERTION) · get_code("2bc7277fbb33cc3f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from s-enmt/MMFT, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

numpy_to_pil Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from vicgalle/stable-diffusion-aesthetic-gradients
pointer only; the stored copy get_code serves, from vicgalle/stable-diffusion-aesthetic-gradients, is pointer only (licence: NOASSERTION) · get_code("1e63d588563eb90a")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

raw_reader Ran
ran; our contract draft was wrong, not the code
jingwu321/scissorhands/Classification/lmdb_dataset.py
code served (permissive licence) · get_code("51738010a21f76a1")
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 bytes. 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 tempfile
import os

# Create a temporary binary file with some test data
temp_dir = tempfile.mkdtemp()
test_file = os.path.join(temp_dir, "test_data.bin")

# Write some binary data to the file
with open(test_file, 'wb') as f:
    f.write(b'\x00\x01\x02\x03\x04\x05')

ARGS = {
    'path': test_file
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bytes — a bytes output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a bytes 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
cifar100_dataloaders Not yet run
unverified (harvested, no recorded run)
jingwu321/scissorhands/Classification/dataset.py
code served (permissive licence) · get_code("9ea29973ea0485a1")
How it ran

no invocation recorded.

cifar10_dataloaders_no_val Not yet run
unverified (harvested, no recorded run)
jingwu321/scissorhands/Classification/dataset.py
code served (permissive licence) · get_code("361b798104c4eff0")
How it ran

no invocation recorded.

prepare_data Not yet run
unverified (harvested, no recorded run)
jingwu321/scissorhands/Classification/imagenet.py
code served (permissive licence) · get_code("0f58d86ba1ef71e6")
How it ran

no invocation recorded.

resnet18 Not yet run
unverified (harvested, no recorded run)
jingwu321/scissorhands/Classification/models/ResNet.py
code served (permissive licence) · get_code("50eeb60cc0488d27")
How it ran

no invocation recorded.

svhn_dataloaders Not yet run
unverified (harvested, no recorded run)
jingwu321/scissorhands/Classification/dataset.py
code served (permissive licence) · get_code("abff177e7f6f84af")
How it ran

no invocation recorded.

Also present in other papers' code

Of 13 samples lifted from this paper's linked repositories, 13 carry a function identity and 0 do not. Of the 13 distinct functions with an identity, 13 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 4 the same month, 13 later) and 0 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.

FunctionAlso present inEarliest-datedOthers named
conv1x1 431 other papers
313 dated earlier, 8 the same month, 99 later, 10 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3 312 other papers
214 dated earlier, 6 the same month, 81 later, 10 same year, order not determinable, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
resnet18 95 other papers
59 dated earlier, 1 the same month, 31 later, 3 same year, order not determinable, 1 undated
1805.00907 (2018-05)
Glow: Graph Lowering Compiler Techniques for Neural Networks
1902.08153 (2019-02)
Learned Step Size Quantization
1904.01355 (2019-04)
FCOS: Fully Convolutional One-Stage Object Detection
and 92 more not named here
chunk 40 other papers
30 dated earlier, 9 later, 1 same year, order not determinable
2106.14490 (2021-06)
Making Images Real Again: A Comprehensive Survey on Deep Image Composition
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.11824 (2022-04)
Semi-Parametric Neural Image Synthesis
and 37 more not named here
numpy_to_pil 23 other papers
15 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable
2106.14490 (2021-06)
Making Images Real Again: A Comprehensive Survey on Deep Image Composition
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2209.12330 (2022-09)
Personalizing Text-to-Image Generation via Aesthetic Gradients
and 20 more not named here
raw_reader 8 other papers
4 dated earlier, 3 later, 1 same year, order not determinable
2202.07800 (2022-02)
Not All Patches are What You Need: Expediting Vision Transformers via Token Reorganizations
2209.04996 (2022-09)
Switchable Online Knowledge Distillation
2210.05958 (2022-10)
Bridging the Gap Between Vision Transformers and Convolutional Neural Networks on Small Datasets
and 5 more not named here
loads_data 5 other papers
1 dated earlier, 3 later, 1 same year, order not determinable
2303.08500 (2023-03)
The Devil's Advocate: Shattering the Illusion of Unexploitable Data using Diffusion Models
aaai_28365 (2024 (year only))
AGS: Affordable and Generalizable Substitute Training for Transferable Adversarial Attack
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
and 2 more not named here
get_x_y_from_data_dict 4 other papers
2 dated earlier, 2 later · 1 only as an assembly brick
2304.04934 (2023-04)
Model Sparsity Can Simplify Machine Unlearning
2310.18574 (2023-10)
Breaking the Trilemma of Privacy, Utility, Efficiency via Controllable Machine Unlearning
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
and 1 more not named here
dumps_data 3 other papers
1 dated earlier, 1 later, 1 same year, order not determinable
2303.08500 (2023-03)
The Devil's Advocate: Shattering the Illusion of Unexploitable Data using Diffusion Models
aaai_28365 (2024 (year only))
AGS: Affordable and Generalizable Substitute Training for Transferable Adversarial Attack
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
cifar10_dataloaders_no_val 2 other papers
1 dated earlier, 1 later
2310.18574 (2023-10)
Breaking the Trilemma of Privacy, Utility, Efficiency via Controllable Machine Unlearning
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
cifar100_dataloaders 1 other paper
1 later
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
prepare_data 1 other paper
1 later
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models
svhn_dataloaders 1 other paper
1 later
2402.11846 (2024-02)
UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models

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-22.

Repositories linked to this paper

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

Abstract

Machine unlearning has become a pivotal task to erase the influence of data from a trained model. It adheres to recent data regulation standards and enhances the privacy and security of machine learning applications. In this work, we present a new machine unlearning approach Scissorhands. Initially, Scissorhands identifies the most pertinent parameters in the given model relative to the forgetting data via connection sensitivity. By reinitializing the most influential top-k percent of these parameters, a trimmed model for erasing the influence of the forgetting data is obtained. Subsequently, Scissorhands fine-tunes the trimmed model with a gradient projection-based approach, seeking parameters that preserve information on the remaining data while discarding information related to the forgetting data. Our experimental results, conducted across image classification and image generation tasks, demonstrate that Scissorhands, showcases competitive performance when compared to existing methods. Source code is available at https://github.com/JingWu321/Scissorhands.

For agents

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

get_harvested_code_for_paper("2401.06187")
get_code_for_paper("2401.06187")
have("2401.06187")

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

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

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

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

Connect an agent — have() is free.