Pamba: Enhancing Global Interaction in Point Clouds via State Space Model

Zhuoyuan Li, Yubo Ai, Jiahao Lu, Chuxin Wang, Jiacheng Deng, Hanzhi Chang, Yanzhe Liang, Wenfei Yang, Shifeng Zhang, Tianzhu Zhang

Abstract

3D point cloud semantic segmentation is a critical task for robotics and autonomous systems. While Transformer-based architectures currently lead the field, their quadratic computational complexity ($O(N^2)$) necessitates local windowing or patching, which restricts the model's ability to capture long-range global dependencies. We present Pamba, a novel architecture based on State Space Models (SSMs) that achieves linear complexity ($O(N)$) while maintaining a massive global receptive field. By integrating a multi-path serialization strategy with a hybrid "ConvMamba" block, Pamba achieves state-of-the-art performance on competitive benchmarks like ScanNet200 and S3DIS, while significantly reducing memory overhead.

Introduction

Assigning semantic labels to every point in a 3D scene is computationally demanding. Current state-of-the-art Transformers struggle with large-scale scenes (often exceeding 100,000 points) due to the "quadratic bottleneck." To mitigate this, researchers often partition scenes into small patches, which prevents the model from understanding relationships between distant objects—such as a desk in one corner and a chair in another.

Pamba addresses this by bringing the efficiency of the Mamba architecture to 3D data. By maintaining linear complexity, Pamba enables true global interaction across entire scenes without the prohibitive computational costs associated with standard attention mechanisms.

Methodology

Adapting State Space Models, originally designed for 1D sequences, to unordered 3D point clouds requires overcoming the lack of inherent sequence order. Pamba introduces three primary innovations:

1. Multi-path Serialization Strategy

To process 3D points through a 1D Mamba layer, the points must be serialized. Pamba utilizes new space-filling curves, termed hz-curves and hz-swap curves, which combine the spatial proximity preservation of Hilbert curves with the computational efficiency of Z-order curves. By employing multiple distinct paths across different layers, the model captures spatial relationships from diverse perspectives.

2. The ConvMamba Block

Pure SSMs can struggle with fine-grained local geometry. Pamba utilizes a hybrid ConvMamba block that bifurcates processing into:

  • Local Aggregation: Employs sparse submanifold convolutions to capture immediate geometric details.
  • Global Aggregation: Utilizes a Bidirectional Mamba mechanism, allowing every point in the sequence to interact with every other point, regardless of their relative positions.
The Pamba architecture featuring the Encoder-Decoder structure and the hybrid ConvMamba block.

3. Direct Whole-Scene Processing

The linear complexity of the SSM allows Pamba to process an entire point cloud as a single continuous sequence. For instance, in the ScanNet dataset, Pamba can handle upwards of 148k points simultaneously, avoiding the information loss inherent in patch-based methods.

Experimental Results

Pamba was evaluated on several major benchmarks, including ScanNet v2, ScanNet200, S3DIS, and nuScenes.

Performance and Efficiency

On the challenging ScanNet200 dataset, Pamba achieved 36.3% mIoU, outperforming the previous state-of-the-art (PTv3) by 1.1%. On S3DIS (Area 5), it reached 73.5% mIoU. Crucially, Pamba demonstrated superior efficiency; during training on ScanNet200, it utilized approximately 5.2GB of memory—roughly half that of previous Transformer models like PTv2—with a training latency of 249ms.

Effective Receptive Field (ERF)

Visualization of the Effective Receptive Field reveals that Pamba maintains a significantly larger global context compared to window-based Transformers. While models like PTv3 focus primarily on semantically similar local neighbors, Pamba's ERF spans the entire room, allowing it to relate distant objects effectively.

Comparison of the Effective Receptive Field (ERF) between PTv3 and Pamba, illustrating Pamba's superior global context.

Conclusion

Pamba demonstrates that State Space Models offer a powerful and scalable alternative to Transformers for 3D point cloud segmentation. By overcoming the quadratic complexity bottleneck, it enables true global interaction while remaining memory-efficient. Future work will explore extending this architecture to instance segmentation and 3D object detection, alongside further hardware-level optimizations for SSM scanning kernels.

Summary updated

BibTeX
@inproceedings{li2025pamba,
  author = {Zhuoyuan Li and Yubo Ai and Jiahao Lu and Chuxin Wang and Jiacheng Deng and Hanzhi Chang and Yanzhe Liang and Wenfei Yang and Shifeng Zhang and Tianzhu Zhang},
  title = {{Pamba: Enhancing Global Interaction in Point Clouds via State Space Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i5.32540},
}
Figure