Abstract
MambaDETR introduces a novel 3D object detection framework that replaces computationally expensive Transformers with State Space Models (SSMs) to handle temporal data. By combining a "Motion Elimination" module to prune redundant data with the linear-complexity Mamba architecture, it achieves state-of-the-art performance on the nuScenes benchmark while remaining significantly more memory-efficient than traditional attention-based models.
Introduction
In autonomous driving, "seeing" in 3D across multiple camera views is a significant challenge. To improve accuracy and estimate object velocity, models must integrate temporal information from past frames. Current state-of-the-art models predominantly rely on Transformers for temporal fusion. However, the quadratic computational complexity of the self-attention mechanism makes processing long video sequences in real-time prohibitively expensive. Conversely, Recurrent Neural Networks (RNNs) often suffer from information decay over long sequences. MambaDETR addresses these issues by leveraging Structured State Space Models (SSMs), specifically the Mamba architecture, to achieve linear scaling and long-term memory.
Methods
MambaDETR builds upon the DETR3D architecture, introducing three primary innovations to enhance temporal modeling and efficiency.
- 2D-Priors Query Generator: Rather than initializing with random queries, the model utilizes a 2D detector and a depth estimation network to generate "object-aware" 3D queries. This provides a more accurate spatial prior for localization.
- Motion Elimination (ME) Module: To reduce redundancy, the ME module filters out static object queries. By aligning past frames using ego-motion, the model identifies and eliminates queries corresponding to stationary objects (e.g., parked cars), allowing the network to focus on dynamic elements.
- Query Mamba Module: This core component replaces standard Transformer blocks with a Mamba-based SSM. This architecture allows for linear complexity relative to sequence length, enabling the model to process significantly longer temporal windows (up to 12+ frames) without the memory explosion typical of attention-based systems.
Results and Key Insights
The model was evaluated on the nuScenes dataset, a gold standard for autonomous driving research featuring 1,000 driving scenes with 360-degree camera coverage.
- State-of-the-Art Accuracy: On the nuScenes validation set, MambaDETR achieved 60.5% NDS (nuScenes Detection Score) and 50.8% mAP (mean Average Precision), outperforming established models like StreamPETR.
- Memory Efficiency: When processing a 12-frame sequence, MambaDETR required only ~15 GB of VRAM, whereas the Transformer-based StreamPETR required nearly 40 GB.
- Linear Scaling: As temporal windows grow, MambaDETR's computational cost grows linearly, whereas competitors' costs explode. The model's performance continued to improve as the temporal window increased from 1 to 12 frames, demonstrating its ability to utilize long-term historical data effectively.
- Speed Gains: The Motion Elimination module improved inference speed by 1.2 FPS and reduced GPU memory usage by 0.6 GB without sacrificing accuracy.
Conclusion
MambaDETR demonstrates that linear-scaling SSMs are a viable and efficient alternative to Transformers for long-range temporal modeling in 3D object detection. By pruning "static noise" through Motion Elimination and leveraging 2D guidance for 3D tasks, the model achieves high accuracy with a fraction of the memory footprint. Future work may involve extending this Mamba-based temporal fusion to multi-modal setups, combining Camera, LiDAR, and Radar data.
Summary updated