Verdict: verified on a VLA with a smaller margin. Independent review found two problems (step sizes, padded action dims); G2 + App. E step sizes: AUROC 0.83 vs baseline 0.79
c777571 verified Download code/run_geco.sh from herooooooooo/repro-generative-control-as-optimization: direct link, hf CLI and curl.
- Browser
- Download file 2.54 kB
-
https://huggingface.co/spaces/herooooooooo/repro-generative-control-as-optimization/resolve/main/code/run_geco.sh
- Command line
-
hf download hf://spaces/herooooooooo/repro-generative-control-as-optimization/code/run_geco.sh
-
curl -L -o run_geco.sh https://huggingface.co/spaces/herooooooooo/repro-generative-control-as-optimization/resolve/main/code/run_geco.sh
2.54 kB
| # GeCO (arXiv 2603.17834) Table 5 on SmolVLA / LIBERO, start to finish, on Modal. | |
| # pip install modal==<version in experiments/lerobot/modal/requirements.txt> && modal setup | |
| # bash run_geco.sh | |
| # Steps (all remote; ~10 GPU-hours, roughly $25-35 of Modal credit at December 2026 prices): | |
| # 0. download the LIBERO dataset and SmolVLA weights into a Modal volume (once, ~33 GB, CPU only) | |
| # 1. train G0 (standard SmolVLA), G1 (GeCO) and G2 (GeCO, padded action dims held at 0) on LIBERO-Goal, 10k steps | |
| # each (L40S), then evaluate each on LIBERO-Goal (ID) and LIBERO-Spatial (OOD), 10 episodes per task, logging one | |
| # OOD score per planning call (GeCO runs: App. A.3 step sizes, K_max = 10) | |
| # 2. re-evaluate G1 and G2 with App. E step sizes (K_max = 10), and G1 with K_max 30 and 100 (A.3) | |
| # 3. offline: step-size sweep on G2 (chosen by in-distribution distance to the expert only) and diagnoses | |
| # 4. download the run folders and print the comparison with Table 5 (geco_report.json) | |
| # `modal run` waits on each step: keep the machine awake, or relaunch a stopped run with | |
| # modal run --detach experiments/lerobot/modal/app.py::resume --folder <run folder> --phases <phases> | |
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| APP=experiments/lerobot/modal/app.py | |
| SWEEP="a3,e,const:0.05,const:0.1,const:0.15,const:0.2,const:0.25,const:0.3,const:0.4,geom:0.15:0.02:10,geom:0.2:0.02:10,geom:0.3:0.02:10,geom:0.4:0.02:10,geom:0.3:0.05:10,geom:0.4:0.1:10,geom:0.5:0.05:10" | |
| modal run "$APP::prefetch" | |
| out=$(modal run "$APP::full" --runs G0,G1,G2 --trials 10 --steps 10000 | tee /dev/stderr | grep "all done:") | |
| G0=$(echo "$out" | grep -oE "G0_[0-9TZ]+" | head -1) | |
| G1=$(echo "$out" | grep -oE "G1_[0-9TZ]+" | head -1) | |
| G2=$(echo "$out" | grep -oE "G2_[0-9TZ]+" | head -1) | |
| modal run "$APP::geco_kmax" --folder "$G1" --kmaxes 10 --schedule e | |
| modal run "$APP::geco_kmax" --folder "$G2" --kmaxes 10 --schedule e | |
| modal run "$APP::geco_kmax" --folder "$G1" --kmaxes 30,100 | |
| modal run "$APP::diagnose" --g0 "$G0" --g1 "$G2" --frames 400 --k-max 10 --schedule e --zero-pad --sweep "$SWEEP" | |
| modal run "$APP::diagnose" --g0 "$G0" --g1 "$G1" --frames 400 --k-max 100 | |
| mkdir -p experiments/results/phase2 | |
| for f in "$G0" "$G1" "$G2"; do | |
| modal volume get --force behavior-results "phase2/$f" experiments/results/phase2/ | |
| done | |
| PYTHONPATH=src python3 experiments/lerobot/geco_report.py --g0 "experiments/results/phase2/$G0" \ | |
| --geco "experiments/results/phase2/$G1" --geco "experiments/results/phase2/$G2" --json geco_report.json | |