Blog

Understanding Action Chunking with Transformers (ACT)

Action Chunking with Transformers (ACT), introduced by Zhao et al. in 2023, is an imitation learning method that predicts a sequence of robot actions rather than a single action at each inference step. This article focuses on action chunking and temporal ensembling, and their implications for policy execution.

Imitation learningTransformers

Prediction horizon and query interval

ACT takes camera images and the robot’s current joint positions and predicts a sequence of future joint targets. The prediction horizon is how far that sequence extends. The query interval is the time between calls to the policy. In the authors’ real-robot examples, 90 targets at 50 Hz cover 1.8 seconds of commands. The controller can query the policy again before that sequence ends. Robot recordings and settings

Training on demonstrations

Two people can complete the same grasp along different paths. ACT uses a conditional variational autoencoder to model variation in the demonstrations. During training, an encoder uses the recorded action sequence and joint positions to infer a latent variable. A decoder uses that variable, image features and joint positions to predict the action sequence. The loss combines reconstruction error with a KL-divergence term that regularizes the latent distribution. At deployment, the decoder runs with the latent variable set to the prior mean, zero. ACT paper, section IV

Temporal ensembling

When queries overlap, several chunks can predict the joint target due at the same instant. Suppose a chunk was generated at tick ii and execution is at tick tt. Its candidate is the entry at offset t−it-i. At tick 3, for example, entry 3 of the chunk from tick 0 and entry 0 of the chunk from tick 3 refer to the same command time.

For a given execution tick, let ara_r denote the available candidates in order of their prediction times, oldest first. The paper combines them as

atexec=∑rwrar∑rwr,wr=exp(−mr). a_t^{\mathrm{exec}} = \frac{\sum_r w_r a_r}{\sum_r w_r}, \qquad w_r=\exp(-mr).

Rank r=0r=0 belongs to the oldest candidate. For positive mm, that candidate gets the largest weight. Reducing mm gives newer observations more influence. Only predictions for the same execution tick enter this calculation. ACT paper, Figure 6

Interactive execution timeline

This is a synthetic timing example. Each row predicts four commands. At tick 3 the observed target jumps from 0° to 20°. The figure gives every available candidate equal weight, equivalent to m=0m=0. It illustrates which commands have arrived by the deadline. It does not run a trained ACT model.

When does a policy see a correction?
Action chunks · illustrative execution trace

Each row begins when the policy receives an observation. The outlined column marks the execution tick. A target shifts from 0° to 20° at tick 3. Each query predicts four identical targets from its observation. Available predictions receive equal weight.

Leave the query interval at Every tick and the delay at 0 ticks. At tick 3 the four candidates are 0°, 0°, 0° and 20°, so the displayed mean is 5°. Change the delay to 1 tick. The prediction incorporating the change now arrives at tick 4. At tick 3 only the three earlier candidates are available, and the mean is 0°. Selecting Every four ticks changes when the target is observed in the first place.

Experimental results

Zhao and colleagues varied chunk length in simulation, training a separate policy for each length with temporal ensembling disabled. Across two tasks, each with human or scripted demonstrations, mean success rose from 1% with one action per chunk to 44% with 100. Longer chunks gave slightly lower success in this comparison. In a separate ablation, temporal ensembling improved ACT’s best reported result and reduced the success rate of VINN, a retrieval-based baseline. RSS proceedings version, Figures 9(a) and 9(b)

Conclusion

Chunk length determines how many future commands a query supplies. Query timing and inference delay determine which observations can influence the command due now. Temporal ensembling then sets how much each available prediction contributes.

References

Cite this article

Aadi Mishra. Understanding Action Chunking with Transformers (ACT). 26 November 2026. https://aadimishra.com/writing/act/index.html

@misc{mishra2026act,
  author = {Mishra, Aadi},
  title = {{Understanding Action Chunking with Transformers (ACT)}},
  year = {2026},
  month = {November},
  day = {26},
  url = {https://aadimishra.com/writing/act/index.html},
  note = {Technical article on Aadi Mishra's website}
}
Download .bib