Research
Fine-Grained Representation for Lane Topology Reasoning
Overview Research area: Computer Vision / Autonomous Driving — specifically online lane topology reasoning from multi-view camera images (bird's-eye-view perception, vectorized HD mapping, and structu
- arXiv
- 2511.12590
- Published
- 2025-11-16
- Authors
- Guoqing Xu, Yiheng Li, Yang Yang
AI summary
Overview
Research area: Computer Vision / Autonomous Driving — specifically online lane topology reasoning from multi-view camera images (bird's-eye-view perception, vectorized HD mapping, and structured scene understanding).
Technical level: Advanced. The paper assumes familiarity with DETR-style transformer decoders, deformable attention, BEV feature transformation, Hungarian matching, and denoising training.
One-sentence scope: The paper introduces TopoFG, a framework that replaces one query per lane with a sequence of fine-grained queries and reasons about lane connectivity using boundary-point features, evaluated on the OpenLane-V2 benchmark.
What This Paper Is About
Self-driving systems need to know not only where lanes are, but how they connect to each other — which lane leads into which, and how lanes relate to traffic elements. Most existing methods describe an entire lane with a single "query" vector and then guess connectivity by comparing those whole-lane vectors. That breaks down on complex lane shapes and at intersections, because two lanes that genuinely connect may only touch at their endpoints while looking globally dissimilar. TopoFG's goal is to model lanes as many small, location-specific queries and to base connectivity decisions on the endpoints of lanes rather than on overall lane similarity.
Key Contributions
-
Fine-grained lane queries. Instead of one query per lane, each lane is represented as a sequence of queries, each tied to a specific location along the lane, so local geometric variation can be captured.
-
Hierarchical Prior Extractor (HPE). A module that derives two complementary priors — a global spatial prior from the predicted BEV lane mask and a local sequential prior from the ordered in-lane keypoint sequence — to initialize queries informatively.
-
Region-Focused Decoder (RFD). A decoder that fuses the spatial and sequential priors into fine-grained queries and samples reference points from ROI regions of the mask, using deformable cross-attention to concentrate on lane-relevant areas.
-
Robust Boundary-Point Topology Reasoning (RBTR). Topology is inferred from the first and last query of each lane (start/end boundary points), with a boundary-point-guided denoising strategy that fixes the supervision adjacency matrix in advance to reduce matching ambiguity during training.
Main Findings
-
State-of-the-art on OpenLane-V2: TopoFG reaches an OLS of 48.0% on subset_A and 45.4% on subset_B, described by the authors as new state-of-the-art on that benchmark.
-
subset_A details: OLS 48.0, DET_l 33.8, DET_t 47.2, TOP_ll 30.8, TOP_lt 30.9 — compared with TopoLogic (44.1 OLS, 29.9 DET_l, 47.2 DET_t, 23.9 TOP_ll, 25.4 TOP_lt) and TopoMLP (44.1 OLS, 28.5 DET_l, 49.5 DET_t, 21.7 TOP_ll, 26.9 TOP_lt). The reported absolute gains over the second-best method are +3.9 OLS, +3.9 DET_l, +6.9 TOP_ll and +4.0 TOP_lt.
-
subset_B details: OLS 45.4, DET_l 30.0, DET_t 53.0, TOP_ll 27.2, TOP_lt 21.7, versus TopoLogic at 42.3 OLS, 25.9 DET_l, 54.7 DET_t, 21.6 TOP_ll, 17.9 TOP_lt. Reported absolute gains: +3.1 OLS, +4.1 DET_l, +5.6 TOP_ll, +3.8 TOP_lt.
-
Lane segment benchmark: On the OpenLane-V2 lane segment detection benchmark, TopoFG achieves mAP 34.4 (+0.8 over the next best), AP_ls 33.8 (+0.1), AP_ped 35.1 (+1.6) and TOP_ls 31.3 (+0.5), outperforming Topo2Seq (33.6 mAP), TopoLogic (33.2), LaneSegNet (32.6), MapTRv2 (28.5), MapTR (27.0) and TopoNet (23.0).
-
Module ablations (subset_A): Starting from the TopoLogic-style baseline (44.1 OLS, 29.9 DET_l, 47.2 DET_t, 23.9 TOP_ll, 25.4 TOP_lt), adding HPE gives 45.4 OLS; adding RFD gives 45.8 OLS; adding RBTR gives 48.0 OLS with 33.8 DET_l, 30.8 TOP_ll and 30.9 TOP_lt.
-
Prior ablations: Adding only the local sequential prior yields 45.1 OLS and 31.2 DET_l; adding only the global spatial prior yields 45.2 OLS and 31.0 DET_l; combining both yields 45.4 OLS, 31.3 DET_l, 47.5 DET_t, 26.1 TOP_ll and 26.6 TOP_lt — the authors report the two priors as complementary.
-
Decoder ablations: Fine-grained query initialization alone gives 45.6 OLS; combining it with sampled reference points gives 45.8 OLS, 31.8 DET_l, 47.2 DET_t, 26.8 TOP_ll, 27.7 TOP_lt.
-
Topology ablations: Boundary-point topology reasoning alone gives 46.6 OLS; denoised topology reasoning alone gives 47.3 OLS; combining both gives 48.0 OLS with 33.8 DET_l, 30.8 TOP_ll and 30.9 TOP_lt.
-
Qualitative result: In the BEV visualizations, TopoNet, TopoMLP and TopoLogic are reported to suffer from missing lanes and incorrect connections, particularly at intersections, whereas TopoFG is reported to recover more complete lane structures and capture topological relationships more accurately.
Methodology in Plain English
The pipeline starts with multi-view camera images processed by a CNN backbone (ResNet-50) plus a Feature Pyramid Network, then converted into bird's-eye-view features using deformable attention and extended to multiple scales.
From there, three modules operate in sequence. The Hierarchical Prior Extractor first predicts a BEV lane mask, then builds two kinds of guidance: a spatial prior that weights BEV positions according to mask confidence (using a threshold tau plus a scaling factor alpha for high-confidence regions) and a sequential prior that encodes the order of points along a lane (index 1 through k passed through positional encoding and an MLP). These are combined so that each lane's query carries both where the lane is and where along the lane a given point sits.
The Region-Focused Decoder then refines these fine-grained queries over six decoder layers using a two-stage self-attention scheme — first across different lane instances, then within each lane — followed by deformable cross-attention to BEV features. Crucially, instead of learnable or random reference points, it samples reference points inside the mask's region of interest, which keeps attention on parts of the image that actually belong to lanes.
For topology, the model keeps only the first and last query of each lane as boundary-point features. For each ordered pair of lanes, the end-point feature of one lane is concatenated with the start-point feature of the other and passed through a shared MLP to produce a connectivity score, normalized with a sigmoid. This "similarity topology" is added to a "geometric topology" derived from Euclidean distances between boundary points, giving the final adjacency matrix.
Because the number of predicted lanes exceeds the number of ground-truth lanes, Hungarian matching assigns one-to-one correspondences; the authors note this makes the supervision matrix unstable across epochs. Their fix is a denoising strategy: noisy queries are generated from each ground-truth instance in several groups, and the supervision adjacency matrix is expanded into a fixed block-diagonal form. Denoising queries are discarded at inference; only the vanilla queries are used.
Why This Matters
Impact on research. The paper challenges a widely used design choice — representing a whole lane with a single query and judging connectivity from whole-lane similarity — and shows that query granularity and endpoint-based reasoning both measurably change topology accuracy on a standard benchmark. This gives follow-up work a concrete alternative to instance-level lane modeling in the DETR family for map and topology tasks.
Real-world applications (as implied by the paper's framing):
- Autonomous driving navigation and control decisions, where lane connectivity determines the correct maneuver.
- Path planning in complex intersections, where the paper specifically identifies the failure mode of existing methods.
- Online construction of vectorized high-definition maps from sensor data.
- Associating lanes with traffic elements such as traffic signs and signals.
Industry relevance. Lane topology reasoning is a prerequisite for any self-driving stack that must interpret structured road semantics rather than just detect painted lines. The reported gains on TOP_ll and TOP_lt — the metrics that measure structural correctness of lane-to-lane and lane-to-traffic-element connections — are the numbers most directly tied to whether a planner can trust the perceived map network.
Future Directions
- The paper does not specify a limitations section or an explicit future-work statement, so direct statements of next steps are not reported; the following are open questions the work raises.
- Whether the fine-grained query scheme scales to larger numbers of queries per lane or to longer, more complex lane geometries than the k = 11 queries and 200 predicted lanes used here is not reported.
- The denoising strategy is described as improving stability across epochs, but the paper does not report a standalone measurement isolating matching instability, nor how the number of denoising groups G = 5 affects the trade-off between stability and computation.
- Whether the boundary-point formulation, which keeps only the first and last query, discards useful structural information for mid-lane relationships (such as merges not at endpoints) is not addressed or tested in the reported ablations.
- Generalization beyond OpenLane-V2 (built on Argoverse2 and nuScenes) to other sensor configurations or geographic domains is not reported.
Target Audience
Researchers and engineers working on autonomous driving perception, online HD map construction, and end-to-end structured scene understanding — particularly those already familiar with DETR-style transformer decoders, BEV representation learning, and the OpenLane-V2 benchmark. It is also relevant to practitioners seeking state-of-the-art reference numbers for lane topology reasoning, and to graduate students studying query-based representation design in computer vision. The paper's density of architectural detail and metric terminology makes it a poor fit for readers without a computer vision or autonomous driving background.
Authors’ abstract
Precise modeling of lane topology is essential for autonomous driving, as it directly impacts navigation and control decisions. Existing methods typically represent each lane with a single query and infer topological connectivity based on the similarity between lane queries. However, this kind of design struggles to accurately model complex lane structures, leading to unreliable topology prediction. In this view, we propose a Fine-Grained lane topology reasoning framework (TopoFG). It divides the procedure from bird's-eye-view (BEV) features to topology prediction via fine-grained queries into three phases, i.e., Hierarchical Prior Extractor (HPE), Region-Focused Decoder (RFD), and Robust Boundary-Point Topology Reasoning (RBTR). Specifically, HPE extracts global spatial priors from the BEV mask and local sequential priors from in-lane keypoint sequences to guide subsequent fine-grained query modeling. RFD constructs fine-grained queries by integrating the spatial and sequential priors. It then samples reference points in RoI regions of the mask and applies cross-attention with BEV features to refine the query representations of each lane. RBTR models lane connectivity based on boundary-point query features and further employs a topological denoising strategy to reduce matching ambiguity. By integrating spatial and sequential priors into fine-grained queries and applying a denoising strategy to boundary-point topology reasoning, our method precisely models complex lane structures and delivers trustworthy topology predictions. Extensive experiments on the OpenLane-V2 benchmark demonstrate that TopoFG achieves new state-of-the-art performance, with an OLS of 48.0 on subsetA and 45.4 on subsetB.