LearnQuestion bank

A driving policy trained by imitation looks excellent on held-out logs but fails on the road. Why can that happen, and how would you evaluate and fix it?

ResearchTechnicalHard

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Held-out logs measure expert-like states, not the states the policy visits after its own mistakes.
  • Compounding errors and covariate shift push the policy off the expert manifold.
  • Open-loop log metrics can look good while closed-loop behaviour diverges; causal confusion can make the policy use correlates (its own past speed, a brake indicator) instead of causal drivers.
  • Evaluate closed-loop with per-scenario metrics, failure taxonomy, rare-scenario mining, and perturbation checks.
  • Fix with DAgger-style correction data, perturbation augmentation, closed-loop simulation with learned world models, and RL fine-tuning.
  • Re-check per-scenario results and validate learned models/RL against real closed-loop rollouts.

In full

Because imitation is trained and scored on expert-like states, held-out logs can look strong while the deployed policy drifts off that manifold: each small action error changes the state, and the next input is one the policy never saw, so errors compound and covariate shift grows. That is why open-loop log metrics are not enough; I would evaluate closed-loop in simulation and on-road, with per-scenario metrics and a failure taxonomy, and check for causal confusion, where the policy latches onto correlates (for example its own past speed or a dashboard brake indicator, which track the expert’s action without causing it) instead of the actual causal drivers such as a pedestrian ahead. The fix is to collect DAgger-style correction data on states the policy actually visits, add perturbation augmentation and rare-scenario mining, validate in closed-loop simulation with learned world models while checking model uncertainty, and fine-tune with RL where safe, then re-report per-scenario results rather than one average. I would not trust a learned world model or RL result until it is checked against real closed-loop rollouts, and I would keep the expert-log metric as a baseline, not the success criterion.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Compounding errors and covariate shift.
  • Open-loop vs closed-loop evaluation; causal confusion.
  • Fixes: DAgger-style correction data, perturbation augmentation, closed-loop simulation with learned world models, RL fine-tuning, rare-scenario mining.
  • Report per-scenario metrics.

Common mistakes

  • Trusting open-loop metrics.
  • Never considering causal confusion.