SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2111.03628 · NeurIPS · 2021

Exploiting a Zoo of Checkpoints for Unseen Tasks

Jiaji Huang, Qiang Qiu, Kenneth Church

arXiv · PDF · Open in the Atlas

Code that ran

6 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, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 4 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/2111.03628.json · badge: /api/ran/2111.03628.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
baidu-research/task_space canonical (classifier label)
classifier basis not recorded on the link
6 ran · 4 no recorded run
FunctionStatusWhere it lives
KA Ran
ran on a synthesized input
baidu-research/task_space/vision/admin_computes_agent_sim.py
code served (permissive licence) · get_code("0197e7c427b24838")
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 float32, 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

# Set random seed for reproducibility
np.random.seed(0)

# Create two small feature matrices of shape (n, d)
# n=2 samples, d=4 dimensions
feat1 = np.random.randn(2, 4).astype(np.float32)
feat2 = np.random.randn(2, 4).astype(np.float32)

ARGS = {
    "feat1": feat1,
    "feat2": feat2,
    "remove_mean": 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 float32, 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
MI_greedy Ran
ran on a synthesized input
baidu-research/task_space/MMI.py
code served (permissive licence) · get_code("5c288dd7d568f5ec")
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 2, 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 a small similarity matrix
# The function expects an m x m similarity matrix with diagonal all-one
m = 5
np.random.seed(0)

# Create a positive semi-definite similarity matrix
# Start with a random matrix and make it symmetric positive semi-definite
A = np.random.rand(m, m)
sim = (A + A.T) / 2
# Ensure diagonal is all-one
np.fill_diagonal(sim, 1.0)
# Make it more positive definite by adding to diagonal
sim = sim + (m * np.eye(m))

# Normalize to be a valid similarity matrix
sim = sim / np.max(sim)
np.fill_diagonal(sim, 1.0)

k = 2
hub_ini = True

ARGS = {
    "sim": sim,
    "k": k,
    "hub_ini": hub_ini
}
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 tuple, ndim 2, 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
build_model Ran
ran on a synthesized input
baidu-research/task_space/vision/admin_trains_classification_head.py
code served (permissive licence) · get_code("f72ac331772561cf")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    "feat_dim": 4,
    "num_class": 3,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
compute_sim Ran
ran on a synthesized input
baidu-research/task_space/vision/admin_computes_agent_sim.py
code served (permissive licence) · get_code("1255577a1db4160b")
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 (3, 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
import tempfile
import os

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

# Create small feature matrices (n x d)
feat1 = np.random.randn(5, 4).astype(np.float32)
feat2 = np.random.randn(5, 4).astype(np.float32)
feat3 = np.random.randn(5, 4).astype(np.float32)

# Save features to temporary files
feat_file1 = os.path.join(tmpdir, 'feat1.npy')
feat_file2 = os.path.join(tmpdir, 'feat2.npy')
feat_file3 = os.path.join(tmpdir, 'feat3.npy')

np.save(feat_file1, feat1)
np.save(feat_file2, feat2)
np.save(feat_file3, feat3)

# Build the arguments
ARGS = {
    'feat_files': [feat_file1, feat_file2, feat_file3]
}
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 (3, 3) — shape (3, 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
recast_labels Ran
ran on a synthesized input
baidu-research/task_space/vision/admin_trains_classification_head.py
code served (permissive licence) · get_code("3e615e9bd92d26c8")
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 numpy as np

# recast_labels takes labels and recasts them to [0, n_class-1]
# It uses np.unique with return_inverse=True
# labels should be an array-like of class labels (can have duplicates, gaps, etc.)

labels = np.array([5, 5, 2, 2, 8, 8, 5])

ARGS = {
    "labels": labels
}
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 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
rotate_npy_img Ran
ran on a synthesized input
baidu-research/task_space/vision/admin_extract_probe_features.py
code served (permissive licence) · get_code("6506b7ac3eda5ef5")
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 Image. 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 torch
from PIL import Image

torch.manual_seed(0)

# Create a small numpy array representing a single image
# Shape: (height, width, channels) for a single image
# The function docstring says n_images x height x width x channel
# but the function takes np_img and converts it directly to PIL Image
# PIL Image.fromarray expects (height, width) for grayscale or (height, width, 3/4) for RGB/RGBA
np_img = np.random.randint(0, 256, size=(4, 3, 3), dtype=np.uint8)  # 4x3 image, 3 channels (RGB)

angle = 45

ARGS = {
    "np_img": np_img,
    "angle": angle
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, torch, torchvision — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Image — a Image output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Image output the recorded ndim 3 and dtype family int 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
create_batch Not yet run
unverified (harvested, no recorded run)
baidu-research/task_space/LMs/data.py
code served (permissive licence) · get_code("de1977f4d2b883e3")
How it ran

no invocation recorded.

grep_result Not yet run
unverified (harvested, no recorded run)
baidu-research/task_space/vision/analyze_result.py
code served (permissive licence) · get_code("fa5b09e2dce09f8b")
How it ran

no invocation recorded.

load_ckpt Not yet run
unverified (harvested, no recorded run)
baidu-research/task_space/LMs/ckpt.py
code served (permissive licence) · get_code("e5e0fe4eb7697fcb")
How it ran

no invocation recorded.

read_feats Not yet run
unverified (harvested, no recorded run)
baidu-research/task_space/vision/admin_trains_classification_head.py
code served (permissive licence) · get_code("27559264307ca57d")
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, 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 10 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

There are so many models in the literature that it is difficult for practitioners to decide which combinations are likely to be effective for a new task. This paper attempts to address this question by capturing relationships among checkpoints published on the web. We model the space of tasks as a Gaussian process. The covariance can be estimated from checkpoints and unlabeled probing data. With the Gaussian process, we can identify representative checkpoints by a maximum mutual information criterion. This objective is submodular. A greedy method identifies representatives that are likely to "cover" the task space. These representatives generalize to new tasks with superior performance. Empirical evidence is provided for applications from both computational linguistics as well as computer vision 1 .

For agents

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

get_harvested_code_for_paper("2111.03628")
get_code_for_paper("2111.03628")
have("2111.03628")

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

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

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

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

Connect an agent — have() is free.