v9.1.1
Menu

Autonomous Vehicle Decision System

mediumPROSystem ArchitectureML System DesignML System Design 2

Design the ML decision-making pipeline for a self-driving car: perception, prediction, and planning.

Scenario: An autonomous vehicle company is building the software stack that takes raw sensor data (cameras, LiDAR, radar) and outputs steering, acceleration, and braking commands. The system must operate safely in complex urban environments at speeds up to 65 mph, handling pedestrians, cyclists, construction zones, and adverse weather.

Your Task: Design the three core ML subsystems: perception, prediction, and planning.

Your design should address:

  1. Fusing multi-sensor data into a unified world model
  2. Detecting and tracking all road actors (vehicles, pedestrians, cyclists)
  3. Predicting future trajectories of surrounding agents
  4. Planning a safe, comfortable, and efficient driving path
  5. Handling edge cases and safety-critical decisions

Think about: Sensor fusion strategies, uncertainty propagation through the pipeline, safety constraints, and real-time compute budgets (~100ms total cycle time).

More from ML System Design 2

Design mode

Your design approach

Describe your system design approach. Consider components, data flow, and key decisions.

Design questions(Select all that apply)

Q1How should the perception module fuse data from multiple sensors (cameras, LiDAR, radar)?

Q2What is the correct approach to predicting the future trajectories of other road users?

Q3How should the planning module handle safety-critical edge cases?

Q4What is the safest fallback behavior when the system encounters an out-of-distribution situation?

0 of 4 questions answered