Design a Fleet Log Mining Pipeline for Rare Highway Scenarios

Last updated: November 29, 2026

Quick Overview

Design a system that searches petabytes of driving logs from a growing truck fleet to find rare scenarios (for example a pedestrian walking on a highway shoulder, a tire tread in lane, or a vehicle reversing on an on-ramp), auto-labels them, and feeds them into training and test sets.

Aurora
ML System Design
Machine Learning Engineer
Aurora
November 29, 2026
Machine Learning Engineer
System Design Round
ML System Design
Hard

0

0

0 solved


Design a system that searches petabytes of driving logs from a growing truck fleet to find rare scenarios (for example a pedestrian walking on a highway shoulder, a tire tread in lane, or a vehicle reversing on an on-ramp), auto-labels them, and feeds them into training and test sets.

Aurora's development loop depends on finding the long tail in fleet data and turning it into training data and regression tests for the Aurora Driver. The interviewer is checking ingestion at scale, a searchable index over scenes, human-in-the-loop labeling, and how mined data flows into both model training and the simulation test suite.

What the Interviewer Expects
  • Separates ingestion, indexing, search, labeling, and dataset versioning
  • Uses embeddings plus structured attributes for scene search
  • Uses offboard (non-real-time) models to auto-label with higher quality than onboard ones
  • Puts humans on low-confidence and safety-critical cases
  • Versions datasets and keeps eval sets frozen and leak-free
  • Closes the loop into simulation regression scenarios
Key Topics to Cover
Data mining
Auto-labeling
Embedding search
Active learning
Dataset versioning
Long-tail scenarios
How to Approach This
  1. Start by mapping the business objective to a concrete ML objective and metric.
  2. Cover the full pipeline: data collection, feature engineering, model selection, training, serving.
  3. Discuss online vs offline evaluation. Plan an A/B test to validate real-world impact.
  4. Address the serving latency budget and whether batch or real-time inference is needed.
  5. Think about the data flywheel: how user feedback improves the model over time.
Possible Follow-up Questions
  • How do you avoid test-set leakage when the same stretch of road appears in many drives?
  • How would you measure the pipeline's recall for rare scenarios you have not seen yet?
  • How do you prioritize which scenarios get labeled under a fixed labeling budget?
  • How do you handle a privacy request to remove a person from stored data?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice ML System Design Problems
Sample Answer
Requirements

Functional: ingest every drive's sensor logs, make scenes searchable by attributes (speed, weather, map context, object classes) and by example (find scenes like this clip), auto-label results, route ...

High-Level Design
  1. Trucks upload logs at terminals over high-bandwidth links; raw data lands in object storage keyed by drive and time. 2) A batch indexing job slices drives into short scene windows (for example 10 s...

Submit Your Answer
Markdown supported

Related Questions