SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1912.11370 · 2019

Big Transfer (BiT): General Visual Representation Learning

arXiv · PDF · Open in the Atlas

Code that ran

9 of 10 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 6 have no contract verdict; 2 failures of our instrument; 1 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/1912.11370.json · badge: /api/ran/1912.11370.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
batsresearch/taglets community (classifier label)
classifier basis not recorded on the link
9 ran · 1 no recorded run
FunctionStatusWhere it lives
Brier_Score_AMCL Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/amcl_helper.py
code served (permissive licence) · get_code("00301e057c30f413")
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, 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

# Construct a small numpy array of predictions
# The function expects predictions (likely probabilities between 0 and 1)
# Shape: (2, 3) - batch of 2, 3 classes or outputs
preds = np.array([
    [0.1, 0.5, 0.9],
    [0.3, 0.7, 0.2]
], dtype=np.float32)

ARGS = {
    "preds": preds
}
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, 3) — shape (2, 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
Brier_loss_linear Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/amcl_helper.py
code served (permissive licence) · get_code("081ac982970319a1")
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 float64, ndim 0, 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 numpy as np

# Analyze the function:
# - labels: used with len() and np.dot(), so needs to be array-like
# - preds: used with len(), np.sum(), np.square(), np.dot(), so needs to be array-like
# Both should be 1D arrays of same length

np.random.seed(0)

# Create small test vectors
labels = np.array([0.0, 1.0, 1.0, 0.0])  # binary labels, shape (4,)
preds = np.array([0.1, 0.9, 0.8, 0.2])   # predicted probabilities, shape (4,)

ARGS = {
    "labels": labels,
    "preds": preds
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
conv1x1 Ran
ran; our contract draft was wrong, not the code
batsresearch/taglets/taglets/models/resnetv2.py
code served (permissive licence) · get_code("ee80cf467065076b")
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 StdConv2d. 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 = {
    'cin': 3,
    'cout': 16,
    'stride': 1,
    'bias': False,
}
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 StdConv2d — a StdConv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a StdConv2d 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
batsresearch/taglets/taglets/models/resnetv2.py
code served (permissive licence) · get_code("f01b8d3901f0b289")
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 StdConv2d. 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 = {
    'cin': 3,
    'cout': 16,
    'stride': 1,
    'groups': 1,
    'bias': False,
}
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 StdConv2d — a StdConv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a StdConv2d 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_data Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/amcl.py
code served (permissive licence) · get_code("174d041dba5d15c6")
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 pickle
import pandas as pd
import tempfile
import os

# Create temporary pickle file with mock data structure
temp_dir = tempfile.mkdtemp()
pickle_path = os.path.join(temp_dir, 'ta2.pkl')

mock_data = {
    'Base 1': {
        'labeled_images_names': ['img1.jpg', 'img2.jpg'],
        'labeled_images_labels': [0, 1],
        'unlabeled_images_names': ['img3.jpg', 'img4.jpg'],
        'unlabeled_images_votes': [[0, 1], [1, 0]]
    }
}

with open(pickle_path, 'wb') as f:
    pickle.dump(mock_data, f)

# Create temporary feather file with mock dataframe
feather_path = os.path.join(temp_dir, 'domain_net-clipart_labels_train.feather')
mock_df = pd.DataFrame({
    'id': ['img1.jpg', 'img2.jpg', 'img3.jpg', 'img4.jpg'],
    'class': ['cat', 'dog', 'cat', 'bird']
})
mock_df.to_feather(feather_path)

# Monkey-patch the file paths in the function's module
import sys
original_dir = os.getcwd()
os.chdir(temp_dir)

ARGS = {
    'num': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
get_test_data Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/amcl.py
code served (permissive licence) · get_code("fbc44ea7cbcc39ee")
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 pickle
import pandas as pd
import tempfile
import os

# Create temporary directory for mock files
temp_dir = tempfile.mkdtemp()
os.chdir(temp_dir)

# Create mock pickle file with test data
mock_pickle_data = {
    'Base 1': {
        'unlabeled_images_names': ['img_001', 'img_002', 'img_003'],
        'unlabeled_images_votes': [[0, 1, 0], [1, 0, 1], [0, 0, 1]]
    }
}

with open('./ta2_test_votes_full.pkl', 'wb') as f:
    pickle.dump(mock_pickle_data, f)

# Create mock feather file with domain net labels
df_labels = pd.DataFrame({
    'id': ['img_001', 'img_002', 'img_003'],
    'class': ['dog', 'cat', 'bird']
})
df_labels.to_feather('./domain_net-clipart_labels_test.feather')

ARGS = {
    'num': 1
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
get_test_data Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/run_labelmodel.py
code served (permissive licence) · get_code("9f7ae362c69b5fbf")
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 pandas as pd
import pickle
import tempfile
import os

# Create temporary directory for test files
temp_dir = tempfile.mkdtemp()

# Create mock pickle file with test data structure
mock_data = {
    'Base 1': {
        'unlabeled_images_names': ['img_001', 'img_002', 'img_003'],
        'unlabeled_images_votes': [[0, 1, 0], [1, 0, 1], [0, 0, 1]]
    },
    'Adapt 1': {
        'unlabeled_images_names': ['img_004', 'img_005'],
        'unlabeled_images_votes': [[1, 1, 0], [0, 1, 1]]
    }
}

pickle_path = os.path.join(temp_dir, 'ta2_test_votes_full.pkl')
with open(pickle_path, 'wb') as f:
    pickle.dump(mock_data, f)

# Create mock feather files with test data
base_df = pd.DataFrame({
    'id': ['img_001', 'img_002', 'img_003'],
    'class': ['cat', 'dog', 'bird']
})
base_feather_path = os.path.join(temp_dir, 'domain_net-clipart_labels_test.feather')
base_df.to_feather(base_feather_path)

adapt_df = pd.DataFrame({
    'id': ['img_004', 'img_005'],
    'class': ['cat', 'dog']
})
adapt_feather_path = os.path.join(temp_dir, 'domain_net-sketch_labels_test.feather')
adapt_df.to_feather(adapt_feather_path)

# Change working directory to temp directory
original_dir = os.getcwd()
os.chdir(temp_dir)

try:
    ARGS = {
        'num': 1,
        'base': True
    }
finally:
    os.chdir(original_dir)
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
pandas — 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
mse Ran
ran on a synthesized input
batsresearch/taglets/taglets/labelmodel/amcl_helper.py
code served (permissive licence) · get_code("4b28a291d70a1b4b")
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 float64, ndim 0, 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 numpy as np

# Create two small numpy arrays for y_1 and y_2
y_1 = np.array([1.0, 2.0, 3.0, 4.0])
y_2 = np.array([1.1, 2.1, 2.9, 3.9])

ARGS = {
    "y_1": y_1,
    "y_2": y_2,
}
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 float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
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
tf2th Ran
ran, violated the contract we drafted
batsresearch/taglets/taglets/models/resnetv2.py
code served (permissive licence) · get_code("7023eb86801bb3a3")
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 Tensor, ndim 4, dtype family float, shape (6, 5, 3, 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 torch
import numpy as np

torch.manual_seed(0)

# Create a 4D numpy array in HWIO format (Height, Width, Input channels, Output channels)
# Using distinct dimensions: H=3, W=4, I=5, O=6
conv_weights = np.random.randn(3, 4, 5, 6).astype(np.float32)

ARGS = {
    "conv_weights": conv_weights
}
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 Tensor, ndim 4, dtype family float, shape (6, 5, 3, 4) — shape (6, 5, 3, 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
get_data Not yet run
unverified (harvested, no recorded run)
batsresearch/taglets/taglets/labelmodel/run_labelmodel.py
code served (permissive licence) · get_code("25fc1400e3579d6f")
How it ran

no invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 7 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 33 other papers
33 later · 3 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
2103.12091 (2021-03)
Transformer-Based Attention Networks for Continuous Pixel-Wise Prediction
and 30 more not named here
conv3x3 33 other papers
33 later · 3 only as an assembly brick
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
2102.04306 (2021-02)
TransUNet: Transformers Make Strong Encoders for Medical Image Segmentation
2103.12091 (2021-03)
Transformer-Based Attention Networks for Continuous Pixel-Wise Prediction
and 30 more not named here
tf2th 17 other papers
17 later
2104.02610 (2021-04)
On the Robustness of Vision Transformers to Adversarial Examples
2106.01127 (2021-06)
Towards Robust Classification Model by Counterfactual and Invariant Data Generation
2108.02833 (2021-08)
Elaborative Rehearsal for Zero-shot Action Recognition
and 14 more not named here

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

Transfer of pre-trained representations improves sample efficiency and simplifies hyperparameter tuning when training deep neural networks for vision. We revisit the paradigm of pre-training on large supervised datasets and fine-tuning the model on a target task. We scale up pre-training, and propose a simple recipe that we call Big Transfer (BiT). By combining a few carefully selected components, and transferring using a simple heuristic, we achieve strong performance on over 20 datasets. BiT performs well across a surprisingly wide range of data regimes -- from 1 example per class to 1M total examples. BiT achieves 87.5% top-1 accuracy on ILSVRC-2012, 99.4% on CIFAR-10, and 76.3% on the 19 task Visual Task Adaptation Benchmark (VTAB). On small datasets, BiT attains 76.8% on ILSVRC-2012 with 10 examples per class, and 97.0% on CIFAR-10 with 10 examples per class. We conduct detailed analysis of the main components that lead to high transfer performance.

For agents

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

get_harvested_code_for_paper("1912.11370")
get_code_for_paper("1912.11370")
have("1912.11370")

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

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

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

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

Connect an agent — have() is free.