SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.17742 · 2023

Learning Vision from Models Rivals Learning Vision from Data

arXiv · PDF · Open in the Atlas

Code that ran

4 of 4 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; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 0 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/2312.17742.json · badge: /api/ran/2312.17742.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/syn-rep-learn canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
copy not recorded community
not in the paper's declared repositories
1 ran · 0 no recorded run
FunctionStatusWhere it lives
load_features Ran
ran; our contract draft was wrong, not the code
google-research/syn-rep-learn/SynCLR/eval/main_downstream_linear.py
code served (permissive licence) · get_code("fe2674b28e128309")
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
import tempfile
import os

# Create a temporary .npz file with the required keys
temp_dir = tempfile.mkdtemp()
feat_file = os.path.join(temp_dir, 'features.npz')

# Create mock feature data with distinct sizes for different dimensions
n_train = 10
n_val = 5
n_trainval = 15
n_test = 8
n_features = 4

X_train_feature = np.random.randn(n_train, n_features).astype(np.float32)
y_train = np.random.randint(0, 2, n_train).astype(np.int64)

X_val_feature = np.random.randn(n_val, n_features).astype(np.float32)
y_val = np.random.randint(0, 2, n_val).astype(np.int64)

X_trainval_feature = np.random.randn(n_trainval, n_features).astype(np.float32)
y_trainval = np.random.randint(0, 2, n_trainval).astype(np.int64)

X_test_feature = np.random.randn(n_test, n_features).astype(np.float32)
y_test = np.random.randint(0, 2, n_test).astype(np.int64)

# Save to .npz file
np.savez(
    feat_file,
    X_train_feature=X_train_feature,
    y_train=y_train,
    X_val_feature=X_val_feature,
    y_val=y_val,
    X_trainval_feature=X_trainval_feature,
    y_trainval=y_trainval,
    X_test_feature=X_test_feature,
    y_test=y_test
)

ARGS = {
    'feat_file': feat_file,
    'normalize': True
}
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
sample_foreground Ran
ran; our contract draft was wrong, not the code
google-research/syn-rep-learn/SynCLR/synthesis/syn_text/synthesize_text.py
code served (permissive licence) · get_code("7ad9d35e0c3ef21e")
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 random

# Set seed for reproducibility
random.seed(42)

# Create sample label lists
# Each label is a simple string identifier
imagenet_labels = [f"imagenet_class_{i}" for i in range(10)]
imagenet21k_combined_labels = [f"imagenet21k_class_{i}" for i in range(8)]
food_labels = [f"food_class_{i}" for i in range(5)]
cars_labels = [f"cars_class_{i}" for i in range(4)]
aircraft_labels = [f"aircraft_class_{i}" for i in range(3)]
flowers_labels = [f"flowers_class_{i}" for i in range(6)]

ARGS = {
    "imagenet_labels": imagenet_labels,
    "imagenet21k_combined_labels": imagenet21k_combined_labels,
    "food_labels": food_labels,
    "cars_labels": cars_labels,
    "aircraft_labels": aircraft_labels,
    "flowers_labels": flowers_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, 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
teacher_temp_schedule Ran
ran, honoured the contract we drafted
this paper's copy was not recorded; identical code first harvested from google-research/syn-rep-learn
pointer only · get_code("3cc84e91b2c222fd")
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.

voc_ap Ran
ran, honoured the contract we drafted
google-research/syn-rep-learn/SynCLR/eval/main_downstream_linear.py
code served (permissive licence) · get_code("6798a3f5b57abe4e")
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 float64, 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

# voc_ap expects two numpy arrays: rec (recall) and prec (precision)
# Both should be 1D arrays of floats between 0 and 1
# The function iterates through recall thresholds and computes average precision

# Create small valid recall and precision arrays
rec = np.array([0.0, 0.2, 0.4, 0.6, 0.8, 1.0])
prec = np.array([1.0, 0.9, 0.8, 0.7, 0.6, 0.5])

ARGS = {
    "rec": rec,
    "prec": prec,
}
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 float64, 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

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 1 the same month, 1 later) and 2 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
voc_ap 3 other papers
2 dated earlier, 1 later
2011.13377 (2020-11)
How Well Do Self-Supervised Models Transfer?
2308.15074 (2023-08)
Exploring Model Transferability through the Lens of Potential Energy
2502.16471 (2025-02)
Feature Space Perturbation: A Panacea to Enhanced Transferability Estimation
teacher_temp_schedule 2 other papers
1 dated earlier, 1 the same month
2306.00984 (2023-06)
StableRep: Synthetic Images from Text-to-Image Models Make Strong Visual Representation Learners
2312.04567 (2023-12)
Scaling Laws of Synthetic Images for Model Training ... for Now

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

We introduce SynCLR, a novel approach for learning visual representations exclusively from synthetic images and synthetic captions, without any real data. We synthesize a large dataset of image captions using LLMs, then use an off-the-shelf text-to-image model to generate multiple images corresponding to each synthetic caption. We perform visual representation learning on these synthetic images via contrastive learning, treating images sharing the same caption as positive pairs. The resulting representations transfer well to many downstream tasks, competing favorably with other general-purpose visual representation learners such as CLIP and DINO v2 in image classification tasks. Furthermore, in dense prediction tasks such as semantic segmentation, SynCLR outperforms previous self-supervised methods by a significant margin, e.g., improving over MAE and iBOT by 6.2 and 4.3 mIoU on ADE20k for ViT-B/16.

For agents

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

get_harvested_code_for_paper("2312.17742")
get_code_for_paper("2312.17742")
have("2312.17742")

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

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

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

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

Connect an agent — have() is free.