Manuscript Offprint

arXiv:2610.41185

Mechanistic Interpretability for End-to-End Self-Driving

Manav Gagvani, Benjamin Namikas, Sivamurugan Velmurugan, Nysa Kumar, Shrey Sharma, Thomas Peterson, Pratyush Mathur, Hyunseo Chang, Rohan Paleja

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Manav Gagvani¹, Benjamin Namikas², Sivamurugan Velmurugan², Nysa Kumar², Shrey Sharma², Thomas Peterson², Pratyush Mathur², Hyunseo Chang², Rohan Paleja²

¹Department of Electrical & Computer Engineering, Purdue University

²Department of Computer Science, Purdue University

{mgagvani, bnamikas, svelmuru, kumar753, shar1159, peter922, mathur91, chang899, rpaleja}@purdue.edu

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. 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/.

Keywords: End-to-end driving, Mechanistic interpretability

1 Introduction

Road safety remains one of the most urgent motivations for autonomous driving research. Each year, road traffic kills approximately 1.2 million people worldwide, making autonomous vehicles both a research and public health problem [1, 2]. Companies such as Wayve are deploying learned end-to-end (E2E) autonomy models on public streets [3, 4], but as E2E autonomous driving systems transition from simulation to deployment in the real world, post-deployment safety through observability and understanding of model behavior becomes increasingly important.

Over the past decade, the field of autonomous driving (AD) has shifted from modular pipelines with handcrafted perception, planning, and control modules, to end-to-end models that directly learn from data to map raw sensor data and ego state into driving decisions [5, 6]. Despite advancements in the application of Vision-Language-Action (VLA) models for autonomous driving [7, 8, 9], the black-box nature of E2E models diminishes trust and restricts practical applications due to limited safety bounds and understanding of model behavior in diverse or out-of-distribution scenarios. To address this shortcoming, some E2E methods produce intermediate outputs such as bird's-eye-view occupancy or motion prediction [10, 11], providing clues as to a model's understanding of a scene but little insight within the exact inner workings of the network.

10th Conference on Robot Learning (CoRL 2026), Austin TX, USA.

To better understand E2E models, we leverage techniques from mechanistic interpretability [12, 13]. Specifically, we apply Sparse Autoencoders (SAEs), an unsupervised learning technique that disentangles polysemantic representations by projecting them into a sparse latent space. This technique has been used to find highly interpretable features in LLMs [14] and visuomotor VLA policies [15, 16]. To our knowledge, we are the first to apply these techniques to E2E driving policies.

Our contributions are as follows:

  1. An elegant, high-performance end-to-end planning module using trajectory scoring, without any intermediate labeled representations or large language modeling backbones, that achieves competitive open-loop planning performance on the Waymo Open Dataset's E2E driving benchmark [17].

  2. We show that trained SAE features organize into interpretable clusters aligned with route intent and kinematic behavior, and that these features respond systematically to counterfactual visual changes in driving scenes.

  3. We show that SAE latents are useful representations for model steering and improvement. Latent steering produces structured changes in planner behavior consistent with clustering and image edit analyses, and using SAE latents as inputs to an adapter subnetwork improves model performance over the original dense query activation.

References (40)