Improving Policy Learning from Delayed Interventions

Xiru Zhu, David Meger, Gregory DudekarXiv 2026

TL;DR

This paper introduces Learning from Delayed Interventions (LfDI), a framework that addresses a common but overlooked reality in human-in-the-loop robotics: human supervisors often react slowly when correcting an agent's mistakes. By incorporating coarse hindsight feedback about these delays, LfDI learns a more accurate cost function that teaches robots to avoid the early errors that lead to dangerous situations, significantly improving safety and performance over standard imitation learning methods.

What Problem Does This Paper Address?

In "human-gated" imitation learning, a robot attempts a task while a human expert watches, ready to take control if the robot messes up. Most existing algorithms assume the expert intervenes instantly the moment an error occurs.

In the real world, this is rarely true. Humans have reaction times, get distracted, or might wait to see if the robot can self-correct. This creates a delay. During this delay, the robot continues to visit "bad" states before the expert steps in. Standard algorithms might mistakenly label these pre-intervention states as "safe" because the expert hadn't intervened yet. Consequently, the robot only learns how to recover from a near-disaster (like a car about to hit a tree) rather than learning how to avoid the initial mistake (like veering off the road) that caused the danger in the first place.

Figure 2: How different intervention thresholds (representing prompt vs. distracted experts) affect the car's trajectory before a correction occurs.

Methods

The authors propose LfDI, which treats the timing and location of interventions as a signal to infer a cost function. The key components are:

  1. Delay Formalization: They model interventions as being triggered when the robot's accumulated error over a short time window exceeds a threshold ($\alpha$). A lower $\alpha$ means a prompt expert; a higher $\alpha$ means a delayed one.
  2. Preference Learning: Instead of simple binary labels, they use pairwise preferences to train a cost function. For example, a trajectory segment that triggered an intervention is "worse" than one that didn't, provided the expert's intervention threshold was similar.
  3. Coarse Human Labels: To keep the burden on humans low, they don't ask for exact millisecond delay values. Instead, they use four coarse categories (from "minor mistake" to "already crashed") to provide the ordinal structure needed for learning.
  4. Noisy Expert Loss: To prevent the cost function from becoming unrealistic, they add a constraint: if you add random noise to an expert's optimal action, the predicted cost should increase proportionally to the magnitude of that noise.
  5. Policy Training: The final robot policy is trained to minimize both the standard imitation loss (copying the expert) and the learned cost function (avoiding high-risk states).
Figure 3: The LfDI training loop, alternating between sampling trajectories with human supervision and updating the cost function and policy.

Datasets

The researchers evaluated LfDI on two main platforms:

  • highway-env: A 2D driving simulator where they tested three challenging scenarios:
  • Highway: Navigating a 4-lane road with heavy traffic.
  • Roundabout: Entering and exiting a circular junction.
  • Intersection: Performing an unprotected left turn.
  • MuJoCo Humanoid: A high-dimensional physics benchmark. Since human control is too difficult here, they used an "oracle" expert with simulated delays to test the algorithm's scalability to complex action spaces.

Key Insights and Ideas

  • Hindsight is 20/20: While humans are poor at providing precise numerical data in real-time, they are remarkably good at providing coarse, accurate labels about their own delays after the fact. LfDI exploits this human strength.
  • The "Early Correction" Advantage: By looking back through a time window before the intervention, LfDI identifies the root cause of failures. This allows the agent to learn "preventative" behaviors rather than just "reactive" ones.
  • Leveraging Unsupervised Data: LfDI can use trajectories where no intervention occurred to help define what "safe" looks like, making the learning process more data-efficient.

Key Results

LfDI consistently outperformed baselines like HG-DAgger and EIL across all metrics:

  • Superior Safety: In the Highway environment, LfDI reduced the termination (crash) rate to 0.34, compared to 0.85 for HG-DAgger.
  • Greater Progress: LfDI-trained agents traveled much further (927.7 units) than those trained with HG-DAgger (509.5 units) or EIL (129.7 units).
  • Robustness to Noise: Even when the human delay labels were "noisy" or imprecise, LfDI still outperformed all other methods, proving its practical utility.
Figure 6: A comparison of termination rates over time. LfDI (orange) reaches a much lower crash rate than standard imitation learning (red) or other baselines.

Limitations and Future Work

  • Fixed Window Size: The algorithm currently assumes a fixed time window for error accumulation. In reality, human reaction times and "patience" might vary dynamically.
  • Expert Burden: While coarse labels are easier than numerical ones, they still require human effort. The authors suggest that future work could explore automating delay estimation.
  • Complex Dynamics: In the Intersection task, performance was sometimes limited by the environment itself (e.g., unavoidable crashes caused by other "dumb" AI vehicles), suggesting a need for better multi-agent reasoning.

Summary updated

BibTeX
@misc{zhu2026improving,
  author = {Xiru Zhu and David Meger and Gregory Dudek},
  title = {{Improving Policy Learning from Delayed Interventions}},
  year = {2026},
  eprint = {2610.17298},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.17298},
}
Figure