Hardware-Aware Sensor Placement for Autonomous Vehicles
Choosing an autonomous vehicle sensor suite with CMA-ES across five fixed slots, trading perception against hardware cost in MuJoCo simulation.
My contribution
I framed sensor selection as an optimization problem, built the simulation and hardware-cost model, and ran and analysed the CMA-ES experiments.
- Affiliation
- Course final project · Computational Design of Cyber-Physical Systems
- Dates
- Spring 2026
- Role
- Author
- Topics
- Optimization and Simulation, Computer Architecture
- Tools
- CMA-ES, MuJoCo, JAX, Python
Contents
01
The problem
Engineers usually pick an autonomous vehicle's sensor suite by intuition and check the compute platform's limits afterward. I framed that choice as an optimization problem: each of five fixed chassis slots gets lidar, radar, camera or nothing, and each suite is scored on coverage, first-detection latency and a bandwidth cost normalized to a specific chip (Apple M5 or NVIDIA Jetson AGX Orin). On unified-memory chips every sensor stream shares one bandwidth pool, so the best suite should depend on the target hardware.
02
My contribution
Solo project. I built the CMA-ES loop over a continuous relaxation of the slot assignment, the MuJoCo ray-cast evaluation that respects each sensor's field of view, range and latency, spawn-safe parallel workers with common random numbers and provenance logging, declarative run configs, and the Pareto, heatmap and convergence plots.
03
Constraints
Compute ran on Colab, which held each evaluation to 3 episodes, a population of 20 and runs of 58 to 200 generations. The model is a kinematic vehicle among static spheres, with noise-free ray casting, one scenario and fixed slot poses. Hardware cost compares datasheet stream rates against peak memory bandwidth at a 30% allocation.
04
Design decisions
I chose diagonal CMA-ES over a genetic algorithm because the decoded landscape is non-smooth and the method should scale to a later 30-dimensional pose search. I put bandwidth inside the objective rather than only as a cap, added a redundancy term so coverage seen by more than one modality counts for more, used common random numbers for fair comparisons within a generation, and defined two weight presets (Safety-First and Efficiency).
05
What was difficult
The bandwidth cap never bound: suites used about 1% of the budget. Safety-First stopped at generation 58 when fitness went flat, while Efficiency never converged (its σ grew past 17 on a 0 to 3 range, so it mostly sampled the edges), and the 200-generation run overturned the 100-generation result. I also lost time to NumPy ABI breaks and import errors in Colab.
06
Evidence
The defensible result is qualitative: raising the cost weight from 0.05 to 0.30 consistently moved the optimizer to suites with no lidar on both platforms (2 lidars to 0 on the M5, 1 to 0 on the Jetson). The pipeline runs end to end and the cost units compute correctly. Limits: one run per condition, 3 episodes per evaluation, no confidence intervals and no baseline numbers.
07
Current status
Completed course paper, simulation only, with public code; not peer reviewed. I scoped it as Phase 1 of 4, with seed bootstrapping, more scenarios, noise models and a platform sweep planned.
08
What I would change next
I would choose a constraint that actually binds: one 250 Mbps lidar is about 0.16% of the M5's 153.6 GB/s, so memory bandwidth never limits five sensors, while sensor ingest limits (camera and serializer lanes, Ethernet ports) or per-stream perception compute would. I would enumerate the 1,024-configuration slot space once to get the true optimum and show CMA-ES finds it, which justifies CMA-ES for the pose problem. I would also run 30 seeds with confidence intervals, re-score winners on a fixed held-out seed set, report baseline numbers, and compare modes on shared metrics instead of 1 − L.
References and context
Background material and tools. Not personal publications.
- CMA-ES tutorial (Hansen) — reference for the optimizer
- MuJoCo
- Course page (18-848A)
Related work