Perception Modules Meet End-to-End Driving

Fuyang Zhang1* Artur Parkhimchyk1* Mehdi Esmaeilzadeh1* Eddie Sheung1 Zhengqing Wang1 Yasutaka Furukawa1,2

1Simon Fraser University 2Wayve

*Equal contribution

Abstract

This paper presents a method that bridges modular and end-to-end autonomous driving by using perception modules as training-time teachers to compress visual backbone tokens into compact, driving-focused representations, improving end-to-end driving models without requiring perception at inference. Concretely, we introduce two techniques: 1) semantic-segmentation guidance, which uses a gated autoencoder to remove driving-irrelevant background components from image patch tokens; and 2) object-detection guidance, which pulls together scene-level register tokens across driving scenes that share similar driving conditions in terms of detected objects and planned trajectories. Our methodology is agnostic to the driving model backbone, and we apply our techniques to six end-to-end driving models across ViT and ResNet-34 architectures. Extensive experiments on the NAVSIM benchmarks show that our method consistently improves all six models (+1.4 EPDMS on DrivoR and +1.0 on DiffusionDrive), while keeping inference overhead minimal.

Overview

Method overview: a gated autoencoder inside the image encoder, trained with semantic-segmentation guidance on patch tokens and object-detection guidance on register tokens.
Top (inference path, shown on a ViT encoder): a gated autoencoder inserted into the image encoder compresses each patch token in place by subtracting latent channels closed by the gate, before the policy head reads the output tokens. (a) Semantic-segmentation guidance (patch tokens): offline segmentation separates driving-relevant classes from background to close background channels while preserving relevant semantics. (b) Object-detection guidance (register tokens): a frozen teacher encodes detected objects, routes, and future trajectories, and a triplet loss pulls together register embeddings of scenes with similar driving conditions while pushing distinct conditions apart. All teachers, heads, and losses are discarded at inference.

Semantic-segmentation guidance

A gated autoencoder expands each image patch token into a higher-dimensional latent dictionary and learns a gate, supervised by an offline segmentation teacher, that subtracts background components such as sky, vegetation, and buildings in place while preserving driving-relevant semantics, without dropping tokens.

Object-detection guidance

A contrastive objective pulls together scene-level register tokens of driving scenes that share similar driving conditions, as measured in the latent space of a frozen teacher encoding detected 3D objects along the ego's path, navigation routes, and future waypoints.

Only the gated autoencoder remains at inference: on DrivoR it adds about 3% to the inference FLOPs and latency.

Results on NAVSIM-v2

We add our two guidance components to six end-to-end driving models (two ViT and four ResNet-34) and evaluate them on the challenging navhard-two-stage split of NAVSIM-v2, each against its own baseline trained with the same recipe. Semantic-segmentation guidance improves EPDMS on all six base models. Object-detection guidance on scene register tokens raises EPDMS from 46.3 to 47.7 on DrivoR and from 32.2 to 33.5 on Drive-JEPA.

Navhard two-stage EPDMS ↑ at the last epoch, mean (standard deviation) over five seeds (†three seeds). Best per base model in bold.
Base modelBackboneBaseline+ Seg.+ Det.+ Seg. + Det.
DrivoRViT46.3 (1.0)46.7 (1.4)47.7† (0.2)47.3 (2.3)
Drive-JEPAViT32.2† (0.4)32.5† (1.7)33.5† (1.7)32.7† (1.0)
LTFResNet-3425.6 (0.9)26.0 (1.1)24.6 (0.5)26.0 (0.9)
MeanFuserResNet-3432.5 (1.0)33.0 (1.0)31.8 (1.0)32.8 (0.5)
DiffusionDriveResNet-3428.1 (1.1)29.2 (1.7)27.2 (1.3)28.2 (1.0)
PRIXResNet-3430.6 (2.1)31.0 (1.2)30.5 (1.4)30.7 (1.8)
Per-metric change from each base model's baseline for Det., Seg., and Seg. + Det.
Effect of each guidance component. Each bar shows the difference from the base model's performance on the Stage 1 and Stage 2 multiplier metrics (product of NC, DAC, DDC, and TLC), the weighted metrics (weighted average of EP, TTC, LK, HC, and EC), and EPDMS. Higher is better for all metrics.

On NAVSIM-v1 navtest, which consists mostly of nominal scenes, every variant stays within 0.3 PDMS of its baseline on all base models, so both guidance components largely preserve nominal driving performance.

Navhard scenes

Perturbed-start scenes on DrivoR, LTF, and DiffusionDrive where the baseline collides in at least four of five seeds and our model drives safely in at least four. Each example shows the front-camera rendering and the BEV rollout of the baseline (red) and our method (green); one seed is shown with its per-scene EPDMS below.

DrivoR (Seg. + Det.)
DrivoR scene 1, cameraDrivoR scene 1, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 100
DrivoR scene 2, cameraDrivoR scene 2, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 86
LTF (Seg.)
LTF scene 1, cameraLTF scene 1, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 96
LTF scene 2, cameraLTF scene 2, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 100
DiffusionDrive (Seg.)
DiffusionDrive scene 1, cameraDiffusionDrive scene 1, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 100
DiffusionDrive scene 2, cameraDiffusionDrive scene 2, BEV rollout
Baseline: EPDMS 0 (collision)+ Ours: EPDMS 100

The black rectangle marks the ego's current pose; colored rectangles along each trajectory show its predicted footprint at 1 s intervals. Other agents are shown by their current positions (blue), trajectories (gray), and 4 s positions (dashed), with the agent struck by the baseline highlighted in dark gray at contact.

Driving-condition retrieval

Do scenes with similar register-token features share similar driving conditions? On 3,000 unseen navtest scenes, DrivoR's register tokens often retrieve visually similar scenes with different driving conditions, while with our method they retrieve scenes with more closely matching conditions and future trajectories.

Query
DrivoR (baseline)
DrivoR + Ours (Seg. + Det.)
Query 1, cameraQuery 1, BEV traffic map
query
0.44 / 19.6 m
0.38 / 15.7 m
0.31 / 20.6 m
0.97 / 1.5 m
0.90 / 2.0 m
0.92 / 2.6 m
Query 2, cameraQuery 2, BEV traffic map
query
0.39 / 16.1 m
0.34 / 14.7 m
0.54 / 11.0 m
0.92 / 3.1 m
0.98 / 1.8 m
0.89 / 6.7 m

For each query, the three nearest neighbors retrieved with DrivoR's register tokens before (gray) and after applying our method (green). Each scene is shown by its front-camera image and BEV traffic map (detected objects, navigation route, and the scene's future trajectory in solid black, with the query's future trajectory in dashed red). Numbers: teacher cosine similarity ↑ / mean 4 s waypoint distance ↓.

Over all 3,000 scenes (five nearest neighbors, excluding scenes from the query's drive). Rank corr.: Spearman correlation between feature-based and teacher-based scene-pair similarities.
FeaturesRank corr. ↑Teacher sim. ↑Trajectory distance ↓
Random scenes–0.5348.31 m
DrivoR0.3510.7874.05 m
DrivoR + Ours0.6490.8123.44 m

BibTeX

@article{zhang2026perception,
  title   = {Perception Modules Meet End-to-End Driving},
  author  = {Zhang, Fuyang and Parkhimchyk, Artur and Esmaeilzadeh, Mehdi and
             Sheung, Eddie and Wang, Zhengqing and Furukawa, Yasutaka},
  journal = {arXiv preprint arXiv:2611.38219},
  year    = {2026}
}