Manuscript Offprint
arXiv:2610.25284Learning Lane-Structured Conditioning Fields for Online HD Mapping
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 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
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.
2.1. Bird's-Eye-View Perception
As HD map construction is typically formulated in Bird's-Eye View (BEV), most online HD mapping architectures rely on a perspective-view (PV)-to-BEV encoder to transform image features into a unified BEV representation. Philion and Fidler [34] propose one of the first camera-only approaches to construct dense BEV representations, by lifting image features into 3D frustums and splatting them onto a rasterized BEV grid. BEVFormer [19] introduces a transformer-based BEV encoder that aggregates multi-camera and temporal information into a unified BEV feature representation for downstream tasks. Following this idea, other works enhancing BEV feature construction were proposed. BEVFormerV2 [39] extends BEVFormer with perspective view supervision, providing additional training guidance before BEV feature aggregation. BEVFusion [26] explores the integration of LiDAR information into BEV perception, while SimpleBEV [12] adopts an inverse perspective mapping feature sampling strategy, projecting 2D image features onto predefined BEV anchor point.
2.2. HD Map Construction
Map Element Detection. Early online HD mapping approaches represented map elements as rasterized BEV masks, reducing map construction to dense semantic segmentation followed by vectorization, as in HDMapNet [16]. Later methods directly decoded map elements as geometric primitives: VectorMapNet [25] predicts vectorized polylines, while MapTR and MapTRv2 [22, 23] established DETR-style query-based decoding. Alternative representations, such as PivotNet [6], model map elements through pivot-based point sets. Mask2Map [5] and MGMap [24] leverage learned BEV masks to inject semantic and geometric cues into vector decoding, whereas MapQR [27] enhances point-set queries through scatter-and-gather interactions. Subsequent methods model geometric relationships among map elements [42] and leverage temporal information across frames [36, 41].
Centerline Perception. Recent benchmarks and methods extend online HD mapping beyond isolated map element prediction toward lane-level map construction. OpenLane-V2 [35] requires models to recover lane-level geometry together with relational information. Several methods combine centerline perception with lane-lane topology reasoning: TopoNet [18] uses graph neural networks to model lane-lane and lane-traffic relations, TopoPoint [8] focuses on endpoint localization for connectivity, TopoMLP [38] injects coordinate information into relational reasoning, and TopoFormer [29] introduces a unified graph representation to explicitly model lanes.
Lane Segment Perception. LaneSegNet [17] introduces the lane segment perception task, where each lane segment jointly encodes a centerline, its associated boundaries and their semantic attributes, and directed connectivity, providing a more complete representation of road scene for both map perception and topology reasoning. Building on this representation, subsequent works extend lane-segment perception through complementary strategies. TopoLogic [7] combines geometric and semantic lane cues for topology reasoning, while Topo2Seq [40] formulates topology prediction as sequence decoding.
A common architectural component shared by most methods is the use of the underlying Deformable DETR mechanism [43]. While this mechanism improves convergence and reduces computational cost, it also limits the amount of dense spatial supervision propagated through the BEV feature grid. As a result, the learned latent representation may exhibit weaker spatial structure and overlook fine-grained geometric details that are important for accurate map construction. Our framework addresses these limitations through two complementary mechanisms built upon a single dense geometric representation, termed Lane Field. First, it reinforces the spatial structure of latent BEV features by leveraging the LF for feature modulation. Second, it guides deformable attention toward geometrically meaningful regions, aligning query sampling with the underlying lane structure.
2.3. Priors and Additional Supervision Methods
Incorporating external priors can provide additional structural cues and improve online HD mapping, particularly under severe occlusions. P-MapNet [14] uses rasterized SD maps as external priors to improve HD map construction and enable longer-range perception. SMERF [28] represents SD maps as polyline sequences and encodes them with a Transformer encoder. Gao et al. [9] complement onboard sensor features with satellite maps, while Jia et al. [13] exploit crowdsourced vehicle trajectories, encoding them as rasterized heatmaps and vectorized tokens.
Directional cues and vector fields have also been explored in other maps related tasks [1, 15, 20, 21]. However, our analytic Lane Field construction, combined with the proposed conditioning mechanisms and its flexibility across learned and prior-based settings, has not been previously explored in online HD mapping.
AugMapNet [32] introduces an intermediate dense augmentation step by injecting features from a raster map prediction into the latent BEV grid. Building on the idea of intermediate supervision, our Lane Field analytically densifies vectorized lane geometry into a BEV-aligned representation encoding direction, proximity, and directional confidence, and exploits it for both BEV feature conditioning and deformable attention guidance. Importantly, the LF can be either learned from onboard observations or constructed from any polyline-based prior (e.g. SD maps) through the same analytic procedure.
3. Method
3.1. Framework overview
Given a multi-camera setup that provides multi-view images of the scene, our framework aims to construct the corresponding HD map in Bird's-Eye View. Although our implementation uses camera inputs, the proposed framework is agnostic to the sensing modality and BEV encoder, as it operates on latent BEV features independently of how they are extracted from raw sensor measurements. To estimate the HD map, the pipeline follows a standard encoder-decoder design. A shared image backbone extracts multi-view features from the input images, while a view transformation module aggregates them and projects them into a BEV feature grid of predefined spatial size . We denote the feature derived after the encoder as where C is the number of channels. The BEV feature grid is then processed by a DETR-like decoder [43], where learned instance queries interact with BEV features to predict vectorized map element instances. Our framework enhances this standard pipeline through two complementary mechanisms. First, the proposed LF is used to modulate the BEV feature grid , conditioning the latent representation on dense lane-geometry information. Second, the same representation guides deformable attention sampling, helping the decoder extract information from geometrically relevant regions in the BEV space. An overview of the framework is presented in Figure 2.
3.2. The Lane Field
While previous methods exploit dense BEV supervision or directional representations, we focus on analytically densifying vectorized lane geometry into a directional tensor field encoding local direction, proximity, and confidence. The resulting Lane Field serves as an intermediate geometric representation for both BEV feature conditioning and explicit deformable attention guidance. The LF, denoted as , shares the same spatial resolution as and encodes local geometric lane information at each BEV location through five channels. Following [17], each lane is described by a centerline polyline , where and is the number of points of the polyline. At each centerline point, left and right offsets define the lane boundaries, from which we estimate the local lane width .
Each centerline polyline is decomposed into consecutive segments. For segment , with endpoints and , we define its unit tangent and corresponding lane width as
where is the segment length. Given the unit tangent , we encode the unoriented direction of segment through the outer product . To distribute segment-level geometry over the dense BEV grid, each segment of each lane centerline contributes a smooth weight to every spatial location. For segment and BEV

Figure 2. Overview of the proposed framework. Starting from , a prediction head estimates the Lane Field (a), supervised by ground-truth fields geometrically constructed from vectorized map annotations. The predicted LF is then used to modulate the BEV features through a SPADE-like residual block (b) and to guide deformable attention sampling (c) toward geometrically meaningful roadway regions.
location p, we define this contribution as the line integral of a Gaussian kernel along the segment:
where parametrizes the segment, with corresponding to and to .
This integral has a closed-form solution:
where is the perpendicular distance from p to the line supporting the segment, and are the transformed bounds associated with the finite segment endpoints . We leave the full derivation in the supplementary material.
The spread parameter controls the spatial extent of each segment contribution over the BEV grid. It can be set globally or adapted to the local lane width as
The factor determines the lateral spread of the Gaussian kernel, yielding a value of at the lane boundary, i.e. at distance from the centerline.
We can now define the Lane Field R. The first three channels, , , and , encode the local unoriented lane direction. To obtain them, we define at each BEV location a symmetric matrix by accumulating the outer product direction of all segments, weighted by their contribution :
As additional channel, we define a proximity measure , which indicates how strongly each BEV location is supported by nearby lanes. It is obtained by accumulating the segment contributions:
Finally, since the local direction may be ambiguous in regions such as intersections, we introduce a direction confidence channel , which measures the reliability of the directional tensor at each BEV location. The confidence is derived from the anisotropy of . When a single dominant direction is present, the tensor is highly anisotropic, indicating a reliable orientation. Conversely, in ambiguous regions where multiple directions contribute similarly, the anisotropy decreases, reflecting lower reliability. Let the eigenvalues of be
where and
We define the direction confidence channel as
The LF at BEV location p is therefore defined as
The directional channels and the confidence are soft-masked by the proximity channel to suppress regions with insufficient road evidence. After normalization, , , P, and C lie in , while . For clarity, we omit minor implementation details related to numerical stability, which are provided in the supplementary material.
3.3. Learning the Lane Field
Although R can be analytically constructed from polyline-based priors such as SD maps, these can be hard to retrieve and integrate. We therefore formulate LF estimation as an auxiliary dense prediction task, using ground truth data constructed from HD map annotations as supervision. To this end, we adopt a DeepLabV3-like head [4], which takes as input and produces a dense prediction of R.
Losses. We supervise LF prediction with multiple losses, each targeting a different property of the representation. First, we apply a Smooth- regression loss [10] to the directional tensor channels , , and . This term encourages the network to accurately predict the local geometric structure of the lane at each BEV location.
Second, inspired by [31], we apply an loss to the spatial gradients of the directional channels, computed through horizontal and vertical finite differences, encouraging sharper edges.
Finally, following [11], we supervise the proximity channel with a Laplacian -NLL loss by predicting both its mean and log-scale. This formulation provides an uncertainty estimate in addition to the proximity prediction, which can be used as a reliability cue by the BEV feature modulation block and the deformable attention guidance mechanism. Since the proximity channel can be zero over most of the BEV grid, the Laplacian loss can be dominated by background locations. We therefore introduce a weighting term that emphasizes high-proximity regions, encouraging the model to better learn road-supported areas. The resulting per-location -NLL loss is defined as:
where is the scale, is the predicted proximity mean, is the ground truth proximity, denotes the stop gradient operation, and

Figure 3. (a) SPADE-like modulation block. Given the predicted Lane Field, we project it into a shared latent representation, which is then processed by two separate convolutional branches to predict the modulation parameters and . (b) Residual BEV modulation block. The modulation operation is embedded into a residual block, which can be stacked to progressively refine the BEV features.
with the sigmoid function, , and are defined in the supplementary material. Note that we do not supervise since we derive it analytically from predicted channels. The total loss is a weighted sum of the three losses presented above:
3.4. BEV Feature Modulation
We introduce a BEV feature modulation block to inject LF information into the latent BEV representation. Inspired by SPADE [33], which uses semantic maps to generate spatially-varying affine parameters for feature modulation, we condition the BEV features on the predicted LF. This allows the network to adapt the latent representation according to the local lane geometry encoded by the field. As shown in Figure 3a, we adapt the SPADE mechanism to our method. Starting from the predicted LF, we first compute a shared latent representation, which is then processed by two separate convolutional branches to predict spatially varying affine parameters , , matching the shape of . The output features are computed as , where denotes elementwise multiplication. We implement this operation within a residual BEV refinement block, illustrated in Figure 3b. The block takes as input and outputs its spatially modulated counterpart .
3.5. Deformable Attention Guidance
Beyond BEV feature modulation, we exploit the LF to guide deformable cross-attention in query-based decoders. Existing HD mapping architectures commonly rely on deformable attention variants to capture the elongated structure of map elements [17, 41]. However, their sampling offsets are learned without an explicit conditioning signal.

Figure 4. Effect of the Lane Field guidance mechanism on deformable attention sampling locations around a reference point. When all three gates are active, the sampling locations are steered along the local lane direction, yielding a lane aligned sampling pattern. The tangential stretch is defined in Equation (12).
describing the local lane geometry. We instead use the LF to make the sampling process lane aware by adapting the deformable attention pattern according to the local lane direction, as illustrated in Figure 4.
Given a reference point r, we bilinearly sample the LF at r, obtaining the local directional tensor , and derive its unoriented dominant tangent axis as the principal eigenspace of . We choose an arbitrary unit representative of this axis and its corresponding normal . Each learned deformable attention sampling location s is interpreted in this lane-aligned coordinate frame, with signed tangential coordinate and normal coordinate . Our guidance preserves the normal component, while stretching the sampling location along the local lane axis:
Here, , , and denote the direction confidence gate, the uncertainty gate, and the learnable per-head gate, respectively, while is the maximum tangential stretch factor. Since is signed in the same local frame, samples on opposite sides of are pushed in opposite tangential directions, making the formulation invariant to the arbitrary sign of . The direction confidence gate is derived from the LF confidence channel , and activates the guidance only when a dominant local direction can be reliably inferred. This avoids enforcing a wrong direction in ambiguous regions, such as intersections, where multiple lane directions coexist. The uncertainty gate suppresses the guidance in regions with high predicted uncertainty, while the learnable per-head gate allows each attention head to adaptively control the strength of the geometric guidance. More details can be found in the supplementary material.
4. Experiments
4.1. Datasets and Metrics
OpenLane-V2. OpenLane-V2 [35] is a benchmark for unified 3D HD map perception and topology reasoning, providing annotations for both lane segments and centerlines. Following the LaneSegNet [17] setting, we use subset A, built on Argoverse 2, which contains 1k scenes from six cities, with approximately 27k training frames and 4.8k validation frames. We evaluate lane-segment and centerline perception, together with lane-lane topology in their respective settings. Each lane segment is annotated as a directed 3D instance comprising a centerline and corresponding left and right boundaries, all represented as ordered point sequences. Boundaries additionally carry line-type labels (solid, dashed, or non-visible), while directed lane-lane adjacency annotations specify their topological relationships. For centerline perception, we use the provided centerline annotations and centerline-to-centerline relations.
Evaluation metrics. We evaluate using the official OpenLane-V2 evaluation protocol. For lane segment perception, we report mAP, , , and at distance thresholds 1.0, 2.0, 3.0m, where measures topology prediction between lane segments. For centerline perception, we report for centerline detection and for centerline topology prediction with thresholds 1.0, 2.0, 3.0m. We also report the OLS measure only between and as in [17].
4.2. Implementation details
Unless otherwise specified, all models are trained on 8 NVIDIA RTX 4000 Ada Generation GPUs. To assess the relative impact of our method, we preserve the original configurations of the baselines and compare them with their LF-enhanced variants. Additional implementation details and a computational analysis (i.e. inference speed and parameter count) are provided in the supplementary material.
4.3. Main Results
We evaluate lane segment and centerline perception, both with lane-lane topology. The former defines relations between full lane segments and is our primary setting, as it jointly captures lane geometry, including centerlines and boundaries, together with pedestrian crossings, while the latter enables comparison with a broader range of methods. Lane Segment perception. We conduct our main evaluation on OpenLane-V2 subset A [35], using LaneSegNet [17] as the reference baseline. To isolate the contribution of the proposed LF framework, we keep the original LaneSegNet configuration unchanged and only integrate our modules. The model follows a camera-only setup with seven surround-view cameras, a ResNet-50 backbone, and a BEVFormer encoder producing a BEV repre-
(a) Lane segment perception
| Method | mAP ↑ | AP ↑ | AP ↑ | TOP ↑ |
|---|---|---|---|---|
| StreamMapNet [41] | 20.3 | 22.1 | 18.6 | 13.2 |
| TopoNet [18] | 23.0 | 23.9 | 22.0 | – |
| SQD-MapNet [36] | 26.0 | 27.1 | 24.9 | 16.6 |
| MapTR [22] | 27.0 | 25.9 | 28.1 | – |
| MapTRv2 [23] | 28.5 | 26.6 | 30.4 | – |
| LaneSegNet [17] | 32.1 | 32.2 | 31.9 | 25.5 |
| TopoLogic [7] | 33.2 | 33.0 | 33.4 | 30.8 |
| Topo2Seq [40] | 33.6 | 33.7 | 33.5 | 26.9 |
| LaneSegNet + Ours | 36.1 (+4.0) | 35.8 (+3.6) | 36.4 (+4.5) | 28.4 (+2.9) |
| vs. LaneSegNet | +12.5% | +11.2% | +14.1% | +11.4% |
(b) Centerline perception
| Method | DET ↑ | TOP ↑ | OLS ↑ |
|---|---|---|---|
| MapTR [22] | 17.7 | 5.9 | 21.0 |
| TopoNet [18] | 28.6 | 10.9 | 30.8 |
| TopoMLP [38] | 28.3 | 21.6 | 37.4 |
| TopoLogic [7] | 29.9 | 23.9 | 39.4 |
| LaneSegNet [17] | 31.1 | 25.0 | 40.6 |
| TopoFormer [29] * | 34.7 | 24.1 | 41.9 |
| TopoPoint [8] | 31.1 | 28.5 | 42.2 |
| Topo2Seq [40] | 33.5 | 27.0 | 42.7 |
| LaneSegNet + Ours | 35.2 (+4.1) | 28.0 (+3.0) | 44.1 (+3.5) |
| TopoPoint + Ours | 32.8 (+1.7) | 30.0 (+1.5) | 43.8 (+1.6) |
Table 1. Comparison on OpenLane-V2 subset A. (a) Results on lane segment perception. (b) Results on centerline perception, where OLS is computed using only centerline detection and lane-lane topology. All models adopt ResNet-50 as backbone and are trained for 24 epochs. : Denotes the baseline trained from the official public implementation. : Denotes methods that exploit temporal information. *: TopoFormer uses a pre-trained lane detector. The best and second best results are highlighted in bold and underlined, respectively, while “–” indicates no relevant results. All the deltas are reported with respect to the corresponding baseline.
| Component | mAP ↑ | AP ↑ | AP ↑ | TOP ↑ |
|---|---|---|---|---|
| Baseline | 32.1 | 32.2 | 31.9 | 25.5 |
| + Guidance | 33.2 (+1.1) | 33.4 (+1.2) | 32.9 (+1.0) | 26.8 (+1.3) |
| + Modulation | 34.9 (+2.8) | 35.7 (+3.5) | 34.0 (+2.1) | 27.9 (+2.4) |
| + Both | 36.1 (+4.0) | 35.8 (+3.6) | 36.4 (+4.5) | 28.4 (+2.9) |
Table 2. Component-wise ablation on OpenLane-V2 with LaneSegNet, evaluating BEV feature modulation, deformable attention guidance, and their combination.
| Method | mAP ↑ | AP ↑ | AP ↑ | TOP ↑ |
|---|---|---|---|---|
| LaneSegNet | 32.1 | 32.2 | 31.9 | 25.5 |
| + Ours (SD) | 36.8 (+4.7) | 36.6 (+4.4) | 37.0 (+5.1) | 29.7 (+4.2) |
| +14.6% | +13.7% | +16.0% | +16.5% |
Table 3. Comparison between the LaneSegNet baseline and the variant using SD maps derived lane fields on OpenLane-V2.
sentation over a perception range. We train for 24 epochs with a global batch size of 8, using AdamW and the original learning-rate schedule.
Integrating our framework consistently improves LaneSegNet across all lane segment perception and topology metrics. As shown in Table 1, our method achieves state-of-the-art performance on lane segment perception while remaining competitive on topology reasoning. This difference is expected, as the LF encodes local lane geometry rather than explicit topological relations. As a result, topology reasoning improves only indirectly through more accurate lane segment predictions.
Centerline perception. To enable comparison with a broader range of methods, we additionally evaluate our framework in a centerline-based setting, considering only centerline perception and lane-lane associations between centerlines. We evaluate LaneSegNet under the same training protocol used for lane-segment perception, extracting centerlines from the predicted lane segments following [17]. We additionally apply our framework to TopoPoint [8], a native centerline perception and topology reasoning model. As shown in Table 1, the gains are larger for LaneSegNet, as its lane-segment representation explicitly models the lane geometry targeted by our LF, whereas TopoPoint operates only on centerlines.
4.4. Ablation on Lane Field Framework
To evaluate the contribution of the proposed BEV feature modulation and deformable attention guidance modules, we perform a component-wise ablation by enabling one module at a time. Table 2 shows that each module contributes to the final performance, while their combination provides the strongest results.
4.5. Ablation on SD Maps
We evaluate our framework in a prior-based setting using the SD maps included in OpenLane-V2. We remove the field prediction head and derive the LF directly from their road polylines using the procedure in Section 3.2. As they lack lane-width information, we use a fixed in the Gaussian line integral of Equation (2).
In this setting, the available SD maps are highly sparse and only provide road-level polylines, without lane count, lane width, or detailed semantic attributes. Richer map priors could therefore be used to construct more informative

Figure 5. Qualitative results on OpenLane-V2. We show the predicted map reprojected onto the perspective-view images and the corresponding BEV comparison among the ground truth, LaneSegNet baseline, and our Lane Field enhanced variant.
| Dataset | Method | mAP↑ | ||||
|---|---|---|---|---|---|---|
| AV2 | MapTRv2 | 62.0 | 66.3 | 54.8 | 64.6 | 62.0 |
| + Ours | 64.2 | 69.5 | 56.4 | 67.1 | 63.6 | |
| GeMap | 70.3 | 74.6 | 66.7 | 69.5 | - | |
| + Ours | 71.2 | 75.3 | 67.4 | 70.8 | - | |
| NUS | MapTRv2 | 55.8 | 55.9 | 52.5 | 60.1 | 54.9 |
| + Ours | 57.7 | 59.2 | 52.9 | 62.8 | 55.8 |
Table 4. Analysis on Argoverse 2 and NuScenes using MapTRv2 and GeMap as baselines for the standard map element detection.
LFs, potentially improving performances. The SD-derived LF is then used as input to the BEV feature modulation block and the deformable attention guidance mechanism, as described in Section 3.4 and Section 3.5. We perform this ablation on LaneSegNet [17] with OpenLane-V2, using the same setting as in Section 4.3. As reported in Table 3, the SD variant consistently improves LaneSegNet across all detection and topology metrics. This highlights again the flexibility of our framework: the LF can be either learned from BEV features or constructed from external map priors, such as SD maps, while still providing effective guidance for map construction.
4.6. Evaluation on Additional Datasets and Tasks
To assess the portability of our framework beyond lane segment perception and topology reasoning, we integrate it into MapTRv2 [23] and GeMap [42] for map element detection on Argoverse 2 [37] and NuScenes [2]. We evaluate road boundaries, lane dividers, centerlines, and pedestrian crossings, which are represented as fragmented polylines rather than continuous lane segments. For each dataset, we construct the ground truth LF from the original vector annotations while retaining the baseline configuration. We train MapTRv2 for 6 epochs and GeMap for 12 epochs on Argoverse 2, and MapTRv2 for 24 epochs on NuScenes, using a batch size of 16 and a BEV range of . As shown in Table 4, the largest gains are obtained for road boundaries and dividers, whose continuous and elongated geometry is well captured by our LF.
4.7. Qualitative Results
Figure 5 qualitatively compares LaneSegNet with our enhanced variant on OpenLane-V2. The baseline shows errors in both near and distant regions, including a hallucinated pedestrian crossing and less accurate map predictions. Our method better preserves the lane layout, producing a more accurate and structurally consistent HD map. Additional examples are provided in the supplementary material.
5. Conclusion
We introduced the Lane Field, a dense BEV-aligned representation encoding local lane geometry through direction, proximity, and confidence. It integrates into online HD mapping architectures through two plug-and-play modules: BEV feature modulation, which enriches latent BEV features, and deformable attention guidance, which steers sampling according to local lane geometry.
The LF supports both learned and prior-based settings. In the learned setting, it is predicted under supervision from ground truth fields analytically derived from map annotations. In the prior-based setting, it is constructed from external SD maps to exploit available map priors. Experiments confirm that our framework generalizes across datasets and baselines, consistently improving performances.
We acknowledge that our current method is inherently lane-centric and does not explicitly represent elements such as pedestrian crossings. Future works could extend the LF to model crosswalks and other map structures. Moreover, while BEV feature modulation is broadly applicable, attention guidance is currently limited to deformable attention, motivating future integrations to widen LF compatibility.
References
[1] Anil Batra, Suriya Singh, Guan Pang, Saikat Basu, CV Jawahar, and Manohar Paluri. Improved road connectivity by joint learning of orientation and segmentation. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10377–10385. IEEE, 2019. 3
[2] Holger Caesar, Varun Bankiti, Alex H Lang, Sourabh Vora, Venice Erin Liong, Qiang Xu, Anush Krishnan, Yu Pan, Giancarlo Baldan, and Oscar Beijbom. nuscenes: A multimodal dataset for autonomous driving. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 11621–11631, 2020. 1, 8
[3] Nicolas Carion, Francisco Massa, Gabriel Synnaeve, Nicolas Usunier, Alexander Kirillov, and Sergey Zagoruyko. End-to-end object detection with transformers. In European conference on computer vision, pages 213–229. Springer, 2020. 2
[4] Liang-Chieh Chen, George Papandreou, Florian Schroff, and Hartwig Adam. Rethinking atrous convolution for semantic image segmentation. arXiv preprint arXiv:1706.05587, 2017. 5
[5] Sehwan Choi, Jungho Kim, Hongjae Shin, and Jun Won Choi. Mask2map: Vectorized hd map construction using bird's eye view segmentation masks. In European Conference on Computer Vision, pages 19–36. Springer, 2024. 2
[6] Wenjie Ding, Limeng Qiao, Xi Qiu, and Chi Zhang. Pivotnet: Vectorized pivot learning for end-to-end hd map construction. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 3672–3682, 2023. 2
[7] Yanping Fu, Wenbin Liao, Xinyuan Liu, Hang Xu, Yike Ma, Yucheng Zhang, and Feng Dai. Topologic: An interpretable pipeline for lane topology reasoning on driving scenes. Advances in Neural Information Processing Systems, 37:61658–61676, 2024. 2, 7
[8] Yanping Fu, Xinyuan Liu, Tianyu Li, Yike Ma, Yucheng Zhang, and Feng Dai. Topopoint: Enhance topology reasoning via endpoint detection in autonomous driving. Advances in Neural Information Processing Systems, 38:118229–118250, 2026. 2, 7
[9] Wenjie Gao, Jiawei Fu, Yanqing Shen, Haodong Jing, Shitao Chen, and Nanning Zheng. Complementing onboard sensors with satellite maps: a new perspective for hd map construction. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pages 11103–11109. IEEE, 2024. 3
[10] Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440–1448, 2015. 5
[11] Xunjiang Gu, Guanyu Song, Igor Gilitschenski, Marco Pavone, and Boris Ivanovic. Producing and leveraging online map uncertainty in trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14521–14530, 2024. 5
[12] Adam W Harley, Zhaoyuan Fang, Jie Li, Rares Ambrus, and Katerina Fragkiadaki. Simple-bev: What really matters for multi-sensor bev perception? In 2023 IEEE International Conference on Robotics and Automation (ICRA), pages 2759–2765. IEEE, 2023. 2
[13] Peijin Jia, Ziang Luo, Tuopu Wen, Mengmeng Yang, Kun Jiang, Le Cui, and Diange Yang. Enhancing lane segment perception and topology reasoning with crowdsourcing trajectory priors. IEEE Robotics and Automation Letters, 2025. 3
[14] Zhou Jiang, Zhenxin Zhu, Pengfei Li, Huan-ang Gao, Tianyuan Yuan, Yongliang Shi, Hang Zhao, and Hao Zhao. P-mapnet: Far-seeing map generator enhanced by both sdmap and hdmap priors. IEEE Robotics and Automation Letters, 9(10):8539–8546, 2024. 3
[15] Chenguang Li, Jia Shi, Ya Wang, and Guangliang Cheng. Reconstruct from top view: A 3d lane detection approach based on geometry structure prior. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), pages 4369–4378. IEEE, 2022. 3
[16] Qi Li, Yue Wang, Yilun Wang, and Hang Zhao. Hdmapnet: A local semantic map learning and evaluation framework. arXiv preprint arXiv:2107.06307, 2021. 1, 2
[17] Tianyu Li, Peijin Jia, Bangjun Wang, Li Chen, Kun Jiang, Junchi Yan, and Hongyang Li. Lanesegnet: Map learning with lane segment perception for autonomous driving. arXiv preprint arXiv:2312.16108, 2023. 1, 2, 3, 5, 6, 7, 8
[18] Tianyu Li, Li Chen, Huijie Wang, Yang Li, Jiazhi Yang, Xiangwei Geng, Hang Xu, Chunjing Xu, Junchi Yan, Ping Luo, et al. Graph-based topology reasoning for driving scenes. Science China Information Sciences, 69(5):152103, 2026. 2, 7
[19] Zhiqi Li, Wenhai Wang, Hongyang Li, Enze Xie, Chonghao Sima, Tong Lu, Qiao Yu, and Jifeng Dai. Bevformer: learning bird's-eye-view representation from lidar-camera via spatiotemporal transformers. IEEE Transactions on Pattern Analysis and Machine Intelligence, 47(3):2020–2036, 2024. 2
[20] Justin Liang, Namdar Homayounfar, Wei-Chiu Ma, Shenlong Wang, and Raquel Urtasun. Convolutional recurrent network for road boundary extraction. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9504–9513. IEEE, 2019. 3
[21] Peng Liang, Wenzhong Shi, Yixing Ding, Zhiqiang Liu, and Haolv Shang. Road extraction from high resolution remote sensing images based on vector field learning. Sensors, 21(9):3152, 2021. 3
[22] Bencheng Liao, Shaoyu Chen, Xinggang Wang, Tianheng Cheng, Qian Zhang, Wenyu Liu, and Chang Huang. Maptr: Structured modeling and learning for online vectorized hd map construction. arXiv preprint arXiv:2208.14437, 2022. 2, 7
[23] Bencheng Liao, Shaoyu Chen, Yunchi Zhang, Bo Jiang, Qian Zhang, Wenyu Liu, Chang Huang, and Xinggang Wang. Maptrv2: An end-to-end framework for online vectorized hd map construction. International Journal of Computer Vision, 133(3):1352–1374, 2025. 1, 2, 7, 8
[24] Xiaolu Liu, Song Wang, Wentong Li, Ruizi Yang, Junbo Chen, and Jianke Zhu. Mgmap: Mask-guided learning for online vectorized hd map construction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14812–14821, 2024. 2
[25] Yicheng Liu, Tianyuan Yuan, Yue Wang, Yilun Wang, and Hang Zhao. Vectormapnet: End-to-end vectorized hd map learning. In International conference on machine learning, pages 22352–22369. PMLR, 2023. 2
[26] Zhijian Liu, Haotian Tang, Alexander Amini, Xinyu Yang, Huizi Mao, Daniela L Rus, and Song Han. Bevfusion: Multitask multi-sensor fusion with unified bird's-eye view representation. In 2023 IEEE international conference on robotics and automation (ICRA), pages 2774–2781. IEEE, 2023. 2
[27] Zihao Liu, Xiaoyu Zhang, Guangwei Liu, Ji Zhao, and Ningyi Xu. Leveraging enhanced queries of point sets for vectorized map construction. In European Conference on Computer Vision, pages 461–477. Springer, 2024. 2
[28] Katie Z Luo, Xinshuo Weng, Yan Wang, Shuang Wu, Jie Li, Kilian Q Weinberger, Yue Wang, and Marco Pavone. Augmenting lane perception and topology understanding with standard definition navigation maps. In 2024 IEEE International Conference on Robotics and Automation (ICRA), pages 4029–4035. IEEE, 2024. 3
[29] Changsheng Lv, Mengshi Qi, Liang Liu, and Huadong Ma. T2sg: Traffic topology scene graph for topology reasoning in autonomous driving. In Proceedings of the Computer Vision and Pattern Recognition Conference, pages 17197–17206, 2025. 2, 7
[30] Hongyu Lyu, Julie Stephany Berrio Perez, Yaoqi Huang, Kunming Li, Mao Shan, and Stewart Worrall. Online high-definition map construction for autonomous vehicles: A comprehensive survey. Journal of Sensor and Actuator Networks, 14, 2025. 1
[31] Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. arXiv preprint arXiv:1511.05440, 2015. 5
[32] Thomas Monninger, Md Zafar Anwar, Stanislaw Antol, Steffen Staab, and Sihao Ding. Augmapnet: Improving spatial latent structure via bev grid augmentation for enhanced vectorized online hd map construction. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 8541–8550, 2026. 3
[33] Taesung Park, Ming-Yu Liu, Ting-Chun Wang, and Jun-Yan Zhu. Semantic image synthesis with spatially-adaptive normalization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 2337–2346, 2019. 5
[34] Jonah Philion and Sanja Fidler. Lift, splat, shoot: Encoding images from arbitrary camera rigs by implicitly unprojecting to 3d. In European conference on computer vision, pages 194–210. Springer, 2020. 1, 2
[35] Huijie Wang, Tianyu Li, Yang Li, Li Chen, Chonghao Sima, Zhenbo Liu, Bangjun Wang, Peijin Jia, Yuting Wang, Shengyin Jiang, et al. Openlane-v2: A topology reasoning benchmark for unified 3d hd mapping. Advances in Neural Information Processing Systems, 36:18873–18884, 2023. 1, 2, 6
[36] Shuo Wang, Fan Jia, Weixin Mao, Yingfei Liu, Yucheng Zhao, Zehui Chen, Tiancai Wang, Chi Zhang, Xiangyu Zhang, and Feng Zhao. Stream query denoising for vectorized hd-map construction. In European Conference on Computer Vision, pages 203–220. Springer, 2024. 2, 7
[37] Benjamin Wilson, William Qi, Tanmay Agarwal, John Lambert, Jagjeet Singh, Siddhesh Khandelwal, Bowen Pan, Ratnesh Kumar, Andrew Hartnett, Jhony Kaesemodel Pontes, et al. Argoverse 2: Next generation datasets for self-driving perception and forecasting. arXiv preprint arXiv:2301.00493, 2023. 1, 8
[38] Dongming Wu, Jiahao Chang, Fan Jia, Yingfei Liu, Tiancai Wang, and Jianbing Shen. Topomlp: A simple yet strong pipeline for driving topology reasoning. In International Conference on Learning Representations, pages 45604–45615, 2024. 2, 7
[39] Chenyu Yang, Yuntao Chen, Hao Tian, Chenxin Tao, Xizhou Zhu, Zhaoxiang Zhang, Gao Huang, Hongyang Li, Yu Qiao, Lewei Lu, et al. Bevformer v2: Adapting modern image backbones to bird's-eye-view recognition via perspective supervision. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 17830–17839, 2023. 2
[40] Yiming Yang, Yueru Luo, Bingkun He, Erlong Li, Zhipeng Cao, Chao Zheng, Shuqi Mei, and Zhen Li. Topo2seq: Enhanced topology reasoning via topology sequence learning. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 9318–9326, 2025. 3, 7
[41] Tianyuan Yuan, Yicheng Liu, Yue Wang, Yilun Wang, and Hang Zhao. Streammapnet: Streaming mapping network for vectorized online hd map construction. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 7356–7365, 2024. 2, 5, 7
[42] Zhixin Zhang, Yiyuan Zhang, Xiaohan Ding, Fusheng Jin, and Xiangyu Yue. Online vectorized hd map construction using geometry. In European Conference on Computer Vision, pages 73–90. Springer, 2024. 2, 8
[43] Xizhou Zhu, Weijie Su, Lewei Lu, Bin Li, Xiaogang Wang, and Jifeng Dai. Deformable detr: Deformable transformers for end-to-end object detection. arXiv preprint arXiv:2010.04159, 2020. 3
Supplementary Material 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
University of Parma, Italy University of Bologna, Italy VisLab, Italy
Overview of Supplementary Material
The supplementary material contains these parts:
A. Mathematical Derivation of Field Weights .
B. Analysis of Gaussian Spread .
C. Additional implementation details.
D. Mathematical Definition of Loss Functions.
E. Qualitative Results on Field Variance.
F. Analysis of Guided Deformable Attention.
G. Analysis of BEV Features Modulation.
H. Additional Qualitative Results.
I. Inference Speed and Model Size.
J. Ablation on Gradient Flow.
A. Mathematical Derivation of Field Weights
We map sparse vectorized lane geometry onto the dense BEV grid by defining each segment contribution as the line integral of a Gaussian distance kernel along the segment. Unlike closest-point methods, our formulation integrates over the entire segment, ensuring smooth contributions. Let segment be defined by its endpoints and . We parametrize any point along the segment as
where and . Thus, is a normalized coordinate along the segment, and represents a point moving continuously from to . For a BEV location , the vector connects to the point on the segment, and is their squared Euclidean distance. The contribution of segment to location is obtained by integrating:
where is the segment length. The Gaussian term gives higher weight to segment points closer to and smoothly decreases the contribution as their distance increases.
To derive the closed-form solution, we first rewrite the squared distance between the BEV location and the points along the segment. The key observation is that the distance between and a point on the segment can be decomposed into a perpendicular component to the line supporting the segment and a longitudinal component along the segment:
where is the perpendicular distance from to the supporting line, and is the normalized coordinate of the orthogonal projection of onto this line.
Let . The projection coordinate is given by
The corresponding perpendicular distance is
Note that, is not clamped to : it denotes the projection onto the infinite supporting line, while the finite segment endpoints are handled by the integration bounds. Using the distance decomposition yields
Since the perpendicular distance does not depend on , the corresponding term is constant along the integration domain and can be factored out:
The remaining term is a one-dimensional Gaussian integral along the segment coordinate. To evaluate it, we use the change of variable
Corresponding author: andrea.bertogalli@unipr.it
The integration bounds become
Therefore,
The Gaussian integral has no elementary indefinite form and is expressed through the error function:
Hence,
Substituting this result back into , and simplifying the factor , yields the closed-form segment weight:
B. Analysis of Gaussian Spread
The spread parameter controls the spatial extent of the contribution of segment over the BEV grid. Rather than using a fixed value for all segments, we adapt to the local lane width as
where is a scale factor and prevents degenerate values for very narrow or noisy lane annotations. The factor determines how much the Gaussian support expands around the centerline: small values produce sharp and localized fields, while larger values generate broader and smoother fields. To interpret the role of , consider the Gaussian value at the lane boundary, i.e. at distance from the centerline. Ignoring the longitudinal term, this value is
Thus, directly controls how much signal is preserved at the lane boundary. A small rapidly suppresses the field away from the centerline, whereas a large keeps high responses even near and beyond the lane boundaries. We choose based on the qualitative analysis in Figure 1 and Table 1, finding that provides the most balanced field.
| Weight at lane edge | ||
|---|---|---|
Table 1. Effect of the scale factor on the Gaussian weight at the lane edge, i.e., at distance from the centerline.
C. Additional Implementation Details
This section reports implementation details omitted from the main paper for clarity, but useful to fully specify the ground truth Lane Field target used for supervision. In practice, we use a saturated version of the proximity accumulation:
with . This bounds the proximity target in while preserving relative differences in low-evidence regions. As briefly mentioned in the main paper, the directional tensor is trace-normalized and softly masked by proximity:
The same proximity mask is applied to the direction confidence channel:
We use and . No additional normalization is applied to , since it is derived from the anisotropy of the normalized directional tensor.
D. Mathematical Definition of Loss Functions
We optimize the LF prediction head using three complementary losses. The total objective is defined as a weighted sum of a regression loss, a spatial gradient loss, and a proximity uncertainty loss:
where , , and control the relative contribution of each term.
Regression Loss. The regression loss supervises the directional tensor channels of the LF. Let and denote the ground truth and predicted directional channels at BEV location , respectively. We apply a Smooth-

Figure 1. Effect of the spread factor f on the generated ground truth Lane Field. From left to right, fields are generated with f = 0.25, f = 0.50, and f = 0.75.

Figure 2. Visualization of the spatial gradients of the ground truth tensor channels along the horizontal (x) and vertical (y) directions. The first row shows for , , and , while the second row shows for the same channels.
loss [2] at each BEV location and aggregate it with mean reduction:
where denotes the set of BEV locations, and the Smooth- loss is defined as
Gradient Regression Loss. Inspired by the Gradient Difference Loss of Mathieu et al. [6], we introduce an additional loss on the spatial gradients of the directional tensor channels. For each channel , , and , we approximate spatial gradients with first-order finite differences along the x and y directions, and penalize the discrepancy between predicted and ground truth gradients. As shown in Figure 2, this term encourages sharper geometric edges and better preserves local transitions in the LF.
where and denote the valid BEV locations for horizontal and vertical finite differences, respectively. Differently from [6], we compare signed finite differences rather than their magnitudes, since the direction of local variations is relevant for our field.
Laplacian -NLL Loss. To supervise the proximity channel , we employ a Laplacian -NLL loss [3], where the head predicts both the proximity mean and the corresponding log-scale. This can be interpreted as predicting a Laplacian distribution at each BEV location,
| Parameter | Value | Description |
|---|---|---|
| 5.0 | loss weight | |
| 2.0 | loss weight | |
| 1.0 | loss weight | |
| 0.5 from [3, 9] | -NLL param. | |
| 0.1 | Background weight | |
| 0.2 | Prox. gate threshold | |
| 20.0 | Prox. gate sharpness |
Table 2. Hyperparameters used for lane field supervision. Values are selected empirically based on validation performance.
whose scale encodes the uncertainty of the proximity estimate. Beyond regressing the proximity field, this uncertainty provides an explicit reliability cue for the BEV feature modulation block and the deformable attention guidance mechanism. Qualitative results on the predicted uncertainty are reported in Section E. As discussed in the paper, the proximity channel is zero over large portions of the BEV grid, since meaningful proximity values are only defined around road-supported regions. As a result, directly averaging the Laplacian -NLL over all BEV locations can bias the optimization towards background pixels: the model may reduce the loss by predicting near-zero proximity with very small scale on the background, while leaving road regions weakly supervised and associated with high uncertainty. To further mitigate this issue beyond the -weighting term, we introduce a proximity weighting scheme that emphasizes locations with high ground truth proximity values. The resulting loss is defined as:
where indexes valid BEV locations, is the predicted proximity mean, is the ground truth proximity, and is the Laplacian scale obtained from the predicted log-scale. The operator stops gradients through the -weighting factor, as in the original -NLL formulation [9]. The proximity weight is computed as:
where denotes the sigmoid function, is the minimum weight assigned to background regions, controls the proximity threshold around which the transition occurs, and controls the sharpness of the transition.
E. Qualitative Results on Field Variance
To better understand the role of the predicted log-scale in proximity estimation, we report qualitative examples of the resulting uncertainty map. High variance regions indicate locations where the model is uncertain about the predicted
| Gate | Parameters |
|---|---|
| Anisotropy gate | |
| Uncertainty gate | |
| Learnable per-head gate | |
| Max Prior Stretch |
Table 3. Parameters of the gates used in the deformable attention guidance mechanism.
| Method | Anisotropy | Area | |
|---|---|---|---|
| Lane Attention [4] | 13% | ||
| Guided Attention (Ours) | 62% |
Table 4. Quantitative comparison between the original Lane Attention of LaneSegNet [4] and our conditioned variant.
lane structure. This uncertainty provides a reliability cue for downstream modules, allowing feature modulation to account for uncertain predictions and deformable attention guidance to avoid unreliable regions. The examples in Figures 3, 4 and 5 visualize the variance of the proximity prediction, derived from the predicted log-scale. Given the predicted log-scale , the Laplacian scale is obtained as , and the corresponding variance is .
F. Analysis of Guided Deformable Attention
In this section, we provide additional details on the deformable attention guidance mechanism. As described in the main paper, the deformable attention guidance is controlled by three gates: an anisotropy gate, an uncertainty gate, and a learnable per-head gate. Each gate produces a scalar value in [0, 1] through a sigmoid function.
The anisotropy gate activates the guidance only where the local lane direction is reliable:
where is the direction confidence channel. The uncertainty gate accounts for both predicted lane proximity and its associated uncertainty. The head predicts the proximity mean and the Laplacian log-scale . From , we compute the Laplacian scale and the corresponding standard deviation as
We then define the uncertainty gate as
This gate is high only when the model predicts strong lane proximity with low uncertainty. Finally, the learnable per-head gate allows each attention head to control how strongly it uses the LF guidance. For head , we define
where is a learnable scalar parameter and controls the steepness of the sigmoid. Table 3 reports the hyperparameter values used for the gating functions. In Figures 6, 7 and 8, we show qualitative examples of how the proposed mechanism modifies the deformable attention sampling pattern in LaneSegNet [4]. Note that these examples are selected from an attention head whose learnable head gate converges close to one. Thus, when the direction confidence and uncertainty gates are also active, the mechanism applies the maximum stretch. Table 4 provides a quantitative comparison between the original Lane Attention module of LaneSegNet and our guided variant. We evaluate three properties of the sampling locations: the alignment error between their principal axis and the ground-truth lane direction, the anisotropy ratio, and the spatial coverage per reference point. Figures 9 to 11 report the corresponding metric distributions, computed on 1k validation samples.
G. Analysis of BEV Features Modulation
We analyze how the proposed modulation block affects the BEV feature representation. Figure 12 reports three complementary analyses before and after applying LF modulation. First, we visualize the BEV features through PCA, observing that the modulated representation exhibits a clearer lane structure. This suggests that the modulation block injects geometric information from the LF into the latent BEV space. We further quantify this effect by clustering BEV locations in feature space using K-means and measuring the average ground truth proximity channel within each cluster. Before modulation, the clusters show similar average proximity values, indicating that the original BEV features are only weakly organized according to lane support. After modulation, the clusters become more clearly separated with respect to proximity, and the background cluster collapses toward zero, showing that road-supported and non-road regions are better distinguished in the refined representation. Finally, we approximate the BEV feature manifold using UMAP [7], reducing each BEV feature vector from dimensions to two dimensions. By selecting BEV locations with road evidence through a proximity threshold, we observe that road-supported locations become more compact in the embedded space after modulation. Overall, these analyses indicate that LF modulation enriches BEV features with structured geometric cues and makes the representation more sensitive to the underlying road layout.
H. Additional Qualitative Results
We provide additional qualitative results on OpenLane-V2 to complement the quantitative evaluation. Compared with the LaneSegNet baseline, our method produces more precise and structurally consistent map predictions, particularly in scenes with elongated structures. As shown in Figures 13 and 14 LF conditioning helps preserve long-range geometric continuity and reduces fragmented or locally inconsistent predictions. Figure 15 shows a failure case involving a rare roundabout scenario, Figure 16 shows a failure case in which the model misses a pedestrian crossing.
| Baseline | Model | +SPADE | +Attn. | +All |
|---|---|---|---|---|
| LaneSegNet [4] | 14.6 / 1.3 | 13.9 / 1.5 | 13.9 / 1.5 | 13.9 / 1.5 |
| MapTRv2 [5] | 33.2 / 1.2 | 29.9 / 1.4 | 29.9 / 1.4 | 29.9 / 1.4 |
| TopoPoint [1] | 13.8 / 1.4 | 13.0 / 1.6 | 13.0 / 1.6 | 13.0 / 1.6 |
Table 5. Breakdown of the computational overhead introduced by the proposed Lane Field modules across different baselines. Results are reported as FPS / TFLOPs, respectively.
| Baseline | Model | +Head | +SPADE | +Attn. | +All |
|---|---|---|---|---|---|
| LaneSegNet [4] | 45.4M | 4.8M | 2.4M | ≈0 | 52.6M |
| MapTRv2 [5] | 40.6M | 4.8M | 2.4M | ≈0 | 47.8M |
| TopoPoint [1] | 53.6M | 4.8M | 2.4M | ≈0 | 60.8M |
Table 6. Breakdown of the parameter overhead introduced by the proposed Lane Field modules across different baselines.
| Gradients conf. | mAP ↑ | |||
|---|---|---|---|---|
| Baseline | 32.1 | 32.2 | 31.9 | 25.5 |
| Stop-grad. In & Out | 34.1 | 34.2 | 34.0 | 26.7 |
| Stop-grad. In | 34.8 | 34.4 | 35.2 | 27.0 |
| Stop-grad. Out | 33.3 | 32.3 | 34.3 | 27.2 |
| Fully attached | 36.1 | 35.8 | 36.4 | 28.4 |
Table 7. Gradient-flow configurations of our framework. Stop-grad. In detaches the BEV features before the field head, while Stop-grad. Out detaches the LF at the head output.
I. Inference Speed and Model Size
We report the inference speed of the baselines and their Lane Field enhanced variants in FPS and TFLOPs. All measurements are obtained on an NVIDIA RTX 4000 Ada Generation GPU and should be interpreted as reference throughput values, since absolute speed can depend on hardware and memory-bandwidth constraints. As shown in Table 5, our framework introduces only a minor FPS / TFLOPs overhead compared with the corresponding baselines. Table 6 reports the parameter count of each baseline and its LF-enhanced variant.
J. Ablation on Gradient Flow
Table 7 reports the results for each gradient-stopping configuration. AugMapNet [8] uses Stop-grad. In & Out.

Figure 3. Predicted variance as an uncertainty cue for lane field guidance. The driveway is not annotated in the ground truth (left). Although the model predicts high proximity in that region (center), it also predicts high variance (right), indicating uncertainty and allowing downstream modules to reduce the use of the lane field there.

Figure 4. The parking lot entrance is not annotated in the ground truth (left). Although the model predicts high proximity in that region (center), it also predicts high variance (right), indicating uncertainty and allowing downstream modules to reduce the use of the lane field there.

Figure 5. Example of an ambiguous free-space region outside the drivable lanes. The model assigns high variance to regions where it is uncertain whether the observed area should be treated as drivable area.

Figure 6. Visualization of the sampling locations associated with a reference point lying on the road at the last decoder layer. Without guidance (left), the sampling locations follow a mostly local and isotropic pattern, and the first principal component, i.e. the direction of maximum variance is misaligned with the local lanes direction. With lane field guidance (center), the sampling pattern is stretched along the lane structure, and its first principal component becomes well aligned with the local lane direction. The right panel compares the original sampling locations with the guided ones, showing how the offsets are stretched along the local lane direction.

Figure 7. Visualization of the sampling locations associated with a reference point lying at an intersection in the last decoder layer. Since the direction confidence is close to zero in this ambiguous region, the lane field guidance is suppressed and the sampling pattern remains close to the original learned offsets.

Figure 8. Visualization of the sampling locations associated with a reference point lying in a high variance region, corresponding to the area highlighted in Figure 4, at the last decoder layer. Since the variance is high in this region, the uncertainty gate suppresses the lane field guidance and the deformable attention sampling remains close to the original learned offsets. The right panel highlights in red the areas considered reliable by the uncertainty gate.
Principal-axis error vs GT — mean across all heads

Figure 9. Alignment error (in degrees) between the principal axis of the sampling locations, i.e., the direction of maximum spatial extent, and the ground-truth lane direction. Our conditioning method (red) exhibits substantially better alignment than the baseline sampling locations (orange).
Anisotropy — mean across all heads

Figure 10. Anisotropy comparison between our conditioned sampling locations (red) and the baseline sampling locations (orange). Our approach exhibits a clearer anisotropic pattern aligned with the lane direction, whereas the baseline sampling locations remain largely isotropic.
Ellipse coverage area — mean across all heads

Figure 11. Area comparison (in m²) between our conditioned sampling locations (red) and the baseline sampling locations (orange). The coverage is computed as the average area covered per reference point. Our method achieves consistently larger spatial coverage than the baseline.

Predicted Direction Confidence
Predicted Proximity
Predicted
Predicted
Predicted
Predicted Variance
Ours Before Modulation (PCA)
Ours After Modulation (PCA)

Ours Before Modulation (Clustering)
Ours After Modulation (Clustering)
UMAP-1
UMAP-1
Figure 12. Comparison of BEV features before and after the proposed modulation block. The modulated features show a clearer road-structured organization, suggesting that the proposed lane field conditioning effectively enriches the BEV representation with geometric cues.

(GT)
(PRED)
Proximity (GT)
Proximity (PRED)

(GT)
(PRED)
(GT)
(PRED)

Confidence (GT)
Confidence (PRED)
Variance
Standard Deviation

Surrounding Views

Ground Truth
Baseline
Ours
Figure 13. Qualitative comparison on OpenLane-V2. The LaneSegNet baseline fails to recover a pedestrian crossing and produces inaccurate local predictions, whereas our method correctly detects the crossing and yields a more precise and structurally consistent map.

(GT)
(PRED)
Proximity (GT)
Proximity (PRED)

(GT)
(PRED)
(GT)
(PRED)

Confidence (GT)
Confidence (PRED)
Variance
Standard Deviation

Surrounding Views

Ground Truth
Baseline
Ours
Figure 14. Another comparison on OpenLane-V2 between the LaneSegNet baseline and our method. In this example, the baseline fails to recover a distant intersection visible in the HD map, whereas our method preserves its overall structure more accurately. We also report the predicted and ground truth lane field channels in BEV to illustrate the geometric cues used by our framework.

(GT)
(PRED)
Proximity (GT)
Proximity (PRED)

(GT)
(PRED)
(GT)
(PRED)

Confidence (GT)
Confidence (PRED)
Variance
Standard Deviation

Surrounding Views
Ground Truth
Baseline
Ours
Figure 15. Failure case on OpenLane-V2. Due to the rarity of roundabouts in the dataset, both the LaneSegNet baseline and our method struggle to produce an accurate HD map prediction in this scenario. Nevertheless, our method shows a slightly better awareness of the overall lane structure.

(GT)
(PRED)
Proximity (GT)
Proximity (PRED)

(GT)
(PRED)
(GT)
(PRED)

Confidence (GT)
Confidence (PRED)
Variance
Standard Deviation

Surrounding Views

Ground Truth
Baseline
Ours
Figure 16. Another failure case on OpenLane-V2. Although our method improves the overall lane structure prediction, the lane field does not explicitly encode pedestrian crossing regions, and the model may therefore still miss some crossings in challenging scenes.
References
[1] Yanping Fu, Xinyuan Liu, Tianyu Li, Yike Ma, Yucheng Zhang, and Feng Dai. Topopoint: Enhance topology reasoning via endpoint detection in autonomous driving. Advances in Neural Information Processing Systems, 38:118229–118250, 2026. 5
[2] Ross Girshick. Fast r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 1440–1448, 2015. 3
[3] Xunjiang Gu, Guanyu Song, Igor Gilitschenski, Marco Pavone, and Boris Ivanovic. Producing and leveraging online map uncertainty in trajectory prediction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14521–14530, 2024. 3, 4
[4] Tianyu Li, Peijin Jia, Bangjun Wang, Li Chen, Kun Jiang, Junchi Yan, and Hongyang Li. Lanesegnet: Map learning with lane segment perception for autonomous driving. arXiv preprint arXiv:2312.16108, 2023. 4, 5
[5] Bencheng Liao, Shaoyu Chen, Yunchi Zhang, Bo Jiang, Qian Zhang, Wenyu Liu, Chang Huang, and Xinggang Wang. Maptrv2: An end-to-end framework for online vectorized hd map construction. International Journal of Computer Vision, 133(3):1352–1374, 2025. 5
[6] Michael Mathieu, Camille Couprie, and Yann LeCun. Deep multi-scale video prediction beyond mean square error. arXiv preprint arXiv:1511.05440, 2015. 3
[7] Leland McInnes, John Healy, and James Melville. Umap: Uniform manifold approximation and projection for dimension reduction. arXiv preprint arXiv:1802.03426, 2018. 5
[8] Thomas Monninger, Md Zafar Anwar, Stanislaw Antol, Steffen Staab, and Sihao Ding. Augmapnet: Improving spatial latent structure via bev grid augmentation for enhanced vectorized online hd map construction. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 8541–8550, 2026. 5
[9] Maximilian Seitzer, Arash Tavakoli, Dimitrije Antic, and Georg Martius. On the pitfalls of heteroscedastic uncertainty estimation with probabilistic neural networks. arXiv preprint arXiv:2203.09168, 2022. 4