Two ways to build a driver
The earlier lessons in this cursus described a modular stack: perception produces boxes and tracks, prediction produces weighted futures, planning produces a trajectory, control produces commands. Each arrow is a hand-designed interface, and each module can be built, tested and replaced on its own.
An end-to-end system replaces some or all of those interfaces with learned ones. In the purest form, one network maps raw sensor data directly to a trajectory or to steering and speed, and every internal representation is whatever training finds useful.
In practice this is a spectrum, not a binary:
- Classical modular: learned perception, hand-written prediction and planning rules.
- Learned modules: each stage is a neural network, trained separately against its own labels.
- Jointly trained modular: the stages remain visible but are trained together so gradients from the planning loss reach perception.
- Monolithic: sensors in, trajectory out, with no required intermediate outputs.
Key idea: the real question is not "neural or not" but where the interfaces are fixed by engineers and where they are learned, because that choice decides what can be inspected, tested and argued safe.

