SEFormer: Structure Embedding Transformer for 3D Object Detection

Xiaoyu Feng, Heming Du, Hehe Fan, Yueqi Duan, Yongpan Liu

Introduction

3D object detection from sparse LiDAR point clouds is a cornerstone of autonomous driving. While traditional 3D convolutional neural networks (CNNs) are effective at encoding local geometric structures, their rigid grid-based kernels often struggle with the irregular and sparse nature of point clouds, inadvertently incorporating background noise. Conversely, Transformers have emerged as a powerful alternative due to their self-attention mechanism, which adaptively filters out irrelevant points. However, vanilla Transformers suffer from an "isotropic" limitation: they apply the same transformation matrix to all value points regardless of their relative position, making them blind to critical geometric cues like distance and direction.

The SEFormer Unit: Encoding Spatial Structure

To bridge the gap between the structure-encoding capabilities of convolutions and the noise-filtering strengths of Transformers, this paper introduces the SEFormer (Structure-Embedding transFormer) unit. The core innovation lies in Position-Aware Value Transformations. Unlike standard Transformers that use a single weight matrix for all points in a neighborhood, SEFormer utilizes a memory pool of multiple transformation matrices. The specific matrix applied to a neighboring point is dynamically selected based on its relative spatial relationship to the query point.

SEFormer applies different transformation matrices ($W_{vi}$) to neighboring points based on their relative spatial positions.

Furthermore, SEFormer replaces the standard K-Nearest Neighbors (KNN) grouping with a multi-radii grid interpolation strategy. While KNN can lead to biased sampling if points are clustered on one side of an object, grid interpolation ensures that the network samples points evenly from all directions, providing a more balanced geometric context.

System Architecture

The SEFormer architecture is designed as a multi-stage pipeline that leverages both voxel-based and point-based features.

  1. Backbone: A standard 3D CNN extracts initial voxel features from the raw point cloud.
  2. Spatial Structure Module: These features are processed by a series of SEFormer blocks to extract refined point-level embeddings. This module focuses on capturing the fine-grained geometric relationships between points.
  3. ROI Head: Region proposals are generated and then processed by a SEFormer-based ROI Head. A key insight here is the treatment of empty space. By dividing proposals into 3D sub-regions and explicitly embedding those that are empty (often due to occlusion), the model gains strong geometric clues about an object's orientation and boundaries.
The SEFormer architecture consists of a Spatial Structure Module for point-level features and an ROI Head for object-level embeddings.

Experimental Results

The model was evaluated on the Waymo Open Dataset (WOD), a benchmark containing 1,000 LiDAR sequences. SEFormer achieved state-of-the-art results, reaching 79.02% LEVEL_1 mAP and 70.31% LEVEL_2 mAP. This represents a 1.2% improvement over the previous state-of-the-art, VoxSet, on LEVEL_1.

Notably, the model's performance gains were most significant on distant objects (over 50 meters away), where point clouds are at their sparsest. In these scenarios, SEFormer improved mAP by 3.19% over strong baselines. This demonstrates that the ability to explicitly encode structural geometry is particularly vital when data is limited. Ablation studies further confirmed that replacing vanilla Transformers with SEFormer units consistently provided a ~3% mAP boost across the pipeline.

Conclusion

SEFormer addresses a fundamental weakness in applying Transformers to 3D point clouds. By introducing position-aware value transformations and grid-based sampling, it successfully combines the structural awareness of convolutions with the adaptive attention of Transformers. The resulting architecture sets a new standard for performance on large-scale autonomous driving datasets, particularly in challenging long-range detection scenarios.

Summary updated

BibTeX
@inproceedings{feng2023seformer,
  author = {Xiaoyu Feng and Heming Du and Hehe Fan and Yueqi Duan and Yongpan Liu},
  title = {{SEFormer: Structure Embedding Transformer for 3D Object Detection}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i1.25139},
}
Figure