ATLAS
ATLAS
We want to tune hyperparameters (or try architecture changes) for an ESPnet3 recipe, but we don't want to babysit a sweep. With ATLAS, we write down our objective once, and a coding agent (Claude Code or Codex) proposes a change, runs it, judges the result, writes down what it learned, and decides whether to try again — on top of the same run.py pipeline we already use.
We'll call one run of this loop a study. Inside a study, we get a sequence of trials (one trial = one config change, trained and measured) until we run out of budget, then we get a written summary of what worked.
Try it first
Play with the simulation below before touching a real recipe — it's browser-only, no agent or GPU runs, all data is a sample. Click atlas init, edit program.md, then atlas run.
A simulation that runs in your browser. No real agent or GPU is running, and all numbers and file contents are samples.
- 1init
- 2Edit program.md
- 3run
- 4status / stop
No files yet. Run atlas init to create the study directory.
- Created by init
| Trials appear after run |
Why we'd want this over a sweep
A grid/Bayesian sweep can't read our training log, can't tell an OOM apart from a bad hyperparameter, and can't patch code instead of just tuning a knob. With ATLAS we get an agent that:
- reads our
program.mdand the knowledge pack before proposing anything - can edit our recipe code, not just config, if we allow it in the search space
- gets a dedicated retry/debug attempt before giving up on a failed trial
- writes a reflection and updates the knowledge pack after every trial, so it doesn't repeat itself
What we'll find on disk
<recipe_dir>/
├── conf/
│ ├── atlas.yaml # we write this: our study config
│ └── program.md # we write this: our objective
└── exp/atlas/<study_name>/ # atlas.study_dir
├── atlas.yaml graph.yaml program.md # frozen copies
├── knowledge/
│ └── knowledge_pack.md # ATLAS appends this after every trial
├── trials/
│ └── trial_000001/
│ ├── resolved_training_config.yaml
│ ├── train.log eval.log
│ ├── metrics.json
│ ├── reflection.md
│ └── agent_calls/
├── node_runs/ # per-node-run agent prompts/outputs
└── state_*.csv .state.lock STOPWe run init once to create everything above trials//node_runs/; run fills the rest in as the study progresses.
Try it on a real recipe
espnet3 atlas init --recipe-dir egs3/mini_an4/esp2_asr --config conf/atlas.yaml
espnet3 atlas run --recipe-dir egs3/mini_an4/esp2_asr \
--study-dir egs3/mini_an4/esp2_asr/exp/atlas/mini_an4_ci_check
espnet3 atlas status --study-dir egs3/mini_an4/esp2_asr/exp/atlas/mini_an4_ci_checkGo to Running a study next for what each command does and how to leave a study running unattended on a cluster.
