TL;DR
A usual robot policy looks at the current observation and outputs one action, then repeats this every control tick. Action chunking changes the output: the policy outputs a block of future actions at once, the robot executes some or all of them, and the policy is called again later.
The block gives smoother motion, fewer decisions where small errors can build up, and a way to model tasks where a human might do the same thing in several different ways. The cost is that the robot acts on a plan that was made from older observations.
Where you'll see it: in imitation-learned manipulation policies such as ACT, and in the robot foundation model , which predicts chunks of 50 actions.
Intuition
Planning a phrase, not a note
Think of a pianist reading music. They do not decide each finger movement from scratch on every beat. They take in a phrase and play it through, adjusting only when something goes wrong. A chunk policy works the same way: it commits to a short phrase of motion, then looks again.
A one-step policy is like a driver who decides the steering angle fresh every hundredth of a second from a single camera frame. Small noise in the input becomes jitter in the output, and each jitter pushes the car a little further off the planned line. A chunk policy plans a second of steering at once, so the output is a coherent path rather than a sequence of independent guesses.
This matters most in behavior cloning, where the policy learns by copying demonstrations. A demonstration is a smooth human motion. Predicting that motion as a block keeps the learned motion smooth too.
flowchart LR O[Observation at time t] --> P[Policy predicts actions t to t plus H minus 1] P --> E[Execute the chunk open-loop] E --> O2[Observation at the next call] O2 --> P
The math
Setup
Let be the observation at time , such as camera images and the robot's joint positions. Let be the action at time , a vector of joint targets or end-effector commands. An action chunk is the block of the next actions:
Here is the chunk length, or horizon. The policy is a conditional distribution over whole chunks, not single actions.
Training objective
The demonstration data gives pairs taken from the recorded trajectories. Behavior cloning on chunks is maximum likelihood on these pairs:
The sum runs over every time step, so each step contributes a training example whose target is the next actions. The maximum likelihood view is what lets the model represent more than one answer, as the next section shows.
Why a mean-squared loss fails when there are several good answers
Suppose the output is a single number and a regression network minimises squared error to the demonstrations. The best prediction under squared error is the conditional mean . If the demonstrations are and with equal probability in the same situation, the mean is :
A prediction of is in neither demonstrated mode. For a robot this can mean driving straight into an obstacle that both demonstrations went around, one on each side.
A chunk model that samples from a distribution avoids this. It draws one mode and then produces a whole consistent block. Two common ways to do this are a conditional variational autoencoder with a latent variable , which is the approach of the ACT policy of Zhao et al., and a generative model such as flow matching, which is the approach of . In both, the chunk is generated from noise or a latent code conditioned on the observation.
Execution
Once a chunk is predicted, the robot can run it open-loop for steps before calling the policy again. The gap is set by the control rate and the inference time. For , the authors report running inference every 25 actions at 50 Hz, which is every 0.5 seconds, and every 16 actions at 20 Hz, which is every 0.8 seconds. They also report that they tried temporal ensembling early on, which averages overlapping predictions from consecutive calls, and found that it hurt performance, so they execute chunks open-loop without aggregating them. ACT reached the opposite conclusion: Zhao et al. query the policy at every step and average the overlapping predictions for each time step with exponential weights, and report that this improves their method and avoids the jerky motion of switching observations every steps. Whether to ensemble is therefore a design choice that depends on the policy.
Worked examples
Take a policy with running at a control rate of 50 Hz, and suppose one forward pass takes 100 milliseconds. This is an illustrative example, not a measured one.
- The chunk covers second of motion.
- If the robot executes 25 actions before the next call, a call happens every seconds.
- The inference takes seconds, which is less than the seconds of motion between calls. So the robot does not need to stop: the next chunk can be computed while the current one runs, if the system is pipelined.
- Calls per second: .
Interpretation: a long chunk makes the control loop tolerant of slow inference. The price is that the second half of the chunk was planned from an observation that is now half a second old.
Suppose each policy decision independently has a chance of going wrong in a way that matters. Compare two schemes over a motion of steps.
- One decision per step, so decisions. Chance of at least one error: .
- Using , so the chance is about .
- One chunk of actions, so one decision. Chance of an error at the decision point: .
Interpretation: this model is crude, since errors are not independent and a chunk can be wrong in ways that keep compounding inside the open-loop execution. But it shows the mechanism: fewer decisions give fewer chances to drift, and the policy is not corrected in the middle of a chunk. The chunk length is the tradeoff between these two effects.
A robot must reach a cup with the left or the right hand, and the demonstrator picks each with probability . A single-step regression predicts the average, which is the empty middle. A chunk model that samples one mode predicts a whole consistent reach to the left, with probability , or to the right, with probability . Each sample is a valid plan, and each is internally consistent from the first step to the last.
Interpretation: the chunk makes the commitment at the start, so the later steps do not contradict it. Without the chunk and a sampling model, the policy can alternate between modes from one step to the next.
Tradeoffs and failure modes
| Situation | What goes wrong | Better choice |
|---|---|---|
| Fast, precise contact tasks | A long open-loop chunk misses changes such as a slipping object | Shorter chunks, or more frequent inference |
| Slow inference | A short chunk leaves the robot waiting for the next plan | Longer chunks, pipelined inference |
| Several valid ways to do a task | A regression output averages them into an invalid motion | A generative chunk model that samples one mode |
| Observations change quickly during a chunk | The plan uses stale images | Re-plan on a schedule, or accept the latency and check the gap |
| Executing chunks back to back | New observations enter abruptly every steps, which can make motion jerky | Temporal ensembling as in ACT, or execute without aggregation as chose; reports ensembling hurt it |
Action chunking inherits the weaknesses of behavior cloning. A policy trained only on expert data can drift into states the expert never visited. The chunk reduces how often this can happen, but it does not remove it, because the robot still runs a long plan without seeing what happened in between. That is the distribution shift problem in a new form.
History
Learning control by copying human demonstrations goes back to neural-network driving work in the late 1980s and early 1990s. Its main weakness, that errors compound because the learner visits states the expert did not, was analysed by Ross, Gordon and Bagnell (2011). Their DAgger algorithm fixes it by collecting data from states the learner reaches, labelled by the expert. Action chunking is a separate idea, borrowed by Zhao et al. from the psychology concept of grouping actions into one unit: predicting a block of actions reduces the effective horizon of the task by a factor of , rather than fixing distribution shift.
The approach became prominent in robot manipulation around 2023, when Zhao et al. showed that a transformer policy trained to output chunks could learn fine bimanual manipulation on low-cost hardware. (Black et al., 2024), a vision-language-action model, uses chunks of 50 actions with a flow-matching output and reports the inference schedule described above.
Check yourself
QuestionIn one sentence, what does a chunk policy output at each call, and what does the robot do with it?Show answer
It outputs a block of future actions conditioned on the current observation. The robot executes some or all of them open-loop, then calls the policy again with a new observation.
QuestionA policy has chunk length and a control rate of 20 Hz. It executes 20 actions per call. How long is one chunk of motion, and how often does the policy run?Show answer
One chunk covers seconds of motion. Each call executes 20 actions, which is second, so the policy runs once per second.
QuestionTwo demonstrations go around an obstacle, one on each side, equally often. Why does a squared-error regression policy fail here?Show answer
Its best prediction under squared error is the conditional mean of the two modes. For opposite choices with equal weight, that mean is the straight path through the obstacle, which neither demonstration took. A sampling model, such as a CVAE or flow-matching output, keeps one mode and produces a consistent plan around the obstacle.
QuestionWhat is temporal ensembling, and why did ACT and make different choices about it?Show answer
It queries the policy more often than once per chunk and averages the overlapping predictions made for the same time step. ACT uses it, with exponential weights, to avoid jerky switching between chunks. reports that it tried temporal ensembling early on and found it hurt performance, so it executes chunks open-loop. Consecutive calls see different observations and can disagree, so the average can fall between plans, which is one plausible reason it can hurt a policy whose chunks are multimodal.
QuestionGive one reason a larger chunk length can hurt even when the policy is accurate.Show answer
A longer open-loop chunk commits the robot to a plan built from an older observation, so it cannot react to changes during the chunk, such as an object slipping or moving. The later actions in the chunk depend on a state that may no longer hold.
Sources
- Black et al. (2024), π0: A Vision-Language-Action Flow Model for General Robot Control: https://arxiv.org/abs/2410.24164
- Zhao et al. (2023), Learning Fine-Grained Bimanual Manipulation with Low-Cost Hardware: https://arxiv.org/abs/2304.13705
- Ross, Gordon and Bagnell (2011), A Reduction of Imitation Learning and Structured Prediction to No-Regret Online Learning: https://arxiv.org/abs/1011.0686
- Imitation learning (Wikipedia): https://en.wikipedia.org/wiki/Imitation_learning