(AF)2-S3Net: Attentive Feature Fusion with Adaptive Feature Selection for Sparse Semantic Segmentation Network

Ran Cheng, Ryan Razani, Ehsan Taghavi, Enxu Li, Bingbing Liu

TL;DR

(AF)²-S3Net is a novel 3D sparse convolutional network that achieves state-of-the-art performance in LiDAR semantic segmentation by intelligently fusing multi-scale features. By introducing attentive fusion in the encoder and adaptive selection in the decoder, the model excels at capturing both fine-grained details of small objects (like pedestrians) and the broad context of large surfaces (like roads), ranking 1st on the SemanticKITTI leaderboard at the time of publication.

What Problem Does This Paper Address?

For autonomous vehicles to navigate safely, they must accurately perceive their surroundings. Semantic segmentation—assigning a category label to every point in a 3D LiDAR scan—is crucial for this. However, 3D LiDAR data presents unique challenges: it is unstructured, non-uniformly dense, and becomes extremely sparse at long ranges.

Existing methods often face a trade-off:

  1. 2D Projection methods (e.g., range-image or bird's-eye view) are fast but lose valuable 3D geometric structure.
  2. 3D Voxel-based methods preserve structure but can be computationally heavy or lose fine details during the voxelization process.
  3. Point-based methods are accurate for small clouds but struggle to scale to the massive, sparse scenes typical of outdoor driving.

The authors aim to bridge these gaps with a network that handles varying sparsity levels while maintaining high accuracy for both large structures and small, critical instances like traffic signs and pedestrians.

Methods

The core of (AF)²-S3Net is built upon the Minkowski Engine, a library for sparse 3D convolutions. The authors introduce two primary architectural innovations:

1. Attentive Feature Fusion Module (AF2M)

Located in the encoder, AF2M uses a multi-branch approach to extract features at different scales. It employs three parallel branches with varying kernel sizes (small, medium, and large) to capture a range of information from point-level details to global voxel-level context. These features are fused using learnable, mutually exclusive masks ($\alpha, \beta, \gamma$) and an attention residual ($\Delta$) to stabilize the learning process.

Figure 2: Overview of (AF)2-S3Net. The top left block is Attentive Feature Fusion Module (AF2M) that aggregates Lo- cal and global context using a weighted combination of mutually exclusive learnable masks, α, β, and γ. The top right block illustrates how Adaptive Feature Selection Module (AFSM) uses shared parameters to learn inter relationship between channels across multi-scale feature maps from AF2M. (best viewed on display)

2. Adaptive Feature Selection Module (AFSM)

In the decoder, AFSM acts as an "adaptive dropout" mechanism. It uses a squeeze-and-excitation style block (Sparse Global Pooling and Linear Excitation) to re-weight feature maps coming from the encoder's skip connections. This allows the network to actively emphasize the most relevant contextual information for the final prediction, improving generalizability across different environments.

3. Hybrid Loss Function

To handle the highly imbalanced nature of outdoor datasets (where "road" points far outnumber "person" points), the authors use a weighted combination of three losses:

  • Geo-aware anisotropic loss: Helps recover fine geometric details.
  • Exponential-log loss: Balances the focus between small and large structures.
  • Lovász-Softmax loss: Directly optimizes the mean Intersection-over-Union (mIoU) metric.

Datasets

The model was evaluated on three diverse benchmarks:

  • SemanticKITTI: The primary benchmark for large-scale outdoor LiDAR segmentation, consisting of over 40,000 frames.
  • nuScenes-lidarseg: A recent large-scale dataset with 1,000 driving scenes from different cities (Boston and Singapore), used to test the model's generalizability.
  • ModelNet40: A standard 3D object classification dataset used to demonstrate the versatility of the encoder architecture.

Key Insights and Ideas

  • Multi-Scale Attention is Key: The AF2M module effectively delegates different branches to different object scales. As shown in Figure 3, the first branch ($\alpha x_1$) focuses on capturing fine details of small objects like poles and people, while the deeper branches handle larger surfaces like vegetation and roads.
  • Mitigating Sparsity at Range: By using sparse convolutions and attentive fusion, the model maintains higher accuracy at long distances (50m+) compared to traditional residual networks, which often struggle as point density drops.
  • Voxel-Point Hybridization: While technically a voxel-based sparse CNN, the multi-branch attention allows the network to mimic the benefits of point-based learning (fine detail) within a computationally efficient voxel-based framework.
Figure 3: Illustration of Attentive Feature Fusion and spa- tial geometry of point cloud. The three labels αx1, βx2, and γx3 represent the branches in AF2M encoder block. The first branch, αx1, learns to capture and emphasize the fine details for smaller instances such as person, pole and traffic- sign across the driving scenes with varying point densi- ties. The shallower branches, βx2 and γx3, learn different attention-maps that focus on global contexts embodied in larger instances such as vegetation, sidewalk and road sur- face. (best viewed on display)

Key Results

  • State-of-the-Art Performance: On the SemanticKITTI test set, (AF)²-S3Net achieved a 69.7% mIoU, outperforming the previous best method (SPVNAS) by 2.7% and the baseline (MinkNet42) by a massive 15.4%.
  • Small Object Dominance: The model showed significant gains in difficult classes: +14.8% for bicycles, +13.3% for persons, and +24.0% for motorcyclists compared to the next best methods.
  • Generalization: On nuScenes-lidarseg, the model achieved a 62.2% mIoU, showing a lower error rate in recognizing region surfaces and small objects compared to SalsaNext and MinkNet42.
Figure 4: Compared to SalsaNext and MinkNet42, our method has a lower error (shown in red) recognizing region surface and smaller objects on nuScenes validation set, thanks to the proposed attention modules.

Limitations and Future Work

While (AF)²-S3Net sets a new bar for accuracy, the authors acknowledge that performance still degrades at extreme ranges (60m+) where LiDAR data is exceptionally sparse.

Future research directions include:

  • Extending the architecture to handle 3D instance segmentation (identifying individual objects, not just categories).
  • Integrating the model into 3D object detection pipelines for a more holistic scene understanding.
  • Further optimizing the computational efficiency to ensure real-time performance on constrained embedded hardware in autonomous vehicles.

Summary updated

Abstract

Autonomous robotic systems and self driving cars rely on accurate perception of their surroundings as the safety of the passengers and pedestrians is the top priority. Semantic segmentation is one the essential components of environmental perception that provides semantic information of the scene. Recently, several methods have been introduced for 3D LiDAR semantic segmentation. While, they can lead to improved performance, they are either afflicted by high computational complexity, therefore are inefficient, or lack fine details of smaller instances. To alleviate this problem, we propose AF2-S3Net, an end-to-end encoder-decoder CNN network for 3D LiDAR semantic segmentation. We present a novel multi-branch attentive feature fusion module in the encoder and a unique adaptive feature selection module with feature map re-weighting in the decoder. Our AF2-S3Net fuses the voxel based learning and point-based learning into a single framework to effectively process the large 3D scene. Our experimental results show that the proposed method outperforms the state-of-the-art approaches on the large-scale SemanticKITTI benchmark, ranking 1st on the competitive public leaderboard competition upon publication.
BibTeX
@inproceedings{cheng2021af,
  author = {Ran Cheng and Ryan Razani and Ehsan Taghavi and Enxu Li and Bingbing Liu},
  title = {{(AF)2-S3Net: Attentive Feature Fusion with Adaptive Feature Selection for Sparse Semantic Segmentation Network}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.01236},
}
Figure