Organizations: The Hong Kong Polytechnic University · Afari Intelligent Drive · Shanghai Jiao Tong University · Tongji University · Communication University of China · Beijing Institute of Technology · Tsinghua University
End-to-end autonomous driving increasingly relies on Transformer architectures, yet their growing parameter count and inference cost remain major obstacles to real-time deployment. We investigate whether looped Transformers, which reuse a small set of blocks across computation steps, can reduce model size and inference cost without sacrificing driving performance. Taking a strong Transformer-based driving architecture as our testbed, we systematically introduce looping into its perception, trajectory generation, and trajectory scoring modules. We find that looping is effective for perception and trajectory generation, reducing model size and computation while retaining competitive driving performance. Surprisingly, the same strategy does not help the trajectory scorer and slightly lowers driving performance. This asymmetry may reflect the nature of the underlying computation: perception and trajectory generation iteratively refine representations, whereas scoring involves several different judgments that a single shared block may not serve equally well. We further find that directly adapting a pretrained vision backbone to a looped architecture yields worse driving performance than distilling it first. We therefore adopt a two-stage training strategy: first distilling pretrained DINOv2 features into the looped encoder, then adapting it to driving with lightweight LoRA parameters while keeping the distilled backbone frozen. Together, these findings lead to LoopDrive, a compact end-to-end driving architecture with selectively looped Transformers that achieves a better model-size-compute-performance trade-off. Beyond model compression, our study reveals that the benefit of looping depends on each module's computational role, providing a practical principle for designing compact autonomous driving models.
Figures & tables
Figure 2: Overview of LoopDrive. LoopDrive loops DrivoR’s perception encoder and trajectory decoder. Left: the full pipeline. In the top row, patch tokens from each camera image and the corresponding camera registers pass through five blocks distilled from a pretrained ViT. All five blocks are adapted with LoRA, with their distilled weights kept frozen. The first and last blocks are applied once, while the middle three are applied repeatedly. The registers are then projected into the scene tokens S . In the bottom row, the ego status is added to the trajectory queries to form z0 . One decoder block, applied Ktraj times, refines them with S as keys and values and decodes them into candidate trajectories. The scorer scores the detached candidates, and the highest-scoring one is executed. Right: one loop step inside a looped block. The top row shows encoder Blocks 2–4, and the bottom row shows the decoder block. The loop steps split [0,1] into consecutive intervals. At step k , every sub-layer output and the block output are scaled channel-wise by α , computed from its interval (tk,tk+1) .
Figure 3: Choosing and distilling the looped encoder. Left: looped structures, each distilled from DINOv2 ViT-S for one ImageNet epoch with the same recipe. Bars on the left show the ViT layers covered by each block; a block covering n layers is looped n times, and grey blocks are applied once. ImageNet linear probe: top-1 accuracy of a linear classifier trained on 100 images per class (dashed line: teacher under the same protocol). Right: our structure after full distillation, at different encoder loop counts (GFLOPs per sample of the encoder alone, without driving LoRA, below each count), probed frozen at the camera resolution with a linear classifier trained on the full ImageNet training set and a linear segmentation head on ADE20k; the star and dashed line mark the teacher (12 layers, 340 GFLOPs). R2 : token-wise R2 of the final patch tokens with respect to the teacher on navval scenes.
Method
Params
GFLOPs
NC
DAC
TTC
Comf.
EP
PDMS
PDM-Closed
[ 31 ]
CoRL’23
–
–
94.6
99.8
89.9
86.9
99.9
89.1
Human driver
[ 32 ]
NeurIPS’24
–
–
100
100
100
99.9
87.5
94.8
RAP-DINO ∗
[ 37 ]
ICLR’26
888M
4760
99.1
98.9
96.7
100
90.3
93.8
UniAD
[ 48 ]
CVPR’23
112M
8193 †
97.8
91.9
92.9
100
78.8
83.4
LTF
[ 26 ]
TPAMI’23
56M
27 †
97.4
92.8
92.4
100
79.0
83.8
MeanFuser
[ 126 ]
CVPR’26
55M
27 †
98.6
97.0
95.0
100
82.8
89.0
Table 1: NAVSIM-v1 on the test set ( navtest ). Params and GFLOPs are from the cited papers or DrivoR [ 60 ] , or measured by us with the official code and input resolution; † marks GFLOPs measured by us. GFLOPs per sample count one multiply-add as one FLOP and exclude attention matrices [ 60 ] . Sub-scores for each training set and comparisons with additional methods are provided in Appendix G .
RC
HD-Score
Method
E
M
H
X
Avg.
E
M
H
X
Avg.
VAD (R50)
[ 56 ]
51.3
31.1
25.3
26.5
31.4
36.3
0 9.5
0 8.0
11.5
13.4
LTF (R34)
[ 26 ]
67.8
35.1
26.2
40.5
38.9
58.9
18.0
0 9.8
25.9
23.7
UniAD (R101)
[ 48 ]
78.4
60.5
33.6
17.8
45.9
64.9
45.8
20.6
0 6.6
32.7
DrivoR (ViT-S)
[ 60 ]
80.9
50.5
33.8
47.1
49.8
73.3
34.6
18.8
32.5
35.7
LoopDrive (looped ViT-S)
83.6
53.3
35.7
45.5
51.3
76.3
38.6
19.8
30.4
37.3
Table 2: Closed-loop evaluation on HUGSIM [ 156 ] . Zero-shot generalization of LoopDrive trained on NAVSIM-v1 trainval. Scores are per-difficulty and average route completion (RC) and HD-Score. Bold and underlined values denote the highest and second-highest scores in each column, respectively.
Stage 1
Stage 2
Extra data
Method
Params
GFLOPs
NC
DAC
DDC
TLC
EP
TTC
LK
HC
EC
NC
DAC
DDC
TLC
EP
TTC
LK
HC
EC
EPDMS
LTF (R34)
[ 26 ]
TPAMI’23
56M
27 †
96.2
79.5
99.1
99.5
84.1
95.1
94.2
97.5
79.1
77.7
70.2
84.2
98.0
85.1
75.6
45.4
95.7
75.9
25.1
GTRS-D (V2-99)
[ 74 ]
arXiv’25
81M
404
98.9
96.2
99.4
99.3
72.9
98.9
95.1
96.9
39.1
91.2
89.4
94.4
98.8
69.5
90.0
54.3
94.0
48.7
45.0
GTRS-A (V2-99)
[ 74 ]
arXiv’25
171M
439
98.9
95.1
99.1
99.6
76.2
99.1
94.9
97.6
54.2
88.1
88.8
89.3
98.9
98.9
85.9
53.7
96.8
56.9
45.4
ZTRS (V2-99)
[ 76 ]
ECCV’26
81M
840
98.9
97.6
100
100
66.7
98.9
96.2
96.7
44.0
91.1
90.4
95.8
99.0
63.6
89.8
60.4
97.6
66.1
48.1
DrivoR (ViT-S)
[ 60 ]
CVPR’26
41M
350
98.8
95.1
98.9
100
72.6
98.7
94.0
97.6
73.3
90.2
88.4
91.9
98.6
70.0
88.0
50.1
98.5
76.2
48.3
Table 3: NAVSIM-v2 navhard-two-stage , scored with EPDMS after the official metric fix; larger is better. No/Yes indicates training without/with extra data. For overall EPDMS, bold and underlined values denote the best and second-best results within each data group, respectively. Params and GFLOPs are from the cited papers or DrivoR [ 60 ] , or measured by us with the official code and input resolution; † marks GFLOPs measured by us. Further methods are in Appendix H .
Method
Params
Compute
Latency
Peak Mem
PDMS
(M) ↓
(GFLOPs) ↓
(ms) ↓
(MiB) ↓
↑
LTF [ 26 ]
56
27 †
16.3
271
83.8
MeanFuser [ 126 ]
55
27 †
19.9
268
89.0
Drive-JEPA [ 127 ]
311
158 †
84.2
1229
93.7
DrivoR [ 60 ]
41
350
117.8
480
93.7
LoopDrive
21
292
112.5
403
93.8
Table 4: Model efficiency and quality. Parameter count, forward-pass compute, latency, and peak inference memory, measured in fp32 with batch size one on a single PPU. † : GFLOPs measured by us. PDMS is evaluated on NAVSIM-v1 with trainval training.
Figure 4: Loop count versus accuracy. Left: navval PDMS as the number of encoder loops (top, decoder fixed at 8) or decoder loops (bottom, encoder fixed at 10) is varied at test time; the red dot marks the default. Right: the front-camera feature map of the looped encoder (PCA of the patch tokens, with the R2 to the DINOv2 features) and the trajectory (red) against the human trajectory (blue dashed) for three scenes, with the scene PDMS in the corner. “1 loop per block” means 5 total encoder loops.
Encoder
Trajectory
Scorer
Params (M)
PDMS
✓
33
91.0
✓
29
91.0
✓
✓
21
91.5
✓
✓
✓
18
90.9
Table 5: Ablations of LoopDrive on navval (PDMS). Looped encoders use 10 block applications; looped trajectory decoders and scorers use 8.
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
Sub-score
PDMS
EPDMS
Multiplicative penalties
No at-fault collisions (NC)
1
1
Drivable area compliance (DAC)
1
1
Driving direction compliance (DDC)
0
1
Traffic light compliance (TLC)
-
1
Weighted average
Appendix
Table 6: Sub-score weights for PDMS and EPDMS.
Benchmark
NC
DAC
DDC
TTC
EP
Comf.
NAVSIM-v1
1
1
0
5
5
2
NAVSIM-v2
10
13
6
14
15
2
Appendix
Table 7: Inference weights for trajectory selection. LoopDrive and DrivoR use the same weights.
Patch tokens
Scene tokens
Setting
Vehicle
Drivable area
Trajectory
AP ↑
AUC ↑
ADE ↓
Ego inputs only
–
–
2.38
Frozen
0.79
0.93
2.50
Full fine-tuning
0.67
0.92
2.14
LoRA (ours)
0.79
0.94
2.12
Appendix
Table 8: Linear probes after driving training. We report vehicle average precision (AP), drivable-area AUC, and trajectory average displacement error (ADE, in meters). The first row uses only ego velocity and driving command.
Figure 5: Patch features after driving training. Top: PCA of the final front-camera patch tokens, with patch R2 to the DINOv2 teacher. Middle and bottom: vehicle and drivable-area probe maps (ground truth on the left, AUC below).
Scorer
PDMS
Zero
NC
DAC
DDC
TTC
EP
navtrain (training scenes)
Looped
94.9
29
97.3
97.3
95.3
94.6
67.3
Untied
94.8
31
97.1
97.3
94.9
95.3
66.3
navval (unseen scenes)
Looped
90.8
618
94.1
94.9
92.0
90.5
61.2
Untied
91.5
522
94.6
95.1
92.7
91.1
61.2
Appendix
Table 9: Scorer predictions on a shared candidate pool. Looped: one block applied 8 times; untied: 4 independent blocks. Both rate the same 64 LoopDrive candidates per scene. Zero: scenes whose selected trajectory scores zero. NC–TTC: within-scene AUROC; EP: within-scene Spearman correlation (both ×100 ). Comfort is omitted: 99.9% of candidates are comfortable.
Stage 1
Stage 2
Method
Params
GFLOPs
NC
DAC
DDC
TLC
EP
TTC
LK
HC
EC
NC
DAC
DDC
TLC
EP
TTC
LK
HC
EC
EPDMS
Test-time search.
TOAD (on DrivoR, +134k SimScale)
[ 142 ]
arXiv’26
–
–
98.9
98.2
99.4
100
74.6
98.9
94.0
97.6
66.7
93.6
94.0
97.5
98.8
74.1
92.0
57.1
98.0
47.3
56.3
Additional scorer model.
DriveFuture (+GTRS-Dense scorer)
[ 44 ]
arXiv’26
–
–
99.8
99.8
100
99.6
85.7
99.8
98.7
97.6
66.2
90.6
87.5
94.1
99.1
84.6
88.8
58.3
93.5
45.6
55.5
Methods using 10 × more training data.
Appendix
Table 11: NAVSIM-v2 navhard-two-stage , scored with EPDMS after the official metric fix; extending Tab. 3 . Rows of methods whose own papers predate the fix (GTRS, ZTRS, SimScale) use the re-evaluated values reported by DrivoR [ 60 ] . Gray entries are shown for reference; LoopDrive is highlighted. Params and GFLOPs are from the cited papers or DrivoR [ 60 ] , or measured by us with the official code and input resolution; † marks GFLOPs measured by us; one multiply-add counts as one FLOP and attention matrices are excluded; – denotes not reported. ‡ The amount of SimScale data used is not specified in [ 151 ] or its released code.
Figure 6: Hard navval scenes. Candidates are colored by PDMS; the bold line is the scorer’s selection. Every candidate of the untied decoder scores 0, while LoopDrive keeps a few candidates that stay on the road.
LoopDrive
Untied decoder
PDMS per scene, averaged over scenes
Selected candidate
91.5
91.0
Best candidate
97.4
97.6
Mean of top 5
96.3
96.3
Mean of all candidates
78.7
77.9
Zero-score candidates (%)
13.4
14.6
Appendix
Table 12: Candidate pools before the scorer on navval (64 candidates per scene). Both models use the looped encoder and differ only in the trajectory decoder.
NAVSIM-v1
NAVSIM-v2
Version
Kenc
GFLOPs
navtrain
trainval
+65k
+134k
navtrain
+65k
+134k
LoopDrive-S
8
234.9
92.7
93.8
93.9
94.1
48.0
51.1
53.0
LoopDrive
10
292.4
93.0
93.8
94.2
94.4
48.6
52.8
54.0
LoopDrive-L
12
350.0
93.1
94.0
94.4
94.4
48.4
52.6
54.2
LoopDrive-Max
15
436.3
93.1
94.0
94.3
94.4
48.0
53.2
54.5
Appendix
Table 13: Four versions of LoopDrive from one training run. All versions have 21M parameters and use 8 decoder loops; they differ in the number of encoder block applications Kenc . NAVSIM-v1: PDMS on navtest ; NAVSIM-v2: EPDMS on navhard-two-stage .
Looped
Var.
Int.
Epochs
Enc.
Traj.
Scorer
counts
cond.
Encoder
10
20
✓
✓
✓
✓
LoRA
89.8
91.5
✓
✓
✓
LoRA
90.1
91.0
✓
✓
✓
✓
✓
LoRA
89.7
90.9
✓
✓
✓
LoRA
89.9
91.0
✓
✓
✓
LoRA
89.2
90.3
Appendix
Table 14: Longer training on navval (PDMS). Each model is evaluated after 10 and 20 epochs of training. LoopDrive is highlighted; other rows are the variants of Tab. 5 .
Figure 7: Per-epoch navhard-two-stage evaluation with 134k SimScale samples. (a) EPDMS; the star marks the best epoch. (b) Stage-1 score and Stage-2 score with and without the official weights. (c) Relative parameter change and share of Stage-2 weight moved between consecutive epochs; dotted: learning rate.
Stage 1
Stage 2
EPDMS
DrivoR
84.2
64.6
54.6
LoopDrive
85.5
62.6
54.0
EPDMS difference (LoopDrive − DrivoR)
Stage-1 scores
+1.1
Stage-2 scores of the same scenes
0.0
Stage-2 weights
−1.7
Appendix
Table 15: Paired comparison on navhard-two-stage with 134k SimScale samples. Stage 2 is the weighted Stage-2 score. The EPDMS difference is split into three terms that sum to the total.
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.
Fuyang Zhang, Artur Parkhimchyk, Mehdi Esmaeilzadeh +3
Looping in transformer models reuses weights by repeatedly applying the same transformer, or parts of it, making the model deeper without increasing its parameter count. Whether looping is useful depends on which constraint dominates: model size, training compute, or autoregressive inference efficiency. We study these trade-offs jointly in dense decoder-only transformers trained from scratch, varying which parts of the model are looped, how many loops are applied, and how information is passed between loops. Our experiments span models with up to 1B parameters, trained on up to 155B tokens with up to 1.07×1021 FLOPs and 32 loops. We find that looping the full transformer generally gives the strongest quality at a fixed parameter budget, whereas looping a middle block of layers gives a better return when training FLOPs are constrained. Adding loops is not uniformly beneficial: gains eventually saturate, reverse, or become unstable. This motivates asking whether forcing every loop to use the same weights limits the benefit of deeper looping. We address this by adding small loop-specific low-rank adapters that improve quality, with larger gains as more loops are added. Looped transformers also suffer a decoding slowdown proportional to the number of loops. Parallel Loop Transformers address this by passing hidden states between loops across adjacent token positions, allowing loop stages to run concurrently. However, in our experiments the original formulation does not consistently retain the quality gains of ordinary looping. We find that preserving the current-token embedding and separately normalizing it and the previous-token hidden state before combining them recovers strong performance across model scales and training budgets. Together, these results show that effective looping requires matching the design to the resource constraint and inference setting.
End-to-end autonomous driving has gained significant attention for its potential to learn robust behavior in interactive scenarios and scale with data. Popular architectures often build on separate modules for perception and planning connected through latent representations, such as bird's eye view feature grids, to maintain end-to-end differentiability. This paradigm emerged mostly on open-loop datasets, with evaluation focusing not only on driving performance, but also intermediate perception tasks. Unfortunately, architectural advances that excel in open-loop often fail to translate to scalable learning of robust closed-loop driving. In this paper, we systematically re-examine the impact of common architectural patterns on closed-loop performance: (1) high-resolution perceptual representations, (2) disentangled trajectory representations, and (3) generative planning. Crucially, our analysis evaluates the combined impact of these patterns, revealing both unexpected limitations as well as underexplored synergies. Building on these insights, we introduce BevAD, a novel lightweight and highly scalable end-to-end driving architecture. BevAD achieves 72.7% success rate on the Bench2Drive benchmark and demonstrates strong data-scaling behavior using pure imitation learning. Our code and models are publicly available here: https://dmholtz.github.io/bevad/
David Holtz, Niklas Hanselmann, Simon Doll +2
Mercedes-Benz AG · Max-Planck-Institute for Informatics, SIC