LearnQuestion bank

Contrast a modular perception–prediction–planning stack with an end-to-end learned driving model. How can you evaluate a driving policy offline before road testing?

ML engineeringTechnicalHard

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

Answer

Model answer, written in a candidate's voice

In short

  • Modular stack: interpretable interfaces and hand-designed losses, but errors compound across perception, prediction, and planning.
  • End-to-end: learns from large data, but is harder to debug and depends heavily on curation and coverage.
  • Open-loop trajectory error is a useful screen, not proof of safety; closed-loop simulation is needed for feedback and distribution shift.
  • Use a generative world model (Wayve GAIA-style) to vary scenarios and stress rare events, not just replay logs.
  • Offline evaluation can rank policies and expose failure modes, but cannot predict absolute safety without calibrated uncertainty and real-world validation.

In full

The core trade-off is interpretability versus scale: a modular perception-prediction-planning stack gives clean interfaces and hand-designed losses, so you can inspect and fix each stage, but small perception or prediction errors compound downstream and the interfaces can hide mismatch. An end-to-end model learns directly from data at scale and can capture interactions that hand-designed modules miss, but it is harder to debug and only as good as the curation, coverage, and diversity of the training distribution. Offline, I would not trust open-loop trajectory error alone; it is a useful screen for whether the policy reproduces good behaviour, but it ignores feedback, compounding drift, and closed-loop consequences. I would pair it with closed-loop simulation and a generative world model in the spirit of Wayve’s GAIA line to vary weather, traffic, agents, and rare events rather than only replaying logged scenarios. Rare-event mining should target tails like near-misses, cut-ins, and sensor degradation, and the result should be used to rank policies and find failure modes, not to claim absolute safety; absolute safety still requires calibrated uncertainty and real-world validation.

Corrected by an independent AI reviewer.

What a strong answer covers

  • Modular: interpretable interfaces, hand-designed losses, error compounding at the interfaces.
  • End-to-end: learns from data at scale, but is harder to debug and needs strong data curation.
  • Open-loop metrics (trajectory error) vs closed-loop simulation; a generative world model for scenario variation.
  • Rare-event mining; ranking policies vs predicting absolute safety.

Common mistakes

  • treating open-loop imitation metrics as safety evidence
  • ignoring sim-to-real gaps.