Manuscript Offprint

arXiv:2610.07917

PACE: Stage-Consistent Long-Horizon Robot Manipulation via Progress-Aligned Context for Execution

Yenan Chen, Junjie Shi, Lu Chen, Zhongxiang Zhou, Rong Xiong

Yenan Chen 1,†^{1,\dagger}, Junjie Shi 1^{1}, Lu Chen 1^{1}, Zhongxiang Zhou 1^{1}, and Rong Xiong 1,∗^{1,*}

Abstract—Demonstration-conditioned policies provide a natural interface for specifying robot behavior, yet long-horizon manipulation remains difficult when visually similar states recur across different stages or when demonstrations and executions proceed at different speeds. We identify the resulting failure mode as stage confusion and introduce Progress-Aligned Context for Execution (PACE), a stateful method that continually reinterprets a complete demonstration according to realized execution progress. PACE compresses the demonstration into ordered multimodal prompt tokens and uses training-only dual-edge attention supervision to expose its latent stage structure. During execution, an episode-local fast-weight memory causally encodes realized action-observation transitions and modulates prompt cross-attention, producing a progress-aligned context for a unified diffusion action expert without test-time stage labels or stage-specific policies. PACE improves success from 88.9% to 94.0% on LIBERO-Gen Goal Chain, from 79.1% to 83.3% on Spatial Combination, and from 33.3% to 73.3% on the two-step Block Routing tasks. Failure analysis further indicates that structured demonstration alignment and causal execution memory jointly mitigate stage confusion.

Figure

Fig. 1. Stage confusion in long-horizon demonstration-conditioned manipulation. Visually similar observations can recur at different stages while requiring different future actions (top). Observation-only matching may therefore retrieve an earlier stage and repeat completed behavior instead of continuing from the current progress (bottom).

I. INTRODUCTION

Enabling robots to adapt to new tasks from minimal user input without retraining is a central objective of general-purpose robotic manipulation. Recent visuomotor policies have increasingly supported task conditioning through language, goal images, and multimodal demonstrations [1]–[4]. Among these, a perception–action demonstration conveys the global task objective, the sequence of operations, and fine-grained motion details, enabling policies to adapt to new execution objectives without updating model parameters [2], [4]–[9].

However, long-horizon multi-stage manipulation requires a policy to continually track task progress and interpret the demonstration relative to the current execution state. This is particularly challenging when different stages contain similar or recurring observations: similar states may require different actions depending on what has already been completed. Retrieving a demonstration segment inconsistent with the current progress may cause the policy to regress to an earlier stage, skip or repeat a stage, or terminate prematurely. We refer to this class of failures as stage confusion, illustrated in Fig. 1. Stage confusion primarily arises from two related factors: cross-stage observation aliasing, whereby distinct latent stages exhibit similar observations, and demonstration-execution temporal-scale mismatch, whereby the robot and the demonstrator complete the same behavioral stage at different speeds.

Existing approaches address this problem only partially. Explicit stage or subgoal models often require predefined task decompositions, semantic subgoals, or manual stage annotations [10]–[13], while frame- or window-level localization is vulnerable to recurring observations and execution-speed variation [14], [15]. Long-context and memory-augmented policies retain longer execution histories [16]–[19], but typically use history as additional input to action prediction rather than to continually revise which part of the demonstration is relevant. These limitations motivate a mechanism that recovers stage structure from demonstrations without manual annotations and uses causal execution history to dynamically determine which part of the demonstration should guide the current behavior.

Event cognition research suggests that humans parse continuous activity into structured events and update an active event model at perceptual boundaries [20]–[22]. Inspired by this view, we adopt a functional abstraction in which an event model is realized not necessarily through parametrically independent modules, but through context dynamically constructed during execution. Specifically, the policy combines current perception with within-episode execution history to locate and aggregate demonstration segments consistent with the current progress, forming an evolving event context that enables a shared policy to produce stage-appropriate behavior.

1^{1}All authors are with the College of Control Science and Engineering, Zhejiang University, Hangzhou 310027, China.

†^{\dagger}Contact: Yenan Chen (12532108@zju.edu.cn).

*Corresponding author: Rong Xiong (rxiong@zju.edu.cn).

Building on this insight, we introduce Progress-Aligned Context for Execution (PACE), a stateful progress-alignment method for long-horizon demonstration-conditioned manipulation. During training, PACE automatically extracts and monotonically aligns action-stage boundaries, imposing dual-edge attention supervision and effective-support regularization. During execution, an episode-local fast-weight memory causally encodes realized action-observation transitions and modulates observation queries before cross-attention with the full demonstration. The resulting progress-aligned demonstration context conditions a unified diffusion action expert. Stage boundaries are used only for training supervision; at inference time, PACE requires neither explicit event segmentation, discrete stage prediction, nor stage-specific policies.

We evaluate PACE on compositional long-horizon manipulation benchmarks and real-world robotic tasks. On the LIBERO-Gen Spatial Combination and Goal Chain, PACE improves the success rate from 79.1% to 83.3% and from 88.9% to 94.0%. On the two-step Block Routing tasks, which exhibit pronounced cross-stage observation aliasing, PACE raises the mean success rate from 33.3% to 73.3%. Stage-level analyses further show that structured demonstration alignment and causal execution memory work synergistically to suppress stage confusion.

Our main contributions are as follows:

• We systematically study stage confusion in long-horizon demonstration-conditioned manipulation, attributing it to cross-stage observation aliasing and demonstration-execution temporal-scale mismatch.

• We introduce PACE, centered on a causally updated, episode-local fast-weight state that encodes realized action–observation transitions and modulates observation queries before prompt cross-attention, allowing visually similar current observations to attend to different demonstration stages under different execution histories. PACE further combines automatic stage-structure discovery with dual-edge attention supervision and effective-support regularization, without requiring manual stage annotations or stage-specific policies.

• We validate PACE on compositional simulation tasks and real-world robotic tasks with held-out demonstrations, and use stage-level analyses to elucidate how it mitigates stage confusion.

References (36)