Evaluate a Multimodal Trajectory Prediction Model Beyond Average Error
Last updated: November 29, 2026
Quick Overview
You have a model that predicts K possible future trajectories for each pedestrian, cyclist and vehicle near the robotaxi; explain how you would evaluate it, including minADE, minFDE and miss rate, and what those metrics hide.
Zoox
November 29, 20260
0
0 solved
You have a model that predicts K possible future trajectories for each pedestrian, cyclist and vehicle near the robotaxi; explain how you would evaluate it, including minADE, minFDE and miss rate, and what those metrics hide.
Prediction feeds the Zoox planner directly, so a model that looks good on average but misses the one agent that turns into the robotaxi's path is a safety problem. The interviewer checks metric fluency, awareness of how min-over-K metrics can be gamed, and whether evaluation is tied to downstream planning risk.
What the Interviewer Expects
- Defines minADE, minFDE and miss rate correctly with K modes
- Explains that min-over-K ignores mode probabilities and rewards spraying modes
- Adds probability-aware metrics such as NLL or Brier-minFDE and calibration
- Slices by agent type, horizon, interaction and rare maneuvers
- Connects metrics to planner impact (for example, missed yielding events)
- Writes a small correct metric implementation
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How would you evaluate predictions for agents that are occluded for part of the horizon?
- How do you measure consistency between the predicted futures of interacting agents?
- How would you weight errors that matter to the planner more than others?
- How do you compare two models when one predicts 6 modes and the other 3?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Each agent has ground truth positions over T future steps (for example 8 s at 10 Hz) and K predicted trajectories with probabilities. Agents of interest: those near the ego path. I ask what horizon th...
Approach
Start with standard geometric metrics, then add probability-aware and slice metrics, then a downstream check through the planner in simulation....