Preparing your design workspace

Loading the problem and your latest saved attempt…

Design a Self-Driving Perception Model

Build, evaluate, and release an object-detection model for cars, bicycles, and trucks under severe scenario and class imbalance.

Problem statement

For this exercise, assume an autonomous-driving team needs a camera-based perception model that detects cars, bicycles, and trucks and returns class, bounding box, confidence, and model version for each detection.

Design the machine-learning data and model lifecycle: formulate the task, collect and version training data, define annotations and splits, choose a model family and loss, handle class and scenario imbalance, evaluate safety-relevant quality, and release a compatible model.

Training and evaluation must preserve route and time boundaries so near-duplicate frames do not leak across splits. A small expert-reviewed safety set covers rare classes and difficult conditions. Detailed camera transport, multi-sensor fusion, path planning, and vehicle control are outside scope.

What to build

  1. Create reproducible camera-frame datasets with route, time, condition, annotation, consent, and label-taxonomy lineage.
  2. Train an object detector for cars, bicycles, and trucks using explicit strategies for rare classes, difficult scenarios, and label quality.
  3. Evaluate per-class and scenario quality on leakage-resistant splits and expert safety sets, then release a versioned model with guarded rollback.

At scale

  • For this exercise, assume 10 million reviewed camera frames and one petabyte of versioned media and annotations, with 500,000 new candidate frames arriving each day.
  • For this exercise, the released detector must process a frame within 50 milliseconds p95 on the target vehicle hardware; missed bicycles carry a higher safety cost than an ordinary false positive.
  • For this exercise, bicycles represent about 1 percent of labeled objects and difficult nighttime or adverse-weather slices together represent less than 5 percent of frames.