CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving
On the map: End-to-end autonomous driving → End-to-end system architecture
Abstract (arXiv)
Maintaining robust 3D perception under dynamic and unpredictable test-time conditions remains a critical challenge for autonomous driving systems. Existing test-time adaptation (TTA) methods often fail in high-variance tasks like 3D object detection due to unstable optimization and sharp minima. While recent model merging strategies based on linear mode connectivity (LMC) offer improved stability by interpolating between fine-tuned checkpoints, they are computationally expensive, requiring repeated checkpoint access and multiple forward passes. In this paper, we introduce CodeMerge, a lightweight and scalable model merging framework that bypasses these limitations by operating in a compact latent space. Instead of loading full models, CodeMerge represents each checkpoint with a low-dimensional fingerprint derived from the source model's penultimate features and constructs a key-value codebook. We compute merging coefficients using ridge leverage scores on these fingerprints, enabling efficient model composition without compromising adaptation quality. Our method achieves strong performance across challenging benchmarks, improving end-to-end 3D detection 14.9% NDS on nuScenes-C and LiDAR-based detection by over 7.6% mAP on nuScenes-to-KITTI, while benefiting downstream tasks such as online mapping, motion prediction and planning even without training. Code and pretrained models are released in the supplementary material.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in End-to-end system architecture, one of 9 directions in End-to-end autonomous driving. Builds on 55 of its 66 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
55 of 66 references.
Closest ancestors · 2
Same direction, newest first
- 2025Don't Shake the Wheel: Momentum-Aware Planning in End-to-End Autonomous Driving5 Mar
- 2024SparseDrive: End-to-End Autonomous Driving via Sparse Scene Representation30 May
Other references · 53
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2019nuScenes: A multimodal dataset for autonomous drivingcited by 4,523
- 2019Scalability in Perception for Autonomous Driving: Waymo Open Datasetcited by 2,451
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2014Spatial Pyramid Pooling in Deep Convolutional Networks for Visual Recognitioncited by 720
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
- 2023VAD: Vectorized Scene Representation for Efficient Autonomous Drivingcited by 622
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
38 more
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 415
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 377
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2024DiffusionDrive: Truncated Diffusion Model for End-to-End Autonomous Drivingcited by 334
- 2022Contrastive Test-Time Adaptationcited by 261
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 189
- 2021ST3D: Self-training for Unsupervised Domain Adaptation on 3D Object Detectioncited by 159
- 2020Train in Germany, Test in The USA: Making 3D Object Detectors Generalizecited by 151
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2021Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain Generalizationcited by 144
- 2024Efficient Test-Time Adaptation of Vision-Language Modelscited by 141
- 2021The Norm Must Go On: Dynamic Unsupervised Domain Adaptation by Normalizationcited by 131
- 2023Robo3D: Towards Robust and Reliable 3D Perception against Corruptionscited by 129
- 2023DSVT: Dynamic Sparse Voxel Transformer with Rotated Setscited by 122
- 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
- 2023Model Merging by Uncertainty-Based Gradient Matchingcited by 77
- 2024Test-Time Model Adaptation with Only Forward Passescited by 74
- 2023DELTA: degradation-free fully test-time adaptationcited by 72
- 2023SoTTA: Robust Test-Time Adaptation on Noisy Data Streamscited by 63
- 2021ST3D++: Denoised Self-training for Unsupervised Domain Adaptation on 3D Object Detectioncited by 57
- 2023In Search of Lost Online Test-time Adaptation: A Surveycited by 44
- 2023Feature Alignment and Uniformity for Test Time Adaptationcited by 42
- 2024Benchmarking and Improving Bird's Eye View Perception Robustness in Autonomous Drivingcited by 41
- 2022Towards Online Domain Adaptive Object Detectioncited by 36
- 2023Revisiting Domain-Adaptive 3D Object Detection by Reliable, Diverse and Class-balanced Pseudo-Labelingcited by 28
- 2023Exploring Active 3D Object Detection from a Generalization Perspectivecited by 26
- 2022Source-Free Progressive Graph Learning for Open-Set Domain Adaptationcited by 25
- 2022CAFA: Class-Aware Feature Alignment for Test-Time Adaptationcited by 21
- 2016S3Pool: Pooling with Stochastic Spatial Samplingcited by 17
- 2023Addressing Parameter Choice Issues in Unsupervised Domain Adaptation by Aggregationcited by 15
- 2023Rethinking Precision of Pseudo Label: Test-Time Adaptation via Complementary Learningcited by 14
- 2024Backpropagation-free Network for 3D Test-time Adaptationcited by 14
- 2024GDA: Generalized Diffusion for Robust Test-time Adaptationcited by 14
- 2023KECOR: Kernel Coding Rate Maximization for Active 3D Object Detectioncited by 13
- 2024CloudFixer: Test-Time Adaptation for 3D Point Clouds via Diffusion-Guided Geometric Transformationcited by 11
- 2024PCoTTA: Continual Test-Time Adaptation for Multi-Task Point Cloud Understandingcited by 11
- 2023LMC: Large Model Collaboration with Cross-assessment for Training-Free Open-Set Object Recognitioncited by 10
- 2024MOS: Model Synergy for Test-Time Adaptation on LiDAR-Based 3D Object Detectioncited by 7
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Fail2Drive: Benchmarking Closed-Loop Driving Generalization
- 2025Compressing Multi-Task Model for Autonomous Driving via Pruning and Knowledge Distillation
- 2025DriveFlow: Rectified Flow Adaptation for Robust 3D Object Detection in Autonomous Driving
- 2026A Stitch in Time Saves Nine: Preserving Policy Compatibility Under Perception Updates in End-to-End Autonomous Driving
- 2026DriveVer: Lightweight Trajectory Evaluator as Test-Time Verifier for Autonomous Driving
- 2025WinMamba: Multi-Scale Shifted Windows in State Space Model for 3D Object Detection
- 2023Unsupervised Domain Adaptation for Self-Driving from Past Traversal Features
- 2024A Comprehensive Review of 3D Object Detection in Autonomous Driving: Technological Advances and Future Directions