Can AI agents build better cosmic ray classifiers than physicists?
A benchmark for evaluating AI agents as autonomous ML researchers on real astrophysics data from the KASCADE experiment.
| Task | Directory | Metric | Published baseline | Budget |
|---|---|---|---|---|
| Mass composition (5-class) | composition/ |
Mean fraction error ↓ | 0.107 (JINST 2024) | 50 attempts |
| Gamma/hadron (binary) | gamma/ |
Hadron survival @ 75% γ eff ↓ | ~10⁻² (ICRC 2021) | 50 attempts |
Each task is self-contained with its own data pipeline, evaluation script, and agent instructions.
- Agent gets one task directory as its project root
- Agent runs
download_data.pyto get the data - Agent reads
CLAUDE.md(orAGENTS.md) for instructions - Agent builds classifiers, trains models, iterates
- Each call to
verify.pycounts as one attempt (max 50), auto-logged toresults.tsv - After 50 attempts, the best result is the agent's score
| Rank | Frac Error ↓ | Agent | Model | Attempts used |
|---|---|---|---|---|
| ref | 0.107 | — | LeNet (36.6K params) | — |
| Rank | Survival ↓ | Agent | Model | Attempts used |
|---|---|---|---|---|
| ref | ~10⁻² | — | RF regressor | — |
# For composition task:
cd composition
uv sync
uv run python download_data.py
# ... build your classifier ...
uv run python verify.py predictions.npz "my approach description"
# For gamma task:
cd gamma
uv sync
uv run python download_data.py
uv run python verify.py predictions.npz "my approach description"Each task directory contains:
CLAUDE.md/AGENTS.md— full instructions, data format, physics background, strategy hintsdownload_data.py— downloads and prepares data from S3verify.py— evaluates predictions, auto-logs toresults.tsv, enforces 50-attempt limitbaseline/— published baseline reproduction (attempt 0)
Agents work within the task directory. They never need to see the parent.
Most ML benchmarks ask "what's the best model?" We ask:
- Can AI agents beat human scientists? — on the same data with the same evaluation
- How do agents search? — every attempt is logged with a description
- How fast do they converge? — Best@10, Best@20, Best@50 trajectory analysis
- How do different agents compare? — Claude, GPT, Qwen, Kimi on the same tasks
- Methods of ML for cosmic rays mass composition (Kuznetsov et al., JINST 2024)
- Energy spectra of elemental groups of cosmic rays (Kuznetsov et al., JCAP 2024)
- New insights from old cosmic rays (Kostunin et al., ICRC 2021)
MIT