Skip to content
Robotics.world

Research

Compile Once, Run Cheap: Frozen, Portable Skills for Embodied Agents, and What Recursive Self-Improvement Adds

Robot manipulation usually gains new capabilities one of two ways: collect demonstrations and train a policy for every task, or keep a frontier multimodal model reasoning inside the control loop for…

The paper’s first page · arXiv:2610.25114
arXiv
2610.25114 · Preprint · not peer-reviewed
Published
2026-10-18
Authors
Jingwen Bai, Guochao Bai, Canbo Zhang, Shuangqi Li, Minchao Hu, Weichun Huang, Shuang Liu

In plain words

Robot manipulation usually gains new capabilities one of two ways: collect demonstrations and train a policy for every task, or keep a frontier multimodal model reasoning inside the control loop for every episode. Both are expensive — the first in data collection, the second in per-episode model cost.

Key results

  • The gate binds on rare safety aborts, not on task completion. On the hardest task every campaign scored 78–95 of 100 but had 3–16 safety aborts, so the pre-registered gate of 95% success with zero aborts was not met.
  • Inheriting the previous version beats rewriting from scratch. On hidden layouts, a repair session that inherits the previous version and its evidence delivered a better version than a from-scratch rewrite in 8 of 8 controlled campaigns (sign test p = 0.004).
  • Most of the repair advantage comes from inheritance, not from development feedback. An inherit-only lineage — revising the previous version with its own practice runs but without the runtime's development-layout feedback — shows most of that gap comes from inheriting the previous version, with the development feedback adding a little more (3 of 3 campaigns in the same direction, p = 0.125, the minimum attainable one-sided value with three campaigns).
  • In-session self-testing showed no detectable effect on first drafts. Six write-once campaigns found no detectable first-draft difference from practice, but the design cannot exclude effects below about 14 points.

AI summary

Overview

Research area: Robotics — embodied agents, robot manipulation skill acquisition, and self-improving agent systems built on frozen large models.

Technical level: Advanced. The paper is a protocol-and-measurement paper: it defines two experimental protocols, a package format, statistical controls and a cost ledger, and reports benchmark results with confidence intervals and sign tests. Readers need familiarity with manipulation benchmarks, agent scaffolds and basic experimental design.

Scope (one sentence): The paper asks whether a strong general model can act purely as an offline author that compiles a robot manipulation skill into an immutable, hash-verified package — a FrozenSkill — which then runs on new scenes with no model at all or with a cheap caller from a different model family, and it measures how much of the improvement across repair rounds is genuine learning versus mere selection or inheritance.

What This Paper Is About

Robot manipulation usually gains new capabilities one of two ways: collect demonstrations and train a policy for every task, or keep a frontier multimodal model reasoning inside the control loop for every episode. Both are expensive — the first in data collection, the second in per-episode model cost. This paper studies a third route: a strong model writes, tests, diagnoses and repairs a skill entirely offline in simulation, an independent gate freezes the skill after it passes an exam on layouts drawn only after freezing, and the frozen files are then executed on unseen layouts by plain code or by an inexpensive caller that reads nothing but the skill's written description. The goal is to establish the empirical precondition for "skills before the strong embodied base model": that a skill can be compiled cheaply, qualify on unseen layouts, run without its author, and cost very little per episode.

Key Contributions

  1. An author–executor separation with a verifiable artifact as the unit of adaptation. The output of the loop is a FrozenSkill: an immutable bundle of SKILL.md (a description, at most 20 KB, and the only file a caller may read), skills.py (restricted-Python atoms plus a complete code-only fallback policy), perception.py (an RGB-D detector the author writes, with role naming assigned by a frozen CLIP model), and MANIFEST.json (file hashes, seeds, environment fingerprint, exam outcome, compile cost). Two protocols — Protocol A (compile offline) and Protocol B (run cheap, measure reuse) — operationalize "compile once, run cheap" over one shared, non-bypassable runtime.

  2. A controlled measurement of what "recursive self-improvement" actually contributes. The paper separates selection (the runtime keeps the best version), inheritance (the author starts from the previous version rather than the task card) and development feedback (the author reads the runtime's per-layout evaluation). It adds no-feedback control drafts beside every repair round, a pre-registered inherit-only lineage, hidden validation layouts never fed back to the author, exam layouts drawn after freezing and always run to completion, and re-runs of every version on held-out layouts after the campaign ends.

  3. A cost ledger with a denominator. Every failed campaign is counted, so the headline per-skill cost is reported both per successful compile ($4.29–8.22 of author cost each) and amortized across failures ($55 per frozen skill once the 13 campaigns that did not compile are counted). Reuse cost is reported separately as model cost per episode.

  4. Measurements on RoboTwin 2.0 answering four questions (Q1–Q4) — compile cost and failure modes, the decomposition of round-over-round gains, retained success under frozen execution, and per-episode cost — including three findings the authors state they did not anticipate (first-draft dominance, the gate binding on rare safety aborts, and inheritance dominating feedback).

Main Findings

  • Most frozen skills came from first drafts. On 7 RoboTwin 2.0 tasks with cluttered tables, 4 tasks compiled into 7 frozen skills by Claude Code, and 5 of those 7 came from a first draft that already met the targets and needed only qualification. On the tasks that compiled, the protocol's measured contribution is therefore qualification and freezing, not repair.

  • Compilation was cheap per success, and the failed campaigns are what move the number. Author cost was $4.29–8.22 per frozen skill; counting the 13 campaigns that did not compile, the amortized figure is $55 per frozen skill.

  • Three tasks never compiled, in 18 campaigns. These included five campaigns with GPT-6 and a pre-registered experiment that enlarged the development block to 150 layouts (128 usable after materialization) on the task that had never compiled. More development layouts did not change the outcome.

  • The gate binds on rare safety aborts, not on task completion. On the hardest task every campaign scored 78–95 of 100 but had 3–16 safety aborts, so the pre-registered gate of 95% success with zero aborts was not met. A 100-episode exam bounds an abort rate only to 3.6%.

  • Inheriting the previous version beats rewriting from scratch. On hidden layouts, a repair session that inherits the previous version and its evidence delivered a better version than a from-scratch rewrite in 8 of 8 controlled campaigns (sign test p = 0.004). The selection-matched best-of-k comparison, which credits both sides with the same number of attempts, is much weaker at 5–3.

  • Most of the repair advantage comes from inheritance, not from development feedback. An inherit-only lineage — revising the previous version with its own practice runs but without the runtime's development-layout feedback — shows most of that gap comes from inheriting the previous version, with the development feedback adding a little more (3 of 3 campaigns in the same direction, p = 0.125, the minimum attainable one-sided value with three campaigns).

  • In-session self-testing showed no detectable effect on first drafts. Six write-once campaigns found no detectable first-draft difference from practice, but the design cannot exclude effects below about 14 points.

  • Frozen skills retained nearly all their success without the author. Measured for reuse, they retained 148/150 successes on new layouts with no model at all and 147/150 with a DeepSeek-flash caller reading only SKILL.md, at $0.00028–0.00054 of model cost per episode. Reuse used 50 new layouts per skill, disjoint from every compile-time seed.

  • No break-even claim is made. No direct-control baseline was run, so no break-even point against a per-episode frontier-model loop is reported.

  • Isolation was necessary, and its absence had already corrupted results. In an earlier version of the protocol without isolation, an audit of 58 campaigns' session transcripts found that in five the author had read and copied skill code, notes or scores of other campaigns on the same machine; one formal campaign's starting draft was 0.96 similar to an earlier candidate for the same task and had been tested on hidden validation layouts. None of those campaigns is reported; since runtime 5.5.0 the author runs in an OS sandbox with per-directory unprivileged users and a closing transcript audit.

Methodology in Plain English

The design rests on a strict split between the thing that writes a skill and the thing that runs it.

The runtime. A fixed kernel exposes only six primitives — observe, ee_pose, gripper_state, move_pose, gripper, wait — and turns them into planned trajectories under workspace, joint and drop monitors that abort on unsafe motion. Skill code is restricted Python: no imports, no while, no try, no classes or lambdas, a builtin allowlist and no underscore names. Every result goes into a hash-chained ledger.

Protocol A (compile). A phase-0 health check materializes 30 layouts, runs the official expert ten times to fix a speed bar, and stops the campaign on red lights. Three seed blocks are then created: 50 development layouts (seeds 70000–70049), 50 hidden validation layouts (71000–71049) whose results the author never sees, and a practice range (68000–68999). Usable blocks came out at 42–47 development and 36–46 validation layouts per task. The author then goes through R0 generate (two independent drafts in separate directories; the better becomes the lineage head), R1 repair (fresh sessions that inherit the head and its per-layout evidence, replacing the head only on a strict improvement; ends at ≥96% on development and ≥94% on validation, or on budget rules of ten rounds, three stalled rounds, $150 of author cost or ten hours) and R2 qualify (freeze, then draw 100 exam seeds from [10⁵, 10⁶) and run the whole exam; pass requires at least 95/100, zero safety aborts, a median success time at most twice the expert median, and no regression).

Controls. Because "keep the better attempt" alone raises the score without any learning, every repair round is paired with a control draft made from the identical task card with no history. A pre-registered second experiment adds an inherit-only lineage that keeps practice but loses the runtime's development feedback.

Protocol B (reuse). The identical frozen files are run on 50 new layouts per skill with a code-only executor and with a DeepSeek-flash caller. After freezing, additional report-only checks include a 20-layout caller check with the author product, a 300-layout re-evaluation of near-bar skills, and a held-out re-run of every repair and control version on the validation layouts. The gate itself is a point-estimate threshold; the authors report the interval beside every verdict, noting that 95/100 has a Wilson lower bound of only 88.8% and that n = 100 was chosen so the interval half-width at the threshold is about 4.5 points.

Why This Matters

Impact on research. The paper's main methodological point is that self-improving embodied systems are usually evaluated with their own discovery set, and that a higher final score cannot by itself distinguish learning from selection among attempts. Its concrete instruments — hidden validation layouts, exams drawn after freezing and always run to completion, no-feedback and inherit-only control lineages, session audits, environment fingerprints, and a ledger that counts failed campaigns — apply directly to a fast-growing literature in which concurrent systems such as EmbodiedEvo and EmbodiedRSI freeze experience but still reason with a large model in every test episode. The result that most of the round-over-round gain is inheritance rather than feedback replicates, in the embodied setting, earlier audits of code self-repair that found self-repair pays only when external execution feedback is strong. The paper also makes a strong claim about what "runs cheap" should mean: the object that survives freezing must be executable by an executor from another model family, and that must be measured, not assumed.

Real-world applications (potential, per the paper's setting):

  • Tabletop pick-and-place in clutter — the benchmark setting is bimanual manipulation with up to ten distractor objects, where a skill authored once can be re-run across many scene variations.
  • Deployment where a frontier model per episode is too expensive — the paper's target regime is any robot fleet that cannot afford a frontier model in every control loop; the reported per-episode caller cost is $0.00028–0.00054 of model cost, with a code-only path at $0.
  • Strategy-level substitutes for missing sensing — the paper notes a skill can encode a strategy that avoids needing a modality, such as supporting a fragile object from below rather than estimating a safe grip force.
  • Compiling structured data in specific scenes now — the authors' stated hypothesis is that robots can start working, and generating structured data, in specific scenes before a strong embodied base model exists.

Industry relevance. The cost accounting is aimed at the question a deployment team actually asks: what is the per-episode cost, and what is the denominator once failed authoring attempts are counted? Reporting $55 per frozen skill including 13 failed campaigns, and separating author cost from runtime cost, is a far more usable number than a per-success figure. The isolation results are equally practical: an agentic author with shell access and a shared machine will read other campaigns' work unless something stops it, which matters for any organization running many authoring campaigns in parallel.

Future Directions

  • Meta-level improvement of the improver. The paper places itself at the first three of Duan et al.'s five levels of recursive self-improvement — it improves an external artifact with a fixed author — and explicitly leaves improvement of the author itself (weights, prompts, tools, diagnostic procedure) to future work.
  • Making the gate bind less on rare safety aborts. The central unresolved failure is that skills scoring 78–95 of 100 still produced 3–16 safety aborts, and enlarging the development block did not fix it. What authoring or verification change would drive rare unsafe motions to zero is left open.
  • Direct-control baselines and break-even. No direct-control baseline was run, so no break-even against a per-episode frontier-model loop is reported. A like-for-like comparison of frozen-skill execution against a model-in-the-loop harness on the same tasks is the obvious missing measurement.
  • Scaling the statistical design. The inherit-only experiment has three campaigns, which caps the attainable one-sided p at 0.125, and the write-once ablation cannot exclude effects below about 14 points. More campaigns and a variance-reduced design would let the feedback-versus-inheritance decomposition be resolved rather than merely directional.

Target Audience

Researchers and engineers working on embodied agents, robot manipulation, and self-evolving or agentic skill-acquisition systems — especially those building "evolve a skill library" loops who need to know what evidence would distinguish learning from selection. It is also valuable to evaluation-methodology researchers interested in hidden test sets, cost-controlled reporting and contamination audits for agentic authors, and to practitioners who must decide whether a frozen skill artifact plus a cheap caller can replace a frontier model in the control loop. Beginners will find the protocol structure legible but the statistics and benchmark conventions assume prior exposure.

Authors’ abstract

Embodied AI lacks the data-rich pretraining that gave language models their agents and skills, so new manipulation capability costs demonstrations per task or a frontier model in every episode. We study a third route: a strong general model acts only as an offline author that writes, runs, diagnoses and repairs a manipulation skill in simulation until it passes an exam on layouts drawn after freezing; the frozen skill then runs as code alone or under a cheap caller that…

The full abstract on arXiv
Read the original paper

Related papers