Manuscript Offprint

arXiv:2610.25284

Learning Lane-Structured Conditioning Fields for Online HD Mapping

Andrea Bertogalli, Anthony Dell'Eva, Marcello Ceresini, Federico Pirazzoli, Lorenzo Cipelli, Filippo D'Addeo, Nicola Marinello, Massimo Bertozzi

Abstract

High-definition maps provide critical structural information for downstream autonomous driving tasks. Recent methods increasingly rely on external priors to improve prediction accuracy and robustness. Yet, existing prior representations expose a trade-off: dense rasters are easy to integrate but ignore certain map geometric properties, while sparse vectors preserve geometric structure but require dedicated encoders and are difficult to plug into existing architectures. Moreover, external priors can be inaccurate, costly to acquire, or difficult to maintain, motivating a structural representation that can provide geometric guidance while remaining learnable and broadly applicable. We address this limitation with the Lane Field, a dense BEV-aligned geometric representation that encodes local lane structure at each spatial location and can be either predicted from onboard observations or constructed from external map priors. Building on this representation, we introduce a plug-and-play framework that enhances online HD mapping through two complementary mechanisms: BEV feature modulation, which injects lane-structured cues into latent BEV features, and deformable attention guidance, which steers query sampling toward the underlying lane geometry. We primarily evaluate our method on OpenLane-V2, showing that conditioning BEV features and guiding deformable attention with local lane geometry enables our framework to consistently improve existing methods and achieve state-of-the-art performance on lane segment perception. Project page: https://andberto.github.io/LaneField/

1. Introduction

Understanding road structure is a fundamental requirement for autonomous driving. High-definition (HD) maps capture this structure through precise vectorized representations of key map elements, such as centerlines, lane dividers, road boundaries, and pedestrian crossings [2, 23,

Figure

Figure 1. Comparison between classical map representations commonly used as additional supervision or external priors and our proposed representation, the Lane Field. Our method elegantly combines the geometric meaning of vectorized representations with a dense BEV-aligned spatial structure.

37]. Beyond geometry alone, modern HD map formulations also encode relational information, including lane connectivity and associations between traffic lights, traffic signs, and the lanes they regulate [17, 35]. This has motivated recent methods to move beyond isolated map elements toward lane segment perception and topology reasoning, providing a more complete and structured road scene representation. These geometric and relational cues provide essential context for downstream tasks such as motion planning.

Recent advances in deep learning, onboard sensing and hardware acceleration have shifted HD map construction from an offline process toward online HD mapping [30], where map elements are inferred directly from onboard observations in real time. Early approaches formulated online HD mapping as a BEV semantic segmentation problem [16, 34]. However, rasterized representations do not explicitly model instances and tend to discard the structured geometry of map elements, which carries rich information about road layout and spatial relationships. Recent vectorized HD mapping methods address this limitation by decoding map elements directly as geometric primitives, such as

†^{\dagger}Corresponding author: andrea.bertogalli@unipr.it polylines, often through DETR-style query-based architectures [3, 22, 23, 25]. While this paradigm better preserves geometric coherence, its query-based decoding process involves only a limited subset of the dense BEV feature grid when predicting map elements. As a result, the BEV representation is supervised only through sparse query interactions, which can weaken its spatial structure and make it harder to capture fine-grained geometric cues.

Therefore, we argue that an intermediate geometric support representation can help bridge this gap by preserving lane structure while providing dense, spatially aligned guidance over the BEV feature grid. To this end, we introduce the Lane Field (LF), a dense geometric representation defined on the BEV grid, shown in Figure 1. It encodes local unoriented lane direction at each spatial location, converting sparse vector map geometry into a spatially dense signal that can support BEV-based decoding. We demonstrate its versatility by formulating LF prediction as an auxiliary supervised task, using ground truth data generated analytically from vectorized maps. We further integrate the LF into existing architectures through two plug-and-play enhancements: a BEV feature modulation block and a deformable attention guidance mechanism. In contrast to a simple rasterized approach, the LF makes these two integrations possible within a single representation, since it provides both dense BEV-aligned cues for feature conditioning and explicit geometric information for attention guidance. In summary, the main contributions of this paper are:

• We introduce the Lane Field, a dense BEV-aligned representation that encodes lane geometry at each spatial location. We provide a novel analytic geometric construction to derive ground truth fields from vector map annotations, enabling direct supervision within modern mapping pipelines.

• We propose a plug-and-play BEV feature conditioning module that uses the Lane Field to inject lane-structured geometric cues into latent BEV features for downstream map decoding.

• We introduce a plug-and-play deformable attention guidance mechanism that exploits the Lane Field to condition the sampling locations, steering the decoder toward meaningful regions.

References (8)