TL;DR
For an autonomous car to navigate an intersection, it can't just detect lanes and traffic lights; it has to understand topology—how lanes flow into one another and which signals govern which paths. Standard models treat lanes like a connect-the-dots puzzle of discrete 3D points, leading to jagged shapes and clumsy guesswork at intersections. TopoCurve replaces these disconnected points with continuous, endpoint-fixed cubic Bézier curves, unlocking smooth geometry and exact directional math to achieve state-of-the-art 3D topology reasoning without a single post-processing hack.
What Problem Does This Paper Address?
Imagine driving up to a complex, multi-way fork. You know which lane connects to which not just because their ends are close together, but because their trajectories align.
In autonomous driving, inferring this structural connectivity from multi-view cameras is called 3D topology reasoning. Currently, the mainstream approach represents a lane as a polyline—specifically, a set of 11 independent 3D coordinates. This causes a cascade of headaches:
- No physical smoothness: Predicting 11 points independently means lanes can zigzag or self-intersect. Existing methods often rely on inference-time heuristics (like snapping nearby endpoints together) to clean up the mess.
- Blind to direction: Polylines have no clean, analytical tangent directions at their endpoints, and estimating tangents via finite differences on noisy points breaks differentiability during matching.
- Myopic attention & sparse learning: Standard deformable attention looks around a single centroid per lane query, missing the far ends of 30–50 meter lanes. Meanwhile, matching ~10 ground-truth lanes against 300 learnable queries leaves fewer than 0.2% of lane pairs with valid topology supervision during training.
Methods
TopoCurve keeps the standard query-based backbone (ResNet-50 + BEVFormer for Bird's-Eye-View features, Deformable DETR for 2D traffic elements, and a Unified Scene Graph Network) and overhauls how lanes are represented, attended to, and supervised.
- Endpoint-Fixed Cubic Bézier Curves: Instead of regressing 11 3D points (33 dimensions), each lane query predicts 4 control points (12 dimensions). Unlike B-splines, cubic Bézier curves guarantee that the first and last control points sit exactly on the lane's start and end. To calculate losses fairly against ground-truth polylines without parametric distortion, both predictions and ground-truth curves are projected back into 11-point space using a precomputed Bernstein basis matrix.
- FourierGeoBias: With Bézier control points, exact endpoint distances and analytical tangent vectors (the direction a lane points right as it ends or begins) are effortlessly available. Because standard MLPs struggle to learn sharp, high-frequency boundaries from raw scalar numbers (a phenomenon known as spectral bias), TopoCurve passes distance and tangent cosine similarity through multi-scale Fourier encodings before injecting them as an additive bias directly into the lane-lane topology head.
- Bézier-Distributed Deformable Attention (BDDA): Rather than sampling BEV features around a single center point, BDDA projects the predicted Bézier curve into 11 reference points spanning the entire length of the lane, iteratively refining its spatial receptive field across 6 decoder layers.
- Curve-Anchored Redundancy Supervision (CARS): To fix sparse training signals, TopoCurve instantiates 4 parallel BDDA blocks before self-attention (since self-attention acts like non-maximum suppression and removes duplicates). During training only, a greedy one-to-many (O2M) matcher grabs the top-3 curve predictions per ground-truth lane to provide dense, geometry-aware supervision—adding zero overhead at inference.
Datasets
The authors train and evaluate on OpenLane-V2, a large-scale multi-view topology reasoning benchmark. It consists of two distinct subsets of 1,000 scenes each (captured at 2 Hz): subset_A (derived from Argoverse2, using 7 cameras) and subset_B (derived from nuScenes, using 6 cameras). No new datasets are introduced, though the authors adopt the recently proposed $\text{DET}_p$ metric to explicitly evaluate endpoint localization accuracy.
Key Insights and Ideas
- Geometry belongs in the head, not the graph: Prior methods injected geometric distances into intermediate graph convolution layers, which tangled topology reasoning with feature learning and hurt lane detection. Injecting geometry strictly at the final prediction head (via FourierGeoBias) boosts topology accuracy while keeping detection crisp.
- Tangents are the ultimate tie-breaker: In the training data, truly connected lane pairs have >97% average tangent cosine similarity. Encoding this alongside endpoint distance with Fourier features breaks through MLP spectral bias, allowing the network to cleanly separate connected lanes from diverging forks that happen to share a starting point.
- Post-processing becomes obsolete (and harmful): Previous state-of-the-art model TopoPoint needed a heuristic endpoint-snapping step (PLGM) to boost its score. When the authors applied PLGM to TopoCurve, performance actually dropped slightly—proving that the Bézier formulation natively solves endpoint alignment end-to-end.
Key Results
On OpenLane-V2 (subset_A), TopoCurve sets a new camera-only, end-to-end state-of-the-art OpenLane-V2 Score (OLS) of 50.6 (and 51.2 OLS on subset_B), outperforming TopoPoint (48.8) and even TopoFormer (46.3), which relies on a pretrained lane detector.
- Superior Endpoints: TopoCurve achieves 56.8 $\text{DET}_p$ vs. TopoPoint's 52.6—with zero post-processing.
- Real-Time Efficiency: Evaluated on an NVIDIA A100 GPU, TopoCurve achieves a 3.69% OLS improvement over TopoPoint for just a 2.74% increase in GFLOPs, running comfortably in real time at 13.1 FPS (79.5M parameters).
- Qualitative Wins: Visually, TopoCurve eliminates the jagged, self-crossing polylines, duplicate endpoints, and warped heuristic snapping seen in prior baselines.
Limitations and Future Work
- Single-frame myopia: TopoCurve currently processes camera frames one snapshot at a time, meaning temporary occlusions (like a large truck blocking an intersection) can still trip it up. Extending the architecture to multi-frame temporal reasoning is a natural next step.
- Fixed curve complexity: While OpenLane-V2 breaks complex roads into simple segments (making 4-point cubic Béziers optimal with a median fitting error of just 1.1 cm), a single cubic curve is mathematically limited when modeling sharp S-curves. Future work could explore learned curve-degree selection and Frenet frame projections.
Summary updated