Mine Rare Driving Scenarios From Fleet Logs for Model Training
Last updated: November 29, 2026
Quick Overview
Design an offline pipeline that searches petabytes of robotaxi drive logs for rare, safety-relevant scenarios (for example a pedestrian emerging between parked cars or a cyclist cutting across a turn), turns them into labeled training and evaluation sets, and closes the loop with model retraining.
Zoox
November 29, 20260
0
0 solved
Design an offline pipeline that searches petabytes of robotaxi drive logs for rare, safety-relevant scenarios (for example a pedestrian emerging between parked cars or a cyclist cutting across a turn), turns them into labeled training and evaluation sets, and closes the loop with model retraining.
Zoox fleets generate far more sensor data than can be labeled, and model quality for perception and prediction depends on finding the long tail. The interviewer looks for a candidate who combines cheap structured queries with learned retrieval, controls labeling cost, and keeps evaluation sets clean of training leakage.
What the Interviewer Expects
- Defines scenario taxonomy and what makes a scenario valuable (rarity, risk, model error)
- Combines structured signals (hard braking, disagreement, TeleGuidance requests) with embedding search
- Keeps compute and labeling cost bounded with tiered indexing
- Separates evaluation sets from training sets by drive and location
- Measures pipeline value by downstream model improvement on targeted slices
- Handles privacy (faces, plates) and data retention
Key Topics to Cover
How to Approach This
- Start by mapping the business objective to a concrete ML objective and metric.
- Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
- Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
- Address the serving latency budget and whether batch or real-time inference is needed.
- Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
- How would you detect scenarios where the model was confidently wrong with no human flag?
- How do you avoid overfitting the evaluation set after many mining rounds?
- How would you use generative or simulated variants of a mined scenario?
- What is the right unit of data: a frame, a snippet, or a full scene?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice ML System Design ProblemsSample Answer
Requirements
Input: raw logs (lidar, radar, camera, vehicle state) plus onboard outputs (detections, tracks, predictions, plans). Output: curated snippets (for example 20 seconds) with labels, grouped into named s...
High-Level Design
- Ingest: logs land in object storage; a batch job (Spark or Ray) extracts per-second features into a columnar scene index: ego speed, decel, agent classes and distances, map context, onboard model c...