Skip to content
Robotics.world

Research

SPECOLA: A Tool for Specification Driven Robot Evaluation

Robot simulation benchmarks usually report a single number — success rate — which says whether a rollout finished the task but not by how much, which requirements were violated, or whether the…

The paper’s first page · arXiv:2610.35730
arXiv
2610.35730 · Preprint · not peer-reviewed
Published
2026-10-26
Authors
Immanuel Ampomah Mensah, Hadas Kress-Gazit

In plain words

Robot simulation benchmarks usually report a single number — success rate — which says whether a rollout finished the task but not by how much, which requirements were violated, or whether the success held.

AI summary

Overview

Research area: Robot learning and formal methods — specifically, evaluation of learned robot policies in simulation using Signal Temporal Logic (STL).

Technical level: Intermediate. Readers should be comfortable with robot simulation benchmarks and policy rollouts; the STL concepts needed are introduced in the paper itself.

Scope (one sentence): The paper presents Specola, an open-source tool that lets researchers write STL specifications over simulator signals and automatically monitors robot rollouts against them, replacing bare success rate with quantitative robustness scores.

What This Paper Is About

Robot simulation benchmarks usually report a single number — success rate — which says whether a rollout finished the task but not by how much, which requirements were violated, or whether the success held. Specola addresses this by giving researchers a way to express requirements in STL over simulator state and then automatically track, step by step, how close a policy came to satisfying or violating each requirement. The goal is a more informative and more trustworthy picture of policy performance than a binary success label provides.

Key Contributions

  1. Automatic signal discovery: Specola detects all monitorable signals exposed by a connected simulator, listing entities by class and role with their properties, units, and reference frames, rather than requiring a hand-maintained predicate or entity registry. Pairwise classes such as robot contacts appear as interactions occur.
  2. A specification-writing interface: Specifications are written in YAML or composed interactively, with a syntax mirroring the STL grammar (not, and, or, implies, historically[a,b], once[a,b], since[a,b]) and a selector notation that references signals by class, entity, and property, including wildcards and quantity filters. A check command validates each formula against the connected scene before execution.
  3. Monitoring integrated into existing evaluation loops: A Python API adds monitoring with an import and four calls, and a command-line interface provides discover, write-specs, check, run, report, and view commands. Monitors report robustness scores and truth values per step and save traces for later analysis.
  4. A reusable simulator adapter interface: Adapters require a monitoring period, spatial dimensionality, a reset hook, and an observation hook; rendering and camera hooks are optional. The authors provide adapters for nine environments — RoboCasa, LIBERO, Meta-World, dm_control, MA-MuJoCo, PyBullet, Isaac Lab, RoboDojo, and CARLA — plus instructions for writing new ones.

Main Findings

  • Monitoring is cheap and non-invasive on the simulator. Across 36 LIBERO tasks and three runs per task (no monitoring, state extraction only, full specification evaluation), the runs produced byte-identical actions, simulator states, termination flags, and outcomes. Full monitoring lengthened the control loop by 17.6% ± 7.8%; per step, state extraction cost 3.3 ± 1.1 ms, specification evaluation 0.49 ± 0.10 ms, and bookkeeping 0.04 ± 0.01 ms, against 15.7 ± 0.8 ms of policy inference and 7.2 ± 1.3 ms of simulation. Process memory grew by 34 ± 29 MB.

  • Benchmark thresholds can mislabel near-identical outcomes. On LIBERO Object task 8 ("pick up the chocolate pudding and place it in the basket"), one VLA-Adapter rollout counted as a success by 0.056 mm and one OpenVLA rollout as a failure by 14.9 mm, even though the two differed by less than the pudding's width. For contrast, the same policies produced a placement well inside the basket at +57.9 mm and a rollout that placed the juice carton instead of the pudding at −448.5 mm. The headline success rates — 46 of 50 for VLA-Adapter and 26 of 50 for OpenVLA — treat the near-miss pair as the same kind of difference as the clear cases.

  • Five reported failures were arguably successes. On LIBERO-10 task 4 (the two-mug task, where success requires each mug's center to be under 30 mm horizontally from the plate center), VLA-Adapter succeeded in 50 of 50 rollouts and π_0.5 in 45. All five π_0.5 failures lay within 4 mm of the threshold, and in each the mugs rested on their plates. Counting them as successes raises π_0.5 from 90% to 100%, matching VLA-Adapter.

  • Per-predicate robustness separates failure modes that share a score. On RoboDojo bowl stacking, π_0.5 succeeded on 19 of 25 layouts, MolmoAct2 on 11, and StarVLA PI-v3 on 13, and the benchmark gave all six π_0.5 failures the same process score of 15. In layout 7 the bowls were stacked and upright but the arms did not return; in layout 18 the arms returned but the bowls had tipped over; the other four missed both. Across policies, keeping bowls upright was almost always satisfied, while π_0.5 was the most robust at stacking.

  • Some successes do not persist. Rerunning OpenVLA-OFT's 47 successful two-mug rollouts for 20 additional control steps (1 s) after success — with states reproduced exactly up to the first success — the goal held for the full second in only 16 of 47 rollouts. In trial 37 the mug touched the plate while still held, then was lifted again by 26.5 mm.

  • Safety requirements invisible to success rate can be violated. On the LIBERO-10 stove task, OpenVLA-OFT succeeded in 49 of 50 rollouts and π_0.5 in all 50. A 140 N contact-force limit (following ISO/TS 15066) was exceeded by 42 of OpenVLA-OFT's 49 successes and 47 of π_0.5's 50, in each case while a finger pressed the stove button. A refined specification — force below 280 N, and any force above 140 N must return below it within 0.5 s — was violated by 15 of OpenVLA-OFT's successes and 12 of π_0.5's: 14 and 9 by sustained presses, the rest by single-step spikes above 280 N, with two of OpenVLA-OFT's sustained presses also spiking above 280 N.

Methodology in Plain English

The authors start from a simple observation: an STL monitor needs signals, and getting those signals out of a simulator is the tedious part. Specola automates that plumbing. A thin adapter layer turns each simulator's internal state into a common observation format — a step index, a time in seconds, and a list of entities with scalar properties. The discover command exposes what is available; a YAML file (or the interactive writer) states requirements over those signals; the check command resolves entity names and property names against the live scene; and the monitor then evaluates past-time STL robustness at every executed action, returning a signed score whose sign is the truth value and whose magnitude is the margin.

The case studies use this machinery as an evaluation instrument. The authors wrote goal specifications that mirror each benchmark's own success predicates — plus a monitor per predicate — and ran four policies on 40 LIBERO tasks (50 rollouts each, same initial conditions) and three policies on RoboDojo bowl stacking (25 initial conditions each), using XPolicyLab for the RoboDojo runs. They then picked rollouts to inspect based on their robustness scores rather than watching all of them.

Why This Matters

Impact on research. Success rate conflates distinct outcomes: a rollout that barely crosses a hand-tuned threshold and one that lands cleanly are counted alike, and a rollout that technically succeeds then destabilizes is counted as a success. This paper shows concretely how such thresholds can flip comparisons between policies — in one case moving a policy from 90% to 100% — and offers a drop-in mechanism for reporting a richer signal. Because Specola measures robustness rather than replacing the benchmark, it can be adopted alongside existing evaluation harnesses.

Real-world applications:

  • Safety auditing of manipulation policies: expressing force, contact, and speed limits (such as the 140 N and 280 N contact limits used here, following ISO/TS 15066) as monitorable specifications, so violations surface even in rollouts the benchmark counts as successful.
  • Regression testing during policy development: running specifications as pass/fail-plus-margin checks in CI, catching behavior that degrades in robustness before it degrades in success rate.
  • Selecting rollouts for human review: ranking hundreds of rollouts by robustness to surface the handful worth watching, instead of visualizing all of them.
  • Comparing checkpoints or policies with identical success rates: using robustness margins to distinguish policies that the headline metric cannot separate.

Industry relevance. Teams deploying manipulation policies need evidence about margins and constraint violations, not just task completion, and specification-based monitoring gives an auditable, formal record per rollout. The adapter design also means a single monitoring setup can span the mix of simulators a team already uses, including Isaac Lab and CARLA.

Future Directions

  • Extending to physical robots. The current tool monitors simulation using privileged state, with one observation per action at a fixed control period. Real sensors produce observations at different times and with different delays, and perception failures must be reasoned about within the monitoring pipeline; the authors name this as their future plan.
  • Online rather than post-hoc checking. The related work section notes that SENTINEL-style tools check temporal logic specifications post hoc and leave online checking and STL as future work; Specola does online monitoring, but the broader question of closing the loop — using robustness during execution, not just during evaluation — is left open.
  • Richer and more numerous specifications. The discussion points to specifications about constraints on gripper width and timing, or detecting periods when the robot freezes, as directions the tool already supports but the case studies do not exhaust.
  • Adapter coverage and adoption. Nine adapters are provided, and a shared MuJoCo adapter does most of the work for MuJoCo-based simulators, leaving classification rules as the main per-simulator effort; how well this scales to substantially different simulator state representations is an open question.

Target Audience

Researchers and engineers who evaluate learned robot policies in simulation and want more than a success-rate number — particularly those working with LIBERO, RoboCasa, RoboDojo, Isaac Lab, Meta-World, dm_control, MA-MuJoCo, PyBullet, or CARLA, and those already familiar with temporal logic or willing to learn a small YAML-based syntax. It is also useful for benchmark maintainers interested in how threshold choices shape reported results, and for safety-focused teams that need to check requirements absent from a benchmark's success criteria. Readers looking for new policy-learning algorithms will not find them here; the contribution is evaluation infrastructure.

Authors’ abstract

Simulation benchmarks are a useful way to measure progress in robotics; typically they provide success rate as the dominant measure of performance. However, success rate reports only whether a rollout completed the task, hiding by what margin it succeeded, how sensitive the success is to goal parameter changes, requirements it may have violated, and whether success persisted. Signal Temporal Logic (STL) provides a formal language for capturing specifications; it can be used…

The full abstract on arXiv
Read the original paper

Related papers