BCSSN: Bi-direction Compact Spatial Separable Network for Collision Avoidance in Autonomous Driving

Haichuan Li, Liguo Zhou, Alois C. KnollarXiv 2023 · DOI

Abstract

Collision avoidance is a critical challenge in autonomous driving, requiring models to effectively integrate spatial awareness with temporal context. This paper introduces the Bi-direction Compact Spatial Separable Network (BCSSN), a hybrid architecture that combines Convolutional Neural Networks (CNNs), Bi-directional LSTMs, and self-attention mechanisms. By establishing temporal correlations early in the pipeline and utilizing a Sequential Spatial Network (SSN) for global context, BCSSN achieves a significant reduction in collision rates. Evaluated on the L5kit benchmark, the model recorded only 3.7 collisions per 1,000 miles, outperforming state-of-the-art Vision Transformers by nearly sevenfold.

Introduction

The "holy grail" of autonomous driving is reliable collision avoidance. While deep learning—specifically CNNs—has excelled at identifying objects in static images, these models often struggle to understand how objects relate to one another over time. A critical gap in existing vision-based systems is the failure to establish strong correlations between sequential image frames. In high-stakes driving environments, missing the "flow" of motion leads to poor trajectory prediction and increased collision risk. Furthermore, standard models struggle to balance the need for fine-grained local details with broader global context, such as overall traffic flow.

Methodology

The Bi-direction Compact Spatial Separable Network (BCSSN) addresses these challenges through a "best-of-all-worlds" hybrid approach. The architecture processes Bird’s Eye View (BEV) maps generated from camera and LiDAR data.

Overall architecture of the BCSSN model, illustrating the sub-graph processing and the integration of Bi-LSTM and SSN modules.

The system operates in four primary stages:

  1. Sub-graph Processing: The BEV map is decomposed into three sub-graphs: the Self-Driving Vehicle (SDV), other agents (vehicles and pedestrians), and map-related objects (lanes and signs).
  2. BIFR Blocks (Bi-directional Frame-Related): These blocks utilize Bi-directional LSTMs to capture temporal dependencies. By analyzing sequences both forward and backward, the model establishes the motion context—where an object came from and where it is likely headed—before spatial feature extraction begins.
  3. SSN Blocks (Sequential Spatial Network): This core backbone refines features through three specialized units:
  4. Reinforcement Region Unit (RRU): Acts as a data augmentation tool to amplify informative regions.
  5. Fast Multi-Head Self-Attention (FMHSA): An efficient attention mechanism that weighs the importance of objects across the entire scene.
  6. Information Refinement Unit (IRU): Uses multi-scale convolutional kernels to polish features captured by the attention layer.
  7. Trajectory Generation: The network outputs predicted X, Y coordinates and the "Yaw" (heading angle) for the vehicle.
Detailed view of the Sequential Spatial Network (SSN) block, showing the RRU, FMHSA, and IRU components.

Experimental Setup

The model was evaluated using the L5kit dataset, a massive open-source repository featuring over 1,000 hours of real-world driving data. The dataset includes 170,000 scenes, each 25 seconds long, with high-definition semantic maps containing over 15,000 labeled elements. This scale allows for rigorous testing of trajectory prediction in complex urban environments.

Results and Discussion

BCSSN was compared against several industry standards, including ResNet-50, RepVGG, and Vision Transformers (ViT). The primary metric was the average number of collisions per 1,000 miles.

Method Front Collisions Side Collisions Rear Collisions Total Collisions
BCSSN (Ours) 0.6 1.1 2.0 3.7
ViT 8.4 7.7 9.2 25.3
RepVGG 16.2 11.7 10.6 38.5
ResNet-50 15.2 20.7 8.3 44.2

The results indicate that BCSSN is significantly safer, particularly in preventing front collisions, where it proved 14 times more effective than the RepVGG architecture. Key insights from the development include:

  • Temporal-First Approach: By using Bi-LSTMs early in the pipeline, motion is "baked into" the features, ensuring the model understands dynamics from the start.
  • Efficiency: The use of encoders to compress input data makes the heavy computational load of attention mechanisms more viable for real-time applications.
  • Geometric Simplification: Utilizing BEV graphs simplifies scene geometry, facilitating more accurate physics-based trajectory calculations.

Conclusion

BCSSN demonstrates that integrating temporal memory with global spatial context can drastically improve autonomous vehicle safety. While challenges remain in bridging the gap between virtual simulations and real-world hardware, the model's performance on the L5kit benchmark sets a new standard for collision avoidance. Future work will explore transferring the SSN block to other vision tasks, such as object detection and semantic segmentation.

Summary updated

BibTeX
@misc{li2023bcssn,
  author = {Haichuan Li and Liguo Zhou and Alois C. Knoll},
  title = {{BCSSN: Bi-direction Compact Spatial Separable Network for Collision Avoidance in Autonomous Driving}},
  year = {2023},
  eprint = {2303.06714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.06714},
}
Figure