RayMamba: Ray-Aligned Serialization for Long-Range 3D Object Detection
Organizations: School of Computer Science and Technology, Nanjing University of Science and Technology, Nanjing 210094, China.
Abstract
Long-range 3D object detection remains challenging because LiDAR observations become highly sparse and fragmented in the far field, making reliable context modeling difficult for existing detectors. To address this issue, recent state space model (SSM)-based methods have improved long-range modeling efficiency. However, their effectiveness is still limited by generic serialization strategies that fail to preserve meaningful contextual neighborhoods in sparse scenes. To address this issue, we propose RayMamba, a geometry-aware plug-and-play enhancement for voxel-based 3D detectors. RayMamba organizes sparse voxels into sector-wise ordered sequences through a ray-aligned serialization strategy, which preserves directional continuity and occlusion-related context for subsequent Mamba-based modeling. It is compatible with both LiDAR-only and multimodal detectors, while introducing only modest overhead. Extensive experiments on nuScenes and Argoverse 2 demonstrate consistent improvements across strong baselines. In particular, RayMamba achieves up to 2.49 mAP and 1.59 NDS gain in the challenging 40--50 m range on nuScenes, and further improves VoxelNeXt on Argoverse 2 from 30.3 to 31.2 mAP.
Figures & tables
| Method | Data | mAP | NDS | Car | Truck | C.V | Bus | Trailer | Barrier | Motor. | Bike | Ped. | T.C. |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PointPillars [ 33 ] | L | 34.3 | 49.1 | 79.0 | 38.7 | 5.9 | 52.1 | 25.0 | 42.4 | 21.3 | 0.8 | 60.0 | 18.0 |
| SSN [ 34 ] | L | 46.7 | 58.2 | 83.0 | 52.1 | 16.2 | 61.7 | 32.1 | 54.1 | 47.9 | 22.3 | 70.1 | 27.2 |
| CenterPoint [ 14 ] | L | 56.4 | 64.7 | 84.6 | 53.9 | 16.5 | 67.0 | 37.5 | 65.0 | 55.3 | 36.7 | 83.3 | 64.3 |
| + RayMamba | L | 57.4 | 65.6 | 85.5 | 54.4 | 16.7 | 68.2 | 38.2 | 63.5 | 58.7 | 38.5 | 84.1 | 66.6 |
| TransFusion [ 35 ] | LC | 67.5 | 71.3 | - | - | - | - | - | - | - | - | - | - |
| BEVFusion [ 36 ] | LC | 69.6 | 72.1 | 89.1 | 66.7 | 30.9 | 77.7 | 42.6 | 73.5 | 79.0 | 67.5 | 89.4 | 79.3 |
| Method | Overall | 0–20m | 20–40m | 40–50m | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | NDS | mAP | NDS | mAP | NDS | mAP | NDS | |
| CenterPoint | 56.4 | 64.7 | 72.3 | 74.0 | 46.0 | 58.6 | 26.7 | 53.4 |
| +RayMamba ( ) | 57.4 | 65.6 | 73.2 | 75.1 | 47.5 | 59.6 | 29.2 | 55.0 |
| vs. baseline | +1.0 | +0.9 | +0.9 | +1.1 | +1.5 | +1.0 | +2.5 | +1.6 |
| +RayMamba ( ) | 57.7 | 65.9 | 73.2 | 75.1 | 48.1 | 60.3 | 27.2 | 54.0 |
| vs. baseline | +1.3 | +1.2 | +0.9 | +1.1 | +2.1 | +1.7 | +0.5 | +0.6 |
| Method | Overall | 0–20m | 20–40m | 40–50m | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | NDS | mAP | NDS | mAP | NDS | mAP | NDS | |
| MV2DFusion | 73.0 | 74.8 | 82.6 | 80.7 | 66.0 | 70.4 | 43.0 | 63.0 |
| +RayMamba ( ) | 73.2 | 74.8 | 82.6 | 80.5 | 66.3 | 70.7 | 43.3 | 63.1 |
| vs. baseline | +0.1 | +0.1 | +0.0 | -0.2 | +0.3 | +0.3 | +0.3 | +0.1 |
| +RayMamba ( ) | 73.4 | 75.0 | 83.0 | 80.9 | 66.3 | 70.9 | 44.6 | 63.7 |
| vs. baseline | +0.3 | +0.3 | +0.4 | +0.2 | +0.3 | +0.5 | +1.6 | +0.7 |
| Method | Overall | 0–20m | 20–40m | 40–50m | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | NDS | mAP | NDS | mAP | NDS | mAP | NDS | |
| MV2DFusion + RayMamba | 73.4 | 75.0 | 83.0 | 80.9 | 66.3 | 70.9 | 44.6 | 63.7 |
| + distance sort | 72.9 | 74.7 | 82.7 | 80.9 | 65.3 | 70.0 | 44.7 | 63.8 |
| Model | mAP 40-50m | NDS 40-50m | Params (M) | FPS |
|---|---|---|---|---|
| Base Architecture: MV2DFusion (Multi-modal) | ||||
| Baseline | 42.99 | 63.02 | 101.27 | 1.05 |
| + RayMamba | 44.59 | 63.70 | 103.74 | 1.01 |
| Improvement | +1.60 | +0.68 | +2.47 | -0.04 |
| Base Architecture: CenterPoint (LiDAR-only) | ||||
| Baseline | 26.74 | 53.44 | 8.94 | 11.20 |
| Methods | Average | Vehicle | Bus | Pedestrian | Stop Sign | Box Truck | Bollard | C-Barrel | Motorcyclist | MPC-Sign | Motorcycle | Bicycle | A-Bus | School Bus | Truck Cab | C-Cone | V-Trailer | Sign | Large Vehicle | Stroller | Bicyclist |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CenterPoint [ 14 ] | 22.0 | 67.6 | 38.9 | 46.5 | 16.9 | 37.4 | 40.1 | 32.2 | 28.6 | 27.4 | 33.4 | 24.5 | 8.7 | 25.8 | 22.6 | 29.5 | 22.4 | 6.3 | 3.9 | 0.5 | 20.1 |
| FSD [ 27 ] | 28.2 | 68.1 | 40.9 | 59.0 | 29.0 | 38.5 | 41.8 | 42.6 | 39.7 | 26.2 | 49.0 | 38.6 | 20.4 | 30.5 | 14.8 | 41.2 | 26.9 | 11.9 | 5.9 | 13.8 | 33.4 |
| VoxelNeXt [ 4 ] | 30.3 | 72.1 | 38.5 | 63.2 | 37.5 | 40.5 | 52.8 | 64.9 | 44.4 | 35.3 | 44.8 | 39.3 | 21.5 | 27.5 | 17.4 | 45.4 | 21.2 | 16.4 | 7.1 | 12.3 | 33.3 |
| + RayMamba | 31.2 | 73.7 | 39.8 | 64.6 | 40.1 | 40.5 | 56.5 | 69.3 | 46.0 | 34.5 | 47.3 | 40.9 | 20.6 | 26.4 | 19.6 | 45.5 | 21.5 | 16.6 | 6.1 | 15.7 | 35.0 |
| Method | Overall | 0–30m | 30–50m | 50–150m | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | CDS | mAP | CDS | mAP | CDS | mAP | CDS | |
| VoxelNext | 30.3 | 22.9 | 48.7 | 38.5 | 34.2 | 26.3 | 16.5 | 11.7 |
| +RayMamba ( ) | 30.2 | 22.8 | 48.0 | 38.1 | 33.3 | 25.6 | 17.3 | 12.3 |
| vs. baseline | -0.1 | -0.1 | -0.7 | -0.4 | -0.9 | -0.7 | +0.8 | +0.6 |
| +RayMamba ( ) | 30.6 | 23.1 | 48.2 | 38.2 | 34.4 | 26.4 | 17.4 | 12.4 |
| vs. baseline | +0.3 | +0.2 | -0.5 | -0.3 | +0.2 | +0.1 | +0.9 | +0.7 |
| Method | Overall | 0–30m | 30–50m | 50–150m | ||||
|---|---|---|---|---|---|---|---|---|
| mAP | CDS | mAP | CDS | mAP | CDS | mAP | CDS | |
| VoxelNeXt + RayMamba | 31.2 | 23.7 | 49.5 | 39.3 | 33.7 | 26.0 | 18.0 | 12.8 |
| VoxelNeXt + HilbertMamba | 30.6 | 23.1 | 48.3 | 38.2 | 33.7 | 25.9 | 17.5 | 12.5 |
3D Object Detection
3D object detection identifies objects and estimates their locations, sizes, and orientations from images, point clouds, radar, or fused sensors.
See all 180 papersFore-Mamba3D: Mamba-based Foreground-Enhanced Encoding for 3D Object Detection
ATN3D: Density-Aware LiDAR-Radar Early 3D Object Detection Under Extreme Sparsity
long-range'' scenario is routine in traffic. Although >30m is often labeled long-range in computer vision, on roadways it affords only approx. 1-2s for perception and decision-making. Under such extreme sparsity, two core challenges arise. First, early multimodal fusion tends to discard sparsity information and inject noise from empty or falsely occupied cells, degrading long-range recall. Second, context-agnostic uniform channel supervision favors dense and near-range samples, leaving far and small objects under-optimized, delaying the earliest detection of distant objects. We propose Ask The Neighbor'' (ATN3D), a LiDAR-Radar framework tailored for sparse-range conditions. ATN3D introduces (i) Density-aware early fusion with cross-modal gating that conditions fusion on per-voxel density/sparsity and Radar evidence, (ii) Occupancy-gated neighborhood aggregation with circular kernels to aggregate only from credible cells, (iii) Evidence-conditioned channel self-attention to adapt channel weights with weather/range, and (iv) a Range-aware loss that re-balances classification and localization by distance, aligning training with distance-stratified evaluation. On the VoD benchmark across clear and foggy conditions, ATN3D surpasses strong baselines: +3.55% mAP in clear weather and +8.41% mAP under simulated heavy fog; for >30m objects, gains are +3.33% (clear) and +2.09% (heavy fog). These results indicate earlier and more reliable long-range detections under sparse sensing in on-road traffic.