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 · DOI

TL;DR

Pamba successfully adapts the Mamba state space model to 3D point cloud semantic segmentation, enabling true global interaction across entire scenes with linear complexity. By introducing a multi-path serialization strategy and a bidirectional ConvMamba block, it overcomes Mamba's inherent sensitivity to point ordering and weak local modeling, setting new performance milestones on complex benchmarks.

What Problem Does This Paper Address?

3D point cloud semantic segmentation—predicting a category label for every single point in a 3D scene—is foundational for robotics, autonomous driving, and augmented reality. While Transformers currently dominate this field due to their ability to capture long-range relationships, they suffer from quadratic computational complexity ($O(N^2)$). To cope, existing methods must chop massive point clouds into localized patches, which severely restricts their Effective Receptive Field (ERF) and prevents the model from learning global context (such as the spatial relationship between a desk and a chair across a room).

State Space Models (SSMs) like Mamba offer a promising alternative with linear complexity ($O(N)$). However, directly applying Mamba to 3D point clouds fails due to three core challenges:

  1. Permutation sensitivity: Mamba expects a causal sequence, but point clouds are inherently unordered.
  2. Weak local modeling: Mamba compresses global context into a hidden state, often sacrificing fine-grained local geometric details.
  3. Unidirectional processing: Standard Mamba only scans data in one direction, preventing points from interacting bidirectionally.
Figure 1: Visualization of effective receptive fields (ERF) of the point of interest on ScanNet200 dataset. The yellow star represents the position of the point of interest. Pamba shows larger ERF and the ability of handling long-range interactions between different objects in a scene. More illustrations are provided in Appendix.

Methods

The authors introduce Pamba, a framework that processes an entire point cloud (often exceeding 100k points) as a single sequence without patch partitioning. It addresses Mamba's limitations through two key innovations:

  1. Multi-path Serialization Strategy: To map unordered 3D points into a structured 1D sequence, Pamba introduces new "hz" and "hz-swap" curves. These hybrid curves merge the locality-preserving traits of Hilbert curves with the computational efficiency of Z-order curves, allowing the model to capture multi-perspective spatial relationships within each layer.
  2. ConvMamba Block: This block splits processing into two serial stages. First, a Local Aggregation stage uses efficient sparse submanifold convolutions to preserve local geometric structures. Second, a Global Aggregation stage employs a Bidirectional Mamba mechanism. Crucially, the forward and backward Mamba scans share parameters, enforcing a consistency constraint across opposite scanning directions.
Figure 2: Left: The overall architecture of Pamba; Right: ConvMamba block.

Datasets

Pamba was evaluated on four major scene-level benchmarks:

  • ScanNet v2: An indoor room dataset containing 1,513 scans, averaging 148k points per scene.
  • ScanNet200: The same scans as ScanNet v2 but scaled up to 200 semantic categories, making predictions significantly more difficult.
  • S3DIS: An indoor dataset consisting of 271 rooms across six large-scale areas.
  • nuScenes: A challenging outdoor LiDAR dataset for autonomous driving.

Key Insights and Ideas

  • True Global Context is Linear: Pamba demonstrates that we do not need to sacrifice global scene context for computational efficiency; SSMs can ingest over 100k points simultaneously while maintaining a linear complexity curve.
  • Hybrid Curves Provide Richer Context: Combining different space-filling curves (Hilbert + Z-order) within a single layer performs significantly better than simply shuffling single-pattern curves across different layers, as it blends spatial perspectives more effectively.
  • Symmetry Acts as a Regularizer: Sharing parameters between the forward and backward Mamba scans ensures the model extracts consistent spatial features regardless of the sequence direction, acting as an elegant spatial constraint.
  • Complexity Benefits from Global Views: Pamba shines brightest in complex scenarios with hundreds of categories (like ScanNet200). When local geometric cues become ambiguous due to excessive labels, long-range object-to-object relationships become the deciding factor for accurate classification.

Key Results

  • ScanNet200 SOTA: Pamba achieved a mean Intersection over Union (mIoU) of 36.3%, outperforming the previous transformer-based state-of-the-art (PTv3) by 1.1%.
  • Competitive Performance: It delivered top-tier results across the board, matching or exceeding advanced models on ScanNet v2 (77.6% mIoU), S3DIS Area 5 (73.5% mIoU), and nuScenes (80.4% mIoU).
  • Memory Efficiency: During training, Pamba maintained a low memory footprint of 5.2G on ScanNet200, matching PTv3 and drastically beating older transformer backbones like PTv2 (10.1G).

Limitations and Future Work

  • Parallelism and Latency: While memory-efficient, Pamba exhibits slightly slower inference latency compared to highly optimized patch-based transformers (179ms vs. PTv3's 108ms). Because Pamba handles the entire point cloud globally, points are calculated serially, which limits GPU parallelism. Developing more parallelizable SSM mechanisms is a key future direction.
  • Task Scope: The framework is currently optimized and evaluated solely for semantic segmentation. Future work includes extending Pamba to 3D instance segmentation and object detection.

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