8000 Add LIBERO and LIBERO-Pro as a benchmark by ruiling-smartbear · Pull Request #100 · Infini-AI-Lab/hermit · GitHub
[go: up one dir, main page]

Skip to content

Add LIBERO and LIBERO-Pro as a benchmark - #100

Merged
haizhongzheng merged 17 commits into
Infini-AI-Lab:mainfrom
ruiling-smartbear:aspire-libero
Nov 17, 2026
Merged

haizhongzheng merged 17 commits into
Infini-AI-Lab:mainfrom
ruiling-smartbear:aspire-libero

Conversation

@ruiling-smartbear
@ruiling-smartbear ruiling-smartbear commented Nov 11, 2026 •
Copy link
Copy Markdown
Contributor

Change

Adds LIBERO, with LIBERO-Pro, as a benchmark. examples/libero/ holds its tasks; each method is a folder of configs beside them (aspire/, prompt_only/), as examples/README.md lays a task out.

  • Tasks (utils/prepare.py, 210): LIBERO's five suites (130 tasks) and LIBERO-Pro's _swap and _task perturbations of the four ten-task suites (80). The README lists the splits.

  • A task is a program. A Codex session writes it against ASPIRE's Code-as-Policy API (cap-harness --benchmark libero-pro), develops it through bin/sim on development seeds, and the judge scores it once on held-out seeds by the task's own success check. Seeds are ASPIRE's LIBERO defaults (development 51-65, held-out 1-50).

  • Methods:

    • aspire/: ASPIRE's prompts, verifier and coordinator.
    • prompt_only/: the prompt-only template, with a method-neutral acting prompt (utils/agent/prompt.md). With evosearch: false the engine stages no search page and scores fix_code.py, the file the prompt names.

    Both use the same workspace, bin/sim and judge, so their numbers are measured the same way.

  • The engine is the Robosuite example's (examples/aspire_robosuite/). A task row's "benchmark": "libero-pro" selects ASPIRE's LIBERO settings: .venv-libero, --init-mode seeded, LIBERO_CONFIG_PATH, and docs/libero-pro.md without the section that names ASPIRE's worked programs. A row without the field runs Robosuite as before. New options, both defaulting to the old behavior: ASPIRE_METHOD (which method folder the launcher runs) and agent.params.evosearch.

  • Protocol. LIBERO's own protocol scores each task on fifty fixed initial states. Those are cap-harness's --init-mode saved, which fails on every reset at the pinned commit (fixed by Fix LIBERO saved-mode reset on ndarray 8000 init states NVlabs/ASPIRE#31). Until then a seed here is a scene LIBERO samples, so the numbers compare with neither LIBERO's literature nor ASPIRE's. The README says so.

Validation

  • Tests: python -m pytest tests/methods/aspire (28 passed, 9 skipped without bubblewrap on macOS; CI runs them on Linux). They cover the 210 rows and the splits, every config of both method folders, the method-neutral prompt, and which program is scored with and without evosearch.
  • python -m pytest --changed on macOS: 12 failures in tests/core and tests/methods/{mwm,harness2}, the same 12 as on a clean main.
  • pre-commit run --all-files and bash docs/build.sh pass; hermit check --no-probe passes on the Linux host.
  • On a Linux host (RHEL 9, L40, ASPIRE at the pinned commit, with its SAM3, PyRoki, cuRobo and Contact-GraspNet services):
    • A probe program runs through sim.Engine(benchmark="libero-pro") on three LIBERO suites and all eight LIBERO-Pro suites, with seeded init and the task's (perturbed) language.
    • ASPIRE's own programs score through the same path: close_microwave.py on libero_90:33, 3/3; object_swap_seed1.py on libero_object:0 and libero_object_swap-t00, 6/6 each.
    • aspire/run_sample_luna.yaml (six tasks, GPT-5.6-Luna at medium) completes: actor and search, judge on 50 held-out seeds per task, coordinator, final tag. Every task scores 0/50 (development 0/15), and the baseline with ASPIRE's empty library also 0/50 on each (4.2 hours). Luna solves none of these tasks here; this is not a measurement of ASPIRE's method.
    • The run's sandbox records show enforcement on, the network limited to the model's hosts and the simulator's port, and the task rows denied.
  • Not run: prompt_only/ on the real engine; a Robosuite smoke on this branch; a model that solves LIBERO tasks here. The full-run budgets are scaled from Robosuite's, not measured.

Review

  • Core changes: none; all of it is under examples/ and the docs.

  • Failures: a missing LIBERO venv or Contact-GraspNet service stops the launcher before a run; the engine refuses an unknown benchmark; a docs page without the section that names worked programs is refused; the method-neutral prompt refuses settings without evosearch: false.

  • Agent layers: unchanged from Add ASPIRE: the aspire template and Evolver, with a Robosuite example #74: the codex acting agent, with the aspire Evolver or the built-in Codex Evolver.

  • Tests and documentation cover the affected behavior, where applicable. Tests: tests/methods/aspire/test_aspire.py (neither launcher has a test). Docs: examples/libero/README.md, examples/README.md, docs/methods/aspire.md, docs/methods/prompt-only.md, CHANGELOG.md.

  • Commands, defaults, and public interfaces are consistent.

  • Shared logs and examples contain no credentials or private data.

  • Documentation-only: not applicable.

  • Sandbox checklist: the sandbox is unchanged. Task sessions use environment.read and environment.env; the simulator runs through the Robosuite example's confine. LIBERO's demonstration datasets and ASPIRE's docs/ are hidden from the simulator's sandbox.

  • Independent review (post-PR audit): separate agents reviewed the head against the general, sandbox and test checklists; their findings are fixed. Open, and stated in the README:

    • two method folders cannot run at once on one checkout (they share the rows, the staged docs and the service's ledger);
    • prompt_only's sandbox can read the engine's folder, which holds its adaptations of ASPIRE's prompts;
    • as on main, a generated program runs in cap-harness's process and could write its own outcome (the Robosuite README's stated limit).

examples/aspire_libero/ adds LIBERO's Object, Spatial, Goal, Long (libero_10)
and LIBERO-90 suites as tasks of ASPIRE's harness (cap-harness --benchmark
libero-pro): 130 task rows, run.yaml (the four ten-task suites), run_90.yaml,
smoke.yaml and a launcher that starts the Robosuite example's on this folder.

The Robosuite example's engine now takes the benchmark from the task row: the
venv that holds cap-harness, the init mode (LIBERO: seeded, so a seed is a
scene of its own), the simulator's environment and the benchmark's docs page
(LIBERO's without the section that names ASPIRE's worked programs per task).
A row without the field is Robosuite's, as before. prepare.py's seeds are
presets (--preset aspire|smoke) and its row and split writing is shared.
…out's pages

The LIBERO configs granted $ASPIRE_ROOT/docs/libero-pro.md to the task sandbox, whose
"Task examples" section names ASPIRE's worked programs per task; only the workspace
copy was cut. launch.sh now stages the docs outside the checkout (stage_docs.py) and
the Codex configs of both examples grant those (agent.params.aspire_docs). A benchmark
page without its cut is refused rather than copied whole. LIBERO's demonstration
datasets are hidden from the simulator's sandbox.
smoke_luna.yaml is smoke.yaml with GPT-5.6-Luna acting and coordinating on the Codex
ChatGPT login. The launcher asks for FIREWORKS_API_KEY only when the config's models
are Fireworks'.
LIBERO's grasp backend is on its fixed port 8115 (ASPIRE's SERVICE_PORTS for libero-pro); without it every
generate_grasps call fails. The launcher checks it as the Robosuite launcher checks the other services.
# Conflicts:
#	tests/selection.py
…s protocol; the method page names LIBERO's docs, aspire_docs and verifier seeds
…'s tasks, the aspire method folder and a prompt_only one with LIBERO's own acting prompt; the Robosuite launcher runs another method folder's configs
@ruiling-smartbear ruiling-smartbear changed the title ASPIRE on LIBERO (Object, Spatial, Goal, Long, LIBERO-90) LIBERO (and LIBERO-Pro) as a benchmark, with ASPIRE and prompt-only Nov 14, 2026
…it; its workspace leaves out ASPIRE's search page and assignment; the prompt is named method-neutral; the step limit is stated only when set
…, Spatial and Goal) for a run of a day or two
…r scores a search; run_sample_luna.yaml names its baseline's config
@ruiling-smartbear
ruiling-smartbear marked this pull request as ready for review November 17, 2026 04:15
@ruiling-smartbear ruiling-smartbear changed the title LIBERO (and LIBERO-Pro) as a benchmark, with ASPIRE and prompt-only Add LIBERO and LIBERO-Pro as a benchmark Nov 17, 2026
@haizhongzheng haizhongzheng left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. We reviewed de00cb2 with two independent reviewers and found nothing that blocks the merge, so there are no changes from our side.

  • Checked against ASPIRE at the pinned fa00f0e: --init-mode on run and run-batch, the ## Task examples cut in docs/libero-pro.md, no read of docs/ by cap-harness at run time, and the LIBERO profile (venv, environment, seeds, TASK_DIR), which matches the fix-loop template.
  • Robosuite is unchanged: the same rows, splits, verifier and rerun rows, and the same launcher paths for aspire.

Noted, not changed: the launcher no longer checks FIREWORKS_API_KEY for run_direct.yaml and smoke_direct.yaml, whose model is not a ref:, so a missing key now fails at the first model call.

Tests. python -m pytest --changed --base origin/main: 1347 passed, 160 skipped. The 2 failures are Harness² tests whose dependency group was not installed. CI passed on de00cb2.

🤖 Generated with Claude Code

@haizhongzheng
haizhongzheng merged commit 02f57f3 into Infini-AI-Lab:main Nov 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0