EFA-2 Β· Acrobot-v1 β€” the rescue artifact

The first EFA body where the energy gate doesn't just price compute β€” it rescues. Gym Acrobot-v1, exact published spec: underactuated (torque on the elbow only, actions {βˆ’1, 0, +1}), RK4 dynamics, reward βˆ’1/step, 500-step cap. Nothing about the task is ours.

Charlot Lab Β· Institute for Physical AI @ Bailey Military Institute. Runtime: Ferric. Siblings: efa-1 (flagship, certified multi-body) Β· efa-2-pendulum.

Why this body: the principled K=1 failure

From the hanging start, the optimal pumping torque is symmetric-bimodal (Β±1) β€” and a flow policy's conditional expectation at aβ‚€ = 0 averages the modes toward zero. Measured on this artifact: K=1 rounds to zero torque on 54% of hanging-region probes. That is the classically multi-modal regime where one-shot policies fail β€” and it shows in the closed loop.

The rescue, measured (100 spec episodes each; never-solve = βˆ’500)

policy mean return solved extra compute
flow K=1 (no gate) βˆ’109.9 96% β€”
AGENCY: E>Ο„ β†’ K=4 β†’ planner βˆ’88.0 100% on 5.3% of decisions
flow K=4 always βˆ’80.9 100% on 100% of decisions (4Γ—)
planner tool always (argmin own E) βˆ’84.8 100% 3 E-evals every step
DP teacher (near-optimal) βˆ’84.7 100% 106 evals/step

The model's own energy objects on ~5% of decisions, and that objection converts into solved episodes: +21.9 mean return, 96β†’100% solved, capturing most of always-K=4's gain at a small fraction of its marginal compute. The same potential verifies at 94.5% (ranks the demonstrator's action below the alternatives); every path β€” including both tools β€” is bit-exact deterministic. Ο„ ships in config.json (95th pct of validation energy, from the artifact alone).

Honesty (read before citing)

  • Distills a model-based DP demonstrator (grid value iteration on the known dynamics; teacher βˆ’84.7, 100%, squarely in the published good-policy band β‰ˆ βˆ’80..βˆ’100). Not a model-free-RL comparison.
  • K=1's failure is partial (96% solved but slow); the rescue Ξ” decomposes as β‰ˆ16 points from eliminating the four never-solves + the rest from faster solutions. One seed.
  • Ο‰ observation components are scaled by their spec bounds (disclosed in config.json).
  • Gated release: agency return β‰₯ βˆ’150 ∧ verify β‰₯ 90% ∧ bit-exact ∧ reload-exact β€” thresholds fixed before the run. Provenance: experiments/ebm_efa2acro.rs in the EFA repo (ledger with negatives included β€” on two easier bodies the gate found nothing to rescue, and the cards say so).

Architecture

Coordinated pair on the env's own observation [cosθ₁, sinθ₁, cosΞΈβ‚‚, sinΞΈβ‚‚, ω₁/4Ο€, Ο‰β‚‚/9Ο€]: flow head (8β†’96β†’96β†’1, CFM; K-step integration, rounded to the 3 legal actions) + potential head (7β†’96β†’96β†’1, contrastive; the verifier, the gate, and the planner tool's objective β€” one energy, three roles).

License: Apache-2.0.

Downloads last month
18
Safetensors
Model size
20.5k params
Tensor type
F32
Β·
Video Preview
loading