TL;DR
LADY (Linear Attention for autonomous Driving efficiencY) is the first end-to-end autonomous driving model built entirely on linear attention, eliminating the "quadratic bottleneck" of standard Transformers. By leveraging the RWKV-7 architecture and a novel linear cross-attention mechanism (LICA), LADY achieves state-of-the-art planning performance with constant-time and memory costs, enabling the processing of "infinite" historical sensor data on resource-constrained edge devices.
What Problem Does This Paper Address?
Most modern end-to-end (E2E) autonomous driving systems rely on Transformer architectures. While powerful, Transformers suffer from quadratic computational complexity—as you increase the amount of historical data (frames) to improve context, the processing time and memory usage grow exponentially ($O(T^2)$).
In real-world driving, anticipating a pedestrian's movement or a cyclist's acceleration requires looking back at multiple previous frames. However, running these heavy models on edge hardware (like an NVIDIA Jetson Orin) often forces a trade-off: either use very short history to maintain real-time speeds or use long history and suffer from high latency. Previous attempts to use linear models (like Mamba) still relied on standard Transformer-based cross-attention for multi-modal fusion, which meant they weren't truly "fully linear" and still hit scaling walls.
Methods
LADY introduces a fully linear pipeline for feature fusion and trajectory generation:
- RWKV-7 Backbone: Instead of standard self-attention, the model uses RWKV-7 ("Goose"), a recurrent-style linear attention model. It parallelizes like a Transformer during training for efficiency but acts like an RNN during inference, maintaining a compact "temporal hidden state" that summarizes all past information.
- LICA (Lightweight Linear Cross-Attention): To replace the computationally expensive standard cross-attention, the authors developed LICA. It encodes queries and features by concatenating them and passing them through RWKV blocks. The recurrent state naturally "attends" to earlier tokens, allowing information exchange between different modalities (like Camera and LiDAR) without the quadratic cost of a softmax attention matrix.
- Diffusion-based Decoder: To handle the multi-modal nature of driving (e.g., deciding whether to yield or overtake), LADY uses a truncated diffusion process. It takes noisy "anchor trajectories" and iteratively refines them into a set of diverse, high-quality candidate paths.
- Temporal Fusion: During inference, LADY updates its hidden state frame-by-frame. This allows it to integrate "infinite" history with virtually zero increase in latency or memory footprint as time progresses.
Datasets
The authors evaluated LADY on two major benchmarks:
- NAVSIM: A data-driven non-reactive simulator based on the massive nuPlan dataset (120 hours of real-world driving). It uses the Predictive Driver Model Score (PDMS) to evaluate safety and comfort.
- Bench2Drive: A closed-loop benchmark based on the CARLA simulator, which tests the model's ability to handle complex scenarios like merging, overtaking, and responding to traffic lights.
Key Insights and Ideas
- The "Infinite" History Advantage: Because LADY's inference cost is constant ($O(1)$ relative to sequence length), it can accumulate information from the very beginning of a driving route without slowing down. The authors show that "Infinite frames" mode significantly outperforms "1 frame" or "10 frames" modes in complex scenarios.
- Linear Cross-Attention is Possible: The LICA block proves that you don't need the standard $QK^T$ dot-product to perform effective cross-modal fusion. By treating cross-attention as a sequence-to-sequence problem within a recurrent architecture, they achieve similar results at a fraction of the cost.
- Edge-First Design: The model was explicitly validated on the NVIDIA Jetson AGX Orin. While Transformer models see their latency spike as more frames are added, LADY’s latency remains a flat line (see Fig. 6 in the paper).
Key Results
- NAVSIM Performance: LADY achieved a PDMS of 90.9, outperforming established models like Transfuser (84.0) and DiffusionDrive (88.1).
- Bench2Drive Success: In closed-loop testing, LADY (Infinite frames) achieved a Driving Score of 65.12, significantly higher than the single-frame version (50.06) and surpassing the iPad model (65.02).
- Efficiency: On the Orin platform, LADY maintains a constant memory footprint (~2500 MB) and latency (~15ms) regardless of history length, whereas Transformer-based competitors see memory usage triple and latency quadruple when moving from 1 to 50 frames of history.
Limitations and Future Work
The authors acknowledge a "performance gap" compared to some top-tier models like iPad (91.7 PDMS) when using the standard scorer. They noted that their current trajectory scorer sometimes fails to pick the absolute best path from the generated candidates.
Future work will focus on:
- Refining the trajectory scorer to better identify optimal maneuvers.
- Exploring alternative linear-attention architectures to further push the performance ceiling.
- Validating the system in even more diverse, real-world autonomous driving scenarios beyond simulation.
Summary updated