Action Chunking with Transformers (ACT) is an imitation learning algorithm for robot manipulation that uses a transformer to predict a chunk of future actions, rather than a single action, from camera images and the current joint positions. In Embodied AI, it is one of the best-known policies for learning fine-grained, bimanual skills from a small number of human demonstrations.
ACT was introduced in 2023 together with ALOHA, a low-cost bimanual teleoperation system. Its central idea is that predicting many steps at once reduces compounding errors and makes behavior smoother, which matters most in precise contact-rich tasks such as inserting a battery or opening a small container.
How ACT predicts action chunks
An ACT policy maps an observation to a sequence of k target joint positions, where k is the chunk size. With a control rate of 50 Hz and a typical chunk of 100 steps, one prediction covers about two seconds of motion. The robot does not need to decide anew at every control cycle, so the effective decision horizon shrinks by a factor of k.
The architecture combines a convolutional image encoder with a transformer encoder-decoder. The table below summarizes the main components in the original design.
| Component | Role | Typical choice |
|---|---|---|
| Image backbone | Extracts visual features from each camera | ResNet-18 per camera view |
| Proprioception input | Provides current joint positions | 14 values for two 7-axis arms |
| Transformer encoder | Fuses image tokens, joints and style variable | Several self-attention layers |
| Transformer decoder | Produces the action chunk from fixed queries | One query per future step |
| CVAE encoder | Compresses a demonstration into a latent style | Used only during training |
ACT is trained as a conditional variational autoencoder (CVAE). During training, an extra encoder sees the demonstrated action sequence and produces a latent variable that captures the style of a particular demonstration. At test time the latent is set to the prior mean, so the policy behaves deterministically while still having learned from varied human motion.
Why chunking and temporal ensembling help
Action chunking addresses the compounding error problem of behavior cloning, in which small mistakes push the robot into states never seen in the demonstrations. Fewer decisions per episode mean fewer chances for errors to accumulate. Chunking also tolerates pauses and non-Markovian behavior in human demonstrations, which single-step policies tend to imitate poorly.
Executing whole chunks open-loop can cause jerky transitions, so ACT uses temporal ensembling. The policy is queried at every step, and the overlapping predictions for the current moment are averaged with exponential weights that favor older or newer predictions depending on a tuning constant.
| Strategy | How it runs | Benefit | Drawback |
|---|---|---|---|
| Single-step policy | Predicts and executes one action per cycle | Maximal reactivity | Strong compounding error |
| Open-loop chunk | Executes all k actions, then predicts again | Low compute load | Abrupt switches between chunks |
| Temporal ensembling | Averages overlapping chunks every cycle | Smooth and precise motion | Inference at full control rate |
| Partial chunk execution | Executes part of a chunk before replanning | Balances reactivity and smoothness | Extra tuning parameter |
The chunk size is a key hyperparameter. Very short chunks bring back compounding error, while very long chunks make the policy slow to react to disturbances, such as an object that slips in the gripper.
ACT compared with related robot learning policies
ACT sits between simple behavior cloning and large generalist models: it is a task-specific policy trained from scratch on tens of demonstrations. Its closest relatives in Embodied AI differ mainly in how they represent the action distribution and how much data they need.
| Policy family | Action representation | Typical data scale | Language input |
|---|---|---|---|
| ACT | Deterministic chunk from a CVAE | About 50 demonstrations per task | No (original form) |
| Diffusion policy | Chunk sampled by iterative denoising | Tens to hundreds of demonstrations | Optional |
| Vision-language-action model | Tokens or continuous chunks | Very large multi-robot datasets | Yes |
| Plain behavior cloning | Single action per step | Varies widely | Usually no |
Diffusion policy handles multimodal demonstrations better, for example when operators sometimes grasp from the left and sometimes from the right. ACT, by contrast, is fast at inference and simple to train, which is why it remains a common baseline. Several later generalist models, including Pi0, adopted action chunking as a core idea.
Training and deploying an ACT policy
A typical ACT workflow starts with teleoperated demonstrations, often collected with a leader-follower setup like ALOHA, in which an operator moves leader arms and follower arms copy them. The recorded joint positions become the training targets. Open-source toolkits such as LeRobot provide reference implementations.
- Data collection: usually 50 or more demonstrations per task, recorded with several cameras, including wrist views.
- Loss function: an L1 reconstruction loss on actions plus a weighted KL divergence term for the CVAE.
- Training cost: hours rather than days on a single modern GPU for a single task.
- Inference: fast enough for a 50 Hz control loop on consumer GPU hardware.
Success depends heavily on demonstration quality. Consistent, unhurried operator motion and good camera coverage of the contact area usually matter more than adding network capacity.
Limitations of Action Chunking with Transformers
ACT learns one narrow skill at a time and generalizes poorly beyond the conditions in its demonstrations. Changes in lighting, object appearance or camera position can sharply reduce success rates. The deterministic output also averages conflicting strategies, which can produce a hesitant motion between two valid options.
Because the original form has no language conditioning, one network does not easily switch between tasks on command. These limits explain why research has moved toward larger multi-task models, while ACT remains valuable for data-efficient single-task learning.
Explained without jargon
Imagine teaching someone to tie a knot by showing them a few times. A beginner who decides each tiny finger movement separately will hesitate and drift off course. Someone who plans a short sequence of moves at once works more smoothly.
Action Chunking with Transformers teaches a robot in that second way. It watches people control the robot, then learns to plan the next second or two of movement in one go, from what its cameras see. That makes its motions steadier and more precise, even after only a few dozen examples.
A typical use case
A university robotics lab wants a two-arm robot to put a small battery into a remote control. A student uses a leader-follower teleoperation rig to record 60 demonstrations, each about 20 seconds long, with three cameras: one overhead and one on each wrist.
The team trains an ACT policy with a chunk size of 100 steps at 50 Hz and temporal ensembling enabled. After roughly five hours of training on one GPU, the policy inserts the battery in most trials when the remote is placed in the same area as during data collection. When the remote is moved to an unfamiliar spot, success drops noticeably, so the team records extra demonstrations with varied placements and retrains, which restores reliable performance.