SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2301.10625 · NeurIPS · 2023

Navigating the Pitfalls of Active Learning Evaluation: A Systematic Framework for Meaningful Performance Assessment

Carsten Lüth, Till Bungert, Lukas Klein, Paul Jaeger

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 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 4 have no contract verdict; 0 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/2301.10625.json · badge: /api/ran/2301.10625.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
IML-DKFZ/realistic-al canonical (classifier label)
classifier basis not recorded on the link
4 ran · 1 no recorded run
FunctionStatusWhere it lives
compute_value Ran
ran on a synthesized input
IML-DKFZ/realistic-al/analysis/obtain_metrics.py
code served (permissive licence) · get_code("bc98f13f950f539c")
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 DataFrame. 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 tempfile
import pandas as pd
from pathlib import Path
import numpy as np

# Create temporary directory structure with mock experiment data
temp_dir = tempfile.mkdtemp()
base_path = Path(temp_dir) / "experiments"
base_path.mkdir(exist_ok=True)

# Create a few experiment subdirectories with metrics.csv files
for i in range(3):
    exp_dir = base_path / f"experiment_{i}"
    exp_dir.mkdir(exist_ok=True)
    
    # Create mock metrics.csv with test_accuracy and train_loss columns
    metrics_data = {
        'test_accuracy': [0.75 + i*0.01 + np.random.randn()*0.01 for _ in range(5)],
        'train_loss': [0.5 - i*0.05 + np.random.randn()*0.05 for _ in range(5)]
    }
    metrics_df = pd.DataFrame(metrics_data)
    metrics_df.to_csv(exp_dir / 'metrics.csv', index=False)

# Define ARGS
ARGS = {
    'path': base_path,
    'value_name': 'test_accuracy',
    'select': 'auto'
}
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 DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 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_exp_paths Ran
ran on a synthesized input
IML-DKFZ/realistic-al/analysis/dataframe.py
code served (permissive licence) · get_code("b29170ac0935a361")
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 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.

from pathlib import Path
import tempfile
import os

# Create a temporary directory structure that matches what the function expects
temp_base = Path(tempfile.mkdtemp())

# Create the directory structure:
# base_path/
#   dataset1_dir/
#     active/
#       exp1/
#       exp2/
#   dataset2_dir/
#     active/
#       exp3/

dataset1_dir = temp_base / "dataset1_dir"
dataset1_dir.mkdir()
(dataset1_dir / "active").mkdir()
(dataset1_dir / "active" / "exp1").mkdir()
(dataset1_dir / "active" / "exp2").mkdir()

dataset2_dir = temp_base / "dataset2_dir"
dataset2_dir.mkdir()
(dataset2_dir / "active").mkdir()
(dataset2_dir / "active" / "exp3").mkdir()

# Also create a non-active regime to test filtering
(dataset1_dir / "passive").mkdir()
(dataset1_dir / "passive" / "exp_passive").mkdir()

# Create the dataset_dict that maps names to the directory names
dataset_dict = {
    "dataset1": "dataset1_dir",
    "dataset2": "dataset2_dir"
}

ARGS = {
    "base_path": temp_base,
    "dataset_dict": dataset_dict
}
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 list, ndim 1, 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_label_regime Ran
ran on a synthesized input
IML-DKFZ/realistic-al/analysis/plot.py
code served (permissive licence) · get_code("c9ac32b1468188bc")
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 str. 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

def get_label_regime(x: str) -> str:
    """Function obtaining the label regime names.
    eg. active-cifar10_low to low

    Args:
        x (str): _description_

    Returns:
        str: _description_
    """
    out = '_'.join([x.split('_')[v] for v in range(1, len(x.split('_')))])
    if len(out) == 0:
        out = x
    return out

ARGS = {
    'x': 'active-cifar10_low'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
style_func_dict Ran
ran on a synthesized input
IML-DKFZ/realistic-al/analysis/plot.py
code served (permissive licence) · get_code("b92bdc5002123992")
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 str. 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

torch.manual_seed(0)

# The function takes a dictionary with string keys and boolean values
# It checks for 'Self-SL' and 'Semi-SL' keys and builds a style string based on their values
ARGS = {
    'x': {
        'Self-SL': True,
        'Semi-SL': False
    }
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
load_full_data Not yet run
unverified (harvested, no recorded run)
IML-DKFZ/realistic-al/analysis/plot.py
code served (permissive licence) · get_code("f10ae1737b5ffd51")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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

Active Learning (AL) aims to reduce the labeling burden by interactively selecting the most informative samples from a pool of unlabeled data. While there has been extensive research on improving AL query methods in recent years, some studies have questioned the effectiveness of AL compared to emerging paradigms such as semi-supervised (Semi-SL) and self-supervised learning (Self-SL), or a simple optimization of classifier configurations. Thus, today's AL literature presents an inconsistent and contradictory landscape, leaving practitioners uncertain about whether and how to use AL in their tasks. In this work, we make the case that this inconsistency arises from a lack of systematic and realistic evaluation of AL methods. Specifically, we identify five key pitfalls in the current literature that reflect the delicate considerations required for AL evaluation. Further, we present an evaluation framework that overcomes these pitfalls and thus enables meaningful statements about the performance of AL methods. To demonstrate the relevance of our protocol, we present a large-scale empirical study and benchmark for image classification spanning various data sets, query methods, AL settings, and training paradigms. Our findings clarify the inconsistent picture in the literature and enable us to give hands-on recommendations for practitioners. The benchmark is hosted at https://github.com/IML-DKFZ/realistic-al.

For agents

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

get_harvested_code_for_paper("2301.10625")
get_code_for_paper("2301.10625")
have("2301.10625")

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

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

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

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

Connect an agent — have() is free.