ACT — LIBERO "pick up the alphabet soup and place it in the basket"
An ACT (Action Chunking Transformer) policy trained with LeRobot on a single LIBERO-Object task, evaluated in closed loop in MuJoCo.
Code: https://github.com/Rishitha2628/vla-libero-manipulation
Results
Success rate over 50 episodes — one per LIBERO initial state, 600-step cap:
| Inference setting | Success | Mean steps |
|---|---|---|
temporal ensembling (temporal_ensemble_coeff=0.01) | 47/50 = 94% | 145.8 |
| execute the full 50-action chunk open-loop | 45/50 = 90% | 149.4 |
| re-plan every 10 actions | 42/50 = 84% | 169.9 |
The expert demonstrations average 156 steps, so the policy succeeds at roughly
demonstration speed. Per-episode records are in the GitHub repo under results/.
Usage
from lerobot.policies.act.modeling_act import ACTPolicy
from lerobot.processor import PolicyProcessorPipeline
from lerobot.processor.converters import (
batch_to_transition, transition_to_batch,
policy_action_to_transition, transition_to_policy_action,
)
REPO = "rishi264/act-libero-alphabet-soup"
policy = ACTPolicy.from_pretrained(REPO)
policy.to("cuda").eval()
# The normalization lives in these pipelines, not in the policy -- you need them.
preprocessor = PolicyProcessorPipeline.from_pretrained(
REPO, config_filename="policy_preprocessor.json",
to_transition=batch_to_transition, to_output=transition_to_batch,
)
postprocessor = PolicyProcessorPipeline.from_pretrained(
REPO, config_filename="policy_postprocessor.json",
to_transition=policy_action_to_transition, to_output=transition_to_policy_action,
)
batch = preprocessor(observation) # dict of observation.* tensors
action = postprocessor(policy.select_action(batch))
Do not load model.safetensors on its own. ACTPolicy performs no normalization
itself in current LeRobot. Without the preprocessor the network receives unnormalized
inputs, and without the postprocessor its normalized outputs go to the robot as if they
were raw deltas. Either mistake silently produces a policy that does nothing useful —
this exact bug is why an earlier version of this model scored 0/50.
Inputs and outputs
observation.images.image | agentview camera, 3×128×128, values in [0, 1] |
observation.images.image2 | wrist (eye-in-hand) camera, 3×128×128 |
observation.state | 8-d: ee position (3), ee orientation as axis-angle (3), gripper qpos (2) |
action | 7-d: position delta (3), orientation delta (3), gripper (1) |
Images are fed without a vertical flip, matching how the training data was recorded. Render at LIBERO's native 128×128.
Training
- 50 expert demonstrations of one LIBERO-Object task, 7,808 frames
- 20,000 steps, batch size 8, lr 1e-4, AdamW, ~75 min on an RTX 3060 laptop GPU
- ResNet-18 backbone (ImageNet init), chunk size 50, CVAE with
kl_weight=10 - Final loss 0.169 (l1 0.173)
Note the loss is computed against true 50-step action trajectories via
delta_timestamps. It is not comparable to losses from setups that train on a repeated
single action.
Limitations
- One task, one object — no generalization claims across tasks or objects.
- Not language-conditioned. This is ACT on vision + proprioception, not a generalist VLA; the instruction is fixed.
- Simulation only; no real-robot transfer.
- One episode per initial state, so the band around 94% is not resolved.