TL;DR
Action chunking improves reinforcement learning (RL) by predicting sequences of actions rather than single steps, but relying on a fixed sequence length creates a major performance bottleneck. This paper introduces Adaptive Action CHunking (ACH), a novel algorithm that uses a causal Transformer to dynamically select the optimal chunk length for any given state. By adapting to environmental demands in real-time, ACH achieves state-of-the-art results across 34 challenging robotic navigation and manipulation tasks.
What Problem Does This Paper Address?
In robot learning, predicting actions one discrete step at a time can lead to jerky, inconsistent behaviors and slow training. To solve this, researchers use action chunking—forcing the policy to predict a cohesive sequence (or "chunk") of future actions all at once and executing them open-loop.
However, existing offline-to-online (Off2On) RL methods use a fixed chunk length. This is a major limitation because the optimal chunk length changes depending on the situation:
- High-uncertainty situations: When a robot navigates a sharp turn or handles a delicate object, it needs a shorter chunk length to remain responsive and avoid overshooting.
- Predictable situations: On a straightaway, a longer chunk length is better to maintain momentum and avoid "policy stochasticity jittering"—the erratic behavior caused by constantly resampling actions from a probabilistic policy.
The authors address this fundamental trade-off by making the chunk length adaptive, allowing the agent to dynamically choose how far ahead to plan based on its current state.
Methods
The core innovation of ACH is its ability to evaluate the quality of all possible chunk lengths simultaneously without a massive computational penalty.
- Transformer-Based Multi-Chunk Value Estimation: Instead of a standard Multi-Layer Perceptron (MLP), ACH implements a causal Transformer as its value function (critic). Given a state $s_t$ and a full action sequence, the Transformer outputs the state value $V(s_t)$ and the action-values ($Q$-values) for every possible prefix chunk length (from 1 up to a maximum horizon $h$) in a single forward pass.
- Value-Based Optimality: Rather than relying on hand-crafted heuristics (like policy entropy), ACH uses these calculated $Q$-values directly to determine the best chunk length. The length that maximizes expected return is favored.
- Adaptive Chunk Length Sampling: During online fine-tuning, ACH uses a soft sampling policy ($\pi_L$) via a softmax over the estimated $Q$-values. This probabilistic approach ensures the agent continues to explore different chunk lengths early in training before exploiting the most effective ones.
Datasets
The authors evaluated ACH across 34 distinct tasks from two major robot learning benchmarks:
- OGBench: 30 single-task variants across 6 challenging environments including
antmaze-giant,humanoidmaze-medium,antsoccer-arena,cube-triple,cube-quadruple, andpuzzle-4x4. These include long-horizon navigation and complex object manipulation. - Robomimic: 4 manipulation tasks (
lift,can,square, andtransport) using the multi-human dataset.
Key Insights and Ideas
- The Jittering vs. Uncertainty Trade-off: The paper clearly formalizes why fixed chunk lengths fail. Short chunks suffer from policy jittering due to frequent random sampling, while long chunks suffer from compounding tracking errors when the environment changes rapidly.
- Trajectory Stitching Drives Longer Chunks: As online learning progresses, the average chunk length chosen by ACH naturally increases. This happens because the value function successfully "stitches" separate trajectory segments together; as the policy becomes more confident and predictable, longer open-loop sequences yield higher expected returns.
- Prefix-Consistent Evaluation: By evaluating chunks that share the same prefix (e.g., comparing a 3-step action sequence against the first 3 steps of a 5-step sequence), ACH isolates the exact impact of the chunk length on performance, avoiding confounding factors.
Key Results
ACH was compared against several state-of-the-art Off2On RL baselines, including Q-Chunking (QC) with fixed horizons, FINO, and FQL.
- Consistent Superiority: ACH consistently outperformed all baselines across both OGBench and Robomimic. For example, in the highly complex
cube-quadrupletask, ACH achieved a success rate of 52±6, vastly outperforming the fixed-length QC baseline (33±3) and single-action methods like FINO (7±3). - Robustness to Hyperparameters: While fixed-length baselines saw their performance tank if their chosen horizon (e.g., $H=1$ or $H=10$) didn't match the environment's specific demands, ACH automatically adapted, removing the need for tedious horizon tuning.
Limitations and Future Work
- Computational Overhead: Because ACH swaps out simple MLPs for a Transformer architecture to handle multi-chunk estimation, it is computationally heavier. Training and inference times are roughly 1.3 to 1.4 times slower than fixed-length baselines.
- Open-Loop Execution Risks: ACH still executes its chosen action chunk in an open-loop manner. If an unexpected external disturbance occurs mid-chunk, the robot cannot react until the chunk finishes. The authors note that integrating real-time replanning (closed-loop chunk execution) is a vital next step.
Summary updated