SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2506.14473 · ICML · 2025

Foundation Model Insights and a Multi-Model Approach for Superior Fine-Grained One-shot Subset Selection

Zheng Wang, Xin Xu, Zhijing Wan, Zhixiang Wang, Shin Ichi Satoh

arXiv · PDF · Open in the Atlas

Code that ran

11 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, 2 violated it and 1 has no contract verdict; 5 failures of our instrument; 10 no recorded run), measured 2026-11-24; 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/2506.14473.json · badge: /api/ran/2506.14473.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
ZhijingWan/RAM-APL canonical (classifier label)
classifier basis: census
7 ran · 8 no recorded run
zhijingwan/ram-apl canonical (classifier label)
classifier basis: classifier_2025
4 ran · 2 no recorded run
FunctionStatusWhere it lives
CUB_200_2011 Ran
ran; our contract draft was wrong, not the code
ZhijingWan/RAM-APL/deepcore/datasets/CUB_200_2011.py
code served (permissive licence) · get_code("9001c17b1b7384d8")
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
import torch
import pandas as pd
from PIL import Image
import numpy as np

torch.manual_seed(0)

# Create a temporary directory structure mimicking CUB_200_2011 dataset
temp_dir = tempfile.mkdtemp()
cub_root = os.path.join(temp_dir, 'CUB_200_2011', 'CUB_200_2011')
os.makedirs(cub_root, exist_ok=True)

images_dir = os.path.join(cub_root, 'images')
os.makedirs(images_dir, exist_ok=True)

# Create subdirectories for bird classes
for i in range(1, 201):
    class_dir = os.path.join(images_dir, f'{i:03d}.species_{i}')
    os.makedirs(class_dir, exist_ok=True)

# Create dummy image files
for i in range(1, 201):
    class_dir = os.path.join(images_dir, f'{i:03d}.species_{i}')
    for j in range(1, 3):
        img_path = os.path.join(class_dir, f'image_{j}.jpg')
        img = Image.new('RGB', (448, 448), color=(73, 109, 137))
        img.save(img_path)

# Create images.txt
images_data = []
img_idx = 1
for i in range(1, 201):
    for j in range(1, 3):
        rel_path = f'{i:03d}.species_{i}/image_{j}.jpg'
        images_data.append({'idx': img_idx, 'path': rel_path})
        img_idx += 1

images_df = pd.DataFrame(images_data)
images_df.to_csv(os.path.join(cub_root, 'images.txt'), sep=' ', header=False, index=False)

# Create image_class_labels.txt
labels_data = []
img_idx = 1
for i in range(1, 201):
    for j in range(1, 3):
        labels_data.append({'idx': img_idx, 'label': i})
        img_idx += 1

labels_df = pd.DataFrame(labels_data)
labels_df.to_csv(os.path.join(cub_root, 'image_class_labels.txt'), sep=' ', header=False, index=False)

# Create train_test_split.txt
split_data = []
img_idx = 1
for i in range(1, 201):
    for j in range(1, 3):
        train_flag = 1 if img_idx % 2 == 0 else 0
        split_data.append({'idx': img_idx, 'train_flag': train_flag})
        img_idx += 1

split_df = pd.DataFrame(split_data)
split_df.to_csv(os.path.join(cub_root, 'train_test_split.txt'), sep=' ', header=False, index=False)

# Create classes.txt
classes_data = []
for i in range(1, 201):
    classes_data.append({'idx': i, 'classes': f'species_{i}'})

classes_df = pd.DataFrame(classes_data)
classes_df.to_csv(os.path.join(cub_root, 'classes.txt'), sep=' ', header=False, index=False)

# Define ARGS
ARGS = {
    'data_path': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
PIL, numpy, pandas, torch, torchvision — 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
CoresetMethod Ran
ran on a synthesized input
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("a11de6ddba89a61e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned NoneType. 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 torch.utils.data import Dataset

class SimpleDummyDataset(Dataset):
    def __init__(self, num_samples=10, num_classes=3):
        self.data = torch.randn(num_samples, 3, 8, 8)
        self.targets = torch.randint(0, num_classes, (num_samples,))
        self.classes = list(range(num_classes))
    
    def __len__(self):
        return len(self.data)
    
    def __getitem__(self, idx):
        return self.data[idx], self.targets[idx]

class SimpleArgs:
    def __init__(self):
        pass

dst_train = SimpleDummyDataset(num_samples=10, num_classes=3)
args = SimpleArgs()

INIT_ARGS = {
    'dst_train': dst_train,
    'args': args,
    'fraction': 0.5,
    'random_seed': 42
}

ARGS = {}

METHOD = 'select'
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NoneType — a NoneType output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NoneType 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
ImageNet Ran
ran; our contract draft was wrong, not the code
ZhijingWan/RAM-APL/deepcore/datasets/imagenet.py
code served (permissive licence) · get_code("7ed41a50eddb9b77")
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 torch.nn as nn
from unittest.mock import Mock, MagicMock
import tempfile
import os

torch.manual_seed(0)

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

# Create mock ImageNet dataset structure
# The function expects datasets.ImageNet to work, but we can't actually download it
# So we'll create a minimal mock that satisfies the function's needs

class MockImageNetDataset:
    def __init__(self, split):
        self.split = split
        self.samples = []
        self.targets = [0, 1, 0, 1]  # Mock targets
        self.classes = [f'class_{i}' for i in range(1000)]
        
        # Create minimal image files
        for i in range(4):
            class_dir = os.path.join(temp_dir, f'class_{i}')
            os.makedirs(class_dir, exist_ok=True)
            # Create a dummy file
            with open(os.path.join(class_dir, f'img_{i}.jpg'), 'w') as f:
                f.write('dummy')

# We need to mock the datasets.ImageNet to avoid actual download
from torchvision import datasets
original_imagenet = datasets.ImageNet

def mock_imagenet_init(self, root, split, transform=None):
    self.split = split
    self.root = root
    self.transform = transform
    self.samples = []
    self.targets = [0, 1, 0, 1]
    self.classes = [f'class_{i}' for i in range(1000)]
    
    # Populate samples
    for i in range(4):
        class_idx = i % 2
        self.samples.append((os.path.join(root, f'img_{i}.jpg'), class_idx))

datasets.ImageNet.__init__ = mock_imagenet_init

# Prepare data_path
data_path = temp_dir

ARGS = {
    "data_path": data_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchvision — 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
Pet Ran
ran; our contract draft was wrong, not the code
ZhijingWan/RAM-APL/deepcore/datasets/pet.py
code served (permissive licence) · get_code("3e5195fc52f904f5")
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 os
import tempfile
from PIL import Image
import numpy as np

# Create a temporary directory structure that mimics the Oxford-IIIT Pet dataset
temp_dir = tempfile.mkdtemp()
dataset_dir = os.path.join(temp_dir, 'pet')
trainval_dir = os.path.join(dataset_dir, 'trainval')
test_dir = os.path.join(dataset_dir, 'test')

# Create class directories
os.makedirs(trainval_dir, exist_ok=True)
os.makedirs(test_dir, exist_ok=True)

# Create dummy class directories (37 classes for pets)
for i in range(37):
    class_dir = os.path.join(trainval_dir, f'class_{i:02d}')
    os.makedirs(class_dir, exist_ok=True)
    
    # Create a few dummy images in each class
    for j in range(2):
        img_array = np.random.randint(0, 256, (224, 224, 3), dtype=np.uint8)
        img = Image.fromarray(img_array)
        img.save(os.path.join(class_dir, f'image_{j}.jpg'))

# Do the same for test set
for i in range(37):
    class_dir = os.path.join(test_dir, f'class_{i:02d}')
    os.makedirs(class_dir, exist_ok=True)
    
    for j in range(2):
        img_array = np.random.randint(0, 256, (224, 224, 3), dtype=np.uint8)
        img = Image.fromarray(img_array)
        img.save(os.path.join(class_dir, f'image_{j}.jpg'))

torch.manual_seed(0)

ARGS = {
    'data_path': temp_dir
}
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 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
accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ZhijingWan/RAM-APL/utils.py
code served (permissive licence) · get_code("32e1b7ae1cecaac7")
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 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 torch

torch.manual_seed(0)

# Create output tensor: batch_size=2, num_classes=4
# shape should be (batch_size, num_classes)
output = torch.randn(2, 4)

# Create target tensor: batch_size=2
# Contains class indices (0-3)
target = torch.tensor([0, 2])

# topk parameter: tuple of k values to compute accuracy for
topk = (1, 2)

ARGS = {
    "output": output,
    "target": target,
    "topk": topk,
}
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 list, ndim 2, dtype family float — 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
get_distance_rank Ran
ran, honoured the contract we drafted
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("c87427a71482ea5b")
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 ndarray, ndim 2, dtype family int, shape (3, 2) 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 sample feature arrays with different dimensions
# Each array has shape [N, D_i] where N=2 (number of samples) and D_i varies
feats1 = np.random.randn(2, 4)  # 2 samples, 4 dimensions
feats2 = np.random.randn(2, 3)  # 2 samples, 3 dimensions
feats3 = np.random.randn(2, 5)  # 2 samples, 5 dimensions

feats_list = [feats1, feats2, feats3]
num_lvms = 3

ARGS = {
    "feats_list": feats_list,
    "num_lvms": num_lvms,
}
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 ndarray, ndim 2, dtype family int, shape (3, 2) — shape (3, 2) 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_selected_idx Ran
ran; our contract draft was wrong, not the code
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("6bfb3592e5206e38")
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 ndarray, ndim 1, dtype family int, shape (6,) 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)

# Define parameters for get_selected_idx
sampling_rate = 0.6  # Sample 60% of data
num_data = 10  # Number of data points
num_models = 3  # Number of ranking models

# Create ranks_np: shape (num_models, num_data)
# Each row represents rankings from a different model
ranks_np = np.random.randint(1, num_data + 1, size=(num_models, num_data))

# Create APL (Average Path Length): shape (num_data,)
# One value per data point
APL = np.random.rand(num_data)

ARGS = {
    "sampling_rate": sampling_rate,
    "ranks_np": ranks_np,
    "APL": APL,
}
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 ndarray, ndim 1, dtype family int, shape (6,) — shape (6,) 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
pil_loader Ran
ran, honoured the contract we drafted
ZhijingWan/RAM-APL/deepcore/datasets/CUB_200_2011.py
code served (permissive licence) · get_code("f321f54723433661")
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 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 torch
import numpy as np
from PIL import Image
import io
import os
import tempfile

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

# Create a simple RGB image and save it to a temporary file
img = Image.new('RGB', (10, 10), color=(73, 109, 137))
test_image_path = os.path.join(temp_dir, 'test_image.jpg')
img.save(test_image_path)

ARGS = {
    'path': test_image_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
PIL, numpy, torch — 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
str_to_bool Ran
ran, violated the contract we drafted
ZhijingWan/RAM-APL/utils.py
code served (permissive licence) · get_code("4918e53fae09c808")
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.

import torch
from argparse import ArgumentTypeError

def str_to_bool(v):
    if isinstance(v, bool):
        return v
    if v.lower() in ('yes', 'true', 't', 'y', '1'):
        return True
    elif v.lower() in ('no', 'false', 'f', 'n', '0'):
        return False
    else:
        raise ArgumentTypeError('Boolean value expected.')

ARGS = {
    'v': 'true'
}
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 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
test Ran
ran, honoured the contract we drafted
ZhijingWan/RAM-APL/utils.py
code served (permissive licence) · get_code("3c58f9cd3def9743")
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 torch
import torch.nn as nn

torch.manual_seed(0)

# Build a minimal network that takes input and produces output
class SimpleNetwork(nn.Module):
    def __init__(self):
        super().__init__()
        self.fc = nn.Linear(4, 10)
    
    def forward(self, x):
        return self.fc(x)

# Build a test loader as a list of (input, target) tuples
test_loader = [
    (torch.randn(2, 4), torch.randint(0, 10, (2,))),
    (torch.randn(2, 4), torch.randint(0, 10, (2,))),
]

# Build a minimal criterion
criterion = nn.CrossEntropyLoss()

# Build a minimal args object with required attributes
class Args:
    def __init__(self):
        self.device = torch.device('cpu')
        self.print_freq = 1

args = Args()

# Build a minimal record object with required list attributes
class Record:
    def __init__(self):
        self.test_step = []
        self.test_loss = []
        self.test_acc = []

rec = Record()

# Build the network
network = SimpleNetwork()

# Define epoch
epoch = 1

ARGS = {
    'test_loader': test_loader,
    'network': network,
    'criterion': criterion,
    'epoch': epoch,
    'args': args,
    'rec': rec,
}
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 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
weight_functions Ran
ran, violated the contract we drafted
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("87abc33519d968c7")
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 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 numpy as np

# Construct arguments for weight_functions
sampling_rate = 0.3
a = 0.4
k = 2
sr = 0.5

ARGS = {
    "sampling_rate": sampling_rate,
    "a": a,
    "k": k,
    "sr": sr
}
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 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
CIFAR10 Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/cifar10.py
code served (permissive licence) · get_code("75af3219fc982938")
How it ran

no invocation recorded.

CIFAR100 Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/cifar100.py
code served (permissive licence) · get_code("40f14e833983504f")
How it ran

no invocation recorded.

EarlyTrain Not yet run
unverified (harvested, no recorded run)
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("c9fd5062ea799337")
How it ran

no invocation recorded.

FOOD101 Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/food101.py
code served (permissive licence) · get_code("8df4cd38113c26a7")
How it ran

no invocation recorded.

FOOD101_NOISY Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/food101_noisy.py
code served (permissive licence) · get_code("f4e5d592008e42b5")
How it ran

no invocation recorded.

FashionMNIST Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/fashionmnist.py
code served (permissive licence) · get_code("3a1159843af3c3ec")
How it ran

no invocation recorded.

MNIST Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/mnist.py
code served (permissive licence) · get_code("386d95ec922f5372")
How it ran

no invocation recorded.

Pet_NOISY Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/pet_noisy.py
code served (permissive licence) · get_code("abcc1772438c7ba7")
How it ran

no invocation recorded.

RAM_APL Not yet run
unverified (harvested, no recorded run)
zhijingwan/ram-apl/deepcore/methods/ram_apl.py
code served (permissive licence) · get_code("5b14ca9b8086c9f5")
How it ran

no invocation recorded.

permutedMNIST Not yet run
unverified (harvested, no recorded run)
ZhijingWan/RAM-APL/deepcore/datasets/mnist.py
code served (permissive licence) · get_code("833c06fc635e87be")
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, 9 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 0 the same month, 8 later) and 12 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
accuracy 116 other papers
108 dated earlier, 7 later, 1 same year, order not determinable · 8 only as an assembly brick
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1610.05820 (2016-10)
Membership Inference Attacks Against Machine Learning Models
1905.03696 (2019-05)
HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precision
and 113 more not named here
pil_loader 66 other papers
61 dated earlier, 4 later, 1 same year, order not determinable
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1710.10196 (2017-10)
Progressive Growing of GANs for Improved Quality, Stability, and Variation
1711.02512 (2017-11)
Fine-tuning CNN Image Retrieval with No Human Annotation
and 63 more not named here
CIFAR10 2 other papers
1 dated earlier, 1 later
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
CIFAR100 2 other papers
1 dated earlier, 1 later
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
FashionMNIST 2 other papers
1 dated earlier, 1 later
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
MNIST 2 other papers
1 dated earlier, 1 later
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
permutedMNIST 2 other papers
1 dated earlier, 1 later
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
ImageNet 1 other paper
1 later
2511.17399 (2025-11)
Stable Coresets via Posterior Sampling: Aligning Induced and Full Loss Landscapes
str_to_bool 1 other paper
1 dated earlier
2306.07215 (2023-06)
Efficient and Robust Quantization-aware Training via Adaptive Coreset Selection

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-24.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

One-shot subset selection serves as an effective tool to reduce deep learning training costs by identifying an informative data subset based on the information extracted by an information extractor (IE). Traditional IEs, typically pre-trained on the target dataset, are inherently dataset-dependent. Foundation models (FMs) offer a promising alternative, potentially mitigating this limitation. This work investigates two key questions: (1) Can FM-based subset selection outperform traditional IE-based methods across diverse datasets? (2) Do all FMs perform equally well as IEs for subset selection? Extensive experiments uncovered surprising insights: FMs consistently outperform traditional IEs on fine-grained datasets, whereas their advantage diminishes on coarse-grained datasets with noisy labels. Motivated by these finding, we propose RAM-APL (RAnking Mean-Accuracy of Pseudo-class Labels), a method tailored for fine-grained image datasets. RAM-APL leverages multiple FMs to enhance subset selection by exploiting their complementary strengths. Our approach achieves state-of-the-art performance on fine-grained datasets, including Oxford-IIIT Pet, Food-101, and Caltech-UCSD Birds-200-2011.

For agents

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

get_harvested_code_for_paper("2506.14473")
get_code_for_paper("2506.14473")
have("2506.14473")

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

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

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

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

Connect an agent — have() is free.