AMap: Distilling Future Priors for Ahead-Aware Online HD Map Construction

Ruikai Li, Xinrun Li, Mengwei Xie, Hao Shan, Shoumeng Qiu, Xinyuan Chang, Yizhe Fan, Feng Xiong, Han Jiang, Yilong Ren, Haiyang Yu, Mu Xu, Yang Long, Varun Ojha, Zhiyong Cui

Abstract

Online High-Definition (HD) map construction is pivotal for autonomous driving. While recent approaches leverage historical temporal fusion to improve performance, we identify a critical safety flaw in this paradigm: it is inherently "spatially backward-looking." These methods predominantly enhance map reconstruction in traversed areas, offering minimal improvement for the unseen road ahead. Crucially, our analysis of downstream planning tasks reveals a severe asymmetry: while rearward perception errors are often tolerable, inaccuracies in the forward region directly precipitate hazardous driving maneuvers. To bridge this safety gap, we propose AMap, a novel framework for Ahead-aware online HD Mapping. We pioneer a "distill-from-future" paradigm, where a teacher model with privileged access to future temporal contexts guides a lightweight student model restricted to the current frame. This process implicitly compresses prospective knowledge into the student model, endowing it with "look-ahead" capabilities at zero inference-time cost. Technically, we introduce a Multi-Level BEV Distillation strategy with spatial masking and an Asymmetric Query Adaptation module to effectively transfer future-aware representations to the student's static queries. Extensive experiments on the nuScenes and Argoverse 2 benchmark demonstrate that AMap significantly enhances current-frame perception. Most notably, it outperforms state-of-the-art temporal models in critical forward regions while maintaining the efficiency of single current frame inference.

Introduction: The "Backward-Looking" Bias in HD Mapping

High-Definition (HD) maps provide essential semantic data about lanes, boundaries, and crossings for autonomous vehicles. Recent shifts toward online HD map construction utilize onboard sensors and temporal fusion—incorporating data from previous frames—to improve accuracy. However, this paradigm suffers from a critical "spatially backward-looking" bias. Existing models excel at reconstructing roads already traversed but offer minimal improvement for the unseen road ahead.

Performance bias in current methods and the proposed ahead-aware shift.

From a planning perspective, this asymmetry is dangerous. While rear-view errors are often tolerable, missing a lane divider or crossing 20 meters ahead can lead to catastrophic maneuvers. Directional masking experiments confirm that downstream planning tasks are highly sensitive to forward-map quality but nearly indifferent to rear-map quality.

Methods: Distilling from the Future

AMap addresses this gap by shifting the focus from the past to the future using a "distill-from-future" strategy. This framework allows a lightweight model to gain "look-ahead" capabilities without seeing future frames during deployment.

The AMap framework: A future-aware teacher distilling knowledge into a current-frame student.
  1. Teacher-Student Paradigm: During training, a powerful "Teacher" model is granted privileged access to future temporal frames. A lightweight "Student" model is restricted to the current frame.
  2. Knowledge Distillation: The Student mimics the Teacher’s high-fidelity representations, implicitly compressing prospective knowledge into its weights.
  3. Multi-Level BEV Distillation: Ground-truth-guided spatial masking forces the model to focus on distilling features related to critical map elements in the Bird’s Eye View (BEV) space, avoiding background noise.
  4. Asymmetric Query Adaptation: A matching-based strategy using the Hungarian algorithm aligns and transfers knowledge between the Teacher's future-informed queries and the Student's current-frame queries.

Key Results and Insights

AMap was evaluated on industry-standard benchmarks, nuScenes and Argoverse 2, using new metrics: Ahead-mAP (A-mAP) and Rear-mAP (R-mAP) to specifically quantify forward-facing performance.

  • Superior Forward Perception: On nuScenes, AMap (ResNet-18) achieved a 66.28 A-mAP, outperforming the baseline MapTracker (64.63) and rivaling heavier temporal models.
  • Efficiency: AMap maintains a high inference speed of 31.5 FPS, identical to single-frame baselines, as future-aware components are only used during training.
  • Versatility: Integrated into the MapTR framework, AMap boosted forward-region mAP by 14.95 points, demonstrating its effectiveness across architectures.

The core insight is that for static environment perception, future frames provide a more potent supervisory signal than historical ones, as they contain the "ground truth" for what the vehicle is currently approaching.

Conclusion

AMap effectively bridges the forward-perception gap in online HD mapping at zero additional inference cost. While the student's performance is currently capped by the teacher's quality, future work may extend this "distill-from-future" logic to dynamic objects or cross-modal distillation (e.g., LiDAR to camera) to further enhance autonomous "look-ahead" capabilities.

Summary updated

Abstract

Online High-Definition (HD) map construction is pivotal for autonomous driving. While recent approaches leverage historical temporal fusion to improve performance, we identify a critical safety flaw in this paradigm: it is inherently ``spatially backward-looking." These methods predominantly enhance map reconstruction in traversed areas, offering minimal improvement for the unseen road ahead. Crucially, our analysis of downstream planning tasks reveals a severe asymmetry: while rearward perception errors are often tolerable, inaccuracies in the forward region directly precipitate hazardous driving maneuvers. To bridge this safety gap, we propose AMap, a novel framework for Ahead-aware online HD Mapping. We pioneer a ``distill-from-future" paradigm, where a teacher model with privileged access to future temporal contexts guides a lightweight student model restricted to the current frame. This process implicitly compresses prospective knowledge into the student model, endowing it with ``look-ahead" capabilities at zero inference-time cost. Technically, we introduce a Multi-Level BEV Distillation strategy with spatial masking and an Asymmetric Query Adaptation module to effectively transfer future-aware representations to the student's static queries. Extensive experiments on the nuScenes and Argoverse 2 benchmark demonstrate that AMap significantly enhances current-frame perception. Most notably, it outperforms state-of-the-art temporal models in critical forward regions while maintaining the efficiency of single current frame inference.
BibTeX
@inproceedings{li2026amap,
  author = {Ruikai Li and Xinrun Li and Mengwei Xie and Hao Shan and Shoumeng Qiu and Xinyuan Chang and Yizhe Fan and Feng Xiong and Han Jiang and Yilong Ren and Haiyang Yu and Mu Xu and Yang Long and Varun Ojha and Zhiyong Cui},
  title = {{AMap: Distilling Future Priors for Ahead-Aware Online HD Map Construction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=TKLOpaHcj7},
}
Figure