Design an Auto-Labeling and Rare Scenario Mining Pipeline for Perception
Last updated: November 29, 2026
Quick Overview
Design an ML system that mines fleet driving logs for rare or hard perception cases (for example unusual vulnerable road users or debris), produces high-quality 3D labels using offline models plus targeted human review, and feeds them back into training of the onboard detector.
Nuro
November 29, 20260
0
0 solved
Design an ML system that mines fleet driving logs for rare or hard perception cases (for example unusual vulnerable road users or debris), produces high-quality 3D labels using offline models plus targeted human review, and feeds them back into training of the onboard detector.
With a growing fleet of Nuro Driver vehicles, the bottleneck shifts from collecting miles to finding the few frames that matter and labeling them affordably. Interviewers want to see the data flywheel end to end: triggers and retrieval, offline auto-labelers that exploit hindsight, human QA where it pays, and evaluation that proves the loop is improving the long tail.
What the Interviewer Expects
- Define mining signals: onboard triggers, model uncertainty, disagreement, embedding search, disengagement-linked logs
- Use offline auto-labelers that use full sequences and larger models than the car can run
- Route only low-confidence or high-value samples to human labelers, with QA sampling
- Track dataset versions and lineage from log to label to model
- Evaluate with slice-based metrics on rare classes, not just overall mAP
- Close the loop: retrain, shadow test, and confirm the mined failure modes improved
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 do you avoid confirmation bias when the auto-labeler and the onboard model share architecture?
- How would you search for a new concept like 'person on a scooter carrying a ladder' with no labels?
- How do you set the human review budget across classes?
- How do you detect label noise at scale?
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: petabytes of logs (lidar, cameras, radar, poses). Output: versioned 3D box and track labels for selected sequences, feeding weekly detector training. Goals: raise recall on rare classes (stroll...
High-Level Design
- Mining: onboard triggers (hard braking, takeover, tracker ID switches) upload snippets; offline jobs score all logs with uncertainty (ensemble variance, low max-score) and onboard-vs-offline disagr...