TL;DR
APEX (Adaptive Policy EXecution) is a plug-and-play framework that bridges the "execution gap" between high-level robot policies and low-level controllers without modifying either. Inspired by biological motor control, it uses an adaptive passive filter and online test-time adaptation to reduce tracking errors by over 41% and significantly boost manipulation success rates across various policy classes.
What Problem Does This Paper Address?
Modern imitation learning has enabled robots to learn impressive skills from human demonstrations, typically using visuomotor or Vision-Language-Action (VLA) policies. These high-level policies output action references (like target joint angles or end-effector poses) which are then executed by a low-level controller (such as a Proportional-Derivative, or PD, controller).
However, a major problem arises at deployment: the robot's actual physical movement often deviates systematically from what the policy commanded. This discrepancy is known as the test-time execution gap. It happens because high-level policies are generally unaware of the robot's low-level dynamics and fail to output higher-order signals like velocity and acceleration. For precision-sensitive tasks—such as inserting a peg into a hole with millimeter clearance—even tiny tracking errors can disrupt contact timing and cause total task failure.
Existing solutions either require intrusive modifications to the policy architecture or require tweaking proprietary, black-box low-level controllers, which is often impossible on commercial robot arms (like Universal Robots or xArm). APEX asks: Can we bridge this execution gap by treating both the policy and the controller as inaccessible black boxes?
Methods
APEX acts as an elegant, non-intrusive middleman inserted directly between the high-level policy and the low-level controller. It operates in two main stages:
- Adaptive Passive Filter: APEX takes the raw, potentially discontinuous commands from the policy and reconstructs a smooth, dynamically feasible reference trajectory. This mathematically extracts well-defined, higher-order velocity and acceleration signals that low-level controllers inherently need for accurate tracking.
- Test-time Adaptation: Because exact robot parameters (like inertia, friction, and controller gains) are typically unknown or inaccessible, APEX introduces an online adaptive algorithm. It continuously updates its correction coefficients on the fly based on real-time tracking error feedback.
Crucially, the authors provide a rigorous Lyapunov stability analysis proving that under this control law, all closed-loop signals remain bounded, and the tracking error is guaranteed to converge to a small residual set even in the presence of unmodeled disturbances.
Datasets
The authors evaluated APEX across several simulation benchmarks and physical robot experiments:
- ManiSkill: Evaluated on four precision-heavy tasks:
PushCube-v1,PickCube-v1,PlaceSphere-v1, andPegInsertionSide-v1. - LIBERO Spatial: Used to test generalization on a large-scale Vision-Language-Action (VLA) policy ($\pi_{0.5}$) across 3 distinct manipulation tasks involving end-effector delta actions.
- Real-Robot Evaluation: The authors collected 60 teleoperated demonstrations at 30 Hz on a physical 6-DoF UR5 robot arm to evaluate three real-world tasks:
PushBox,PickCube, andPegInsertion.
Key Insights and Ideas
- The Robotic Cerebellum: The core philosophy is inspired by human biology. When a human threads a needle, the high-level plan isn't constantly recalculated by the cerebrum because doing so is too slow. Instead, the nervous system relies on fast sensorimotor feedback loops in the cerebellum to correct minor deviations on the fly. APEX serves as this robotic cerebellum.
- Suboptimal Controllers are a Silent Killer: A striking finding was that even when replaying perfect expert demonstrations directly into standard commercial PD controllers, the robot still suffered from systematic tracking errors (25–35 mrad) severe enough to cause task failures. This proves that execution-side errors, not just policy prediction errors, are a fundamental bottleneck in robot learning.
- Adaptation Beats Identification: Rather than trying to explicitly identify the robot's physical parameters offline (which fails when environments change), APEX's online closed-loop adaptation proves highly robust to severe physics perturbations, such as joint friction variations and motor armature changes.
Key Results
- Error Reduction: APEX reduced controller-induced tracking errors by 41.2% on average during expert demonstration replays.
- Success Rate Boost: When paired with four distinct policy classes—Action Chunking with Transformers (ACT), Diffusion Policy (DP), Flow Matching (FM), and the OpenVLA model ($\pi_{0.5}$)—APEX consistently improved success rates by 4.8 to 25.8 percentage points.
- Precision Gains: In the simulation of the highly sensitive
PegInsertiontask, APEX reduced the per-step tracking error by up to 93% near the critical insertion phase. - Real-World Validation: On the physical UR5 robot, APEX successfully mitigated tracking lag and boosted the success rate of a Flow Matching policy on the contact-rich peg insertion task from 20% to 35%.
Limitations and Future Work
- Hyperparameter Tuning: One limitation of APEX is that it introduces several adaptation gains ($\Gamma_w, \Gamma_{wd}, \Gamma_J$) that currently require manual tuning. The authors note that integrating self-tuning mechanisms to adjust these gains online automatically is an important next step.
- Bounded Disturbance Assumption: The mathematical proof assumes a bounded lumped disturbance, which results in convergence to a residual error set rather than absolute zero. The authors suggest that incorporating an online disturbance observer could further reduce tracking conservatism in highly turbulent environments.
Summary updated