Fore-Mamba3D: Mamba-based Foreground-Enhanced Encoding for 3D Object Detection

Zhiwei Ning, Xuanang Gao, Jiaxi Cao, Runze Yang, Huiying Xu, Xinzhong Zhu, Jie Yang, Wei Liu

TL;DR

Fore-Mamba3D is a novel backbone for 3D object detection that significantly boosts efficiency by focusing exclusively on "foreground" voxels (the actual objects) rather than the entire scene. By combining State Space Models (Mamba) with a regional-to-global sliding window and semantic-aware fusion, it achieves state-of-the-art performance on major benchmarks while slashing computational costs (FLOPs) by over 40%.

What Problem Does This Paper Address?

In the world of autonomous driving, 3D object detection from LiDAR point clouds is a cornerstone task. Traditionally, researchers used Sparse CNNs or Transformers. However, Sparse CNNs struggle with hardware compatibility, and Transformers suffer from quadratic computational complexity—making them "heavy" for real-time use.

Enter Mamba, a class of State Space Models (SSMs) that offers linear complexity. While promising, existing Mamba-based 3D detectors have a "background problem." They typically encode every non-empty voxel in a scene, even though roughly 80% of those voxels are just background noise (ground, walls, etc.).

Comparison of encoding strategies, background ratios, and performance

Simply throwing away the background and only encoding foreground voxels sounds easy, but it usually tanks performance. Why? Because when you remove the background "connective tissue," the remaining foreground voxels become sparse and isolated. This leads to response attenuation (distant objects can't "talk" to each other) and restricted context in the linear sequence.

Methods

The authors introduce Fore-Mamba3D, which uses three clever architectural moves to make foreground-only encoding work:

  1. Foreground Voxel Sampling & Hilbert Rotation: The model predicts a "foreground score" for every voxel and keeps only the top-$k$. To prevent nearby 3D points from being separated when flattened into a 1D sequence, they use Hilbert curves and rotate the scene multiple times, ensuring spatial neighbors stay close in the sequence.
  2. Regional-to-Global Sliding Window (RGSW): Standard Mamba is "causal," meaning a voxel only sees what came before it in the sequence. RGSW breaks the sequence into patches and uses "local tokens" to summarize them. It then uses a sliding window to propagate this information globally, effectively allowing bidirectional communication across the entire scene without the massive cost of global attention.
Architecture of RGSW and SASFMamba modules
  1. SASFMamba (Semantic-Assisted and State Spatial Fusion):
    • Semantic-Assisted Fusion (SAF): This module reorders the internal "states" of the Mamba model based on predicted object categories (e.g., grouping all "car" voxels together). This allows the model to aggregate semantic context more effectively.
  2. State Spatial Fusion (SSF): To fix the geometric distortion caused by flattening 3D space into 1D, this module temporarily projects the features back into a sparse 3D grid to perform spatial convolutions before flattening them again.

Datasets

The model was evaluated on the "Big Three" of 3D detection:

  • nuScenes: A large-scale dataset with 1,000 scenes and complex urban environments.
  • KITTI: The classic benchmark for 3D object detection.
  • Waymo Open Dataset: A high-density dataset used to test the model's scalability and robustness.

Key Insights and Ideas

  • Less is More: By ignoring the background, the model can dedicate more "representational power" to the objects that actually matter for driving decisions.
  • Causality is a Bug, Not a Feature (in 3D): In language, words have a temporal order. In 3D space, there is no "past" or "future." The RGSW module is a critical fix that allows Mamba to behave more like a global processor rather than a simple sequence reader.
  • Semantics as a Shortcut: Grouping voxels by what they are (SAF) helps the model overcome the "locality bias" of linear encoders. If the model knows two distant clusters of points are both parts of "trucks," it can share features between them more easily.

Key Results

Fore-Mamba3D sets a new bar for LiDAR-only detection:

  • Accuracy: On nuScenes, it achieved 68.4% mAP and 72.3% NDS, outperforming previous SOTA Mamba models like LION and Voxel-Mamba.
  • Efficiency: Compared to the LION backbone, Fore-Mamba3D reduced FLOPs by 43.7% and increased the frame rate (FPS) by nearly 24%.
  • KITTI Performance: It achieved an average improvement of 1.7% over the previous best Mamba-based method, particularly excelling in detecting "Hard" category objects.

Limitations and Future Work

  • Sampling Dependency: The entire pipeline relies on the initial "foreground score" prediction. If the model misclassifies a car as background early on, that data is discarded and cannot be recovered in later stages.
  • Small Object Sensitivity: While the model is robust, qualitative results show it can still struggle with extremely small or highly occluded pedestrians in cluttered environments.
  • Future Directions: The authors suggest exploring how this foreground-centric approach could be integrated into multi-modal systems (LiDAR + Camera) or used for long-range detection (200m+), where background noise is even more prevalent.

Summary updated

BibTeX
@inproceedings{ning2026fore,
  author = {Zhiwei Ning and Xuanang Gao and Jiaxi Cao and Runze Yang and Huiying Xu and Xinzhong Zhu and JIE YANG and Wei Liu},
  title = {{Fore-Mamba3D: Mamba-based Foreground-Enhanced Encoding for 3D Object Detection}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=e4t1775UJ1},
}
Figure