SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2312.12112 · ICML · 2024

Curated LLM: Synergy of LLMs and Data Curation for tabular augmentation in low-data regimes

Mihaela Van Der Schaar, Nabeel Seedat, Boris Van Breugel, Nicolas Huynh

arXiv · PDF · Open in the Atlas

Code that ran

7 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; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 5 failures of our instrument; 3 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.12112.json · badge: /api/ran/2312.12112.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
vanderschaarlab/cllm canonical (classifier label)
classifier basis: census
6 ran · 3 no recorded run
seedatnabeel/cllm canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
Curator Ran
ran on a synthesized input
seedatnabeel/cllm/src/cllm/curation.py
code served (permissive licence) · get_code("cfa23e3d9e6c5971")
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 numpy as np
import torch
from sklearn.ensemble import GradientBoostingClassifier

class MockClassifier:
    """Mock classifier that mimics sklearn's predict_proba interface"""
    def __init__(self):
        self.n_classes = 3
    
    def predict_proba(self, X, iteration_range=None):
        """Return mock probabilities"""
        n_samples = len(X) if hasattr(X, '__len__') else X.shape[0]
        probs = np.random.dirichlet([1, 1, 1], size=n_samples)
        return probs

INIT_ARGS = {
    'X': np.random.randn(2, 4),
    'y': np.array([0, 1]),
    'sparse_labels': False,
    'catboost': False,
}

ARGS = {
    'clf': MockClassifier(),
    'device': 'cpu',
    'iteration': 1,
}

METHOD = 'on_epoch_end'

if __name__ == '__main__':
    from class_code import Curator
    
    curator = Curator(**INIT_ARGS)
    curator.on_epoch_end(**ARGS)
    
    print("Gold labels probabilities shape:", curator.gold_labels_probabilities.shape)
    print("True probabilities shape:", curator.true_probabilities.shape)
    print("Confidence shape:", curator.confidence.shape)
    print("Aleatoric shape:", curator.aleatoric.shape)
    print("Test passed!")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
Imports
class_code, numpy, sklearn, 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)
evaluate_model Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/cllm/src/cllm/utils.py
code served (permissive licence) · get_code("8097d26afff455d8")
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 numpy as np
from sklearn.ensemble import RandomForestClassifier

np.random.seed(0)

# Create small synthetic binary classification dataset
X_train = np.random.randn(10, 4)
y_train = np.random.randint(0, 2, 10)

X_test = np.random.randn(6, 4)
y_test = np.random.randint(0, 2, 6)

# Create a simple classifier
clf = RandomForestClassifier(n_estimators=2, random_state=0)

ARGS = {
    'X_train': X_train,
    'y_train': y_train,
    'X_test': X_test,
    'y_test': y_test,
    'clf': clf
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, sklearn — 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_groups Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/cllm/src/cllm/curation.py
code served (permissive licence) · get_code("fd6630c30769b27c")
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 numpy as np

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

# Create small synthetic data
batch_size = 10

# confidence: array of confidence scores between 0 and 1
confidence = np.array([0.1, 0.2, 0.5, 0.6, 0.7, 0.8, 0.85, 0.9, 0.95, 0.99])

# aleatoric_uncertainty: array of uncertainty values between 0 and 1
aleatoric_uncertainty = np.array([0.05, 0.1, 0.15, 0.2, 0.25, 0.08, 0.12, 0.06, 0.03, 0.02])

# curation_xthresh: threshold for aleatoric uncertainty
curation_xthresh = 0.2

# curation_ythresh: threshold for confidence (used to define low and high bounds)
curation_ythresh = 0.3

ARGS = {
    "confidence": confidence,
    "aleatoric_uncertainty": aleatoric_uncertainty,
    "curation_xthresh": curation_xthresh,
    "curation_ythresh": curation_ythresh,
}
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 — 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
load_adult_dataset Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/cllm/src/cllm/data_loader.py
code served (permissive licence) · get_code("6fc00e5f7dbcf717")
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 numpy as np
import pandas as pd

# Create a minimal mock adult dataset
data = {
    'age': [25, 45, 35, 55, 50],
    'workclass': [' Private', ' Federal-gov', ' Private', ' Self-emp-inc', ' Local-gov'],
    'education': [' Bachelors', ' HS-grad', ' Masters', ' Bachelors', ' HS-grad'],
    'marital-status': [' Never-married', ' Married-civ-spouse', ' Divorced', ' Married-AF-spouse', ' Widowed'],
    'occupation': [' Tech-support', ' Exec-managerial', ' Craft-repair', ' Prof-specialty', ' Sales'],
    'relationship': [' Not-in-family', ' Husband', ' Unmarried', ' Husband', ' Wife'],
    'race': [' White', ' Black', ' Asian-Pac-Islander', ' White', ' Amer-Indian-Eskimo'],
    'sex': [' Male', ' Male', ' Female', ' Male', ' Female'],
    'capital-gain': [0, 15000, 0, 5000, 0],
    'capital-loss': [0, 0, 1000, 0, 500],
    'country': [' United-States', ' United-States', ' United-States', ' Canada', ' United-States'],
    'salary': [' <=50K', ' >50K', ' <=50K', ' >50K', ' <=50K']
}

df_mock = pd.DataFrame(data)

# Mock the file reading
import builtins
original_read_csv = pd.read_csv

def mock_read_csv(filepath, **kwargs):
    if 'adult.csv' in filepath:
        return df_mock.copy()
    return original_read_csv(filepath, **kwargs)

pd.read_csv = mock_read_csv

ARGS = {
    'prop': 1.0,
    'seed': 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
sample_and_split Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/cllm/src/cllm/utils.py
code served (permissive licence) · get_code("35d699620c609d15")
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 numpy as np

# Create a small DataFrame with features
np.random.seed(100)
data_feat = {
    'feat_1': [1.0, 2.0, 3.0, 4.0, 5.0, 6.0],
    'feat_2': [10.0, 20.0, 30.0, 40.0, 50.0, 60.0]
}
df_feat = pd.DataFrame(data_feat)

# Create a small DataFrame with labels (binary classification with balanced classes)
# 3 samples of class 0, 3 samples of class 1
df_label = pd.Series([0, 0, 0, 1, 1, 1], name='label')

ARGS = {
    'df_feat': df_feat,
    'df_label': df_label,
    'ns': 2,
    'seed': 100
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
split_data Ran
ran; our contract draft was wrong, not the code
vanderschaarlab/cllm/src/cllm/utils.py
code served (permissive licence) · get_code("cb19b0fec693c0f5")
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 numpy as np

# Create a small sample dataframe with a target column
np.random.seed(42)
n_rows = 20
df = pd.DataFrame({
    'feature_1': np.random.randn(n_rows),
    'feature_2': np.random.randn(n_rows),
    'feature_3': np.random.randn(n_rows),
    'target': np.random.choice(['class_A', 'class_B'], n_rows)
})

# Ensure we have enough samples per class
df = pd.concat([df, df], ignore_index=True)

ARGS = {
    'df': df,
    'target_column': 'target',
    'n_samples_per_class': 3,
    'random_state': 42
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, 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
str2num Ran
ran, honoured the contract we drafted
vanderschaarlab/cllm/src/cllm/data_loader.py
code served (permissive licence) · get_code("4f1fd58396f68ca4")
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 int, ndim 0, dtype family int, 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

torch.manual_seed(0)

# The function str2num takes a string s and an encoder dict
# It looks up s as a key in the encoder dict and returns the value

# Create a simple encoder dict mapping strings to numbers
encoder = {
    "zero": 0,
    "one": 1,
    "two": 2,
    "three": 3,
}

s = "one"

ARGS = {
    "s": s,
    "encoder": encoder,
}
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 int, ndim 0, dtype family int, 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
data_centric_curation Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/cllm/src/cllm/curation.py
code served (permissive licence) · get_code("07e6ab9074a464fc")
How it ran

no invocation recorded.

great Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/cllm/src/cllm/models.py
code served (permissive licence) · get_code("7c1a64fecea92024")
How it ran

no invocation recorded.

load_seer_cutract_dataset Not yet run
unverified (harvested, no recorded run)
vanderschaarlab/cllm/src/cllm/data_loader.py
code served (permissive licence) · get_code("b6694ec2ad8f3c5a")
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, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 9 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
str2num 2 other papers
1 dated earlier, 1 later
2206.05880 (2022-06)
Confident Sinkhorn Allocation for Pseudo-Labeling
2406.13733 (2024-06)
You can't handle the (dirty) truth: Data-centric insights improve pseudo-labeling

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

Machine Learning (ML) in low-data settings remains an underappreciated yet crucial problem. Hence, data augmentation methods to increase the sample size of datasets needed for ML are key to unlocking the transformative potential of ML in data-deprived regions and domains. Unfortunately, the limited training set constrains traditional tabular synthetic data generators in their ability to generate a large and diverse augmented dataset needed for ML tasks. To address this challenge, we introduce CLLM, which leverages the prior knowledge of Large Language Models (LLMs) for data augmentation in the low-data regime. However, not all the data generated by LLMs will improve downstream utility, as for any generative model. Consequently, we introduce a principled curation mechanism, leveraging learning dynamics, coupled with confidence and uncertainty metrics, to obtain a high-quality dataset. Empirically, on multiple real-world datasets, we demonstrate the superior performance of CLLM in the low-data regime compared to conventional generators. Additionally, we provide insights into the LLM generation and curation mechanism, shedding light on the features that enable them to output high-quality augmented datasets.

For agents

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

get_harvested_code_for_paper("2312.12112")
get_code_for_paper("2312.12112")
have("2312.12112")

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

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

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

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

Connect an agent — have() is free.