CollaMamba: Efficient Collaborative Perception with Cross-Agent Spatial-Temporal State Space Model

Yang Li, Quan Yuan, Guiyang Luo, Xiaoyuan Fu, Xuanhan Zhu, Yujia Yang, Rui Pan, Jinglin LiarXiv 2024 · DOI

Abstract

Collaborative perception is essential for autonomous vehicles to overcome individual sensor limitations. However, existing Transformer-based methods suffer from quadratic computational complexity, while CNNs struggle with long-range spatial dependencies. We present CollaMamba, the first framework to utilize State Space Models (SSMs) for multi-agent perception. By employing a linear-complexity Mamba architecture with a novel 4-direction spatial scanning mechanism and history-aware feature boosting, CollaMamba achieves state-of-the-art performance while reducing computational costs and communication overhead by over 70% and 64x, respectively.

Introduction

In autonomous driving, "two heads are better than one." Collaborative perception allows multiple agents to share sensor data, effectively seeing around corners or through obstacles. Despite its potential, three major hurdles persist:

  1. Spatial Complexity: Transformers offer global reach but scale quadratically, becoming prohibitively expensive as agent counts or data resolutions increase.
  2. Temporal Neglect: Most models ignore historical motion cues due to the high cost of processing long sequences in real-time.
  3. Communication Fragility: Real-world V2X (Vehicle-to-Everything) networks are often unreliable; losing a neighbor's data can lead to system performance degradation.

CollaMamba addresses these challenges by leveraging the efficiency of Mamba, a recent breakthrough in sequence modeling that provides global context with linear scaling.

Methods: The CollaMamba Framework

The core innovation of CollaMamba is the transition to a Spatial-Temporal State Space Model (SSM). The framework is structured into three primary modules to handle spatial collaboration, temporal history, and communication robustness.

Overview of the CollaMamba framework variants: (a) Spatial Collaboration, (b) History-Aware Boosting, and (c) Collaborative Prediction.

1. CollaMamba-Simple: Spatial Collaboration

The foundational backbone uses a Mamba2D Block. Since standard SSMs are designed for 1D sequences, CollaMamba employs a 4-direction scan (left, right, up, and down) to flatten 2D Bird’s-Eye View (BEV) features. This allows the model to capture global spatial dependencies across the entire map without the heavy computational price of self-attention.

The Mamba2D Block architecture featuring the 4-direction scanning mechanism to process spatial features.

2. CollaMamba-ST: History-Aware Feature Boosting

To incorporate temporal context, the History-Aware Feature Boosting module uses a Mamba-based encoder to process a queue of historical frames. This allows the model to leverage past information to refine noisy or occluded features in the current frame, significantly improving detection accuracy.

3. CollaMamba-Miss: Cross-Agent Collaborative Prediction

Designed for unreliable networks, this module includes a Cross-Agent Collaborative Prediction mechanism. If a neighbor's message is delayed or lost, the ego-vehicle uses its recorded global history to "predict" the missing features, ensuring robust performance even during communication outages.

Experimental Results

CollaMamba was evaluated on the OPV2V and V2XSet benchmarks, which provide realistic LiDAR point cloud data via the CARLA simulator.

  • Efficiency: Compared to the Transformer-based V2X-ViT, CollaMamba-Simple reduced parameters by 70.9% and FLOPs by 71.9%.
  • Communication: It achieved a 1/64 reduction in communication volume by producing highly compact feature representations.
  • Accuracy: On the OPV2V dataset, CollaMamba-ST improved Average Precision ([email protected]) by 4.1% over previous state-of-the-art methods.
  • Robustness: In "miss-receiving" scenarios, CollaMamba-Miss maintained significantly higher accuracy than competitors, demonstrating resilience to real-world network instability.

Conclusion

CollaMamba demonstrates that linear-complexity State Space Models are a viable and highly efficient alternative to Transformers for multi-agent perception. By effectively modeling both spatial and temporal dependencies, it sets a new standard for performance and efficiency in collaborative autonomous driving. Future work will explore multi-modal fusion and further optimization for raw point cloud sequences.

Summary updated

BibTeX
@misc{li2024collamamba,
  author = {Yang Li and Quan Yuan and Guiyang Luo and Xiaoyuan Fu and Xuanhan Zhu and Yujia Yang and Rui Pan and Jinglin Li},
  title = {{CollaMamba: Efficient Collaborative Perception with Cross-Agent Spatial-Temporal State Space Model}},
  year = {2024},
  eprint = {2409.07714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.07714},
}
Figure