SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1911.08177 · 2019

Rethinking deep active learning: Using unlabeled data at model training

arXiv · PDF · Open in the Atlas

Code that ran

16 of 21 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; 3 honoured the contract we drafted, 1 violated it and 11 have no contract verdict; 1 failure of our instrument; 5 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/1911.08177.json · badge: /api/ran/1911.08177.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
osimeoni/RethinkingDeepActiveLearning canonical (classifier label)
classifier basis: census
16 ran · 5 no recorded run
FunctionStatusWhere it lives
sigmoid_rampup Ran
ran, honoured the contract we drafted
osimeoni/RethinkingDeepActiveLearning/lib/ramps.py
code served (permissive licence) · get_code("3fb68ed6809a8085")
How it ran

Ran in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:27:05Z). 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

# The function sigmoid_rampup takes two parameters:
# - current: a numeric value representing the current step/epoch
# - rampup_length: a numeric value representing the total rampup length

ARGS = {
    "current": 5,
    "rampup_length": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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
args_def Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/parse_args.py
code served (permissive licence) · get_code("b644c92f19b17c62")
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 SimpleArgs. 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)

class SimpleArgs:
    def __init__(self):
        self.use_val_set = True
        self.train_subdir = 'train'
        self.eval_subdir = 'val'
        self.add_lp = False
        self.add_ceal = False
        self.resume = False
        self.is_pW = 1
        self.exclude_unlabeled = False
        self.batch_size = 64
        self.labeled_batch_size = None
        self.lp_percent = 0.5
        self.weighted_unlabeled_batch = False
        self.pseudo_method = 'full'
        self.lr_rampdown_epochs = 100
        self.epochs = 50

ARGS = {
    'args': SimpleArgs()
}
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 SimpleArgs — a SimpleArgs output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a SimpleArgs 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
arrange_clustering Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/pretraining.py
code served (permissive licence) · get_code("eb00239afa626c47")
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 1, dtype family int, shape (10,) 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

# Construct a valid images_lists argument
# This should be a list of lists, where each inner list contains image indexes
images_lists = [
    [0, 2, 4, 6],      # cluster 0: images at indexes 0, 2, 4, 6
    [1, 3, 5],         # cluster 1: images at indexes 1, 3, 5
    [7, 8, 9]          # cluster 2: images at indexes 7, 8, 9
]

ARGS = {
    "images_lists": images_lists
}
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 1, dtype family int, shape (10,) — shape (10,) 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
cosine_rampdown Ran
ran, honoured the contract we drafted
osimeoni/RethinkingDeepActiveLearning/lib/ramps.py
pointer only (licence: MIT); the stored copy get_code serves, from atinghosh/Adverserial-VAE, is pointer only (licence: NONE) · get_code("214e4ee9afcfa0e3")
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 atinghosh/Adverserial-VAE, and GitHub detected no licence in that repository 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.

get_checkpoint_cycle_epoch Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/checkpoints.py
code served (permissive licence) · get_code("ca3060b255d2379d")
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, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 torch
import tempfile

torch.manual_seed(0)

# Create a temporary directory for the checkpoint
temp_dir = tempfile.mkdtemp()

# Create a valid checkpoint file
checkpoint = {
    'cycle': 5,
    'epoch': 42
}

# Save the checkpoint
checkpoint_path = os.path.join(temp_dir, 'checkpoint_last.ckpt')
torch.save(checkpoint, checkpoint_path)

ARGS = {
    'dirpath': temp_dir
}
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, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
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
iterate_eternally_weighted Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/samplers.py
code served (permissive licence) · get_code("52ce43e6a4cb29fd")
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 chain. 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 itertools
import numpy as np
import torch

torch.manual_seed(0)

# Analyze the function:
# - indices: used with np.array(indices)[sel], so needs to be indexable
# - distribution: used with distribution / np.sum(distribution) and np.random.choice(..., p=distribution)
#   so needs to be a numpy array or array-like of probabilities
# - replacement: parameter exists but is never used in the function body

indices = [0, 1, 2, 3]
distribution = np.array([0.25, 0.25, 0.25, 0.25])
replacement = True

ARGS = {
    'indices': indices,
    'distribution': distribution,
    'replacement': replacement
}
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 chain — a chain output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a chain 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
iterate_once Ran
ran, violated the contract we drafted
osimeoni/RethinkingDeepActiveLearning/lib/samplers.py
pointer only (licence: MIT); the stored copy get_code serves, from xujiaommcome/DiCo, is pointer only (licence: NONE) · get_code("4232c309adddf9e4")
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 xujiaommcome/DiCo, and GitHub detected no licence in that repository 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.

iterate_once_weighted Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/samplers.py
code served (permissive licence) · get_code("c0409a72750ab70d")
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 1, dtype family int, shape (5,) 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

# Construct arguments for iterate_once_weighted
indices = np.array([10, 20, 30, 40, 50])
distribution = np.array([0.1, 0.2, 0.3, 0.2, 0.2])
replacement = True

ARGS = {
    'indices': indices,
    'distribution': distribution,
    'replacement': replacement
}
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 1, dtype family int, shape (5,) — shape (5,) 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
linear_rampup Ran
ran, honoured the contract we drafted
osimeoni/RethinkingDeepActiveLearning/lib/ramps.py
pointer only (licence: MIT); the stored copy get_code serves, from y-research-sbu/otsurv, is pointer only (licence: NOASSERTION) · get_code("069122bd5268cc56")
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 y-research-sbu/otsurv, 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.

load_best_model Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/checkpoints.py
code served (permissive licence) · get_code("027cbb8a99163f3d")
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, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 torch
import torch.nn as nn
import tempfile
import shutil

torch.manual_seed(0)

# Create a minimal model
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a temporary directory for the checkpoint
temp_dir = tempfile.mkdtemp()

# Create and save a checkpoint file
model = MinimalModel()
cycle = 5
filename = 'checkpoint_cycle%d_best.ckpt' % cycle
checkpoint_path = os.path.join(temp_dir, filename)

# Save a checkpoint with the required structure
checkpoint = {
    'model': model.state_dict(),
    'cycle': cycle,
    'epoch': 42
}
torch.save(checkpoint, checkpoint_path)

# Create fresh model instance for the function to load into
model_to_load = MinimalModel()

ARGS = {
    'model': model_to_load,
    'cycle': cycle,
    'dirpath': temp_dir
}
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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
load_checkpoint Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/checkpoints.py
code served (permissive licence) · get_code("46ba2181ef7b8680")
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, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 tempfile
import os

torch.manual_seed(0)

# Create a minimal model
class MinimalModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create a minimal optimizer
model = MinimalModel()
optimizer = torch.optim.SGD(model.parameters(), lr=0.01)

# Create a temporary directory for checkpoint
dirpath = tempfile.mkdtemp()

# Create a checkpoint file to test the resume path
checkpoint_path = os.path.join(dirpath, 'checkpoint_last.ckpt')
checkpoint_data = {
    'cycle': 5,
    'epoch': 10,
    'model': model.state_dict(),
    'optimizer': optimizer.state_dict()
}
torch.save(checkpoint_data, checkpoint_path)

# Create fresh model and optimizer for the function call
model_fresh = MinimalModel()
optimizer_fresh = torch.optim.SGD(model_fresh.parameters(), lr=0.01)

current_cycle = 5

ARGS = {
    'model': model_fresh,
    'optimizer': optimizer_fresh,
    'dirpath': dirpath,
    'current_cycle': current_cycle
}
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, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
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
normalize_connection_graph Ran
ran; our contract draft was wrong, not the code
osimeoni/RethinkingDeepActiveLearning/lib/diffusion.py
code served (permissive licence) · get_code("0182e8a61631b045")
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 csr_matrix. 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
from scipy.sparse import csr_matrix, eye, diags

# Create a small sparse connection graph
# Using a 4x4 matrix with some connections
G = np.array([
    [0, 1, 1, 0],
    [1, 0, 1, 1],
    [1, 1, 0, 1],
    [0, 1, 1, 0]
], dtype=float)

ARGS = {
    "G": G
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type csr_matrix — a csr_matrix output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a csr_matrix 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
preprocess_features Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/pretraining.py
code served (permissive licence) · get_code("f71bd22cd58c9889")
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 (2, 4) 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 feature array: N=2 samples, ndim=4 features
npdata = np.random.randn(2, 4).astype('float32')

ARGS = {
    'npdata': npdata,
    'pca': 128,
}
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 (2, 4) — shape (2, 4) 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
relabel_dataset Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/data.py
code served (permissive licence) · get_code("06cfd1a81374ad1f")
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 os
import tempfile

class MockImageDataset:
    def __init__(self):
        self.imgs = [
            ('/path/to/image1.jpg', 0),
            ('/path/to/image2.jpg', 1),
            ('/path/to/image3.jpg', 0),
            ('/path/to/image4.jpg', 2),
        ]
        self.all_labels = []
        self.p_labels = []
        self.class_to_idx = {
            'cat': 0,
            'dog': 1,
            'bird': 2,
        }
        self.labeled_idxs = []
        self.unlabeled_idxs = []

dataset = MockImageDataset()

labels = {
    'image1.jpg': 'cat',
    'image2.jpg': 'dog',
    'image4.jpg': 'bird',
}

ARGS = {
    'dataset': dataset,
    'labels': labels,
}
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 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
update_dataset Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/data.py
code served (permissive licence) · get_code("9504dfabd495b1d0")
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 numpy as np
from collections import namedtuple

class MockDataset:
    def __init__(self):
        self.imgs = [
            ('data/class_a/img_0.jpg', -1),
            ('data/class_b/img_1.jpg', -1),
            ('data/class_a/img_2.jpg', -1),
            ('data/class_b/img_3.jpg', -1),
            ('data/class_a/img_4.jpg', -1),
        ]
        self.class_to_idx = {
            'class_a': 0,
            'class_b': 1,
        }
        self.labeled_idxs = []
        self.unlabeled_idxs = []


dataset = MockDataset()
to_label_idx = [0, 2, 4]
labeled_idxs = []

ARGS = {
    'dataset': dataset,
    'to_label_idx': to_label_idx,
    'labeled_idxs': labeled_idxs,
}
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 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
update_dataset_resuming Ran
ran on a synthesized input
osimeoni/RethinkingDeepActiveLearning/lib/data.py
code served (permissive licence) · get_code("536b69ff13eb7ad5")
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 list, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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
from torchvision import datasets
from unittest.mock import Mock

torch.manual_seed(0)

# Create a mock dataset that mimics torchvision.datasets.ImageFolder structure
dataset = Mock()

# Build imgs list with (path, label_idx) tuples
# Paths should have class names as second-to-last component
dataset.imgs = [
    ('/data/cat/image_0.jpg', 0),
    ('/data/dog/image_1.jpg', 1),
    ('/data/cat/image_2.jpg', 0),
    ('/data/dog/image_3.jpg', 1),
    ('/data/bird/image_4.jpg', 2),
]

# Build class_to_idx mapping
dataset.class_to_idx = {
    'cat': 0,
    'dog': 1,
    'bird': 2,
}

# Initialize dataset attributes that will be set by the function
dataset.labeled_idxs = None
dataset.unlabeled_idxs = None

# Define the labeled indices (which will be updated)
labeled_idxs = [0, 2, 4]

ARGS = {
    'dataset': dataset,
    'labeled_idxs': labeled_idxs,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family int — a list output has no array shape of its own; none is stated
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
cg_diffusion Not yet run
unverified (harvested, no recorded run)
osimeoni/RethinkingDeepActiveLearning/lib/diffusion.py
code served (permissive licence) · get_code("61ad799063fb382f")
How it ran

no invocation recorded.

cg_diffusion_sel Not yet run
unverified (harvested, no recorded run)
osimeoni/RethinkingDeepActiveLearning/lib/diffusion.py
code served (permissive licence) · get_code("b4e42d5d1f365191")
How it ran

no invocation recorded.

from_args_to_string Not yet run
unverified (harvested, no recorded run)
osimeoni/RethinkingDeepActiveLearning/lib/parse_args.py
code served (permissive licence) · get_code("c2b960cfb8e3e5e5")
How it ran

no invocation recorded.

get_unlabeled_idx Not yet run
unverified (harvested, no recorded run)
osimeoni/RethinkingDeepActiveLearning/lib/selection_methods.py
code served (permissive licence) · get_code("768bffc1d686fdc1")
How it ran

no invocation recorded.

run_kmeans Not yet run
unverified (harvested, no recorded run)
osimeoni/RethinkingDeepActiveLearning/lib/pretraining.py
code served (permissive licence) · get_code("241d2900db767278")
How it ran

no invocation recorded.

Also present in other papers' code

Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 4 later) and 14 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
sigmoid_rampup 19 other papers
4 dated earlier, 15 later
1806.04606 (2018-06)
Knowledge Distillation by On-the-Fly Native Ensemble
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
1904.09058 (2019-04)
Feature Fusion for Online Mutual Knowledge Distillation
and 16 more not named here
linear_rampup 16 other papers
2 dated earlier, 14 later
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
1907.07034 (2019-07)
Uncertainty-aware Self-ensembling Model for Semi-supervised 3D Left Atrium Segmentation
1912.09784 (2019-12)
Triple Generative Adversarial Networks
and 13 more not named here
cosine_rampdown 12 other papers
3 dated earlier, 9 later
1602.02644 (2016-02)
Generating Images with Perceptual Similarity Metrics based on Deep Networks
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
1907.07034 (2019-07)
Uncertainty-aware Self-ensembling Model for Semi-supervised 3D Left Atrium Segmentation
and 9 more not named here
iterate_once 10 other papers
3 dated earlier, 7 later
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
1907.07034 (2019-07)
Uncertainty-aware Self-ensembling Model for Semi-supervised 3D Left Atrium Segmentation
1908.02983 (2019-08)
Pseudo-Labeling and Confirmation Bias in Deep Semi-Supervised Learning
and 7 more not named here
cg_diffusion 1 other paper
1 dated earlier
1904.04717 (2019-04)
Label Propagation for Deep Semi-supervised Learning
get_unlabeled_idx 1 other paper
1 dated earlier
1907.06347 (2019-07)
Discriminative Active Learning
normalize_connection_graph 1 other paper
1 dated earlier
1611.05113 (2016-11)
Efficient Diffusion on Region Manifolds: Recovering Small Objects with Compact CNN Representations

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

Active learning typically focuses on training a model on few labeled examples alone, while unlabeled ones are only used for acquisition. In this work we depart from this setting by using both labeled and unlabeled data during model training across active learning cycles. We do so by using unsupervised feature learning at the beginning of the active learning pipeline and semi-supervised learning at every active learning cycle, on all available data. The former has not been investigated before in active learning, while the study of latter in the context of deep learning is scarce and recent findings are not conclusive with respect to its benefit. Our idea is orthogonal to acquisition strategies by using more data, much like ensemble methods use more models. By systematically evaluating on a number of popular acquisition strategies and datasets, we find that the use of unlabeled data during model training brings a surprising accuracy improvement in image classification, compared to the differences between acquisition strategies. We thus explore smaller label budgets, even one label per class.

For agents

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

get_harvested_code_for_paper("1911.08177")
get_code_for_paper("1911.08177")
have("1911.08177")

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

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

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

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

Connect an agent — have() is free.