WorksComputer Science
Improving Policy Learning from Delayed Interventions
Abstract
In this work, we explore the idea of expert intervention delays in human-supervised robotic systems for imitation learning system. Previous works in imitation learning have primarily examined the impact of suboptimal experts, where the expert policy makes mistakes, but assumed expert interventions occur immediately after errors are made. Although delayed expert intervention can be viewed as a form of noise that might improve policy robustness, our results show that learning from delayed expert interventions is overall less effective than learning from non-delayed expert interventions; delayed expert interventions are less effective at demonstrating error avoidance behaviors. To address this, we propose Learning from Delayed Intervention (LfDI), which learns a cost function based on where and when the expert intervenes, combined with limited information about the extent of intervention delays provided by the expert. This cost function is then used to infer additional supervision for states without expert data, guiding the policy to avoid states that would likely trigger interventions. We evaluate our method, Learning from Delayed Intervention (LfDI), on simulated environments and show that it outperforms other methods that do not account for intervention delays.
INTRODUCTION
Human-gated imitation learning iteratively improves a policy by sampling trajectories using the current policy, where the expert takes control when the policy makes mistakes[1]. Several studies have examined how to improve the performance of imitation learning methods when experts provide suboptimal actions [2], [3], [4]. In this work, we instead examine how delays in expert interventions affect learning for human-gated imitation learning. We assume that experts do not always react immediately to errors: they may be distracted, or some small errors may only become apparent after accumulating over time, leading to delayed interventions. Furthermore, as the policy improves, experts may increasingly trust the policy to recover from minor mistakes [5], which can introduce additional delays if the recovery fails. Thus, delays in expert intervention are likely common, yet they remain largely unaddressed in research.
The challenge with delayed intervention is that expert demonstrations may not teach the policy how to correct errors early, but instead show recovery only after significant errors accumulate. For example, consider an autonomous robot veering off its intended path. If the expert intervenes just before the robot crashes into a tree, the agent learns how to avoid crashing into trees. However, it may not learn how to avoid veering off course in the first place. Consequently, additional interventions, which can be costly are required until more timely interventions demonstrate how to prevent the initial error. As we will show later, training with delayed expert interventions can significantly degrade policy performance.
To learn from delayed interventions, we extend the work by Spencer et al [7], [8]. In their work, they proposed learning a binary classification cost function from states without interventions and states immediately preceding an intervention within a small time window [7]. They assume that states preceding an intervention are bad states to be avoided. The cost function can then be used to improve policy learning. Delayed expert interventions, however, require considering a much larger time window of potentially bad state-action pairs. With longer intervention delays, more states are visited before the expert takes control, making it difficult to determine which state-action pairs caused the intervention. As a result, some state-action pairs within the window may be safe, while other unsafe pairs may occur in trajectories that never trigger an intervention. Thus, our goal is to infer which actions within the time window led to the intervention, without over-penalizing actions that did not. Given the wide range of possible intervention delays, we assume access to some information about the level of delay for each intervention. While experts may introduce intervention delays for various reasons, they are generally aware of the extent of their delays in hindsight. We do not assume access to very precise delay estimates, as humans are often inaccurate at providing direct numerical values [9].
In this paper, we address delayed expert interventions in human gated imitation learning. Our contributions are:
We formalize the problem of delayed expert interventions in human-gated imitation learning and analyze the challenges they introduce.
We introduce Learning from Delayed Interventions (LfDI), which leverages the timing and locations of expert interventions to improve learning from delayed interventions.
We evaluate LfDI on highway-env (Highway, Roundabout, Intersection)[6] and MuJoCo Humanoid[10], showing reduced crashes without sacrificing performance.
Related Work
Active Imitation Learning
Imitation learning (IL), the process of learning from expert demonstrations, which can be implemented using behavior cloning(BC), is a powerful approach to learning a policy from expert demonstrations. With BC, the agent directly learns the state-to-action mapping from expert demonstrations. For more complex problems, training BC typically requires a large number of demonstrations to generalize effectively. Given an expert policy and trajectories obtained from executing , BC seeks to minimize the difference between learned policy and the expert policy, expressed as [11].
BC, however, can suffer from catastrophic failures due to compounded errors as the agent deviates from the training state distribution. DAgger addresses this problem by incorporating human demonstrations of how to recover from mistakes [12]. In DAgger, the expert provides actions at randomly sampled states, but the agent does not execute these actions, allowing it to explore and learn recovery strategies [12]. A limitation of DAgger is that it does not give the human expert sufficient control [1]. Expert actions are only executed with some probability determined by , which reduces feedback to the expert and may affect the quality of intervention data. To address this, Kelly et al. [1] proposed an intervention-based version of DAgger in which the expert can take full control of the agent at any time.
Building upon HG-dagger, several intervention-based imitation learning methods have been proposed to extract more information from human interventions, including cases where no intervention occurs [7], [8], [13], [14]. Spencer et al. proposed learning from both the timing of interventions and the absence of interventions. They suggest learning a cost function that penalizes states immediately preceding interventions while rewarding states where no intervention occurs. The BC policy is then trained to minimize both this intervention cost function and the standard behavior cloning loss. Their approach, however, does not address cases where expert interventions are delayed. This creates a much larger window of potentially simply “bad” states, which motivates our proposed extension.
Human Preference Learning for Robotics
In many problems, defining a reward function can be challenging due to its complexity. Instead of manually specifying a reward function, demonstrations can be used to either apply inverse reinforcement learning to infer the reward function or employ imitation learning to replicate the demonstrated behaviors. Obtaining demonstrations can, however, be difficult, particularly for robots that are difficult for humans to operate or for tasks where skilled human experts are scarce. Directly providing human feedback as a reward can be costly. Moreover, humans generally excel at offering relative judgments rather than absolute ones [15], [16], [17]. An alternative approach is to present pairs of trajectories to human experts to learn their relative preferences, which forms the basis of reinforcement learning from human preferences.
Human Preference Reinforcement Learning(HPRL) was first proposed by [18] and [15] for robotics problems. [17] conducted a large-scale study on HPRL using Eq. (8) for Atari games, based on binary human preferences. This did require a large amount of human labeling: the reward function had to be trained using preferences from sampled trajectory pairs of the current policy, necessitating frequent human labeling, with over 5,500 labels per policy required to train ATARI games.
Given the limited data available, HPRL research tends to focus on reducing the number of labels required, such as by using data augmentation [19] or improved exploration [20]. In a similar vein, Hejna et al.[21] propose using data from multiple tasks to learn a meta-preference reward function that can be adapted to the current task with only a few preference labels. Other research focuses on improving reward function learning, such as by adding a state prediction loss to the reward function [22].
We note that most human preference RL research in robotics uses an oracle reward function instead of actual human preferences [23], [24], [19], [25] due to cost constraints, except for some qualitative evaluations, such as teaching a robot to lift its left leg. Oracle functions are deterministic, and this lack of noise can be detrimental to learning true preferences, as argued by [26, 27]. Instead, Laidlaw et al suggest that incorporating uncertainty can improve preference learning, especially in regions near decision boundaries, and can enhance learning of softer reward functions. Xue et al [28] proposed improving human preference reward learning from actual human preferences by stabilizing the reward function with regularization and constraints. Finally, human preference RL has been applied to simulations and real robots, such as for social navigation [29], or combined with demonstrations and human intervention [30].
Delays in Robotics
One form of delay commonly studied in robotics is latency and delays in teleoperated systems [31]. In these settings, the robot is primarily controlled by an expert, with less focus on supervising an autonomous policy. Predictive methods are sometimes employed to approximate expert actions when delays occur. This issue is particularly relevant for teleoperated robots in remote environments, such as space, where consistent intervention delays are unavoidable [32]. Delays are also examined in human–robot interaction, where Pascher et al. [33] explore strategies for managing interactions when the robot experiences delays and for improving communication when the robot cannot respond immediately. However, these methods deal with delays that are more predictable, which is less the case for intervention delays.
Learning from Delayed Intervention
This section presents our human-gated imitation learning framework for handling delayed expert interventions. We first formalize intervention delays and define the mechanism that triggers expert interventions. We then describe how trajectories are collected and how they are incorporated into the training dataset. Finally, we present the learning objective and training procedure used to optimize the agent’s policy with delayed intervention data.
Our human-gated imitation learning framework is based on HG-DAgger from Kelly et al. [1], where in their work, interventions are human-gated. In this work, the expert intervenes when the sum of errors within a time window exceeds an intervention threshold, similar to the system in Spencer et al. [7]. Thus, an intervention is triggered based on accumulated error tolerance, which we refer to as the intervention threshold . The higher the intervention threshold, the more delayed the intervention will be because more error must accumulate to reach the threshold. However, interventions can also be triggered immediately if a critical error occurs (i.e., error exceeds threshold immediately). The intervention threshold formalizes the human gating for interventions in our framework. When the expert takes control, they can execute as many steps as necessary before returning control to the agent when it is safe. A focused expert has a low , reacting promptly with minimal delay, whereas a distracted expert has a higher , responding only to critical errors or failing to react entirely, as shown in Figure 2.

Figure 2. Consider a vehicle attempting to stay on the road. During data sampling, the current policy may make mistakes and gradually drift from the intended path. Depending on the intervention threshold , the expert may intervene at different points. When is low, the acceptable total error over the window is small, and the expert intervenes promptly after errors occur. In contrast, when the expert is distracted, their is higher, and interventions are delayed.
To compute when the agent’s actions exceed , we assume that the expert has an internal optimal cost function, , which outputs a scalar. We also assume that the expert considers only a window of past states when calculating the internal cost. For example, with , an intervention at is triggered when accumulated errors from to exceed . An intervention, which we denote as for simplicity, is triggered as follows, where denotes the trajectory segment from to :
This assumption is based on the work of Spencer et al. [7], which assumes that the states leading to an intervention are to be avoided. This is supported by the idea that, as the policy makes mistakes, it deviates from the state distribution of the training data, leading to compounding errors [12]. For this work, we do not account for errors extending beyond the time window .
Let be the set of trajectories with delayed interventions collected by the sampling policy . Each trajectory is defined as a list of tuples, , where is the state, is the action taken by the policy or expert, indicates whether an expert intervention is triggered at timestep , is the expert’s intervention threshold parameter at timestep , and is the length of the trajectory, with indices . For states with expert control, we assume optimal behavior and assume a cost of 0.
We sample trajectory segments and of length from the set of trajectories. Let if the final state of segment triggers an intervention under threshold . Using these intervention indicators, we derive pairwise preference
Algorithm 1 Learning from Delayed Interventions(LfDI)
Input: Environment env
Input: Buffer of trajectories $B$,
Input: Cost Model training step $L$
Input: Number of trajectories sampled $M$
Input: Maximum step per trajectory $N$
Input: $\pi$, $\pi^{*}$, $c^{*}(s,a)$
Input: Intervention window $w$
Input: Intervention Threshold $\alpha$
for $i$ in $1$ ... $M$ do
: $a_{1} = \emptyset$
for $t$ in $1$ ... $N$ do
: $s_{t} \sim env(s_{t}, a_{t})$
: $a_{t} \sim \pi(s_{t})$
if $\sum_{i=t-w}^{t} c^{*}(s_{i},a_{i}) > \alpha$ then
: $a_{t+k} \sim \pi^{*}(s_{t+k}), \quad k = 0,\ldots,x-1,\quad x < N,$
$s_{t+k+1} \sim env(s_{t+k},a_{t+k})$
end if
: $B \leftarrow B \cup \{(s_{t},a_{t},\alpha_{t},b(\tau_{t},\alpha_{t}))\}$
end for
: $\pi \leftarrow \arg\min_{\pi}-\mathbb{E}_{(s,a)\sim B}[\log \pi(a\mid s)]$
end for
for $k = 1$ to $L$ do
$(\sigma_i,\sigma_j,y(\sigma_i > \sigma_j)) \sim B$
: $P(\sigma_i > \sigma_j) = \frac{e^{\sum c(s_{i,t},a_{i,t})}}{e^{\sum c(s_{i,t},a_{i,t})}+e^{\sum c(s_{j,t},a_{j,t})}}$
$c \leftarrow \arg\min_c \mathcal{L}_{\mathrm{cost}}$ ({xref}`Eq. 7`)
end for
$\pi \leftarrow \arg\min_{\pi}\mathcal{L}_{\pi}$ ({xref}`Eq. (8)`)
labels comparing the total true cost of segments and .
Put into words, when we sample a trajectory with intervention threshold , we classify the trajectory segments into segments that lead to expert intervention, , and segments without intervention . Hence, a trajectory segment will have a higher cost than any segments that do not lead to interventions, provided they have the same or lower intervention threshold . Trajectory segments with lower intervention thresholds and not leading to interventions are assumed to have lower cost, since a segment triggering intervention must have accumulated cost at least , while non-intervened segments with threshold have less than cost. Our preferences are not limited to comparisons within the same trajectory; our approach considers preferences between trajectory segments of different trajectories in the same manner. We propose training a cost function that takes as input a state and action and outputs its estimated cost as a scalar. For each trajectory segment , we can obtain the probability of preferring one trajectory segment (e.g., with higher cost) over another in terms of cost with the Bradley-Terry model and train the model with the loss proposed by Christiano et al. [17].
Training the cost function with only our proposed preference loss (5) can lead to poor performance, as we will later show in the evaluation, due to insufficient constraints on the cost function. Therefore, we propose to augment the loss function with a noisy expert cost loss, where we add noise to expert actions and train the cost function predict a cost equal to the magnitude of the additional noise. This loss can constrain the cost function, reducing the probability of learning unrealistic costs. This loss can only be applied to states with expert actions.
where denotes an expert action with added noise , and is randomly sampled and applied to the expert action. Our final loss for training the cost function is as follows:
Where is the hyperparameter of the weight of the preference loss. Here, denotes the parameters of the learned cost function , and controls the strength of L2 regularization.
The overall loss for training the policy after training the cost function consists of minimizing the cost of the policy’s predicted actions on all states, the behavior cloning error on expert states, and an L2 regularization. Here, denotes the parameters of the policy , and controls the cost regularization trade-off between avoiding high-risk pre-intervention states and preserving task progress (overly high costs encourage conservatism).
Our overall algorithm is described in Algorithm 1 and Figure 3. We assume a pretrained but suboptimal initial policy . For each trajectory, the expert is provided a target intervention threshold . The expert intervenes when the accumulated cost within exceeds . After an intervention is triggered, the expert takes control until it is safe to return control to the policy. After each trajectory, we retrain the sampling policy on new intervention data. The target intervention threshold increases over time as the policy improves. Once we complete intervention data collection, we train the cost function with Equation (7). For the term in Equation (5), we sample one segment without intervention and one segment with intervention. Once we complete training the cost function, we train the policy using behavior cloning on states with expert actions and the learned cost function on all states using Equation (8).

Figure 3. Learning from Delayed Interventions (LfDI) has two phases: data sampling and training. During sampling, expert interventions occur when the cost exceeds a threshold , with higher thresholds allowing longer delays and tolerating more errors. After collecting trajectories, the policy is retrained with the new data. Finally, the cost function is trained, and the policy is retrained from scratch with Equation (8).
Evaluation
We apply our HG-Dagger-based imitation learning framework described in Algorithm (1) to sample trajectories with expert interventions. Initially, we assume that the expert begins with a low intervention threshold , and therefore low intervention delay. This reflects the likelihood that the sampling policy performs poorly initially and the expert intervenes frequently. After sampling a trajectory, we retrain the policy and continue collecting additional expert interventions. Once a fixed number of expert interventions has been sampled, we increase the target intervention threshold . This simulates the idea that, as the policy improves, the expert begins to trust it to recover from minor errors and becomes less attentive.
For environments with human experts, we query the expert after each intervention for a more precise ; the expert provides their actual intervention threshold, treating the target threshold as guidance instead. We use the target threshold as a noisy label in our ablation evaluations in Table IV-B. During data sampling, we found that intervention delays occurred naturally while the expert supervised the agent, even when we do not consider the target threshold. There were multiple occasions when the expert simply did not react in time. In other cases, the expert could see the agent slowly making a mistake but might have waited to see if the agent can recover on its own. In some cases, the expert took control, but it was too late to prevent the agent from crashing. We note that the expert does not need to be queried immediately after intervention. We can query the expert after all data is collected, similar to human preference learning. When querying human experts for , we use the following guidelines:
: The agent makes a minor mistake, such as a slight slowdown or a small deviation from optimal
behavior.
: The agent makes a significant mistake that will lead to a crash within 10 steps if no intervention occurs, slows down substantially, or misses a clear opportunity to complete the task.
: The agent is in a critical state and will terminate unless immediate intervention is applied.
: The agent has already crashed, or the expert has taken control but is unable to prevent termination.
To reduce cognitive load, LfDI uses four coarse delay thresholds rather than exact numerical values, making annotations lightweight while preserving the ordinal structure needed for preference learning. Finer labels might improve performance but would increase expert burden and annotation error; future work could study this trade-off in physical settings and automate delay estimation. Finally, we also sample additional trajectories without expert supervision; terminations are automatically assigned an intervention threshold of . We compare our method with and without these additional data to show that our approach can leverage unsupervised trajectories without expert intervention and still improve performance, as shown in Table IV-B. When training our method and all other methods, we use both purely expert-controlled trajectories and expert intervention data from our human-gated imitation learning system. For all other methods that train a cost function, we can also use the cost function to minimize on sampled states without expert data.
Baselines and Comparisons
We compare against HG-Dagger, a noisy expert cost function, and EIL [7]. HG-Dagger uses the expert intervention data naturally collected by our human-gated system. The noisy expert is trained with loss (6) on expert-only data, and the policy with loss (7) on all data. For EIL, we tested windows of 5 and 30 timesteps before interventions to identify bad states. Labeling all other states as good, or labeling all states within the 30-step window as bad, both performed poorly—suggesting the window contains mixed-quality states that cannot be equally penalized. We therefore label only states outside the 30-step window as good.
For the human preference learning baseline, we use a combination of a noisy expert and preference learning to train the cost function. Experiments using only preference learning performed poorly; this may be due to an insufficient number of trajectory segment preference pairs. For this baseline, we assumed access to a limited number of fixed preference queries. To obtain these preferences, we first trained an ensemble of 5 behavior cloning policies, each trained on a randomly sampled 80% subset of the data buffer, including both initial expert data and intervention data. We then computed an ensemble uncertainty for each trajectory segment without expert data using the standard deviation of the predicted actions. Segments were sorted by mean ensemble uncertainty, and we randomly selected pairs from the top- highest-uncertainty segments for querying. This strategy follows prior work by Lee et al. [23], and Christiano et al. [17]. Preferences were obtained either from the oracle function (9) or queried directly from human experts. In terms of the number of preference queries, we used at least as many preference queries as expert interventions for fair comparison. For all our tables and figures, the ± is 1 standard deviation.
| Method | Dist / Task Comp. ↑ | Term. ↓ | Speed |
| Highway | |||
| EIL | 129.7 ± 9.0 | 1.00 ± 0.00 | 2.77 ± 0.11 |
| LfDI | 927.7 ± 55.8 | 0.34 ± 0.06 | 2.23 ± 0.09 |
| HG-DAgger | 509.5 ± 47.7 | 0.85 ± 0.04 | 2.34 ± 0.10 |
| human-pref | 512.7 ± 32.1 | 0.83 ± 0.05 | 2.30 ± 0.16 |
| noisy-expert | 381.4 ± 70.0 | 0.84 ± 0.08 | 2.18 ± 0.32 |
| Roundabout | |||
| EIL | 0.610 ± 0.074 | 0.299 ± 0.069 | – |
| HG-DAgger | 0.612 ± 0.050 | 0.362 ± 0.050 | – |
| LfDI | 0.722 ± 0.041 | 0.236 ± 0.042 | – |
| human-pref | 0.654 ± 0.0491 | 0.319 ± 0.059 | – |
| noisy-expert | 0.563 ± 0.050 | 0.401 ± 0.065 | – |
| Intersection | |||
| EIL | 0.481 ± 0.053 | 0.438 ± 0.039 | – |
| HG-DAgger | 0.520 ± 0.035 | 0.449 ± 0.035 | – |
| LfDI | 0.513 ± 0.048 | 0.399 ± 0.039 | – |
| human-pref | 0.505 ± 0.032 | 0.455 ± 0.030 | – |
| noisy-expert | 0.500 ± 0.032 | 0.453 ± 0.032 | – |
Table 1. Results for three highway-env environments. Highway shows distance traveled [sim. units] where the distance is in simulated units, termination rate (lower is better), and speed [sim. units/s]. Roundabout and Intersection show task completion rate instead and termination rate.
Highway-env Results
For our evaluation with human experts, we used the highway-env [6], a 2D environment simulating a multilane road system with traffic. The agent is controlled by a continuous action . This simple action space makes the environment suitable for human experts control. To increase difficulty, we raised the maximum acceleration and speed limit and increased the number of vehicles on the road.
We evaluated the agent in three environments: Highway (Figure 5), Intersection (Figure 4), and Roundabout (Figure 1). The Highway environment is a 4-lane road with multiple vehicles moving at varying speeds; performance is measured by distance traveled within a time limit. The Roundabout environment requires entering the roundabout and exiting at the second exit, while the Intersection environment requires completing an unprotected left turn. For both Roundabout and Intersection, performance is measured by task completion (e.g., reaching a designated road edge). We also report the termination rate, triggered when the agent leaves the road, drives on the wrong side of the road,

Figure 1. To evaluate our proposed solution, we experimented on several environments in the highway-env[6]. The Roundabout environment is configured such that the vehicle starts on the south route outside the roundabout and must enter the roundabout and exit to the north route to complete the task. In this figure above, the expert intervened and braked, preventing the controlled vehicle(yellow) from crashing into another vehicle.

Figure 4. We evaluated our method on the Intersection environment from highway-env [6]. In this environment, the agent must drive north to the intersection and make an unprotected left turn. Due to the limited vehicle logic in highway-env, other vehicles can get stuck and crash into each other. Consequently, the overall success rate for even an expert is not perfect, making it critical for the agent to learn when to stop and when to turn safely.

Figure 5. The Highway environment from highway-env [6] consists of a long 4-lane highway with a controlled vehicle. The objective is to travel as far (in terms of x-position) as possible within a time limit of 500 steps without crashing or leaving the road.
or collides with other vehicles, as a measure of safety. For human preference learning, we collected 2,200, 800, and 1,000 trajectory pairs for Highway, Roundabout, and Intersection, respectively, matching the number of interventions in our method to ensure fair comparison. Note that in the Roundabout and Intersection environments, it is possible for an agent to neither terminate nor complete the task.
For the Highway environment, our method achieves significantly better performance than all other methods, as shown in Table IV-A, Table IV-B, and Figure 6, while the remaining methods perform comparably. We also observe that using noisy intervention threshold labels degrades performance, highlighting the importance of high-quality queried labels. Nevertheless, even with extremely noisy labels, our approach outperforms all other methods.

Figure 6. We plot the average Highway environment termination rate for our method (LfDI) with and without noisy labels, EIL, noisy expert, and HG-Dagger. LFDI_noisy is a policy trained with LFDI and noisy and imprecise supervision-level labels.
Our method explicitly accounts for delayed interventions and is therefore more effective at avoiding risky behaviors, leading to substantially lower termination rates and allowing the agent to travel farther compared to alternative approaches. As a tradeoff, our method exhibits slightly lower average speed. In contrast, EIL demonstrates the opposite behavior: it achieves the highest average speed but consistently terminates. EIL promotes states that do not lead to interventions, which would work if expert interventions were not delayed. However, with delayed interventions, this assumption introduces errors, resulting in an overly optimistic cost function that could lead to unsafe behavior. Another factor for our method’s performance over other methods is that due to poor initial HG-DAgger performance, we sampled over 2200 expert interventions, the most of all our experiments. Our method learns from interventions and therefore is expected to do better with more delayed intervention signals.
| Method | Distance ↑ | Term. ↓ | Speed |
| LfDI | 928.2 ± 55.6 | 0.34 ± 0.06 | 2.23 ± 0.09 |
| LfDI(noisy labels) | 705.7 ± 104.5 | 0.58 ± 0.10 | 2.20 ± 0.12 |
| LfDI(no unsup) | 832.9 ± 36.9 | 0.50 ± 0.07 | 2.29 ± 0.08 |
| LfDI(no noisy) | 380.9 ± 30.2 | 0.99 ± 0.00 | 3.01 ± 0.06 |
| LfDI(ensemble) | 970.0 ± 24.8 | 0.28 ± 0.04 | 2.22 ± 0.06 |
Table II. Highway Ablation Study Results (Last 10 Steps). We provide a set of results of our method with different ablation settings. Note that distance and speed are in simulator units.
Furthermore, we evaluated our method with additional ablation tests. First, we tested our method with noisy intervention labels, where instead of using the queried intervention label given by the expert, we used the guidance intervention threshold as the label. There is a significant performance gap between our method with clean labels and noisy labels, but our method still outperforms all other methods for Highway.
Next, we trained our policy without additional unsupervised sampled trajectory data. From Table IV-B, we can see that the additional unsupervised data can help improve performance, but our method still significantly outperforms all other methods.
Additionally, we experimented with training our method with an ensemble of cost functions(5) trained without the noisy expert loss 1; the results are quite bad and show the need for the noisy expert loss. Finally, we experimented with training our policy with an ensemble of cost functions (5) instead of 1 cost function. We can see from the results that using an ensemble slightly improved performance and reduced the standard deviation. This is expected as training with an ensemble of cost functions is more stable and could prove useful for environments with less expert intervention data. Training with an ensemble of cost functions can be done for any method with a cost function(EIL, noisy expert, human preference), and we expect similar performance improvements for other methods when trained with a cost ensemble.
In the Roundabout environment, our method achieves the best performance in both task completion rate and termination rate, as shown in Table IV-A. Human preference learning ranks second, followed by EIL and HG-Dagger, while the noisy expert baseline performs the worst.
In the Intersection environment, task completion rates are relatively similar across all methods, with HG-Dagger, our method, and human preference learning achieving comparable performance. One possible explanation is that the task completion rate is effectively capped by the environment dynamics: the limited behavioral logic of non-controlled vehicles often leads to crashes that block the road, as illustrated in Figure 4 preventing task completion. This means that in cases where the road is blocked, the agent must avoid crashing into the blocked vehicles. Our method achieves lower termination rates than all other baselines
while maintaining the same task completion rate as other methods(Figure 7), highlighting the benefit of learning from delayed interventions.

Figure 7. We plot the termination rate (crash rate) of our method(LfDI) against other methods. We can see that our method shows improvements in reducing crash rates without decreasing completion rates, as shown in Table IV-A.
| Method | Reward ↑ | Term. ↓ |
| High Delay Dataset | ||
| EIL | 2433 ± 282 | 15.10 ± 3.18 |
| HG-Dagger | 3344 ± 324 | 6.68 ± 1.89 |
| LfDI | 3863 ± 310 | 3.99 ± 1.34 |
| human-pref | 3739 ± 324 | 4.36 ± 1.54 |
| noisy-exp | 3587 ± 353 | 5.56 ± 1.92 |
| HG-Dagger Intervention Delay Experiment | ||
| HG-Dagger high delay | 3343 ± 323 | 6.69 ± 1.89 |
| HG-Dagger avg delay | 3714 ± 310 | 4.33 ± 1.79 |
| HG-Dagger low delay | 4165 ± 194 | 2.14 ± 0.72 |
Table III. Humanoid Environment Results (Last 10 Steps). Humanoid results (top) show all methods with limited expert interventions. For the bottom, we performed a simple experiment showing the performance of HG-Dagger with different levels of expert intervention delays.
MuJoCo Results
We also evaluate on MuJoCo Humanoid, whose action space is far more complex than highway-env’s two-dimensional one. Because Humanoid is too difficult for human experts to control and intervene in, we follow common practice in this domain [23] and use an oracle cost function with an expert policy to determine when interventions occur. Our oracle cost function is defined as follows, where is the expert policy:
Table IV-B shows that LfDI slightly outperforms the baselines when trained with only 150 expert interventions. The performance gap is limited because, with more interventions, all methods can easily approach expert performance in Humanoid, leaving little room for meaningful comparison. Thus, these results show that LfDI remains useful under limited expert data. We further evaluate HG-DAgger under different intervention delays using equal-size expert datasets, where the dataset label reflects the average delay. Humanoid is used for this study because the oracle cost function provides more precise intervention-threshold queries than human experts. The results show that high-delay data performs the worst, average-delay data performs next, and low-delay data performs the best, highlighting the impact of intervention delay on policy performance and the need to account for delayed intervention data properly.
In conclusion, this work studies an often-overlooked source of information in interactive imitation learning: delayed human interventions. Through experiments and ablations, LfDI shows that intervention delays can provide a useful learning signal and improve policy learning under limited intervention data. These results suggest that intervention delay should be explicitly considered in future IIL methods.
References
- [1]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.arxiv.org/abs/1810.02890
- [2]D. S. Brown, W. Goo, and S. Niekum, “Better-than-demonstrator imitation learning via automatically-ranked demonstrations,” in Conference on robot learning. PMLR, 2020, pp. 330–359.arxiv.org/abs/1907.03976
- [3]H. Xu, X. Zhang, H. Yin, and H. Qin, “Discriminator-weighted offline imitation learning from suboptimal demonstrations,” in International Conference on Machine Learning. PMLR, 2022, pp. 24 725–24 742.arxiv.org/abs/2207.10050
- [4]L. Yu, T. Yu, J. Song, W. Neiswanger, and S. Ermon, “Offline imitation learning with suboptimal demonstrations via relaxed distribution matching,” in Proceedings of the AAAI conference on artificial intelligence, vol. 37, no. 9, 2023, pp. 11 016–11 024.
- [5]A. Xu and G. Dudek, “Optimo: Online probabilistic trust inference model for asymmetric human-robot collaborations,” in Proceedings of the Tenth Annual ACM/IEEE International Conference on Human-Robot Interaction, 2015, pp. 221–228.
- [6]E. Leurent, “An environment for autonomous driving decision-making,” https://github.com/eleurent/highway-env, 2018.DOI
- [7]J. Spencer, S. Choudhury, M. Barnes, M. Schmittle, M. Chiang, P. Ramadge, and S. Srinivasa, “Learning from intentions: Human-robot interaction as both explicit and implicit feedback,” in 16th Robotics: Science and Systems, RSS 2020. MIT Press Journals, 2020.DOI
- [8]——, “Expert intervention learning: An online framework for robot learning from explicit and implicit human feedback,” Autonomous Robotics, pp. 1–15, 2022.
- [9]T. Mandel, Y.-E. Liu, E. Brunskill, and Z. Popović, “Where to add actions in human-in-the-loop reinforcement learning,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31, no. 1, 2017.DOI
- [10]E. Todorov, T. Erez, and Y. Tassa, “Mujoco: A physics engine for model-based control,” in 2012 IEEE/RSJ international conference on intelligent robots and systems. IEEE, 2012, pp. 5026–5033.DOI
- [11]M. Laskey, J. Lee, R. Fox, A. Dragan, and K. Goldberg, “Dart: Noise injection for robust imitation learning,” in Conference on robot learning. PMLR, 2017, pp. 143–156.arxiv.org/abs/1703.09327
- [12]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.arxiv.org/abs/1011.0686
- [13]E. Senft, S. Lemaignan, P. E. Baxter, M. Bartlett, and T. Belpaeme, “Teaching robots social autonomy from in situ human guidance,” Science Robotics, vol. 4, no. 35, p. eaay1186, 2019.DOI
- [14]E. Chisari, T. Welschehold, J. Boedecker, W. Burgard, and A. Valada, “Correct me if i am wrong: Interactive learning for robotic manipulation,” IEEE Robotics and Automation Letters, vol. 7, no. 2, pp. 3695–3702, 2022.arxiv.org/abs/2110.03316
- [15]C. Daniel, M. Wiering, J. Metz, O. Kroemer, and J. Peters, “Active reward learning,” in Robotics: Science and systems, vol. 98, 2014.DOI
- [16]J. MacGlashan, M. K. Ho, R. Loftin, B. Peng, G. Wang, D. L. Roberts, M. E. Taylor, and M. L. Littman, “Interactive learning from policy-dependent human feedback,” in International Conference on Machine Learning. PMLR, 2017, pp. 2285–2294.arxiv.org/abs/1701.06049
- [17]P. F. Christiano, J. Leike, T. Brown, M. Martic, S. Legg, and D. Amodei, “Deep reinforcement learning from human preferences,” Advances in neural information processing systems, vol. 30, 2017.arxiv.org/abs/1706.03741
- [18]J. Fürnkranz, E. Hüllermeier, W. Cheng, and S.-H. Park, “Preference-based reinforcement learning: a formal framework and a policy iteration algorithm,” Machine learning, vol. 89, pp. 123–156, 2012.
- [19]J. Park, Y. Seo, J. Shin, H. Lee, P. Abbeel, and K. Lee, “SURF: Semi-supervised reward learning with data augmentation for feedback-efficient preference-based reinforcement learning,” in International Conference on Learning Representations, 2022. [Online]. Available: https://openreview.net/forum?id=ThfhZLQ2EJOarxiv.org/abs/2203.10050
- [20]X. Liang, K. Shu, K. Lee, and P. Abbeel, “Reward uncertainty for exploration in preference-based reinforcement learning,” in International Conference on Learning Representations (ICLR), 2022. [Online]. Available: https://openreview.net/forum?id=OWZVD-1-ZrCarxiv.org/abs/2205.12401
- [21]D. J. Hejna III and D. Sadigh, “Few-shot preference learning for human-in-the-loop rl,” in Conference on Robot Learning. PMLR, 2023, pp. 2014–2025.arxiv.org/abs/2212.03363
- [22]Y. Liu, G. Datta, E. Novoseller, and D. S. Brown, “Efficient preference-based reinforcement learning using learned dynamics models,” in 2023 IEEE International Conference on Robotics and Automation (ICRA). IEEE, 2023, pp. 11 300–11 320.arxiv.org/abs/2301.04741
- [23]K. Lee, L. M. Smith, and P. Abbeel, “Pebble: Feedback-efficient interactive reinforcement learning via relabeling experience and unsupervised pre-training,” in Proceedings of the 38th International Conference on Machine Learning, ser. Proceedings of Machine Learning Research, M. Meilă and T. Zhang, Eds., vol. 139. PMLR, 18–24 Jul 2021, pp. 6152–6163. [Online]. Available: https://proceedings.mlr.press/v139/lee21i.htmlarxiv.org/abs/2106.05091
- [24]D. Sadigh, A. Dragan, S. Sastry, and S. A. Seshia, Active preference-based learning of reward functions, 2017.DOI
- [25]Z. Cao, K. Wong, and C.-T. Lin, “Weak human preference supervision for deep reinforcement learning,” IEEE Transactions on Neural Networks and Learning Systems, vol. 32, no. 12, pp. 5369–5378, 2021.DOI
- [26]C. Laidlaw and S. Russell, “Uncertain decisions facilitate better preference learning,” Advances in Neural Information Processing Systems, vol. 34, pp. 15 070–15 083, 2021.arxiv.org/abs/2106.10394
- [27]P. Barnett, R. Freedman, J. Svegliato, and S. Russell, “Active reward learning from multiple teachers,” arXiv preprint arXiv:2303.00894, 2023.
- [28]W. Xue, B. An, S. Yan, and Z. Xu, “Reinforcement learning from diverse human preferences,” in Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence (IJCAI). IJCAI Organization, 2024, pp. 5298–5306. [Online]. Available: https://www.ijcai.org/proceedings/2024/2586arxiv.org/abs/2301.11774
- [29]S. A. Mehta and D. P. Losey, “Unified learning from demonstrations, corrections, and preferences during physical human-robot interaction,” ACM Transactions on Human-Robot Interaction, vol. 13, no. 3, aug 2024. [Online]. Available: https://doi.org/10.1145/3623384
- [30]R. Wang, W. Wang, and B.-C. Min, “Feedback-efficient active preference learning for socially aware robot navigation,” in 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS). IEEE, 2022, pp. 11 336–11 343.arxiv.org/abs/2201.00469
- [31]P. Farajiparvar, H. Ying, and A. Pandya, “A brief survey of telerobotic time delay mitigation,” Frontiers in Robotics and AI, vol. 7, p. 578805, 2020.DOI
- [32]M. Seo, Y. Chae, and Y. Ham, “Exploring latency during long-distance robot-assisted teleoperation and construction,” in Computing in Civil Engineering 2023, 2024, pp. 779–786.
- [33]M. Pascher, U. Gruenefeld, S. Schneegass, and J. Gerken, “How to communicate robot motion intent: A scoping review,” in Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, 2023, pp. 1–17.DOI