SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1803.03635 · 2018

The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networks

Jonathan Frankle, Michael Carbin

arXiv · PDF · Open in the Atlas

Code that ran

12 of 25 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 2 failures of our instrument; 13 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/1803.03635.json · badge: /api/ran/1803.03635.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
google-research/lottery-ticket-hypothesis community (classifier label)
classifier basis not recorded on the link
5 ran · 1 no recorded run
SirBubbls/condense community (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
gcastex/PruNet community
Papers with Code archive
1 ran · 1 no recorded run
kosnil/signed_supermasks community
Papers with Code archive
1 ran · 0 no recorded run
JingtongSu/sanity-checking-pruning community
Papers with Code archive
1 ran · 0 no recorded run
ismail31416/colt community
Papers with Code archive
1 ran · 0 no recorded run
jankrepl/mildlyoverfitted community
Papers with Code archive
0 ran · 2 no recorded run
kenichdietrich/LotteryTicketHypothesis community
Papers with Code archive
0 ran · 1 no recorded run
Happy-Virus-IkBeom/LTH_Tensorflow community
Papers with Code archive
0 ran · 1 no recorded run
phiandark/SiftingFeatures community
Papers with Code archive
0 ran · 1 no recorded run
Taoudi/LotteryTicketHypothesis community
Papers with Code archive
0 ran · 1 no recorded run
hdo0947/Lottery-Ticket-Hypothesis community
Papers with Code archive
0 ran · 1 no recorded run
Mraksu/Lottery-Ticket community
Papers with Code archive
0 ran · 1 no recorded run
luuyin/lottery-pools community
Papers with Code archive
0 ran · 1 no recorded run
FunctionStatusWhere it lives
MaskedDense Ran
ran on a synthesized input · constructed an object; no result was computed
kosnil/signed_supermasks/custom_layers.py
pointer only (licence: GPL-3.0) · get_code("615a98f5356e6e36")
How it ran

The body of this sample is withheld: GPL-3.0, as GitHub detects it on this paper's repository, kosnil/signed_supermasks, is not in the permissive set Syntology serves inline. 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.

PruneNN Ran
ran on a synthesized input · constructed an object; no result was computed
gcastex/PruNet/prunet_models.py
code served (permissive licence) · get_code("83ea615b3cdbcc44")
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, PruneNN: 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 torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Create a PruneNN model instance
model = nn.Module()

ARGS = {}
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 PruneNN — 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 PruneNN 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
SmartRatio Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
JingtongSu/sanity-checking-pruning/pruner/SmartRatio.py
code served (permissive licence) · get_code("c3736538f6336cc1")
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 list. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import numpy as np

torch.manual_seed(0)

# Build a small network with Conv2d and Linear layers
class SmallNet(nn.Module):
    def __init__(self):
        super(SmallNet, self).__init__()
        self.conv1 = nn.Conv2d(3, 4, kernel_size=3)
        self.conv2 = nn.Conv2d(4, 5, kernel_size=3)
        self.fc1 = nn.Linear(5 * 2 * 2, 8)
        self.fc2 = nn.Linear(8, 2)
    
    def forward(self, x):
        x = self.conv1(x)
        x = self.conv2(x)
        x = x.view(x.size(0), -1)
        x = self.fc1(x)
        x = self.fc2(x)
        return x

net = SmallNet()

# Build args object with all required attributes
class Args:
    def __init__(self):
        self.linear_keep_ratio = 0.8
        self.linear_decay = 0
        self.ascend = 0
        self.cubic = 0
        self.arch = 'resnet'
        self.init_prune_ratio = 0.3
        self.uniform = 0
        self.hybrid = 0

args = Args()

ratio = 0.5
device = 'cpu'

ARGS = {
    'net': net,
    'ratio': ratio,
    'device': device,
    'args': args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list — a list 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
calc_layer_sparsity Ran
ran on a synthesized input
SirBubbls/condense/condense/utils/layer_utils.py
code served (permissive licence) · get_code("dec7df8ba96b72cf")
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 float, ndim 0, dtype family float, shape () 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 numpy as np

# Create a small numpy ndarray with some zero values to test sparsity calculation
ndarray = np.array([
    [1.0, 0.0, 2.0],
    [0.0, 3.0, 0.0],
    [4.0, 0.0, 5.0]
])

ARGS = {
    "ndarray": ndarray
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () 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
final Ran
ran on a synthesized input
google-research/lottery-ticket-hypothesis/foundations/paths.py
code served (permissive licence) · get_code("03bcd1b2149937aa")
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 str. 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 os
import tempfile

# Create a temporary directory to use as the parent_directory
parent_directory = tempfile.mkdtemp()

# Define the ARGS dict with the required parameter
ARGS = {
    'parent_directory': parent_directory
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
initial Ran
ran on a synthesized input
google-research/lottery-ticket-hypothesis/foundations/paths.py
code served (permissive licence) · get_code("55dac1ab0b434f50")
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 str. 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 os
import tempfile

# Create a temporary directory to use as parent_directory
parent_directory = tempfile.mkdtemp()

# The function only takes one parameter: parent_directory
# It simply joins it with 'initial' using os.path.join
ARGS = {
    'parent_directory': parent_directory
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
is_supported_layer Ran
ran on a synthesized input
SirBubbls/condense/condense/keras/support.py
code served (permissive licence) · get_code("29318b74de85a6a7")
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 bool, ndim 0, dtype family float, shape () 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.

from keras import layers

# Create a supported layer instance (Dense)
dense_layer = layers.Dense(units=10)

# Create an unsupported layer instance (e.g., a mock layer not in SUPPORTED_LAYERS)
class UnsupportedLayer:
    pass

unsupported_layer = UnsupportedLayer()

# Test with a supported layer
ARGS = {
    "layer": dense_layer
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
keras — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type bool, ndim 0, dtype family float, shape () — shape () 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
lth_global_unstructured_pruning Ran
ran; our contract draft was wrong, not the code
ismail31416/colt/prune.py
code served (permissive licence) · get_code("f4efe6bc7f43e9a5")
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 SmallModel. 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)

# Build a small model with Linear, Conv2d, and BatchNorm2d layers
class SmallModel(nn.Module):
    def __init__(self, num_classes=10):
        super().__init__()
        self.conv1 = nn.Conv2d(3, 8, kernel_size=3)
        self.bn1 = nn.BatchNorm2d(8)
        self.linear1 = nn.Linear(8 * 6 * 6, 16)
        self.output = nn.Linear(16, num_classes)
    
    def forward(self, x):
        x = self.conv1(x)
        x = self.bn1(x)
        x = x.view(x.size(0), -1)
        x = self.linear1(x)
        x = self.output(x)
        return x

model = SmallModel(num_classes=10)
output_class = 10

ARGS = {
    'model': model,
    'output_class': output_class,
    'bias': True,
    'linear': 0.3,
    'output': 0.2,
    'conv': 0.1,
    'batchnorm': 0.15
}
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 SmallModel — a SmallModel output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SmallModel 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
mask_min_value Ran
ran on a synthesized input
SirBubbls/condense/condense/optimizer/masking_functions.py
code served (permissive licence) · get_code("4a68efa34f4d9a4d")
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 ndarray, ndim 2, dtype family float, shape (4, 3) 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 numpy as np

# Create a small test numpy array
np.random.seed(0)
ndarray = np.random.randn(4, 3)

# Set target sparsity to a reasonable value (e.g., 0.5 means mask 50% of elements)
target_sparsity = 0.5

ARGS = {
    "ndarray": ndarray,
    "target_sparsity": target_sparsity,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) 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
masks Ran
ran on a synthesized input
google-research/lottery-ticket-hypothesis/foundations/paths.py
code served (permissive licence) · get_code("d9c4c8964d1fac64")
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 str. 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 os

# The function 'masks' takes a parent_directory parameter (a string path)
# and returns a joined path to a 'masks' subdirectory within it.
# We just need to provide a valid directory path string.

parent_directory = "/tmp/model_checkpoints"

ARGS = {
    "parent_directory": parent_directory
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
prune_by_percent Ran
ran on a synthesized input
google-research/lottery-ticket-hypothesis/foundations/pruning.py
code served (permissive licence) · get_code("f85f16caefd6b8eb")
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 dict. 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 numpy as np

# Create small numpy arrays for weights and masks
# Using distinct sizes: 4x3 for layer1, 3x2 for layer2

layer1_weights = np.random.randn(4, 3)
layer2_weights = np.random.randn(3, 2)

layer1_mask = np.ones((4, 3))
layer2_mask = np.ones((3, 2))

percents = {
    'layer1': 0.5,
    'layer2': 0.3
}

masks = {
    'layer1': layer1_mask,
    'layer2': layer2_mask
}

final_weights = {
    'layer1': layer1_weights,
    'layer2': layer2_weights
}

ARGS = {
    'percents': percents,
    'masks': masks,
    'final_weights': final_weights
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
standardize Ran
ran on a synthesized input
google-research/lottery-ticket-hypothesis/foundations/save_restore.py
code served (permissive licence) · get_code("f8f55fc872e42472")
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 dict. 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 os
import numpy as np
import six
import tempfile
import tensorflow as tf

# Create a temporary directory with .npy files for testing restore_network
temp_dir = tempfile.mkdtemp()

# Create some sample .npy files
np.save(os.path.join(temp_dir, 'weight1.npy'), np.array([1.0, 2.0, 3.0, 4.0]))
np.save(os.path.join(temp_dir, 'weight2.npy'), np.array([[5.0, 6.0], [7.0, 8.0]]))

# Define a simple combine function for combining dictionaries
def simple_combine(dict_list):
    combined = {}
    for d in dict_list:
        if d is not None:
            combined.update(d)
    return combined

# Test case 1: network is None
network_none = None

# Test case 2: network is a dictionary
network_dict = {
    'layer1': np.array([1.0, 2.0, 3.0]),
    'layer2': np.array([[4.0, 5.0], [6.0, 7.0]])
}

# Test case 3: network is a string path to directory with npy files
network_path = temp_dir

# Test case 4: network is a list of dictionaries and/or paths
network_list = [
    {'weights_a': np.array([0.1, 0.2])},
    network_path,
    {'weights_b': np.array([0.3, 0.4])}
]

# Build ARGS for the standardize function
ARGS = {
    'network': network_dict,
    'combine_fn': simple_combine
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, six, tensorflow — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
LotteryModel Not yet run
unverified (harvested, no recorded run)
kenichdietrich/LotteryTicketHypothesis/lib/model_base.py
code served (permissive licence) · get_code("5ca323d31d0cded6")
How it ran

no invocation recorded.

experiment Not yet run
unverified (harvested, no recorded run)
Happy-Virus-IkBeom/LTH_Tensorflow/foundations/experiment.py
code served (permissive licence) · get_code("239b1c9179d0f205")
How it ran

no invocation recorded.

find_winning_ticket Not yet run
unverified (harvested, no recorded run)
SirBubbls/condense/condense/keras/lottery_ticket.py
code served (permissive licence) · get_code("429d1495da51432a")
How it ran

no invocation recorded.

get_internal_weights Not yet run
unverified (harvested, no recorded run)
SirBubbls/condense/condense/keras/wrappers.py
code served (permissive licence) · get_code("d55e91d5c465a514")
How it ran

no invocation recorded.

init_weights Not yet run
unverified (harvested, no recorded run)
gcastex/PruNet/prunet_models.py
code served (permissive licence) · get_code("6ee14debe7b75591")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
phiandark/SiftingFeatures/src/IMP.py
pointer only (licence: NONE) · get_code("37d9fe25cec668ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, phiandark/SiftingFeatures 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.

prune Not yet run
unverified (harvested, no recorded run)
Taoudi/LotteryTicketHypothesis/src/conv_cifar/pruning.py
pointer only (licence: NONE) · get_code("affcc14cf097faad")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Taoudi/LotteryTicketHypothesis 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.

prune_linear Not yet run
unverified (harvested, no recorded run)
jankrepl/mildlyoverfitted/github_adventures/lottery/utils.py
code served (permissive licence) · get_code("2c4ad9ac492a7e53")
How it ran

no invocation recorded.

prune_mlp Not yet run
unverified (harvested, no recorded run)
jankrepl/mildlyoverfitted/github_adventures/lottery/utils.py
code served (permissive licence) · get_code("d5df1b38c4aef4a5")
How it ran

no invocation recorded.

prune_model Not yet run
unverified (harvested, no recorded run)
hdo0947/Lottery-Ticket-Hypothesis/prune_fns.py
pointer only (licence: NONE) · get_code("1a27a9779b4642f9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hdo0947/Lottery-Ticket-Hypothesis 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.

prune_network Not yet run
unverified (harvested, no recorded run)
Mraksu/Lottery-Ticket/used_func.py
pointer only (licence: NONE) · get_code("85ad362a20ae6e7b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Mraksu/Lottery-Ticket 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.

pruning_model Not yet run
unverified (harvested, no recorded run)
luuyin/lottery-pools/CIFAR/pruner/pruner.py
pointer only (licence: NONE) · get_code("174ea0f086b238ab")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, luuyin/lottery-pools 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.

restore_network Not yet run
unverified (harvested, no recorded run)
google-research/lottery-ticket-hypothesis/foundations/save_restore.py
code served (permissive licence) · get_code("c64600650ffbbe46")
How it ran

no invocation recorded.

Also present in other papers' code

Of 25 samples lifted from this paper's linked repositories, 25 carry a function identity and 0 do not. Of the 25 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 25 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

Neural network pruning techniques can reduce the parameter counts of trained networks by over 90%, decreasing storage requirements and improving computational performance of inference without compromising accuracy. However, contemporary experience is that the sparse architectures produced by pruning are difficult to train from the start, which would similarly improve training performance. We find that a standard pruning technique naturally uncovers subnetworks whose initializations made them capable of training effectively. Based on these results, we articulate the lottery ticket hypothesis: dense, randomly-initialized, feed-forward networks contain subnetworks (winning tickets) that-when trained in isolationreach test accuracy comparable to the original network in a similar number of iterations. The winning tickets we find have won the initialization lottery: their connections have initial weights that make training particularly effective. We present an algorithm to identify winning tickets and a series of experiments that support the lottery ticket hypothesis and the importance of these fortuitous initializations. We consistently find winning tickets that are less than 10-20% of the size of several fully-connected and convolutional feed-forward architectures for MNIST and CIFAR10. Above this size, the winning tickets that we find learn faster than the original network and reach higher test accuracy.

For agents

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

get_harvested_code_for_paper("1803.03635")
get_code_for_paper("1803.03635")
have("1803.03635")

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

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

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

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

Connect an agent — have() is free.