code-merge-eval
CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving — Yang et al. (2025) (arXiv:2505.16524, 2025)
What this evaluates
Evaluates a model's ability to perform test-time adaptation (TTA) for 3D object detection and autonomous driving tasks under domain shifts and sensor corruptions. It probes robustness to environmental changes (weather, lighting) and hardware failures without full retraining.
Datasets
- KITTI — total ?; splits: test (-1)
- KITTI-C — total ?; splits: test (-1)
- Waymo — total ?; splits: test (-1)
- nuScenes — total ?; splits: train (-1), val (-1)
- nuScenes-C — total ?; splits: val (-1)
Metrics
NDS (primary) — range: [0, 1]
- NuScenes Detection Score, a weighted average of detection (mAP, mATE, mASE, mAOE, mAVE, mAAE) and tracking (AMOTA, AMOTP, Recall) metrics. Higher is better.
mAP — range: [0, 1]
- Mean Average Precision across object classes, computed using standard IoU thresholds. Higher is better.
AP_3D / AP_BEV — range: [0, 1]
- Average Precision for 3D bounding boxes and Bird's Eye View projections, reported at moderate difficulty. Higher is better.
AMOTA — range: [0, 1]
- Average Multi-Object Tracking Accuracy, measuring identity-consistent tracking performance. Higher is better.
Input / output format
Input: Raw sensor data (LiDAR point clouds and/or camera images) representing autonomous driving scenes.
Output: Predicted 3D bounding boxes, tracking IDs, and downstream task outputs (online mapping, motion prediction, trajectory planning).
Scoring recipe
def evaluate(preds, gold):
det_scores = compute_coco_ap(preds, gold) # mAP, mATE, mASE, mAOE, mAVE, mAAE
track_scores = compute_tracking_metrics(preds, gold) # AMOTA, AMOTP, Recall
nds = weighted_average(det_scores, track_scores)
return nds
# For corruptions: evaluate at highest severity level.
# For cross-dataset shifts: report AP_3D/AP_BEV and Closed Gap % relative to Oracle & No Adaptation.
Common pitfalls
- Evaluating on different corruption severity levels than the paper's specified 'highest severity'.
- Confusing AP_3D (3D bounding box precision) with AP_BEV (Bird's Eye View projection precision).
- Reporting 'Closed Gap' without normalizing against the Oracle and No Adaptation baselines as defined in the cross-dataset setup.
Evidence (verbatim from paper)
Table 1 shows CodeMerge consistently outperforms all baselines, including No Adapt, Tent, and the state-of-the-art MOS in averaged results. In 3D detection, we boost mAP by 33.6% over no adaptation (0.1747 → 0.2334) and by 13.3% over MOS. CodeMerge also reduces mASE by 4.4% relative to MOS, and lower mAVE by 19%.
Citation
@misc{yang2025codemerge,
title={CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving},
author={Yang et al. (2025)},
year={2025},
note={arXiv:2505.16524}
}
1---2name: code-merge-eval3description: Evaluates a model's ability to perform test-time adaptation (TTA) for 3D object detection and autonomous driving tasks under domain shifts and sensor corruptions. It probes robustness to environmental changes (weather, lighting) and hardware failures without full retraining. Use when the user wants to benchmark on KITTI, KITTI-C, Waymo, nuScenes, nuScenes-C, or asks about evaluating this task. Reports NDS.4---56# code-merge-eval78> CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving — Yang et al. (2025) (arXiv:2505.16524, 2025)910## What this evaluates1112Evaluates a model's ability to perform test-time adaptation (TTA) for 3D object detection and autonomous driving tasks under domain shifts and sensor corruptions. It probes robustness to environmental changes (weather, lighting) and hardware failures without full retraining.1314## Datasets1516- **KITTI** — total ?; splits: test (-1)17- **KITTI-C** — total ?; splits: test (-1)18- **Waymo** — total ?; splits: test (-1)19- **nuScenes** — total ?; splits: train (-1), val (-1)20- **nuScenes-C** — total ?; splits: val (-1)2122## Metrics2324- `NDS` **(primary)** — range: [0, 1]25 - NuScenes Detection Score, a weighted average of detection (mAP, mATE, mASE, mAOE, mAVE, mAAE) and tracking (AMOTA, AMOTP, Recall) metrics. Higher is better.26- `mAP` — range: [0, 1]27 - Mean Average Precision across object classes, computed using standard IoU thresholds. Higher is better.28- `AP_3D / AP_BEV` — range: [0, 1]29 - Average Precision for 3D bounding boxes and Bird's Eye View projections, reported at moderate difficulty. Higher is better.30- `AMOTA` — range: [0, 1]31 - Average Multi-Object Tracking Accuracy, measuring identity-consistent tracking performance. Higher is better.3233## Input / output format3435**Input**: Raw sensor data (LiDAR point clouds and/or camera images) representing autonomous driving scenes.3637**Output**: Predicted 3D bounding boxes, tracking IDs, and downstream task outputs (online mapping, motion prediction, trajectory planning).3839## Scoring recipe4041```python42def evaluate(preds, gold):43 det_scores = compute_coco_ap(preds, gold) # mAP, mATE, mASE, mAOE, mAVE, mAAE44 track_scores = compute_tracking_metrics(preds, gold) # AMOTA, AMOTP, Recall45 nds = weighted_average(det_scores, track_scores)46 return nds4748# For corruptions: evaluate at highest severity level.49# For cross-dataset shifts: report AP_3D/AP_BEV and Closed Gap % relative to Oracle & No Adaptation.50```5152## Common pitfalls5354- Evaluating on different corruption severity levels than the paper's specified 'highest severity'.55- Confusing AP_3D (3D bounding box precision) with AP_BEV (Bird's Eye View projection precision).56- Reporting 'Closed Gap' without normalizing against the Oracle and No Adaptation baselines as defined in the cross-dataset setup.5758## Evidence (verbatim from paper)5960> Table 1 shows CodeMerge consistently outperforms all baselines, including No Adapt, Tent, and the state-of-the-art MOS in averaged results. In 3D detection, we boost mAP by 33.6% over no adaptation (0.1747 → 0.2334) and by 13.3% over MOS. CodeMerge also reduces mASE by 4.4% relative to MOS, and lower mAVE by 19%.6162## Citation6364```bibtex65@misc{yang2025codemerge,66 title={CodeMerge: Codebook-Guided Model Merging for Robust Test-Time Adaptation in Autonomous Driving},67 author={Yang et al. (2025)},68 year={2025},69 note={arXiv:2505.16524}70}71```7273- arXiv: 2505.16524