Manuscript Offprint
arXiv:2610.33863RoboLongR: Causally Consistent Rewards Teach Robots to Progressively Master Long-Horizon Manipulation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zixuan Chen , Lin Cao , Fenggang Zhang , Haotong Zhang , Yangtao Chen , Jieqi Shi , Jing Huo , and Yang Gao
Nanjing University Fudan University Southeast University
Abstract—Long-horizon manipulation requires actions whose validity depends on earlier interactions, yet visual progress can conceal missing task prerequisites. We propose RoboLongR, an offline-to-online framework that learns history-dependent rewards to guide policy adaptation to new tasks. Its central objective is causal consistency: aligning rewarded progress with prerequisites supported by execution history. Stage-shuffle supervision encourages execution-order sensitivity, recurrent memory preserves evidence of earlier interactions, and two-round training refines trajectory segments using predicted progress. The resulting rewards guide stage-conditioned policy refinement from behavior cloning to online reinforcement learning. Sparse terminal feedback connects policy experience to reward learning by triggering correction for repeated high-scoring failures. Pretrained on demonstrations from 88 RLBench tasks and Open-X data, RoboLongR achieves 31.8% average success on 18 long-horizon tasks excluded from reward pretraining, exceeding the strongest evaluated baseline by 9.2 percentage points. Across four real-robot tasks, it achieves 57.5% success, a 32.5-percentage-point improvement over the comparison method. Reward-level controls probe sensitivity to synthetic order perturbations, while ablations examine the contributions of individual components to policy improvement. Project website: https://chenzixuan99.github.io/RoboLongR-public/.
Index Terms—Long-horizon manipulation, causally consistent rewards, reinforcement learning, learning from demonstration.
I. INTRODUCTION
Long-horizon manipulation requires robots to coordinate subtasks whose outcomes depend on earlier interactions [1]. Demonstrations initialize behavior, while learned visual rewards supply dense feedback for further improvement through reinforcement learning (RL) [2]–[6]. Transferable rewards extend this guidance to new tasks, allowing policies to improve beyond their demonstrations [4], [7], [8]. Reliable progress assessment is therefore central to expanding a robot's task repertoire through interaction.
However, recognizing a later task state does not establish that its prerequisites are satisfied. Drawer storage requires opening, object placement, and closing. Closing an empty drawer produces a goal-like image without completing the task (Fig. 1, left). Rewarding this apparent progress may reinforce skipped prerequisites. This ambiguity arises because identical observations can correspond to different outcomes depending on execution history. Rewards must therefore retain earlier interaction evidence, especially when online exploration leaves the demonstration distribution [9], [10].

Fig. 1. Reward guidance beyond visual progress. Closing an empty drawer can resemble task completion. RoboLongR combines stage-order supervision with execution history to encourage prerequisite-sensitive progress estimates. Labels denote semantic subgoals. Curves illustrate intended behavior, with responses on real executions evaluated separately.
We call agreement between rewarded progress and task prerequisites supported by execution history causal consistency. These prerequisites can form a partial order, allowing multiple valid sequences, and unsuccessful attempts can admit recovery. Learning such rewards poses two challenges: successful demonstrations provide little supervision for prerequisite violations, and adapting policies can encounter reward errors absent from training. This raises our central question: How can demonstrations and sparse interaction feedback yield rewards that guide adaptation to new tasks while remaining sensitive to task prerequisites?
We propose RoboLongR, an offline-to-online framework that learns history-dependent rewards to guide progressive policy adaptation to new long-horizon tasks (Fig. 1, right). RoboLongR consists of three key components. First, to promote causal consistency, stage-shuffle reorders intact demonstration segments, providing execution-order supervision as a proxy for prerequisite sensitivity. Recurrent memory preserves evidence of earlier interactions, while a second training round refines segment boundaries using predicted progress. Second, RoboLongR uses the learned rewards to guide policy refinement beyond demonstrations. Target-task demonstrations initialize the policy through behavior cloning (BC), followed by reward-guided online RL. Coarse stages, defined independently of reward segmentation, condition both BC and scheduled RL. Every RL episode starts from a standard initial state and attempts the full task. Finally, to address reward errors encountered during policy adaptation, RoboLongR uses sparse terminal feedback to identify repeated high-scoring failures and trigger reward correction. This feedback loop allows the reward to guide policy learning while policy experience informs subsequent reward updates.
We pretrain the reward on demonstrations from 88 RL-Bench [11] tasks and Open-X Embodiment [12], then evaluate policy adaptation on 18 disjoint long-horizon RLBench tasks. Target-task demonstrations initialize BC, and interaction supports policy refinement and reward correction. RoboLongR achieves 31.8% average success, compared with 7.8% for BC alone, and exceeds the strongest evaluated baseline by 9.2 percentage points. On four real-robot tasks, it achieves 57.5% success, a 32.5-percentage-point improvement over the comparison method.
In summary, our contributions are threefold. (1) We combine stage-order supervision and recurrent memory to learn progress rewards sensitive to execution history and task prerequisites. (2) We develop a reward-guided BC-to-RL framework that separates reward segmentation from policy conditioning and uses sparse terminal feedback to correct recurring reward errors. (3) We evaluate policy adaptation on tasks excluded from reward pretraining and on real robots, supported by reward-level controls and component ablations.
Stage-Aware Rewards and Policy Refinement. Stage modeling structures reward estimation in long-horizon tasks. SARM [7] jointly predicts stages and fine-grained progress, while SARM2 [8] extends stage-aware rewards to multiple tasks and improvement from autonomous rollouts. RoboHorizon [20] combines LLM-generated subtask rewards with a multi-view world model. As policies improve through interaction [5], [6], [21]–[23], changing behavior can expose unreliable reward estimates. RARM [24] addresses this issue through confidence gating. RoboLongR combines distinct stage representations with feedback-driven correction: adaptive segments construct order supervision, coarse stages condition the policy, and sparse terminal outcomes identify repeated high-scoring failures. Correcting the reward on these failures connects subsequent guidance to evidence gathered during policy execution.
III. METHOD
RoboLongR learns a reward from multitask demonstrations to guide downstream policy adaptation. The framework comprises four stages (Fig. 2): causally consistent reward learning, demonstration stage annotation, stage-conditioned initialization, and stage-scheduled online RL. Terminal feedback connects policy experience to reward learning by identifying recurring high-scoring failures.
A. Problem Formulation
Given a task instruction , let denote an execution, where , , and are RGB observations, robot states, and actions. The environment provides binary terminal success . Our goal is to learn a dense progress reward that supports policy improvement beyond the demonstrations.
Causal consistency aligns rewarded progress with prerequisites supported by the observed history. These prerequisites may form a partial order. Without annotated prerequisite graphs, we pursue this objective through stage-order supervision and terminal-feedback correction.
B. Causally Consistent Reward Learning
Stage-shuffle supervision. Successful demonstrations rarely show familiar actions executed without their prerequisites. To create order mismatches, we partition each demonstration into contiguous segments and sample a shuffled counterpart with probability . For three consecutive segments, stage-shuffle replaces with . Each segment retains its visual content and internal ordering in a different execution context. For example, opening-closing-placement violates the demonstrated drawer sequence.
Let be the first displaced step. We preserve the positive progress target before and set the remaining targets to zero:
Padding-masked MSE supervises original and sampled shuffled prefixes using and , respectively. Original positives remain in training even when no shuffle is sampled.
Order-preserving splices provide training positives and a control on disjoint held-out demonstrations (Sec. IV-C). Their boundary statistics are not exactly matched to shuffles, and zero-suffix supervision can penalize valid alternative orders or recoveries.
Recurrent execution memory. Order-sensitive prediction requires evidence of interactions that may no longer be visible. Frozen DINOv2 ViT-B/14 [25] encodes two RGB views, and frozen all-MiniLM-L6-v2 encodes the instruction. Projected features pass through an autoregressive Transformer, a recurrent module, and an MLP progress head. Attention spans 100 frames. Longer sequences use causal chunks, carrying recurrent state across chunks and detaching

Online Reward Correction
3 consecutive high-scoring failures (same task), one update using all 3 rollouts
Online rewards:
Fig. 2. RoboLongR connects reward learning and policy adaptation. Reward-adaptive segments provide stage-order supervision. Separate coarse labels condition BC and scheduled online RL. Offline progress scores are diagnostic annotations. RL queries the reward on online histories, and sparse terminal feedback triggers reward correction after repeated high-scoring failures.
it during training. Memory resets between episodes. Each prediction uses only its observed prefix, while recurrent memory carries information beyond the attention window. Appendix B-A details view aggregation and recurrent-state initialization.
Reward-adaptive segmentation. To adapt shuffles to progress changes, we refine segments in two rounds. Round 1 uses uniform partitions and targets . Round 2 continues from the first-round checkpoint, adapting segments to progress changes and using per-demonstration min-max normalized predictions as targets. For adaptive partitioning, we smooth each predicted curve with an 11-frame, degree-three Savitzky–Golay filter. Boundaries are local maxima of the absolute second derivative that exceed one standard deviation of curvature magnitude and are separated by at least five frames. If no boundary qualifies, we use five uniform segments. Stage-shuffle requires at least three segments. These partitions follow predicted progress and need not coincide with semantic subtasks. Appendix C-A reports partition frequency and granularity across task categories.
Data augmentation. Each base batch contains six RLBench and two Open-X trajectories. We retain all originals and generate augmented variants in separate branches without composing augmentations.
Rewind. With probability 0.5 per Open-X trajectory, we uniformly sample an integer pivot , followed by a rewind length . Cases with empty sampling ranges are skipped. Following ReWiND [4], we construct . Each frame inherits its source-frame target , where for and otherwise. Both training rounds retain these targets without renormalizing by augmented length or assigning zero targets to the reversed suffix.
Splice. With probability 0.25 per RLBench trajectory, we replace one semantic stage with a matching stage from another successful demonstration in the same split. We uniformly sample an eligible stage and donor with matching task variant, subtask, and object role, compatible pre- and post-conditions, and a donor-to-recipient length ratio in [0.8, 1.25]. Matching requires semantic annotations and compatibility checks beyond adaptive segment indices. Cases without a valid match are skipped. Uniform temporal resampling with nearest-neighbor selection matches the recipient length, while recipient targets are retained in both rounds. Both views share sampling indices. Recurrent memory resets at the start of each augmented trajectory and carries across splice boundaries.
For each original or augmented trajectory, denotes the mean squared error over valid, unpadded frames. The reward-training objective is
where , , and index the sampled shuffle, rewind, and splice variants, respectively. Normalizing by the eight originals preserves the effects of augmentation sampling rates. Algorithm 1 summarizes the training procedure.
C. Demonstration Stage Annotation
Policy conditioning requires shared labels across demonstrations. We assign coarse labels using task-category templates, such as reach, grasp, lift, transport, and place. Gripper transitions, object motion, contact, and release determine boundaries. The template size is independent of the trajectory-specific . Coarse labels condition BC and RL, while adaptive segments structure reward supervision. Offline scores are diagnostic annotations. BC uses expert actions and coarse labels, and PPO queries online histories.
Algorithm 1 Proposed two-round reward pretraining
Require: RLBench/Open-X demonstrations and semantic splice matches
1: initialize
2: for do
3: set round-specific targets and RLBench partitions
4: for each base batch of six RLBench and two Open-X trajectories do
5: retain original positives and sample separate shuffle (0.5), rewind (0.5), and splice (0.25) branches
6: assign prefix/zero-suffix, source-frame, or recipient targets, respectively
7: update using Eq. 2
8: end for
9: end for
10: return
D. Stage-Conditioned Initialization
BC initializes the policy using expert actions and per-step labels for 50 epochs. The actor and critic condition on , where projects mean-pooled frozen DINOv2 features from two views to 512 dimensions, separately from the reward network. Robot state includes joint positions and velocities, end-effector pose, and gripper opening. Language features are frozen, and stage embeddings are learned. Actions comprise end-effector displacement, quaternion rotation, and a gripper command. The policy uses current observations, while reward prediction uses execution history.
E. Stage-Scheduled Online RL
PPO [26] refines the BC policy using the learned progress score directly as its per-step reward: . PPO optimizes with . Episodes end at success, terminal failure, or the 500-step horizon, without a terminal bonus. GAE bootstraps only at nonterminal rollout cuts. Progress return is a success surrogate that can favor prolonged high-scoring unfinished executions over early completion. Terminal feedback targets recurring failures but does not eliminate this incentive by construction.
Stage inputs select BC conditioning modes and remain fixed within full-task episodes starting from ordinary initial states. The schedule starts at . At , at least 17 successes in a rolling window of completed episodes trigger for the next episode and reset the window. Stage 1 remains active once reached. Training ends at the interaction budget without forced transitions, so runs need not visit all stages. Evaluation always uses stage 1.
Online reward correction. To detect recurring mismatches between reward and task success, we flag a rollout when and . Any non-flagged episode clears that task's consecutive-failure buffer. Three consecutive flagged episodes for the same task form a batch

Fig. 3. RLBench evaluation tasks. The 18 long-horizon tasks are excluded from offline reward pretraining.
. Correction uses all three trajectories through
where and denote the length and observation prefix of . One Adam step updates the Transformer, recurrent module, and progress head with learning rate and gradient norm clipped to 1.0. The encoders remain frozen. Each completed triple resets the trigger buffer. Correction uses no offline replay.
Reward parameters remain frozen throughout each PPO collection and optimization cycle. Correction uses queued failure triples after the PPO update, leaving collected rewards and advantages unchanged. Subsequent collection uses the updated model. For episodes spanning an update, the model replays the observed prefix to rebuild reward memory and refresh the trigger maximum.
Policy experience thus revises reward guidance without new per-step labels. However, terminal failure cannot localize an error, so whole-trajectory correction can suppress valid partial progress.
Implementation details. Visual and language features have dimensions 768 and 384, both projected to 512. Images use crops with DINOv2 normalization. The Transformer has four layers, eight heads, feed-forward width 2048, and dropout 0.1, followed by 512-dimensional recurrent memory. Reward learning uses Adam with learning rate , batch size 8, and 60 epochs in total, with 30 per round. PPO uses learning rate , clip ratio 0.2, GAE 0.95, 2,048-step rollouts, and ten optimization epochs. Budgets are steps per simulation task and 120 episodes per real-robot task at 10 Hz. Simulation uses seeds 0, 1, and 2 on eight RTX 4090 GPUs. Appendix B-C describes randomization and hyperparameter selection.
IV. EXPERIMENTS
We evaluate RoboLongR through four questions. (1) Can the learned rewards improve policies on tasks excluded from
TABLE I
SUCCESS RATES (%) ON 18 LONG-HORIZON RLBENCH TASKS GROUPED BY DEPENDENCY STRENGTH. RESULTS REPORT MEAN ± SAMPLE STANDARD DEVIATION OVER THREE SEEDS, WITH 50 TRIALS PER SEED. AVG. DENOTES THE WITHIN-GROUP MEAN.
| Strong-dependency tasks with prominent physical prerequisites | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Models | Avg. (%) ↑ | Put Item In Drawer | Empty Dishwasher | Slide Cabinet Open & Place Cups | Water Plants | Wipe Desk | Block Pyramid | Stack Blocks | Stack Cups | Stack Chairs |
| BC-only | 8.2 | 14.0±3.5 | 9.3±2.3 | 6.7±3.1 | 16.7±3.1 | 20.0±2.0 | 0.0 | 2.7±1.2 | 4.7±4.2 | 0.0 |
| Sparse-PPO | 7.1 | 12.7±2.3 | 8.0±3.5 | 5.3±2.3 | 14.7±4.2 | 18.0±3.5 | 0.0 | 2.0±2.0 | 3.3±3.1 | 0.0 |
| LIV | 3.5 | 6.7±4.2 | 4.0±3.5 | 1.3±2.3 | 8.0±3.5 | 11.3±1.2 | 0.0 | 0.0 | 0.0 | 0.0 |
| Progress+Mono | 20.9 | 30.7±3.1 | 24.0±2.0 | 20.0±2.0 | 33.3±4.2 | 38.0±2.0 | 8.7±3.1 | 11.3±4.2 | 15.3±3.1 | 6.7±4.2 |
| ReWiND | 23.6 | 34.0±3.5 | 27.3±2.3 | 22.7±4.2 | 36.7±4.2 | 41.3±1.2 | 10.0±2.0 | 14.0±2.0 | 17.3±4.2 | 8.7±2.3 |
| RoboLongR | 37.8 | 49.3±2.3 | 42.0±2.0 | 36.7±2.3 | 51.3±2.3 | 55.3±3.1 | 22.7±3.1 | 27.3±4.2 | 32.0±3.5 | 23.3±4.2 |
Weak-dependency tasks allowing flexible subtask order
| Models | Avg. (%) ↑ | Place Cups | Put All Groceries In Cupboard | Setup Checkers | Setup Chess | Set The Table | Put Books On Bookshelf | Put Shoes In Box | Solve Puzzle | Empty Container |
|---|---|---|---|---|---|---|---|---|---|---|
| BC-only | 7.4 | 16.0±4.0 | 2.0±3.5 | 3.3±1.2 | 0.0 | 0.0 | 12.7±4.2 | 10.0±4.0 | 0.0 | 22.7±4.2 |
| Sparse-PPO | 6.5 | 14.0±3.5 | 1.3±1.2 | 2.7±2.3 | 0.0 | 0.0 | 11.3±3.1 | 8.7±2.3 | 0.0 | 20.7±2.3 |
| LIV | 2.4 | 6.0±4.0 | 0.0 | 0.0 | 0.0 | 0.0 | 4.7±1.2 | 4.0±3.5 | 0.0 | 6.7±2.3 |
| Progress+Mono | 19.3 | 30.7±2.3 | 10.7±3.1 | 13.3±4.2 | 6.7±1.2 | 5.3±3.1 | 26.0±2.0 | 22.7±3.1 | 7.3±2.3 | 50.7±4.2 |
| ReWiND | 21.6 | 34.0±2.0 | 12.7±4.2 | 15.3±2.3 | 8.0±2.0 | 6.7±3.1 | 29.3±1.2 | 26.0±2.0 | 8.7±2.3 | 54.0±3.5 |
| RoboLongR | 25.9 | 38.0±2.0 | 16.7±4.2 | 19.3±2.3 | 11.3±4.2 | 10.0±4.0 | 33.3±2.3 | 34.0±2.0 | 12.7±3.1 | 57.3±3.1 |
reward pretraining (Sec. IV-B)? (2) Are the rewards sensitive to changes in execution order (Sec. IV-C)? (3) Which components contribute to policy improvement (Sec. IV-D)? (4) Do the gains extend to real robots, and how do rewards respond to prerequisite-violating executions (Sec. IV-E)?
A. Experimental Setup
Benchmark and data. We separate reward pretraining from policy adaptation using 88 RLBench [11] pretraining tasks and 18 disjoint long-horizon evaluation tasks (Fig. 3). Appendix A lists the pretraining tasks and evaluation-task prerequisites. Pretraining uses 20 successful demonstrations per task, totaling 1,760 trajectories, and 4,000 trajectories from the bridge and fractal20220817 subsets of Open-X Embodiment [12]. Open-X contributes of each base batch, supplying progress supervision and rewound negatives. RLBench provides stage-shuffle supervision for the shared reward model. ReWiND is retrained on the same source-data mixture with its objective. Each evaluation task provides 20 demonstrations for stage annotation and BC initialization. Online interaction then supports policy refinement and reward correction. We group the tasks into nine strong-dependency tasks with prominent physical prerequisites and nine weak-dependency tasks allowing flexible subtask order. Drawer storage requires opening before object placement, whereas table setting permits independent placements. Both groups can contain partial orders. This grouping examines how gains vary with task structure, while ablations assess individual component contributions.
Baselines. All RL methods share demonstrations, stage-conditioned policy architecture, BC initialization, interaction budgets, and stage schedule. BC-only evaluates the initialized policy, and Sparse-PPO uses binary terminal rewards. LIV [2] supplies pretrained rewards without task-specific reward training, min-max normalized per rollout before PPO. ReWiND [4] learns progress from rewound negatives. Progress+Mono shares RoboLongR's reward backbone, replacing stage-shuffle with stage prediction and a penalty on decreasing expected stage indices. Its objective combines positive progress regression, stage cross-entropy, and monotonicity, with unit weights on both auxiliary terms (Appendix B-B). Online reward correction applies to RoboLongR and Progress+Mono, while other baselines use fixed reward functions. The main comparison evaluates complete learning pipelines, with component contributions examined separately by ablation.
Evaluation protocol. We evaluate complete-task success independently of learned return. Each simulation task uses three seeds and 50 evaluation episodes per seed with randomized layouts, totaling 150 trials. Results report mean success and sample standard deviation across seeds, with benchmark averages weighting tasks equally.
B. Policy Improvement on RLBench
Reward-guided adaptation. RoboLongR improves mean success from the BC initialization of 7.8% to 31.8% on the 18 held-out tasks (Table I). Under the same demonstration and interaction budgets, it exceeds ReWiND, the strongest evaluated baseline at 22.6%, by 9.2 percentage points. Sparse-PPO remains near BC at 6.8%, while LIV and Progress+Mono achieve 2.9% and 20.1%. These results support reward-guided policy adaptation to tasks excluded from reward pretraining. The gap to Progress+Mono further indicates that stage prediction and monotonicity do not reproduce the full framework's gains.
Dependence on task structure. RoboLongR achieves higher mean success than ReWiND on all 18 tasks. Group averages are 37.8% versus 23.6% for strong-dependency tasks and
TABLE II REWARD-LEVEL DIAGNOSTICS ON HELD-OUT TRAJECTORIES. DENOTES THE AVERAGE PAIRED DIFFERENCE IN MEAN TRAJECTORY REWARD.
| ReWiND | RoboLongR | |
|---|---|---|
| Δ(order-perturbed) ↑ | 0.04 | 0.40 |
| Δ(rewound) ↑ | 0.36 | 0.39 |
| Δ(spliced), near 0 | 0.03 | 0.05 |
| Ranking accuracy (%) ↑ | 55.0 | 90.0 |
| Progress MSE ↓ | 0.021 | 0.023 |
25.9% versus 21.6% for weak-dependency tasks. Computed before rounding, the gains are 14.2 and 4.2 percentage points. The larger improvement on strong-dependency tasks is consistent with the motivation for history-sensitive rewards, although the groups also differ in manipulation demands. The following reward diagnostics and ablations examine execution-order sensitivity and component contributions more directly.
C. Execution-Order Sensitivity
Reward-level protocol. To assess execution-history sensitivity independently of policy performance, we evaluate 180 correct demonstrations, ten additional per evaluation task, excluded from reward training, BC, and model selection. Each condition contains 180 correct-perturbed pairs scored by one final frozen pretraining checkpoint per method. Order perturbations swap intact segments, rewound trajectories introduce temporal regression, and order-preserving splices replace a segment with the corresponding stage from another successful demonstration. Appendix C-B details the swap-distance groups. Valid orders observed in held-out weak-dependency demonstrations remain in the correct set. All variants remain held out. We compute raw mean rewards and paired margins , weighting pairs equally. Ranking compares correct/order-perturbed pairs, counting ties as incorrect. Progress MSE averages per-trajectory errors against on correct demonstrations.
Sensitivity and controls. RoboLongR separates correct and order-perturbed trajectories more clearly than ReWiND (Table II), with ranking accuracies of 90.0% versus 55.0% and paired margins of 0.40 versus 0.04. Both methods distinguish rewound trajectories, with margins of 0.39 and 0.36. RoboLongR's margin of 0.05 for order-preserving splices is substantially smaller than its order-perturbation margin. Progress MSEs remain close at 0.023 and 0.021. These results support sensitivity to the tested order perturbations, with comparable progress prediction on correct demonstrations.
D. Ablation Studies
Component contributions. We remove individual components under shared demonstrations and interaction budgets to assess their contributions to downstream policy learning (Fig. 4). Removing stage-shuffle reduces mean success from to , a 7.5-percentage-point decrease and the largest observed drop. Removing online correction, recurrent memory, or the stage schedule yields , , and , respectively. These comparisons support the utility of each component within the evaluated pipeline.

Fig. 4. Component ablations on RLBench. Mean task success after removing individual components under shared demonstrations and interaction budgets.

Fig. 5. Real-robot platform. A Franka Panda with front and right RealSense D435 cameras.
Task Progress

Fig. 6. Four real-robot tasks and their representative subtask sequences.
Stage scheduling. The no-schedule control fixes the stage
(a) Drawer Object Storage

(b) Board Wiping

(c) Tabletop Tidying
(d) Arch Bridge Construction


Fig. 7. Reward progress on valid real-robot executions. Shaded regions indicate semantic task stages, and images show corresponding observations. Raw reward scales are model-specific.
(a) Drawer Object Storage

(b) Board Wiping
(c) Tabletop Tidying
(d) Arch Bridge Construction

Fig. 8. Reward responses to prerequisite violations. ReWiND (blue) and RoboLongR (orange) rewards on held-out failed rollouts containing prerequisite violations. Valid executions are shown in Fig. 7.
input to 1 throughout PPO while retaining BC, architecture, and reward correction. The full configuration achieves a 2.0-percentage-point gain under the same interaction budget. Because initial conditioning and subsequent scheduling change, this comparison measures their combined effect and does not isolate the contribution of individual stage transitions.
Reward refinement and stage representations. One, two, and three reward-training rounds yield 28.8%, 31.8%, and 32.0% success, indicating that two rounds capture most of the observed improvement. Using coarse segments for stage-shuffle reduces success to 29.8%, while using adaptive indices for both reward augmentation and policy conditioning yields 30.4%. These results support separate stage representations: trajectory-specific partitions for reward supervision and a shared coarse vocabulary for policy conditioning.
E. Real-Robot Validation
Platform and tasks. We evaluate real-world policy adaptation on a seven-degree-of-freedom Franka Panda with front and right Intel RealSense D435 cameras (Fig. 5). Four tasks cover articulated-object interaction, tool use, multi-object manipulation, and assembly (Fig. 6). Drawer Object Storage requires opening the drawer, inserting the object, and closing it. Board Wiping requires retrieving a tool before cleaning. Tabletop Tidying requires stacking three cups before transferring them into a basket. Arch Bridge Construction requires positioning two supports before placing the arch.
Training and evaluation. We compare RoboLongR with ReWiND, the strongest simulation baseline. Both methods use the same ten successful GELLO [27] demonstrations per task for reward learning and BC initialization, followed by online refinement under the same interaction budget. Reward models start from their respective RLBench/Open-X checkpoints and retain their original objectives during task-specific fine-tuning. Each method is evaluated in ten trials per task with randomized placements. Success requires an object inside the fully closed drawer, a clean marked region with the tool released, a stable cup stack inside the basket, or an arch resting on upright supports, respectively. One annotator blind to the method judges complete-task success from video, and failed trials are not selectively repeated. Appendix B-D specifies workspace controls and trial records.
Policy improvement. RoboLongR succeeds in 23/40 trials versus ReWiND's 10/40, giving pooled success rates of 57.5% and 25.0% and a 32.5-percentage-point gain (Table III). Observed success is higher on all four tasks. With ten trials per task, Wilson 95% intervals remain wide. The pooled interval describes this fixed task mixture and does not establish per-task statistical significance.
Reward behavior. We analyze separately recorded held-out rollouts excluded from reward training, BC, policy optimiza-
TABLE III REAL-ROBOT SUCCESS RATES (%). TEN TRIALS PER TASK AND METHOD. BRACKETS GIVE WILSON 95% INTERVALS.
| Task | ReWiND | RoboLongR |
|---|---|---|
| Drawer Object Storage | 20 [5.7, 51.0] | 70 [39.7, 89.2] |
| Board Wiping | 50 [23.7, 76.3] | 70 [39.7, 89.2] |
| Tabletop Tidying | 20 [5.7, 51.0] | 50 [23.7, 76.3] |
| Arch Bridge Construction | 10 [1.8, 40.4] | 40 [16.8, 68.7] |
| Pooled (40 trials) | 25.0 [14.2, 40.2] | 57.5 [42.2, 71.5] |
tion, and model selection. Valid executions assess whether rewards track task progress (Fig. 7), while failed executions test their response to missing prerequisites (Fig. 8). Both methods track valid progress, with lower raw RoboLongR scores on some tasks. Because score scales differ across independently trained models, we compare valid and failed executions within each model.
In these held-out rollouts, ReWiND assigns substantial rewards to both valid and failed executions. RoboLongR shows clearer separation, particularly for Drawer Object Storage, Tabletop Tidying, and Arch Bridge Construction. On Board Wiping, its score rises modestly near the end of the failed execution as the scene resembles completed wiping, but remains below its score for the valid execution. These examples show how prerequisite violations can leave scenes visually similar to successful outcomes.
The failed drawer rollout ends without storing the object. A premature attempt followed by successful recovery need not imply task failure. These qualitative comparisons characterize the illustrated executions and do not isolate stage-shuffle from the other components.
V. CONCLUSION AND DISCUSSION
We present RoboLongR, an offline-to-online framework pursuing causal consistency through history-dependent rewards for long-horizon policy adaptation. Stage-order supervision and recurrent memory encourage prerequisite-sensitive progress estimates, while stage-conditioned BC-to-RL learning and terminal-feedback correction connect reward guidance with policy experience. After pretraining on 88 RLBench tasks and Open-X data, evaluations on 18 held-out tasks and four real-robot tasks show improved complete-task success over the baselines. Reward controls probe sensitivity to tested order perturbations, and stage-shuffle contributes the largest gain in component ablations.
Limitations concern supervision and reward alignment. Synthetic shuffles can introduce boundary cues and penalize valid orders or recoveries. Whole-rollout correction can suppress valid prefixes and cause reward drift, while progress return can favor prolonged high-scoring executions over early completion. Future work targets better alignment with task success, localized correction, and broader tests of valid orders and recoveries. Controlled comparisons are needed to separate scheduling effects from initial conditioning.
REFERENCES
[1] Z. Chen, J. Yin, Y. Chen, J. Huo, P. Tian, J. Shi, Y. Hou, Y. Li, and Y. Gao, “DeCo: Task decomposition and skill composition for zero-shot generalization in long-horizon 3D manipulation,” IEEE Robotics and Automation Letters, 2026.
[2] Y. J. Ma, V. Kumar, A. Zhang, O. Bastani, and D. Jayaraman, “LIV: Language-image representations and rewards for robotic control,” in International Conference on Machine Learning (ICML), 2023.
[3] S. A. Sontakke, J. Zhang, S. M. R. Arnold, K. Pertsch, E. Biyik, D. Sadigh, C. Finn, and L. Itti, “RoboCLIP: One demonstration is enough to learn robot policies,” in Advances in Neural Information Processing Systems (NeurIPS), 2023.
[4] J. Zhang, Y. Luo, A. Anwar, S. A. Sontakke, J. J. Lim, J. Thomason, E. Biyik, and J. Zhang, “ReWiND: Language-guided rewards teach robot policies without new demonstrations,” in Proceedings of the 9th Conference on Robot Learning (CoRL), ser. Proceedings of Machine Learning Research, vol. 305. PMLR, 2025, pp. 460–488.
[5] J. Luo, C. Xu, J. Wu, and S. Levine, “Precise and dexterous robotic manipulation via human-in-the-loop reinforcement learning,” arXiv preprint arXiv:2410.21845, 2025.
[6] K. Lei, H. Li, D. Yu, Z. Wei, L. Guo, Z. Jiang, Z. Wang, S. Liang, and H. Xu, “RL-100: Performant robotic manipulation with real-world reinforcement learning,” arXiv preprint arXiv:2510.14830, 2025.
[7] Q. Chen, J. Yu, M. Schwager, P. Abbeel, Y. Shentu, and P. Wu, “SARM: Stage-aware reward modeling for long horizon robot manipulation,” in International Conference on Learning Representations (ICLR), 2026.
[8] Q. Chen, H. Zheng, J. Yu, S. Huang, J. Sun, K. Goldberg, C. Wen, P. Abbeel, Y. Shentu, P. Wu, and M. Schwager, “SARM2: Multi-task stage aware reward modeling for self improving robotic manipulation,” arXiv preprint arXiv:2606.10305, 2026.
[9] A. Pan, K. Bhatia, and J. Steinhardt, “The effects of reward misspecification: Mapping and mitigating misaligned models,” in International Conference on Learning Representations (ICLR), 2022.
[10] J. Skalse, N. H. R. Howe, D. Krasheninnikov, and D. Krueger, “Defining and characterizing reward hacking,” in Advances in Neural Information Processing Systems (NeurIPS), 2022.
[11] S. James, Z. Ma, D. R. Arrojo, and A. J. Davison, “RLBench: The robot learning benchmark and learning environment,” IEEE Robotics and Automation Letters, vol. 5, no. 2, pp. 3019–3026, 2020.
[12] A. O'Neill, A. Rehman, A. Gupta, A. Maddukuri, A. Gupta, A. Padalkar, et al., "Open X-Embodiment: Robotic learning datasets and RT-X models," in IEEE International Conference on Robotics and Automation (ICRA), 2024.
[13] P. Abbeel and A. Y. Ng, “Apprenticeship learning via inverse reinforcement learning,” in International Conference on Machine Learning (ICML), 2004.
[14] J. Ho and S. Ermon, “Generative adversarial imitation learning,” in Advances in Neural Information Processing Systems (NeurIPS), 2016.
[15] M. Alakuijala, R. McLean, I. Woungang, N. Farsad, S. Kaski, P. Marttinen, and K. Yuan, “Video-language critic: Transferable reward functions for language-conditioned robotics,” arXiv preprint arXiv:2405.19988, 2024.
[16] Y. J. Ma, J. Hejna, C. Fu, D. Shah, J. Liang, Z. Xu, S. Kirmani, P. Xu, D. Driess, T. Xiao, et al., “Vision language models are in-context value learners,” in International Conference on Learning Representations (ICLR), 2025.
[17] A. Liang, Y. Korkmaz, J. Zhang, M. Hwang, A. Anwar, S. Kaushik, A. Shah, A. S. Huang, L. Zettlemoyer, D. Fox, Y. Xiang, A. Li, A. Bobu, A. Gupta, S. Tu, E. Biyik, and J. Zhang, “Robometer: Scaling general-purpose robotic reward models via trajectory comparisons,” in Robotics: Science and Systems (RSS), 2026, arXiv:2603.02115.
[18] T. Lee, A. Wagenmaker, K. Pertsch, P. Liang, S. Levine, and C. Finn, “RoboReward: General-purpose vision-language reward models for robotics,” arXiv preprint arXiv:2601.00675, 2026.
[19] S. Zhai, Q. Zhang, T. Zhang, F. Huang, H. Zhang, M. Zhou, S. Zhang, L. Liu, S. Lin, and J. Pang, “A vision-language-action-critic model for robotic real-world reinforcement learning,” arXiv preprint arXiv:2509.15937, 2025.
[20] Z. Chen, J. Huo, Y. Chen, and Y. Gao, “RoboHorizon: An LLM-assisted multi-view world model for long-horizon robotic manipulation,” arXiv preprint arXiv:2501.06605, 2025.
[21] J. Yang, K. Lin, J. Li, W. Zhang, T. Lin, L. Wu, Z. Su, H. Zhao, Y.-Q. Zhang, L. Chen, P. Luo, X. Yue, and H. Li, "RISE: Self-improving robot policy with compositional world model," arXiv preprint arXiv:2602.11075, 2026.
[22] Y. Liu, H. Li, S. Tian, Y. Qin, Y. Chen, Y. Zheng, Y. Huang, and D. Zhao, “Towards long-lived robots: Continual learning VLA models via reinforcement fine-tuning,” arXiv preprint arXiv:2602.10503, 2026.
[23] H. Zhang, S. Zhang, J. Jin, Q. Zeng, R. Li, and D. Wang, “RobustVLA: Robustness-aware reinforcement post-training for vision-language-action models,” arXiv preprint arXiv:2511.01331, 2025.
[24] P. Yang, X. Wang, P. Jing, K. Wen, Y. Qu, Z. Huang, M. Fu, X. Liu, Y. Shen, and F. Shi, “RARM: Confidence-gated progress reward modeling for RL in manipulation,” arXiv preprint arXiv:2606.22027, 2026.
[25] M. Oquab, T. Darcet, T. Moutakanni, H. Vo, M. Szafraniec, V. Khalidov, P. Fernandez, D. Haziza, F. Massa, A. El-Nouby, et al., “DINov2: Learning robust visual features without supervision,” Transactions on Machine Learning Research (TMLR), 2024.
[26] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov, "Proximal policy optimization algorithms," arXiv preprint arXiv:1707.06347, 2017.
[27] P. Wu, Y. Shentu, Z. Yi, X. Lin, and P. Abbeel, “GELLO: A general, low-cost, and intuitive teleoperation framework for robot manipulators,” in 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2024, pp. 12156–12163.
APPENDIX
A SIMULATION TASK DETAILS
A. Reward-Pretraining Task Inventory
Table IV lists the RLBench [11] reward-pretraining tasks and summarizes their instructions. Dataset sizes and sampling proportions are specified in Sec. IV-A.
TABLE IV
REWARD-PRETRAINING TASK INVENTORY. THE 88 RLBENCH TASKS AND THEIR INSTRUCTION DESCRIPTIONS FOLLOW THE BENCHMARK IMPLEMENTATIONS.
| Task | Description | Task | Description |
|---|---|---|---|
| Basketball In Hoop | shoot the ball through the net | Play Jenga | remove the protruding block without toppling |
| Beat the Buzz | slide the ring along the pole without contact | Plug Charger In Power Supply | plug the charger into the mains |
| Change Channel | point the remote and change the channel | Pour From Cup To Cup | pour one cup's contents into the other |
| Change Clock | adjust the needles to the target time | Press Switch | flick the switch |
| Close Box | close the lid on the box | Push Button | push down the specified button |
| Close Door | grip the handle and pull the door shut | Push Buttons | push the buttons in the specified order |
| Close Drawer | slide the specified drawer shut | Put Bottle In Fridge | open the fridge and put the bottle in |
| Close Fridge | shut the fridge door | Put Groceries In Cupboard | put the specified item in the cupboard |
| Close Grill | lower the grill cover by its handle | Put Knife In Knife Block | slide the knife into its slot in the block |
| Close Jar | screw the lid onto the specified jar | Put Knife On Chopping Board | move the knife from block to chopping board |
| Close Laptop Lid | shut the laptop lid | Put Money In Safe | put the money on the specified safe shelf |
| Close Microwave | close the microwave door | Put Plate In Colored Dish Rack | leave the plate between the specified spokes |
| Weighing Scales | put the specified pepper on the scales | Put Rubbish In Bin | drop the rubbish into the bin |
| Get Ice From Fridge | fill the cup with ice from the fridge | Put Toilet Roll On Stand | slide the toilet roll onto its stand |
| Hang Frame On Hanger | hang the picture frame on the hanger | Put Tray In Oven | open the oven and slide the tray in |
| Hit Ball With Queue | pot the ball into the goal with the cue | Put Umbrella In Umbrella Stand | place the umbrella into its stand |
| Hockey | push the ball into the goal with the stick | Reach And Drag | drag the cube onto the target with the stick |
| Insert Onto Square Peg | slide the ring onto the specified spoke | Reach Target | touch the specified sphere with the gripper |
| Insert Usb In Computer | slide the USB stick into the slot | Remove Cups | take one cup off the holder onto the table |
| Lamp Off | press the switch to turn the lamp off | Scoop With Spatula | scoop the cube up with the spatula and lift |
| Lamp On | press the switch to turn the lamp on | Screw Nail | screw in the nail with the screwdriver |
| Lift Numbered Block | lift the block with the target number | Slide Block To Target | push the block onto the target |
| Light Bulb In | screw the bulb from its holder into the lamp | Slide Cabinet Open | slide the specified cabinet half open |
| Light Bulb Out | unscrew the bulb and leave it in the stand | Stack Wine | slide the bottle onto the wine rack |
| Meat Off Grill | take the specified meat off the grill | Straighten Rope | pull each rope end until it is straight |
| Meat On Grill | put the specified meat on the grill | Sweep To Dustpan | brush the dirt into the dustpan |
| Move Hanger | move the hanger to the other rack | Take Cup Out From Cabinet | open the cabinet and retrieve the cup |
| Open Box | open the box lid | Take Frame Off Hanger | slide the photo off the hanger onto the table |
| Open Door | grip the handle and push the door open | Take Item Out Of Drawer | open the drawer and take the cube out |
| Open Drawer | pull the specified drawer open | Take Lid Off Saucepan | lift the lid off the saucepan by its handle |
| Open Fridge | slide the fridge door open | Take Money Out Safe | take the money off the shelf onto the table |
| Open Grill | raise the grill cover by its handle | Take Off Weighing Scales | remove the pepper from the scales |
| Open Jar | unscrew the lid off the specified jar | Take Plate Off Colored Dish Rack | remove the plate from the specified spokes |
| Open Microwave | pull the microwave door open | Take Shoes Out Of Box | open the box and put the shoes on the table |
| Open Oven | pull the oven door open by its handle | Take Toilet Roll Off Stand | slide the roll off its stand onto the table |
| Open Washing Machine | pull the washing machine door open | Take Tray Out Of Oven | open the oven and take the tray out |
| Open Window | unlock the handle and push the window open | Take Umbrella Out Of Umbrella Stand | lift the umbrella out of its stand |
| Open Wine Bottle | unscrew and remove the bottle cap | Take Usb Out Of Computer | remove the USB stick from its port |
| Phone On Base | put the handset back on its base | Toilet Seat Down | close the toilet seat by its lid |
| Pick And Lift | lift the specified block to the target | Toilet Seat Up | lift the toilet seat upright |
| Pick And Lift Small | lift the specified small object to the target | Turn Oven On | rotate the leftmost knob to turn the oven on |
| Pick Up Cup | grasp and lift the specified cup | Turn Tap | grasp and turn the specified tap handle |
| Place Hanger On Rack | place the clothes hanger on the rack | Tv On | point the remote and turn the television on |
| Place Shape In Shape Sorter | put the shape into its matching slot | Unplug Charger | pull the charger out of its socket |
B. Evaluation-Task Prerequisites
Table V lists prerequisite relations and valid alternative orders for each evaluation task. Groups are defined before policy training using RLBench success conditions and physical task structure, independently of method performance.
TABLE V
EVALUATION-TASK PREREQUISITES. RELATIONS AND VALID ALTERNATIVE ORDERS FOR THE 18 EVALUATION TASKS. ← DENOTES PRECEDENCE.
| Task | Prerequisite structure | Valid alternative orders |
|---|---|---|
| Strong dependency | ||
| Put Item In Drawer | open drawer ← place item ← close drawer | none across the three subtasks |
| Empty Dishwasher | open door ← pull out rack ← remove plate | none |
| Slide Cabinet Open & Place Cups | open cabinet ← place cups | cup order, when several cups are used |
| Water Plants | grasp can ← approach plant ← pour | none |
| Wipe Desk | grasp sponge ← contact desk ← remove dirt | order among independent dirt patches |
| Block Pyramid | bottom layer ← middle layer ← top layer | placements within one layer |
| Stack Blocks | lower block ← block supported by it | orders preserving all support relations |
| Stack Cups | support cup ← cup placed above it | orders preserving all support relations |
| Stack Chairs | support chair ← chair placed above it | orders preserving all support relations |
| Weak dependency | ||
| Place Cups | independent placement for each cup | any cup order |
| Put All Groceries In Cupboard | independent placement for each item | any item order |
| Setup Checkers | independent placement for each checker | any checker order |
| Setup Chess | independent placement for each piece | any piece order |
| Set The Table | independent placement for each tableware item | any tableware order |
| Put Books On Bookshelf | independent placement for each book | any book order |
| Put Shoes In Box | open lid ← place either shoe | either shoe order |
| Solve Puzzle | independent insertion for each puzzle piece | any piece order |
| Empty Container | independent transfer for each object | any object order |
B ADDITIONAL IMPLEMENTATION DETAILS
A. Reward Inputs and Recurrent State
The reward model in Sec. III-B encodes each camera view independently and mean-pools the view features before projection. Images are resized and center-cropped to . The single-layer recurrent module starts each episode from a zero state. Semantic subtask labels support augmentation construction and policy conditioning, but are not inputs to the reward model.
B. Baseline Objectives
ReWiND. We use the released architecture and default hyperparameters [4] within the shared policy-learning protocol of Sec. IV-A. Progress+Mono. A stage-classification head supplements progress regression. For a trajectory of unpadded length , the objective is
where is the expected coarse-stage index and . With denoting valid, unpadded steps, the two supervised terms are
Here denotes the coarse policy-stage label. The monotonicity term penalizes decreases in the expected stage index between consecutive valid steps. Positive regression uses no shuffled negatives.
C. Randomization and Hyperparameter Selection
Each seed controls network initialization, demonstration sampling, simulator randomization, and PPO sampling. Hyperparameters are selected on the reward-pretraining validation split and fixed without access to evaluation-task results. All methods use PyTorch and the same RLBench software environment.
D. Real-Robot Controls and Trial Records
The Panda uses a parallel-jaw gripper. Camera inputs use only the RGB streams from the two RealSense cameras. The workspace, camera poses, objects, controller, and initial-pose sampling regions are fixed across methods. Initial object poses are sampled uniformly from predefined task-specific workspace regions.
Controller resets, safety stops, human interventions, and hardware failures are recorded separately. Trial outcomes follow the complete-task success criteria in Sec. IV-E. Representative execution failures include missed grasps, premature releases, collisions, and inaccurate placements.
C ADDITIONAL REWARD ANALYSIS
A. Adaptive Partition Statistics
Table VI summarizes the frequency of detected curvature-based boundaries and the mean number of adaptive segments across task categories. Boundary detection is most frequent in opening and closing tasks and least frequent in composition tasks. Segment counts vary by trajectory and can exceed the uniform fallback count in Sec. III-B.
TABLE VI
ADAPTIVE PARTITION STATISTICS. FREQUENCY OF DETECTED CURVATURE-BASED BOUNDARIES AND MEAN ADAPTIVE SEGMENT COUNTS.
| Category | Curvature-based (%) | Mean adaptive stages |
|---|---|---|
| Pick-and-place | 78 | 4.6 |
| Opening and closing | 91 | 3.8 |
| Insertion and alignment | 84 | 4.1 |
| Composition | 52 | 6.2 |
B. Evaluation Swap Distances
Evaluation swaps exchange intact segments at distances one (adjacent), two (one intermediate segment), and at least three (wider separations). Adjacent swaps can overlap the training corruption family.
Aggregate diagnostics follow Sec. IV-C and Table II. Distance can affect both execution-history mismatch and boundary discontinuities, so it does not isolate sensitivity to either factor.