Manuscript Offprint
arXiv:2611.05667Correct Robots Before They Make Mistakes: Proactive Human-in-the-Loop Intervention via Preference Learning
Xinkai Jiang, Jing Jiang, Hongyi Zhou, Pankhuri Vanjani, Ahmad Baki, Jakub Suliga, Ge Li, Zhuoyue Li, Gerhard Neumann, Rudolf Lioutikov

Fig. 1. Overview of the Proactive Human-in-the-Loop (PHIL) framework. Demonstrations collected through any suitable interface are used to pre-train or fine-tune a base policy. During rollouts, the operator previews predicted future end-effector trajectories in XR and takes control before an anticipated error. Policy queries continue on a fixed schedule during human takeover. Preference pairs consist of a rejected policy action chunk (red) and the next executed actions (green), both starting from the same query state. Post-training combines imitation learning on the base demonstrations with a preference objective favoring over .
Abstract— This paper presents Proactive Human-in-the-Loop (PHIL), a framework for proactive policy correction and preference-based post-training. PHIL enables operators to preview policy-predicted future motion and intervene before anticipated undesirable actions. During takeover, PHIL continues querying the policy and displaying its predicted trajectories in the physical workspace through an extended reality (XR) interface. PHIL pairs rejected policy predictions with corrective action chunks subsequently executed from the same physical state over the same horizon, and preference-based post-training encourages the policy to favor these corrections. This paper evaluates PHIL on four real-world manipulation tasks using a diffusion policy and a pretrained vision-language-action policy. With five correction episodes per condition, PHIL increases mean success rates across the evaluated tasks and demonstration budgets from 44.0% to 70.3% for the diffusion policy and from 57.8% to 76.9% for X-VLA, compared with HG-DAgger. Separately, policies trained with proactive corrections show fewer unnecessary recovery behaviors in successful episodes. Project page: https://intuitive-robots.github.io/PHIL-page/.
I. INTRODUCTION
Robot policies, including visuomotor policies and vision-language-action (VLA) models, have shown strong performance on a broad range of manipulation tasks. However, policies trained from offline demonstrations may still encounter states that are beyond the coverage of their training data. In such situations, the policy may produce undesirable
motions or fail to complete the task. Improving performance in such cases requires additional task-specific data.
Human-in-the-loop imitation learning addresses this gap by collecting corrective data during policy rollouts. During these rollouts, the policy may visit states that are absent from, or underrepresented in the offline demonstrations. Most existing human-in-the-loop methods collect correction data reactively. In reactive correction, the operator decides whether to intervene based on the robot's currently observed execution, without a preview of the policy's predicted future motion. It is straightforward to deploy and allows corrective data to be collected during policy rollouts. The resulting recovery actions can also be valuable when the robot must recover from an error and retry a task [1]. This approach has enabled effective policy refinement through interactive data aggregation, remote teleoperation, and corrective residual control [2]–[4]. When reactive corrections begin after an error has occurred, they include recovery actions in addition to actions that advance the task. The proportion of reactive correction data in the dataset can affect how often recovery motions appear in the policy output. A higher proportion increases the likelihood of producing recovery motions even when no recovery is needed.
These limitations motivate proactive correction, in which the operator reviews the policy's proposed motion and provides corrections before an anticipated error occurs. By visualizing the policy's predicted future motion, proactive correction enables the operator to identify and correct poten-
Karlsruhe Institute of Technology (KIT), Germany. Robotics Institute Germany (RIG).
tial errors before the robot enters safety-critical states. This predictive preview reduces the operator's cognitive burden of continuously anticipating the policy's behavior. It can also reduce the need for repeated reactive corrections as an error unfolds. Although proactive correction shows considerable promise, it has received limited attention. Existing work has considered simulated tasks in autonomous driving and robotic manipulation [5], while its application to complex physical robot manipulation remains unexplored. Extending proactive correction to such tasks requires an interface that allows the operator to intuitively assess the robot's proposed three-dimensional motion before an anticipated error occurs. Although a screen-based preview can overlay this motion on a camera view, judging its depth and spatial orientation from a two-dimensional display can be difficult. To address this challenge, we propose PHIL, a proactive human-in-the-loop imitation learning framework that uses an Extended Reality (XR) interface to visualize proposed policy action chunks in the physical workspace. Each action chunk is converted into a sequence of three-dimensional end-effector poses and spatially registered with the physical workspace. The operator can therefore inspect upcoming motion in three dimensions within its execution context while the robot executes the current action chunk.
When the preview indicates that the proposed motion may lead to an error, the operator takes control and provides corrections before the anticipated undesirable action occurs. During the takeover, PHIL continues to query the policy at the unchanged query schedule and display updated action chunks in the XR headset. PHIL constructs contrastive pairs from the displayed policy action chunks and the corresponding executed corrective robot trajectories. For each retained policy query during intervention, the displayed action chunk is recorded as rejected, denoted by . The next H executed robot actions starting at that query form the corresponding corrective action chunk , which may include policy-controlled actions after release. Both action chunks in each pair start from the same physical state. When the operator judges the most recently displayed action chunk to be acceptable, they release control and the robot returns to policy control. After data collection, PHIL uses the contrastive pairs to fine-tune the policy, encouraging it to favor executed corrective action chunks over rejected policy action chunks from the same physical state. We evaluate PHIL on four real-world manipulation tasks, with experiments covering both diffusion and pretrained VLA policies. Compared with HG-DAgger, PHIL increases the average success rate from 44.0% to 70.3% for the diffusion policy and from 57.8% to 76.9% for X-VLA. Proactive correction data reduce unnecessary recovery behaviors approximately tenfold compared with reactive correction data.
In summary, this work makes the following contributions:
-
We introduce PHIL, a proactive human-in-the-loop framework that leverages XR to visualize proposed robot motions in the physical workspace, enabling human corrections before anticipated errors occur.
-
We extract rejected-corrected action-chunk pairs anchored at the same physical state during human takeover and use them for preference-based post-training to favor executed corrective trajectories over rejected policy actions.
-
We evaluate PHIL on real-world manipulation tasks with diffusion and pretrained VLA policies, demonstrating improved task success and showing that proactive correction data reduce unnecessary recovery behaviors.
A. Human-in-the-Loop Robot Learning
Prior human-in-the-loop robot learning methods collect additional training data through human takeovers during policy rollouts, using assistance requests and control switching to reduce intervention burden [2], [6]–[8]. Recent methods extend interactive learning to generative visuomotor and vision-language-action policies through uncertainty-guided intervention, corrective post-training, and online adaptation [9]–[12]. These methods address supervision allocation and policy learning. PHIL informs intervention decisions through an XR preview of proposed motion in the physical workspace, enabling takeover before anticipated errors.
B. Corrective Imitation Learning
Corrective imitation learning mitigates distribution shift in behavior cloning by collecting supervision at states encountered during policy rollouts [13]. For action-chunking visuomotor policies, which predict short action sequences [14], an unsuitable motion may be partly executed before its consequences become apparent to the operator. PPL visualizes predicted future trajectories to support proactive intervention and propagates intervention-derived preferences to predicted future states [5]. SDP uses paired undesired and corrective action chunks to construct sets of desired actions for diffusion-policy training [15]. PHIL uses proactive correction for preference-based post-training of diffusion and pretrained VLA policies in real-world manipulation. During human takeover, it pairs each retained, unexecuted policy prediction with the subsequent executed corrective action chunk from the same physical state and spanning the same temporal horizon.
C. Extended Reality for Robotics
Extended Reality (XR) supports spatial visualization and three-dimensional interaction for robot learning. AR-based systems enable robot-free demonstration collection [16], [17] and provide visual feedback for collecting demonstrations [18]–[20]. Other interfaces support immersive teleoperation and demonstration collection [21], [22], interactive skill maintenance [23], and robot interaction across simulated and physical environments [24]. VR-DAgger further combines immersive interaction with uncertainty-guided selection and correction of policy rollout segments [25]. PHIL renders the future end-effector trajectory implied by a policy action chunk in registration with the physical workspace, allowing the operator to assess upcoming motion relative to the robot and surrounding objects during execution and intervene proactively.
a Reactive correction

b Proactive correction (ours)
Fig. 2. Reactive versus proactive correction under equal correction budgets (two interventions per panel; only the first annotated). Solid and dashed lines denote executed robot motion and previewed policy continuations, respectively. Top: in these examples, reactive intervention follows observed errors and requires recovery. Bottom: XR previews enable intervention before anticipated errors. During correction, rejected predictions from scheduled queries are paired with subsequent executed corrective trajectories from the same query state. Takeover and release leave the query schedule unchanged; control returns to the policy when the preview is acceptable.
III. METHOD
PHIL post-trains an action-chunking robot policy using proactive corrections collected before an anticipated undesirable action occurs. As illustrated in Fig. 2, the operator inspects the policy's predicted future motion during execution. If an error is anticipated, the operator takes control of the robot to provide corrective actions. The policy continues to generate predictions on its fixed query schedule during the takeover. Retained predictions are paired with subsequent executed corrective action chunks from the same query state and used for preference-based post-training.
A. Problem Formulation
Consider an action-chunking policy operating in discrete time. At time , its context is , where contains the current visual observations, is the robot proprioceptive state, and is the task instruction. This formulation covers both visuomotor and vision-language-action policies. Given , the policy predicts an action chunk of horizon ,
where is the action at offset in the proposal generated at time . Each action chunk is converted into a trajectory of absolute Cartesian end-effector poses for the operator to preview and assess.
The policy is queried every control steps, with . Let
denote the fixed query schedule, where is the first query time in a rollout. Policy queries occur only at the scheduled times, both during policy control and during human intervention. When the robot remains under policy control between consecutive queries, it executes the first B actions of the predicted chunk. The full H-step chunk is available for the operator to preview.
B. Collecting Preference Pairs through Proactive Correction
Correction data are collected using a base policy whose parameters remain fixed throughout collection. Let denote the robot action actually executed at time , whether commanded by the operator or the policy. Suppose the operator takes over at time and controls the robot for steps. The policy continues to run in shadow mode at the scheduled query times
At each , it generates . These predictions are displayed and recorded but are not executed while the operator controls the robot.
PHIL infers rejection from continued human intervention and treats the shadow predictions as candidates for negative samples. Predictions accepted at release are excluded from negative samples. The robot then returns to policy control, including the interval before the next scheduled query.
A shadow prediction collected at time t during an intervention is paired with the next H executed robot actions to form a candidate preference pair:
Both chunks originate from the same query state and span the same H-step horizon. The executed corrective continuation is treated as preferred to the rejected prediction, yielding the label .
Aggregating the complete pairs across all interventions and rollouts gives the preference dataset
where i indexes the N retained pairs. Fig. 3 illustrates the construction of multiple pairs during an intervention.
C. Preference Post-Training with Imitation Learning
After data collection, the trainable policy is initialized from the base-policy . Let denote the policy's native imitation loss for action chunk under context , averaged over all action positions. Depending on the policy, this can be a negative log-likelihood, diffusion denoising, or flow-matching loss. All retained chunks are complete, so no temporal padding or masking is needed for the preference pairs. The pairwise objective uses the imitation loss as a surrogate for comparing the two action chunks.
Post-training retains imitation learning on the original base demonstrations:

Fig. 3. Preference pairs from fixed -step queries during human intervention. Each retained rejected -step prediction pairs with the next executed actions , yielding . Here, takeover coincides with a query and positive windows fall entirely within the human intervention period; generally, windows may include policy actions after release. Windows overlap when . Takeover and release do not reset queries. Only complete pairs are retained; the latest prediction displayed at release is accepted and excluded from negatives.
For each preference tuple , the loss difference is defined as
A positive indicates that the preferred corrective chunk receives a lower imitation loss than the rejected prediction. The pairwise logistic objective encourages this ordering:
where is the logistic sigmoid and controls the sharpness of the comparison. This objective encourages a lower loss for the corrective chunk relative to the rejected prediction, with both losses averaged over the same -step horizon.
The complete post-training objective is
where is the imitation loss on the original base demonstrations defined in Eq. (6), and weights the preference loss relative to this term. The pair construction and pairwise objective are shared across policy families, while the native imitation loss depends on the underlying policy.
IV. SYSTEM OVERVIEW
A. Teleoperation System for Interactive Learning
The PHIL teleoperation system uses a Meta Quest 3 headset and motion controller to support two interactive data-collection modes: demonstration mode and correction mode. In demonstration mode, the operator directly controls the robot to collect expert trajectories for policy pre-training or fine-tuning. In correction mode, the system allows smooth switching between policy control and human intervention. The operator can take over by holding the hand trigger to provide a correction, and releasing the trigger returns control to the policy. During corrective data collection, the system records both the executed robot trajectory and the policy outputs.
The Meta Quest 3 controller provides its absolute Cartesian pose for teleoperation. When the operator presses the hand trigger, the system aligns this pose with the current
end-effector pose and enables teleoperation until the trigger is released. Relative controller motions are then mapped to desired end-effector poses, avoiding control discontinuities when teleoperation starts or resumes. The index trigger is used to close and open the gripper.
During policy control, the system receives policy actions of the form . All policies used in our experiments output an absolute end-effector pose in Cartesian space, specified by position and orientation , together with a binary gripper command . Other action representations can also be used after conversion to absolute end-effector positions and orientations for execution and visualization. In our experiments, actions are executed at 20 Hz, with an action-chunk horizon of and a query interval of control steps. Policy queries follow this fixed schedule during both policy control and human intervention. Each query refreshes the full -step XR preview. When a new action chunk is received, policy execution switches to the new chunk, discarding any unexecuted actions from the previous chunk. Fig. 4 illustrates how PHIL collects proactive correction data in the physical workspace.
B. 3D Trajectory Preview via Extended Reality
The PHIL XR interface runs on the Meta Quest 3 headset using IRIS [24]. It displays a virtual Franka Panda whose joint configuration is synchronized with the real robot, helping the operator perceive the robot's current configuration and motion. QR-code registration aligns the virtual and physical coordinate frames, placing the virtual robot and the policy's predicted trajectories in the same spatial reference as the physical workspace. The policy's predicted end-effector poses are visualized as a sequence of paired gripper tip points. Absolute Cartesian poses are rendered directly. The interface also supports relative Cartesian and joint-space actions by converting them to absolute end-effector poses. Each pair represents the two gripper tips: their positions and relative arrangement convey the end-effector position and orientation, while their separation indicates whether the gripper is open or closed. The two tips trace blue and red trajectories that darken toward later predicted actions, allowing the operator to follow the predicted changes in end-effector pose and gripper state over the action chunk.
C. Proactive Human-in-the-loop Robot Behavior Correction
Reactive correction relies on observed robot execution; PHIL additionally lets the operator anticipate errors through an XR preview. Policy control continues while the preview is acceptable. If an error is anticipated, the operator holds the hand trigger to intervene before the undesirable action. The operator then teleoperates the end effector from the robot's current physical state. Releasing the trigger immediately restores policy control without waiting for the next query or altering the query schedule.
During human intervention (Fig. 4, steps 3–4), policy predictions from the current context continue to update in XR. For preference-based post-training (Sec. III-B), each rejected prediction is paired with the next executed

Fig. 4. Example of proactive human intervention with PHIL during the Cook the Carrot task. Colored spheres visualize the policy-predicted future end-effector trajectories in XR; green and red frames indicate policy control and human intervention, respectively. (1–2) The policy approaches the pot and moves it onto the stove. (3–4) The operator intervenes when the previewed motion fails to approach the carrot or moves toward the pot before grasping the carrot, providing corrections before these undesirable motions are executed. Policy predictions remain visible during human intervention, allowing the operator to assess when to return control. (5) Once the predicted motion is acceptable, policy control resumes to place the grasped carrot into the pot.
actions from the same query state. Once the displayed motion is judged acceptable, the operator returns control to the policy (step 5). The latest displayed prediction is then treated as accepted and excluded from negative samples.
V. EXPERIMENTS
This section evaluates PHIL on real-world manipulation tasks to assess its overall performance, the contributions of correction data and preference post-training, and its applicability to a pretrained vision-language-action (VLA) policy.
A. Experimental Setup
-
Tasks: The experiments cover four real-world robot manipulation tasks. Pick Up Banana and Towel Folding are single-stage tasks. Cook the Carrot requires placing a pot on the stove, transferring a carrot into the pot, and closing the lid. Lemon in the Drawer requires opening a drawer, placing a lemon inside, and closing the drawer. Cook the Carrot and Lemon in the Drawer each contain three ordered stages.
-
Policies: The experiments use two policy architectures: a diffusion policy and a pretrained vision-language-action (VLA) policy. The diffusion policy is based on BESO [14] and is referred to as Diffusion Policy throughout the following experiments. The VLA policy uses X-VLA [26]. Diffusion Policy is evaluated on all four tasks. X-VLA is evaluated on Towel Folding, Cook the Carrot, and Lemon in the Drawer. Pick Up Banana is omitted for X-VLA because the base policy is already close to the performance ceiling.
-
Data Budgets: Base-demonstration budgets vary with task difficulty. On the simpler Pick Up Banana task, Diffusion Policy performance is already close to saturation with 10, 20, or 30 base demonstrations, making gains from additional demonstrations difficult to distinguish. This task therefore uses three, six, and nine base demonstrations to examine performance changes in a lower-data regime. Ten, twenty, and thirty base demonstrations are used for the remaining Diffusion Policy tasks and for all X-VLA tasks.
-
Metrics: Full-task success rate (SR) measures the proportion of evaluation rollouts that complete the entire task and is reported for all tasks. The normalized task completion score (TCS) is additionally reported for the two long-horizon tasks to capture partial completion. For a task with ordered stages, stage is credited only when all preceding stages have been completed. For each rollout, the TCS is defined as , where indicates whether stage is completed under this ordering constraint. SR and TCS are computed over 25 evaluation rollouts per condition. SR and the mean TCS across evaluation rollouts are reported as percentages.
-
Compared Interactive Learning Methods: The human-in-the-loop imitation learning experiments compare four approaches: Base Policy, HG-DAgger, Residual Policy, and PHIL. Base Policy serves as the reference policy and is trained only on the base demonstrations. HG-DAgger [2] post-trains the base policy by behavior cloning with executed corrective trajectories. Residual Policy, motivated by residual learning from human corrections [4], predicts the action error between a rejected trajectory and the corresponding executed corrective trajectory. The predicted action error is used as an additive correction to the base policy action. PHIL post-trains the policy with a pairwise preference objective on rejected-corrected trajectory pairs.
-
Corrective Data Collection: For each policy model, task, and base-demonstration budget, a base policy is first trained on the corresponding demonstrations. With this base policy held fixed, five reactive and five proactive correction rollout episodes are then collected, each allowing multiple interventions. The experiments use two corrective data collection modes: reactive and proactive. During reactive collection, the operator observes the robot's motion directly without the XR headset and intervenes when an error occurs or appears likely. During proactive collection, the operator uses the XR headset to preview the policy's predicted future trajectory and intervene before an anticipated error occurs.
To support fair comparisons, all interactive learning methods evaluated under the same condition and collection mode reuse the same recorded correction data for adaptation, avoiding differences due to independent data collection.
B. Main Results: Comparison with Interactive Policy Adaptation Baselines
Fig. 5 compares PHIL with Base Diffusion Policy, HG-DAgger, and Residual Policy across three base-demonstration budgets. PHIL uses proactive corrections, whereas HG-DAgger and Residual Policy use reactive corrections. PHIL matches or exceeds both adaptation baselines across all evaluated tasks, budgets, and metrics, with clear gains on the long-horizon tasks. On Cook the Carrot with ten base demonstrations, PHIL achieves 52% SR and 84.0% TCS, compared with 4% SR and 38.7% TCS for Base Policy, 24% SR and 57.3% TCS for HG-DAgger, and 24% SR and 56.0% TCS for Residual Policy.
C. Ablations of Correction Collection and Post-Training
Since the main comparison varies both correction collection mode and post-training objective, the following ablations examine their individual contributions. Fig. 6 reports the ablations in the lowest-data regime: three base demonstrations for Pick Up Banana and ten for each remaining task. All adapted conditions start from the corresponding base policy and use five correction episodes, with recorded data shared across methods within each collection mode.
Q1: Does proactive collection improve success when corrections are learned by behavior cloning? HG-DAgger is compared across reactive and proactive collection while keeping the behavior-cloning objective fixed. In both conditions, the correction-data objective learns from positive corrective trajectories without using rejected policy predictions as negative supervision. Both conditions achieve 56% SR on Pick Up Banana. Proactive collection yields 40% SR on Towel Folding, compared with 48% for reactive collection, while increasing SR from 24% to 28% on Cook the Carrot and from 20% to 36% on Lemon in the Drawer. Thus, proactive collection alone does not provide a consistent SR advantage under behavior cloning.
Q2: Does preference post-training improve success on the same proactive correction data? HG-DAgger and PHIL use the same proactive positive samples () extracted from the shared proactive correction data, together with the same original base demonstrations. HG-DAgger uses behavior cloning to reproduce these positive action chunks, without using the corresponding rejected predictions. PHIL pairs each positive chunk with its rejected prediction and applies a pairwise preference objective that favors the corrective chunk over the rejected prediction. PHIL matches HG-DAgger at 56% SR on Pick Up Banana and increases SR from 40% to 68% on Towel Folding, from 28% to 52% on Cook the Carrot, and from 36% to 40% on Lemon in the Drawer. The largest observed gains occur on Towel Folding and Cook the Carrot, supporting the value of preference post-training with proactive data in these tasks.
Q3: Does proactive collection improve success when the preference objective is fixed? In this experimental setting, PHIL learns from positive and negative trajectory pairs, so the way corrections are collected may affect the quality of its training supervision. To assess whether proactive collection improves task success, PHIL is compared using reactive and proactive correction data under the same pairwise preference objective. Proactive PHIL achieves higher SR on all four tasks, increasing SR from 48% to 56% on Pick Up Banana, from 36% to 68% on Towel Folding, from 24% to 52% on Cook the Carrot, and from 16% to 40% on Lemon in the Drawer. These results support the value of proactively collected data for preference post-training under the evaluated protocol.
The Hybrid conditions combine two proactive and three reactive episodes from the shared correction datasets to examine whether mixing the two collection modes benefits either post-training objective. HG-DAgger with Hybrid data achieves 60%, 52%, 36%, and 60% SR on Pick Up Banana, Towel Folding, Cook the Carrot, and Lemon in the Drawer, respectively, exceeding its results with either collection mode alone on all four tasks. In contrast, PHIL with the same Hybrid data achieves 16%, 20%, 0%, and 12% SR, below its results with either reactive or proactive data alone on every task. The benefit of mixing the two data sources therefore depends on the post-training objective in these experiments.
D. Recovery Behavior Analysis
Unnecessary recovery behaviors are defined as recovery-like actions or segments performed when no execution error is present and the task state does not require recovery; necessary recovery after actual errors is excluded. During the experiments, such behaviors were frequently observed in policies trained with reactive corrections. This observation motivated a separate experiment to compare their frequency across correction collection modes and post-training methods.
The experiment evaluates Diffusion Policies post-trained with HG-DAgger or PHIL using reactive or proactive data, with ten successful episodes collected per method, collection mode, task, and base-demonstration budget. Fig. 7 reports mean counts per episode. For both methods, proactive-trained policies exhibit fewer such behaviors in every task-demonstration setting, consistent with corrections that more directly describe desired task actions. This analysis characterizes recovery during successful task completion.
E. PHIL with a Pretrained VLA Policy
Tab. I compares Base Policy, HG-DAgger with reactive corrections, and PHIL with proactive corrections on X-VLA under the shared protocol. PHIL matches or exceeds HG-DAgger across all evaluated tasks, demonstration budgets, and metrics. On Cook the Carrot with 20 demonstrations, PHIL achieves 68% SR and 89.3% TCS, compared with 48% SR and 76.0% TCS for HG-DAgger. With 10 and 30 demonstrations, PHIL matches HG-DAgger's SR while achieving higher TCS. On Lemon in the Drawer, PHIL

Fig. 5. Diffusion Policy performance across base-demonstration budgets. Panels (a–d) show full-task success rates for Pick Up Banana, Towel Folding, Cook the Carrot, and Lemon in the Drawer, respectively; panels (e, f) show normalized task completion scores for Cook the Carrot and Lemon in the Drawer. Each measured point summarizes 25 evaluation rollouts. The points at (0, 0) represent an assumed zero-demonstration baseline and were not evaluated experimentally. HG-DAgger and Residual Policy use reactive corrections, whereas PHIL uses proactive corrections; all three train with five correction episodes and the original base demonstrations.

Fig. 6. Correction-collection and post-training ablations with Diffusion Policy. Panels (a–d) show success rates for Pick Up Banana, Towel Folding, Cook the Carrot, and Lemon in the Drawer, respectively. Base policies use three demonstrations for Pick Up Banana and ten for each remaining task. Each bar summarizes 25 evaluation rollouts after post-training with five correction episodes and the original base demonstrations. R, H, and P denote Reactive, Hybrid, and Proactive collection; Hybrid combines two proactive and three reactive episodes. Methods within each collection mode share the same recorded correction data. Dashed horizontal lines indicate Base Policy success rates.
improves both metrics at every budget, reaching 100% SR and 100.0% TCS with 30 demonstrations. These results support PHIL's applicability to post-training X-VLA on the evaluated tasks.
VI. CONCLUSION
We presented PHIL, a method for proactive human-in-the-loop post-training of action-chunking robot policies. PHIL allows an operator to inspect the policy's upcoming motion during execution and intervene before an anticipated undesirable action occurs. During each intervention, PHIL pairs retained unexecuted policy predictions with subsequent executed corrective robot action chunks starting from the

Fig. 7. Unnecessary recovery in Diffusion Policies post-trained with HG-DAgger or PHIL. Panels (a–d): Pick Up Banana, Towel Folding, Cook the Carrot, and Lemon in the Drawer. Each point averages recovery counts over ten successful episodes per method, collection mode, and base-demonstration budget, excluding recovery required after actual errors. The x-axis shows correction frames as a percentage of base-demonstration plus correction frames, decreasing rightward. Orange circles/blue diamonds denote HG-DAgger/PHIL; filled/open markers denote reactive/proactive collection. Dashed/dotted lines show least-squares linear fits across three budgets per method for reactive/proactive collection, respectively.
same query state, allowing the corrective window to extend beyond release. PHIL trains the policy on these context-aligned pairs using a pairwise preference objective that favors executed corrective trajectories over rejected policy predictions. Across the evaluated real-world manipulation tasks, policies post-trained with proactive corrections exhibit substantially fewer unnecessary recovery behaviors than those post-trained with reactive corrections. PHIL matches or exceeds the performance of the compared methods on the evaluated Diffusion Policy tasks and is also applicable to post-training the pretrained X-VLA policy. These results suggest that pairing unexecuted policy predictions with executed corrective trajectories from the same physical state provides
TABLE I
X-VLA RESULTS WITH DIFFERENT NUMBERS OF BASE DEMONSTRATIONS. HG-DAGGER AND PHIL USE CORRECTIONS COLLECTED OVER FIVE INTERACTIVE ROLLOUT EPISODES.
| Task | Method | Base demonstrations | |||||
|---|---|---|---|---|---|---|---|
| 10 | 20 | 30 | |||||
| SR | TCS | SR | TCS | SR | TCS | ||
| Towel Folding | Base Policy | 32 | - | 36 | - | 60 | - |
| HG-Dagger | 32 | - | 40 | - | 64 | - | |
| PHIL | 64 | - | 72 | - | 72 | - | |
| Cook the Carrot | Base Policy | 40 | 73.3 | 56 | 77.3 | 56 | 85.3 |
| HG-Dagger | 56 | 78.7 | 48 | 76.0 | 76 | 90.7 | |
| PHIL | 56 | 85.3 | 68 | 89.3 | 76 | 92.0 | |
| Lemon in the Drawer | Base Policy | 0 | 37.3 | 4 | 46.7 | 0 | 53.3 |
| HG-Dagger | 68 | 72.0 | 56 | 78.7 | 80 | 88.0 | |
| PHIL | 92 | 96.0 | 92 | 97.3 | 100 | 100.0 | |
All values are percentages over 25 evaluation rollouts. SR: full-task success rate; TCS: normalized task completion score. - TCS is not reported for Towel Folding. Bold values indicate the best result within each task and demonstration budget, including ties.
effective supervision for robot policy post-training.
ACKNOWLEDGMENT
We used ChatGPT to polish the text of this paper and to generate some concept illustrations in Figs. 1, 2, and 3. The authors reviewed every generated item, and all technical claims, experiments, and results are our own.
REFERENCES
[1] Z. Hu, R. Wu, N. Enock, J. Li, R. Kadakia, Z. Erickson, and A. Kumar, "RaC: Robot learning for long-horizon tasks by scaling recovery and correction," 2025. [Online]. Available: https://arxiv.org/abs/2509.07953
[2] M. Kelly, C. Sidrane, K. Driggs-Campbell, and M. J. Kochenderfer, "HG-Dagger: Interactive imitation learning with human experts," in 2019 International Conference on Robotics and Automation (ICRA). IEEE, 2019, pp. 8077–8083.
[3] A. Mandlekar, D. Xu, R. Martín-Martín, Y. Zhu, L. Fei-Fei, and S. Savarese, “Human-in-the-loop imitation learning using remote teleoperation,” arXiv preprint, 2020.
[4] X. Xu, Y. Hou, C. Xin, Z. Liu, and S. Song, “Compliant residual DAgger: Improving real-world contact-rich manipulation with human corrections,” 2025. [Online]. Available: https://arxiv.org/abs/2506.16685
[5] H. Cai, Z. Peng, and B. Zhou, “Predictive preference learning from human interventions,” arXiv preprint arXiv:2510.01545, 2025.
[6] R. Hoque, A. Balakrishna, E. Novoseller, A. Wilcox, D. S. Brown, and K. Goldberg, “Thriftydagger: Budget-aware novelty and risk gating for interactive imitation learning,” in Proceedings of the 5th Conference on Robot Learning, ser. Proceedings of Machine Learning Research, A. Faust, D. Hsu, and G. Neumann, Eds., vol. 164. PMLR, 08–11 Nov 2022, pp. 598–608. [Online]. Available: https://proceedings.mlr.press/v164/hoque22a.html
[7] R. Hoque, A. Balakrishna, C. Putterman, M. Luo, D. S. Brown, D. Seita, B. Thananjeyan, E. Novoseller, and K. Goldberg, “Lazydagger: Reducing context switching in interactive imitation learning,” in 2021 IEEE 17th International Conference on Automation Science and Engineering (CASE). IEEE, 2021, pp. 502–509.
[8] R. Hoque, A. Mandlekar, C. Garrett, K. Goldberg, and D. Fox, “Intervengen: Interventional data generation for robust and data-efficient robot imitation learning,” in 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), 2024, pp. 2840–2846.
[9] Z. He, Y. Cao, and M. Ciocarlie, "Uncertainty comes for free: Human-in-the-loop policies with diffusion models," arXiv preprint arXiv:2503.01876, 2025.
[10] Y. Han, Z. Chen, Y. Zhao, C. Xu, Y. Shao, Y. Peng, Y. Mu, and W. Lian, "Dexhil: A human-in-the-loop framework for vision-language-action model post-training in dexterous manipulation," Manuscript, 2025.
[11] M. Murray, D. Chen, S. Bagaria, D. Fortier, T. Hellebrekers, G. Mullins, H. Gajarla, O. Mees, M. Cakmak, and A. Kolobov, "FlowDAgger: Human-in-the-loop adaptation of generative robot policies in latent space," arXiv preprint arXiv:2607.08877, 2026.
[12] E. Welte, Y. Shi, R. Wolf, M. Gilles, and R. Rayyes, "Flowcorrect: Efficient interactive correction of generative flow policies for robotic manipulation," arXiv preprint arXiv:2602.22056, 2026.
[13] S. Ross, G. Gordon, and D. Bagnell, “A reduction of imitation learning and structured prediction to no-regret online learning,” in Proceedings of the fourteenth international conference on artificial intelligence and statistics. JMLR Workshop and Conference Proceedings, 2011, pp. 627–635.
[14] M. Reuss, M. Li, X. Jia, and R. Lioutikov, “Goal-conditioned imitation learning using score-based diffusion policies,” arXiv preprint arXiv:2304.02532, 2023.
[15] Z. Li, G. Chen, J. Alonso-Mora, C. D. Santana, and J. Kober, “Set-supervised diffusion policy: Learning action-chunking diffusion through corrections,” arXiv preprint arXiv:2606.01865, 2026.
[16] J. Duan, Y. R. Wang, M. Shridhar, D. Fox, and R. Krishna, "Ar2-d2: Training a robot without a robot," in Proceedings of The 7th Conference on Robot Learning, ser. Proceedings of Machine Learning Research, J. Tan, M. Toussaint, and K. Darvish, Eds., vol. 229. PMLR, 06-09 Nov 2023, pp. 2838–2848. [Online]. Available: https://proceedings.mlr.press/v229/duan23a.html
[17] J. Wang, C.-C. Chang, J. Duan, D. Fox, and R. Krishna, “Eve: Enabling anyone to train robots using augmented reality,” in Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology, ser. UIST '24. New York, NY, USA: Association for Computing Machinery, 2024. [Online]. Available: https://doi.org/10.1145/3654777.3676413
[18] Y. Yang, B. Ikeda, G. Bertasius, and D. Szafir, “Arcade: Scalable demonstration collection and generation via augmented reality for imitation learning,” in 2024 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2024, pp. 2855–2861.
[19] S. Chen, C. Wang, K. Nguyen, L. Fei-Fei, and C. K. Liu, "Arcap: Collecting high-quality human demonstrations for robot learning with augmented reality feedback," arXiv preprint arXiv:2410.08464, 2024.
[20] X. Jiang, P. Mattes, X. Jia, N. Schreiber, G. Neumann, and R. Lioutikov, “A comprehensive user study on augmented reality-based data collection interfaces for robot learning,” in Proceedings of the 2024 ACM/IEEE International Conference on Human-Robot Interaction, 2024, pp. 333–342.
[21] S. P. Arunachalam, I. Güzey, S. Chintala, and L. Pinto, “Holo-dex: Teaching dexterity with immersive mixed reality,” in 2023 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2023, pp. 5962–5969.
[22] X. Cheng, J. Li, S. Yang, G. Yang, and X. Wang, “Open-TeleVision: Teleoperation with immersive active visual feedback,” in 8th Annual Conference on Robot Learning, 2024.
[23] M. B. Luebbers, C. Brooks, C. L. Mueller, D. Szafir, and B. Hayes, “Arc-lfd: Using augmented reality for interactive long-term robot skill maintenance via constrained learning from demonstration,” in 2021 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2021, pp. 3794–3800.
[24] X. Jiang, Q. Yuan, E. U. Dincer, H. Zhou, G. Li, X. Li, X. Jia, T. Schnizer, N. Schreiber, W. Liao, et al., “Iris: An immersive robot interaction system,” arXiv preprint arXiv:2502.03297, 2025.
[25] R. Zurbrügg, T. Portela, A. Bhardwaj, A. E. Vijayan, M. Wilder-Smith, and M. Hutter, "VR-DAgger: Immersive VR for dexterous data collection and uncertainty-guided on-policy correction," arXiv preprint arXiv:2605.27114, 2026.
[26] J. Zheng, J. Li, Z. Wang, D. Liu, X. Kang, Y. Feng, Y. Zheng, J. Zou, Y. Chen, J. Zeng, Y.-Q. Zhang, J. Pang, J. Liu, T. Wang, and X. Zhan, "X-VLA: Soft-prompted transformer as scalable cross-embodiment vision-language-action model," arXiv preprint arXiv:2510.10274, 2025.
TABLE II
TASK, DEMONSTRATION-COUNT, AND EVALUATION SUMMARY. DEMO COUNTS REFER TO BASE-POLICY DEMONSTRATIONS.
| Task | Stages | Diffusion Policy demos | X-VLA demos | Metrics | Rollouts |
|---|---|---|---|---|---|
| Pick Up Banana | 1 | 3/6/9 | — | SR | 25 |
| Towel Folding | 1 | 10/20/30 | 10/20/30 | SR | 25 |
| Cook the Carrot | 3 | 10/20/30 | 10/20/30 | SR, TCS | 25 |
| Lemon in the Drawer | 3 | 10/20/30 | 10/20/30 | SR, TCS | 25 |
SR and TCS are computed over 25 evaluation rollouts per condition. For post-training, each adaptation condition combines the corresponding base demonstrations with five correction episodes. Banana-X-VLA is omitted because its base policy is near the performance ceiling.
APPENDIX
A. Policy Action Representations
In our experiments, BESO and X-VLA use the same action representation: an absolute end-effector position, an absolute Euler-angle orientation, and a binary gripper command. X-VLA's action representation is adapted to use Euler-angle orientations in this shared action space.
B. Proactive Collection and Preference Post-Training
Algorithm 1 summarizes the proactive collection and post-training procedure used in our experiments. The base policy remains fixed throughout collection, and post-training begins after the rollout data have been collected. Policy queries follow the same fixed schedule during policy control and human intervention, without interruption or reset at takeover or release. When the operator releases the trigger after inspecting the most recent displayed prediction, that prediction is labeled accepted and excluded from the negative samples. Release indicates that the operator judges the displayed trajectory acceptable, including when release occurs between scheduled queries. The robot then returns to policy control, including the interval before the next scheduled query.
A candidate pair is retained if its shadow prediction was collected during human intervention, is not accepted at release, and all H subsequent executed actions are available in the recorded rollout. The positive window may extend beyond release and include policy-controlled actions. Thus, a takeover shorter than H steps can contribute a complete pair. An intervention contributes no pairs if no scheduled query occurs during human intervention or if none of its predictions satisfies these criteria, including when its only prediction is accepted at release.
C. Supplementary Experimental Details
This appendix provides the tabulated results and protocol details that complement the figures and analyses in the main paper. The task-specific demonstration budgets, evaluation metrics, and rollout counts are summarized in Tab. II. SR and TCS are computed over 25 evaluation rollouts per condition, while recovery behaviors are measured in a separate experiment using ten successful episodes per condition. All adapted methods in the main comparisons and ablations train on data from five correction episodes together with the original base demonstrations to mitigate forgetting.
Algorithm 1 Proactive Correction and Preference Post-Training
Require: Base policy , demonstrations , horizon , query interval , rollout budget
Ensure: Post-trained policy
1: Initialize
2: for to do
3: Collect a rollout with , XR preview, and human takeover; keep fixed
4: During the rollout, query every control steps without resetting the schedule at takeover or release
5: Record each query context and prediction , and human intervention intervals
6: At each release, label the most recent displayed prediction as accepted and return to policy control
7: Record the executed actions during both policy control and human intervention
8: for each scheduled query time during human intervention do
9: if is not accepted at release and then
10: Set
11: Set
12: Append to
13: end if
14: end for
15: end for
16: Initialize
17: Post-train on and using Eq. (9)
18: return
D. Interactive Adaptation Baselines
This section details how HG-DAgger and Residual Policy use the recorded human corrections in our experiments. For a given policy model, task, base-demonstration budget, and collection mode, the methods share the same correction rollouts. Each adaptation condition uses five correction episodes together with the original base demonstrations. Both baselines use reactive corrections in the main diffusion-policy comparison: the operator observes the robot's executed behavior without an XR preview and takes over when an error becomes visible or appears likely. The methods differ in the supervision extracted from these rollouts and in how the learned correction affects the policy output.
- HG-DAgger: Our HG-DAgger baseline follows human-gated data aggregation [2], using human takeover to obtain corrective supervision at states visited during policy execution. The executed corrective trajectories provide target actions for behavior cloning. Starting from the corresponding base policy, post-training fits these targets while retaining imitation learning on the original demonstrations. Let denote the resulting context-correction samples . Using the native imitation loss defined in Sec. III-C, the correction-data term is
Training also includes the base-demonstration imitation term in Eq. (6). The learned policy then directly generates action chunks for execution. Rejected base-policy predictions do not serve as negative targets in this behavior-cloning objective.
In the collection-mode ablations, reactive, proactive, and Hybrid HG-DAgger retain this same learning objective while changing the correction data. Hybrid uses two proactive and three reactive episodes. For the controlled comparison between proactive HG-DAgger and proactive PHIL, both methods receive exactly the same positive samples (), with the same query start times and complete -step executed windows. These windows may include policy-controlled actions after the operator releases control, as described in Appendix B. HG-DAgger learns to reproduce these positive chunks; PHIL additionally uses their corresponding rejected predictions in the pairwise preference objective. HG-DAgger is also used for the X-VLA comparison, where it post-trains the corresponding VLA base policy on reactive corrections and the original demonstrations.
- Residual Policy: The Residual Policy baseline learns the action error between a rejected base-policy trajectory and its corresponding executed corrective trajectory. Learning additive corrections from human feedback is also central to CR-DAgger [4]. Here, Residual Policy is evaluated under the shared collection and training protocol described above. The rejected prediction supplies the reference action, and the executed correction specifies how that action should change. This provides supervised targets for predicting an additive correction to the base-policy output. At execution time, the combination can be written at the action level as
where is the base-policy action and is the predicted action error. The resulting is the corrected policy output. The residual therefore represents a change to the base action, while HG-DAgger learns to generate the corrective action directly through the post-trained policy.
The residual baseline uses the same reactive correction rollouts as HG-DAgger in the main diffusion-policy comparison, and its training also includes the original base demonstrations under the shared protocol. Although Residual Policy and PHIL both use rejected and executed trajectories, they use this information differently: Residual Policy predicts an action-space correction, whereas PHIL compares the imitation losses of the two trajectories to favor the executed continuation. The main comparison also changes the collection mode, because PHIL uses proactive corrections. Consequently, the reported performance differences reflect both the correction data and the adaptation objective; the controlled ablations examine these factors separately.
E. Complete Diffusion-Policy Results
Tab. III reports the complete numerical results for the diffusion-policy comparison visualized in the main paper. It includes all four tasks and all three base-demonstration budgets, and additionally reports normalized task completion score for the two long-horizon tasks.
F. Controlled Collection and Objective Ablations
Tab. IV gives the complete success-rate results for the controlled ablations. These conditions isolate the correction
collection mode and post-training objective while using the same lowest-data base-policy settings described in the main paper.
G. Recovery-Behavior Statistics
Tab. V provides the per-task and per-demonstration-budget statistics underlying the recovery-behavior analysis. It reports unnecessary recovery counts over ten successful episodes per condition and the proportion of correction frames in the corresponding post-training data for reactive and proactive HG-DAgger collection. Across the 12 HG-DAgger task-demonstration settings, reactive-trained policies exhibit 214 unnecessary recovery behaviors in total, compared with 21 for proactive-trained policies.
TABLE III
MAIN DIFFUSION-POLICY COMPARISON WITH DIFFERENT NUMBERS OF BASE DEMONSTRATIONS. PICK UP BANANA USES 3/6/9 BASE DEMONSTRATIONS; ALL OTHER TASKS USE 10/20/30. LONG-HORIZON TASKS REPORT BOTH FULL-TASK SUCCESS RATE (SR) AND NORMALIZED TASK COMPLETION SCORE (TCS).
| Method | Success Rate (SR) | Task Completion Score (TCS) | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Banana | Towel | Carrot | Lemon | Carrot | Lemon | |||||||||||||
| 3 | 6 | 9 | 10 | 20 | 30 | 10 | 20 | 30 | 10 | 20 | 30 | 10 | 20 | 30 | 10 | 20 | 30 | |
| Base Policy | 36% | 48% | 84% | 24% | 40% | 52% | 4% | 24% | 44% | 0% | 0% | 4% | 38.7% | 65.3% | 80.0% | 0.0% | 0.0% | 6.7% |
| HG-DAgger | 56% | 76% | 76% | 48% | 52% | 64% | 24% | 28% | 40% | 20% | 20% | 24% | 57.3% | 64.0% | 77.3% | 40.0% | 44.0% | 52.0% |
| Residual Policy | 56% | 76% | 80% | 48% | 64% | 64% | 24% | 28% | 72% | 12% | 40% | 48% | 56.0% | 62.7% | 88.0% | 41.3% | 62.7% | 65.3% |
| PHIL | 56% | 76% | 96% | 68% | 72% | 72% | 52% | 80% | 80% | 40% | 68% | 84% | 84.0% | 93.3% | 93.3% | 60.0% | 78.7% | 94.7% |
The three subcolumns under each task give the number of base-policy demonstrations. All values are percentages.
TABLE IV
CONTROLLED DIFFUSION-POLICY ABLATION IN THE LOWEST-DATA REGIME. EACH COMPARISON CHANGES THE CORRECTION-COLLECTION MODE OR THE POST-TRAINING OBJECTIVE WHILE HOLDING THE REMAINING PROTOCOL FIXED.
| Objective | Collection | Banana | Towel | Carrot | Lemon |
|---|---|---|---|---|---|
| Base Policy | — | 36% | 24% | 4% | 0% |
| HG-DAgger | Reactive | 56% | 48% | 24% | 20% |
| HG-DAgger | Proactive | 56% | 40% | 28% | 36% |
| PHIL | Reactive | 48% | 36% | 24% | 16% |
| PHIL | Proactive | 56% | 68% | 52% | 40% |
| HG-DAgger | Hybrid | 60% | 52% | 36% | 60% |
| PHIL | Hybrid | 16% | 20% | 0% | 12% |
All tasks report success rate (SR). All reported values are percentages.
TABLE V
UNNECESSARY RECOVERY BEHAVIORS IN A SEPARATE EVALUATION OF DIFFUSION POLICIES POST-TRAINED WITH HG-DAGGER, AND THE CORRESPONDING TRAINING-DATA COMPOSITION. THE COMPARISON COVERS FOUR TASKS AND THREE BASE-DEMONSTRATION BUDGETS, WITH TEN SUCCESSFUL EPISODES PER CONDITION.
| HG-DAgger / collection | Pick Up Banana | Towel Folding | Cook the Carrot | Lemon in the Drawer | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 3 | 6 | 9 | 10 | 20 | 30 | 10 | 20 | 30 | 10 | 20 | 30 | |
| Evaluation recovery count | ||||||||||||
| Reactive | 21 | 17 | 9 | 24 | 19 | 15 | 23 | 20 | 14 | 24 | 18 | 10 |
| Proactive | 0 | 0 | 1 | 0 | 0 | 1 | 2 | 4 | 4 | 0 | 4 | 5 |
Training correction-frame ratio (%)
| Reactive | 23.40 | 13.66 | 11.19 | 40.44 | 23.39 | 16.43 | 32.82 | 18.00 | 14.20 | 23.23 | 12.72 | 5.98 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Proactive | 22.46 | 13.73 | 11.57 | 39.27 | 26.38 | 16.22 | 26.11 | 16.90 | 11.11 | 23.04 | 10.48 | 5.32 |
An unnecessary recovery behavior is a recovery-like action or action segment performed when no execution error is present and the current task state does not require recovery. Recovery actions needed after an actual error are excluded. Count rows report totals over ten successful episodes collected in a separate recovery-behavior experiment. For each collection mode, the training ratio is the percentage of correction frames among all base-demonstration and correction frames used for post-training.