RATopo: Improving Lane Topology Reasoning via Redundancy Assignment

Han Li, Shaofei Huang, Longfei Xu, Yulu Gao, Beipeng Mu, Si Liu · DOI

Abstract

Lane topology reasoning is a critical component for autonomous driving, enabling vehicles to understand complex road structures and traffic rules. However, current DETR-based models suffer from a "sparsity bottleneck" caused by one-to-one (O2O) matching, which limits the training signals available for learning lane connections. This paper introduces RATopo, a model-agnostic training strategy that utilizes Redundancy Assignment to provide richer supervision. By reordering decoder layers and employing auxiliary one-to-many (O2M) matching, RATopo significantly improves topology reasoning performance. Experiments on the OpenLane-V2 benchmark demonstrate that RATopo achieves state-of-the-art results, with substantial gains in lane-lane and lane-traffic topology metrics.

Introduction

In the pursuit of fully autonomous navigation, understanding the geometric layout of lanes is insufficient. A vehicle must also comprehend the underlying topology—how lanes connect at intersections and how they are governed by traffic lights and signs. Modern approaches typically leverage Transformer-based architectures, specifically Detection Transformers (DETR), to perform this reasoning. While these models excel at object detection, their application to topology reasoning reveals a fundamental conflict between the need for sparse, clean detections and the need for dense, informative training signals for structural relationships.

The Sparsity Bottleneck in Topology Reasoning

Most state-of-the-art lane topology models follow a "detect-then-reason" paradigm. During training, these models use one-to-one (O2O) assignment, where a single predicted lane is matched to a single ground-truth lane. This mechanism is designed to suppress duplicate detections, ensuring a clean output during inference.

However, this sparsity creates a bottleneck for topology. Topology reasoning involves predicting relationships between pairs of objects. When only one "best" prediction is kept for each ground truth, the model only learns connections between these specific instances. Many other high-quality lane proposals—which might be geometrically accurate but slightly less "optimal" than the top pick—are discarded. Consequently, the training set for topology is dominated by "invalid" pairs (e.g., connections between a correct lane and a background miss), making it difficult for the model to learn the subtle structural nuances of complex environments like multi-lane intersections.

The RATopo Framework

To address this, the authors propose RATopo, a strategy designed to decouple the requirements of detection from those of topology reasoning. RATopo introduces three key modifications to the standard Transformer decoder:

1. Reordered Decoder Layers

In a standard Transformer decoder, Self-Attention (SA) precedes Cross-Attention (CA). SA acts as a deduplication mechanism early in the process. RATopo swaps this sequence to CA → SA. By performing Cross-Attention first, the model allows multiple queries to attend to image features and generate redundant lane proposals before the Self-Attention layer prunes them. This "delayed deduplication" preserves a richer set of candidates for the reasoning stage.

2. Auxiliary One-to-Many (O2M) Supervision

Using the redundant queries generated by the reordered layers, RATopo applies an auxiliary one-to-many assignment. Instead of matching a single prediction to a ground truth, the model matches multiple high-quality predictions to each ground-truth lane. This exponentially increases the number of "valid" topology pairs available during training, providing the model with a much denser supervision signal.

3. Multiple Parallel Cross-Attention

To ensure that the redundant predictions are diverse rather than identical, RATopo utilizes multiple parallel CA blocks with independent parameters. This encourages different queries to focus on various spatial and semantic features of the scene, resulting in a "geometry-diverse" set of lane candidates.

Importantly, these modifications are primarily used for training. During inference, the model maintains its standard sparse output, ensuring that the final prediction remains clean and efficient for downstream planning tasks.

Experimental Evaluation

The researchers evaluated the effectiveness of RATopo using the OpenLane-V2 benchmark, currently the most comprehensive dataset for scene-level lane topology. The evaluation covered two primary subsets:

  • subset_A: 1,000 scenes based on the Argoverse2 dataset.
  • subset_B: 1,000 scenes based on the nuScenes dataset.

The performance was measured using detection accuracy (DET) and topology reasoning metrics (TOP) for both lane-lane ($TOP_{ll}$) and lane-traffic ($TOP_{lt}$) relationships. To demonstrate the model-agnostic nature of the strategy, RATopo was integrated into three leading baselines: TopoNet, TopoMLP, and TopoLogic.

Results and Discussion

RATopo delivered significant improvements across all tested baselines and benchmarks. When integrated with TopoLogic, the strategy established a new state-of-the-art on OpenLane-V2.

On the nuScenes-based subset_B, the improvements were particularly striking:

  • Lane-Lane Topology ($TOP_{ll}$): Improved by 15.7%.
  • Lane-Traffic Topology ($TOP_{lt}$): Improved by 9.5%.

Ablation studies indicated that the optimal balance between supervision richness and noise was achieved by assigning three positive samples per ground-truth lane. Qualitatively, visualizations confirmed that RATopo-equipped models are significantly more robust in complex intersections, maintaining connectivity where standard models often fail or produce fragmented lane structures.

Limitations and Future Work

Despite its success in lane topology, the authors noted that applying the O2M strategy to traffic elements (such as lights and signs) did not yield the same benefits; in fact, it slightly decreased performance. This suggests that the elongated, complex geometry of lanes benefits more from redundancy than the point-like nature of traffic elements. Additionally, the use of parallel Cross-Attention blocks increases the computational cost during training, though the authors found that four parallel blocks represent an efficient "sweet spot."

Future research will focus on adapting redundancy strategies specifically for traffic elements and further optimizing the training efficiency of the RATopo framework.

Conclusion

RATopo addresses a fundamental limitation in current lane topology reasoning by rethinking how supervision is assigned. By embracing redundancy during training, the framework provides the dense signals necessary for learning complex structural relationships without sacrificing the clean output required for autonomous driving. As a model-agnostic strategy, RATopo offers a powerful tool for enhancing the next generation of scene-understanding models.

Summary updated

BibTeX
@inproceedings{li2025ratopo,
  author = {Han Li and Shaofei Huang and Longfei Xu and Yulu Gao and Beipeng Mu and Si Liu},
  title = {{RATopo: Improving Lane Topology Reasoning via Redundancy Assignment}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755845},
}
Figure