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.
Figures & tables
Figure 1: Overview of our perception-guided representation compression method. Top (inference path, shown on a ViT encoder): A gated autoencoder inserted into the image encoder compresses each patch token xi into xi′ in place by subtracting latent channels closed by the gate g , before the policy head reads the output tokens. (a) Semantic-segmentation guidance (patch tokens): Offline segmentation separates driving-relevant classes ( R ) from background ( U , in black) to close background channels ( Lseg_rm ) while preserving relevant semantics ( Lseg_pre ). (b) Object-detection guidance (register tokens): A frozen teacher encodes detected objects, routes, and future trajectories into zt , and a triplet loss ( Ldet ) pulls together register embeddings e of scenes with similar driving conditions (scenes 1–3 and 4–5) while pushing distinct conditions apart. All teachers, heads, and losses are discarded at inference.
Figure 2: Object-detection guidance. Top: the BEV traffic map is unrolled from the Cartesian frame into a 32×32 polar frame only within the field of view of the camera frustum. Middle: its four traffic map channels, the teacher inputs. Bottom: the detection teacher encodes the polar BEV traffic map and the future trajectory into the latent zt and is frozen after pretraining.
Figure 3: Effect of each guidance component. Each bar shows the difference from the base model’s performance, averaged over five seeds (three for all Drive-JEPA variants and for DrivoR with Det. due to computational expenses). Multiplier metrics (Multipliers) are the product of NC, DAC, DDC, and TLC; weighted metrics (Weighted) are the weighted average of EP (5), TTC (5), LK (2), HC (2), and EC (2). Together they form the official NAVSIM EPDMS [ 4 ] ; higher is better for all metrics. Seg.: semantic-segmentation guidance ( Section 3.1 ); Det.: object-detection guidance ( Section 3.2 ).
Figure 4: Navhard scene visualization. Each example shows the front-camera rendering and BEV rollout. Red and green trajectories denote the baseline and our method (Seg. + Det. for DrivoR; Seg. for LTF and DiffusionDrive). 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. In each scene, the baseline collides in at least four of five seeds while our method avoids collision in at least four; one seed is shown with its per-scene EPDMS below.
Multipliers ( × )
Weighted
Method
Inp.
NC ↑
DAC ↑
TTC ↑
Comf. ↑
EP ↑
PDMS ↑
PDM-Closed [ 10 ]
–
94.6
99.8
89.9
86.9
99.9
89.1
Human [ 11 ]
–
100
100
100
99.9
87.5
94.8
TransFuser [ 9 ]
C+L
97.7
92.8
92.8
100
79.2
84.0
DiffusionDrive [ 27 ]
C+L
98.2
96.2
94.7
100
82.2
88.1
Ego-status MLP [ 11 ]
C
93.0
77.3
83.6
100
62.8
65.6
Table 1: NAVSIM-v1 results on navtest . PDMS multiplies the two multiplier metrics (NC, DAC) by the weighted average of the weighted metrics TTC (5), Comf. (2), and EP (5); C: camera, L: LiDAR. Rows above the last block are as reported in [ 19 ] (four cameras). Our rows: last epoch, mean ± std over five seeds.
Figure 5: Scene retrieval on navtest scenes. For each query, we show the three nearest neighbors retrieved using DrivoR’s register tokens before (DrivoR, gray) and after applying our method with both semantic-segmentation and object-detection guidance (DrivoR + Ours, green). Each scene is visualized 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 report teacher cosine similarity ↑ / mean 4 s waypoint distance ↓ . Our method retrieves neighbors with closer driving conditions and future trajectories.
Method
Masking
Where
EPDMS ↑
Heuristic token-masking
Random
Input
39.7
Random
Block 10
45.3
Rule
Input
42.9
Rule
Block 10
45.1
DrivoR
–
–
46.3 (1.0)
DrivoR + Ours (Seg.)
–
–
46.7 (1.4)
Table 2: Comparison with heuristic token-masking baselines on navhard-two-stage using DrivoR as the base model. Rule scales patch tokens by 1−fi using the background pixel fraction fi ; Random zeroes out round(∑ifi) random tokens.
Figure 6: Latent channel selection by the gates. Distribution of the removal score sj ( Equation 3 ) for latent channels removed and retained in DrivoR with semantic-segmentation guidance.
Method
Rank corr. ↑
5-NN sim. ↑
Traj. ↓
Random
–
0.534
8.31 m
DrivoR
0.351
0.787
4.05 m
DrivoR + Ours
0.649
0.812
3.44 m
Table 3: Driving-condition retrieval on 3000 unseen navtest scenes. Features: mean-pooled final-block register tokens for DrivoR; the learned 32-D projection of these tokens for DrivoR + Ours (Seg. + Det.). Rank corr.: Spearman correlation between feature-based and teacher-based scene-pair similarities. 5-NN sim.: mean teacher similarity between each query and its five feature-retrieved neighbors. Traj.: mean 4 s waypoint distance between their future ego trajectories and the query’s. Retrieval excludes scenes from the query’s driving run.
Figure 7: Object-detection guidance: the detection teacher. Top: the BEV traffic map is unrolled from the Cartesian frame into a 32×32 polar frame only within the field of view of the camera frustum. Middle: the traffic map channels, the teacher inputs. Bottom: the detection teacher encodes the polar BEV traffic map and the future trajectory into the latent zt and is frozen after pretraining. Used during training only.
Teacher
EPDMS
Equal-share
46.3
Unweighted
44.9
Objects × 3
45.8
No road
47.7
No teacher (control)
46.3
Table 4: Detection-teacher channel weighting. Navhard EPDMS at the last training epoch of front-camera DrivoR, for each channel weighting of the detection teacher ( Section 6.1 , Figure 7 ). The control is trained on the driving loss only. The best value is in bold.
Inference (batch 1)
Training (batch 64)
Configuration
Params (M)
GFLOPs
Latency (ms)
Memory (GB)
Trainable (M)
Step (s)
Memory (GB)
GPU-h (10 ep.)
DrivoR
40.8
465
34.1
0.25
17.7
4.60
34.3
17.0
+ Seg.
42.0 (+2.9%)
479 (+3.0%)
34.9 (+2.5%)
0.27 (+11%)
18.9 (+6.7%)
4.84 (+5.1%)
44.3 (+29%)
17.9 (+5.1%)
+ Det.
40.8 (+0.0%)
465 (+0.0%)
34.1 (+0.0%)
0.25 (+2.4%)
17.7 (+0.1%)
4.93 (+7.2%)
34.3 (+0.0%)
18.2 (+7.2%)
+ Seg. + Det.
42.0 (+2.9%)
479 (+3.0%)
35.0 (+2.6%)
0.28 (+13%)
18.9 (+6.8%)
4.85 (+5.4%)
44.3 (+29%)
17.9 (+5.4%)
Table 5: Compute overhead of our module on DrivoR. Inference at batch size 1 in fp32 and training at batch size 64 in mixed precision, both on one A100. Parentheses give the overhead relative to the baseline. Training-only modules (segmentation head, detection teacher) are excluded from the inference columns.
Multipliers ( × ), Stage 1 / Stage 2
Weighted, Stage 1 / Stage 2
Base model
Variant
NC ↑
DAC ↑
DDC ↑
TLC ↑
EP ↑
TTC ↑
LK ↑
HC ↑
EC ↑
EPDMS ↑
DrivoR [ 19 ]
Baseline
99.0 / 88.9
94.7 / 87.7
98.8 / 92.1
100.0 / 98.6
73.3 / 67.6
99.0 / 87.0
92.6 / 52.6
97.6 / 98.5
69.8 / 76.7
46.3 (1.0)
Seg.
98.7 / 88.9
94.9 / 87.5
98.9 / 92.9
99.9 / 99.0
73.5 / 68.3
98.8 / 86.9
93.5 / 52.7
97.6 / 98.4
67.2 / 76.7
46.7 (1.4)
Det.
99.0 / 89.5
94.9 / 89.7
99.1 / 92.8
99.9 / 98.7
72.7 / 65.3
98.7 / 87.7
93.8 / 54.1
97.6 / 98.9
67.9 / 77.3
47.7 (0.2) 3
Seg. + Det.
98.9 / 89.0
95.5 / 89.0
99.0 / 92.9
99.7 / 98.7
72.9 / 67.8
98.9 / 86.7
93.7 / 52.4
97.6 / 98.6
68.2 / 75.5
47.3 (2.3)
Drive-JEPA [ 35 ]
Baseline
93.1 / 82.4
93.0 / 84.0
96.3 / 85.4
99.6 / 98.7
74.4 / 51.9
92.3 / 77.1
98.0 / 54.6
97.1 / 93.9
37.8 / 24.5
32.2 (0.4) 3
Table 6: NAVSIM-v2 sub-metrics on navhard-two-stage for the runs of Figure 3 (last epoch, five seeds unless marked). EPDMS is the mean with the standard deviation in parentheses. Cyan and orange mark the highest and second-highest EPDMS within each base model (ranked before rounding). Each sub-metric cell gives Stage 1 (real observations) / Stage 2 (synthetic observations), averaged over the seeds. EPDMS multiplies the four multiplier metrics (NC, DAC, DDC, TLC) by the weighted average of the weighted metrics EP (5), TTC (5), LK (2), HC (2), and EC (2). Top: ViT-based base models. Bottom: ResNet-34 base models. Seg.: semantic-segmentation guidance with the gated autoencoder ( Section 3.1 ). Det.: object-detection guidance ( Section 3.2 ), alone or jointly with it. On Drive-JEPA, Det. acts on 16 added register tokens.
Table 7: NAVSIM-v1 results on navtest for the runs of Figure 3 (last epoch, mean with standard deviation in parentheses over five seeds, three for Drive-JEPA). PDMS multiplies the two multiplier metrics (NC, DAC) by the weighted average of the weighted metrics TTC (5), Comf. (2), and EP (5). Cyan and orange mark the highest and second-highest PDMS within each base model (ranked before rounding). DrivoR is scored with its own NAVSIM-v1 evaluator. The other base models are scored with the NAVSIM-v2 code and the same PDMS formula.
Figure 8: DrivoR on 12 random navhard scenes ( Sec. 11 ), drawn as in Fig. 4 : baseline ( red ) and with our module ( green ; Seg. + Det.). Ours scores higher in 5 and lower in 5 of them; 2 are within 5 EPDMS in the re-run.
Figure 9: LTF on 12 random navhard scenes ( Sec. 11 ), drawn as in Fig. 4 : baseline ( red ) and with our module ( green ; Seg.). Ours scores higher in 9 and lower in 3 of them.
Figure 10: DiffusionDrive on 12 random navhard scenes ( Sec. 11 ), drawn as in Fig. 4 : baseline ( red ) and with our module ( green ; Seg.). Ours scores higher in 6 and lower in 6 of them.
End-to-end driving requires rich spatiotemporal representations to support scene understanding and trajectory planning under strict latency constraints. However, most systems initialize their visual encoders from generic image pretraining and densely process all patch tokens for each camera view and input frame, limiting both representation quality and inference efficiency. To address these challenges, we present ConDenseDrive, a knowledge-dense and token-sparse visual encoder for end-to-end autonomous driving. Our three-stage framework first makes the encoder knowledge-dense by distilling complementary visual, semantic, and geometric knowledge from three vision foundation models. It then adapts the distilled encoder to multi-frame end-to-end driving and integrates spatiotemporal context into register tokens for planning. Finally, it makes the encoder token-sparse by applying register-guided token compression, reducing redundant patch computation and yielding a 2.0× speedup while improving planning performance. ConDenseDrive achieves 94.5 PDMS on NAVSIM v1 and 90.8 EPDMS on NAVSIM v2, and reaches 37.4 HD-Score in zero-shot evaluation on HUGSIM. Extensive experiments and qualitative analyses demonstrate that visual encoder design provides an effective route to reliable and efficient end-to-end driving.
Shengzhen Li, Yongkang Li, Hao Gao +5
Huazhong University of Science and Technology · Yinwang Intelligent Technology Co. Ltd.
Recent perception-free end-to-end (E2E) autonomous driving methods bypass explicit perception outputs by compressing dense image patch tokens into compact scene tokens for downstream trajectory generation and scoring. While these scene tokens form a compact visual bottleneck for the planner, they receive supervision solely from the planning objective, providing limited constraints on the encoded visual information. To address this limitation, we introduce Neural Token Reconstruction (NTR), a representation learning framework to directly constrain the compact scene-token bottleneck in perception-free driving. NTR introduces a self-distillation masked latent reconstruction objective that reconstructs masked patch-level latent features using only compact scene tokens as reconstruction memory. This forces reconstruction gradients to pass exclusively through the scene-token bottleneck, encouraging scene tokens to preserve richer and less redundant visual representations for planning. We further introduce semantic priors derived from foundation-model annotations as a weak semantic interface biasing reconstruction targets toward driving-related structures without introducing explicit perception heads. All auxiliary reconstruction components are removed at inference time, leaving the deployed planner unchanged. NTR achieves state-of-the-art performance on three public autonomous driving benchmarks, including 8.0461 RFS on Waymo E2E and 94.1 PDMS / 90.9 EPDMS on NavSim1&2. The learned scene tokens exhibit lower pairwise redundancy and higher effective rank, indicating that effective bottleneck supervision improves both compact visual representation learning and planning performance.
Jiahui Li, Jiawei Sun, Zixiang Ren +7
National University of Singapore · Black Sesame Technologies
End-to-end autonomous driving increasingly leverages self-supervised video pretraining to learn transferable planning representations. However, pretraining video world models for scene understanding has so far brought only limited improvements. This limitation is compounded by the inherent ambiguity of driving: each scene typically provides only a single human trajectory, making it difficult to learn multimodal behaviors. In this work, we propose Drive-JEPA, a framework that integrates Video Joint-Embedding Predictive Architecture (V-JEPA) with multimodal trajectory distillation for end-to-end driving. First, we adapt V-JEPA for end-to-end driving, pretraining a ViT encoder on large-scale driving videos to produce predictive representations aligned with trajectory planning. Second, we introduce a proposal-centric planner that distills diverse simulator-generated trajectories alongside human trajectories, with a momentum-aware selection mechanism to promote stable and safe behavior. When evaluated on NAVSIM, the V-JEPA representation combined with a simple transformer-based decoder outperforms prior methods by 3 PDMS in the perception-free setting. The complete Drive-JEPA framework achieves 93.3 PDMS on v1 and 87.8 EPDMS on v2, setting a new state-of-the-art.
Linhan Wang, Zichong Yang, Chen Bai +6
Virginia Tech · Purdue University · XPENG Motors +1