Mechanistic Interpretability for End-to-End Self-Driving

Manav Gagvani, Benjamin Namikas, Sivamurugan Velmurugan, Nysa Kumar, Shrey Sharma +4 more
10/30/2026
cs.ROcs.CVcs.LG

No confident code implementation found for this paper.

Abstract

End-to-end (E2E) autonomous driving models achieve strong planning performance but remain largely opaque, limiting observability and trust. We apply mechanistic interpretability to E2E driving by training Sparse Autoencoders (SAEs) on the internal activations of a simple, single-camera end-to-end path planning model.

Show full abstract

Unsupervised clustering of SAE latents reveals interpretable structure aligned with route intent, vehicle speed, and braking behavior, recovering route intent with 98.3% accuracy without supervision. Through paired counterfactual image edits, we further show that specific SAE features are visually grounded and systematically respond to scene changes such as traffic light state and stop sign presence. Steering individual SAE latents produces predictable, monotonic changes in planner outputs including lateral displacement, curvature, and braking. Finally, we demonstrate a practical application of these representations: we build a lightweight adapter trained on SAE latents that reduces trajectory selection error by 3.44%, outperforming an equivalent adapter that omits SAE latents, confirming that the sparse representation captures useful information for interpretability. Code and visualizations are available at https://mgagvani.github.io/mechanistic-interpretability-for-e2e-driving/

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gagvani2026mechanistic,
  title  = {Mechanistic Interpretability for End-to-End Self-Driving},
  author = {Manav Gagvani and Benjamin Namikas and Sivamurugan Velmurugan and Nysa Kumar and Shrey Sharma and Thomas Peterson and Pratyush Mathur and Hyunseo Chang and Rohan Paleja},
  year   = {2026},
  eprint = {2610.41185},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.41185v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.41185.svg)](https://codeofpaper.com/paper/2610.41185)

Discussion