Efficient and Robust 2D-to-BEV Representation Learning via Geometry-guided Kernel Transformer

Shaoyu Chen, Tianheng Cheng, Xinggang Wang, Wenming Meng, Qian Zhang, Wenyu LiuarXiv 2022 · DOI

Introduction

The Geometry-guided Kernel Transformer (GKT) introduces a novel approach to 2D-to-Bird’s Eye View (BEV) representation learning, balancing the efficiency of geometric priors with the flexibility of Transformer architectures. By constraining attention to local "kernel" regions instead of the entire image, GKT achieves state-of-the-art real-time performance—up to 72.3 FPS—while maintaining high robustness against camera calibration errors.

The Challenge of 2D-to-BEV Transformation

In autonomous driving, unifying multiple 2D camera perspectives into a single 3D BEV is essential for downstream tasks like motion planning and object detection. Current methodologies typically fall into two categories:

  1. Geometry-based Pointwise Transformation: These methods rely on precise camera calibration to map pixels directly to 3D space. While computationally efficient, they are sensitive to sensor noise; minor camera vibrations or misalignments can significantly degrade performance.
  2. Geometry-free Global Transformation: These utilize Transformers to allow every BEV grid cell to attend to every pixel across all images. Although robust to alignment issues, the computational cost is prohibitive for real-time applications, and convergence is slow as the model must learn geometric relationships from scratch.
Comparison of existing 2D-to-BEV transformation paradigms: (a) Geometry-based pointwise transformation and (b) Geometry-free global transformation.

Methodology: Geometry-guided Kernel Transformer (GKT)

GKT seeks a middle ground by using coarse camera parameters as a "hint" rather than a rigid constraint. The core mechanism involves projecting a BEV grid onto a "prior position" in the 2D image and then "unfolding" a small kernel around that location.

Overview of the GKT architecture, showing the image backbone, coarse projection to prior regions, and the kernel-based cross-attention mechanism.

Guided Attention and Kernel Flexibility

Instead of global attention, the Transformer performs cross-attention only between a BEV query and the features within its corresponding 2D kernel (e.g., $3 \times 3$ or $7 \times 3$). This significantly reduces the search space. The authors found that vertically elongated kernels (e.g., $7 \times 3$) are particularly effective, as they account for height and depth uncertainty inherent in 3D-to-2D projections.

Efficiency via Look-Up Tables (LUT)

To optimize runtime, the mapping between BEV grids and image pixels is pre-computed offline. At inference, the system uses a Look-Up Table (LUT) to identify relevant pixels, bypassing complex 3D-to-2D mathematical operations entirely. This sparsity allows GKT to avoid the $O(N^2)$ complexity typical of global Transformers.

Experimental Results

The model was evaluated on the nuScenes dataset, focusing on map-view segmentation.

  • Real-time Performance: GKT demonstrates exceptional speed, reaching 45.6 FPS on an NVIDIA 2080ti and 72.3 FPS on a 3090. This outperforms previous benchmarks like CVT (35.0 FPS) and BEVFormer.
  • Accuracy and Convergence: It achieved 38.0 mIoU on the nuScenes validation set. Due to the geometric priors, GKT converges rapidly, reaching high accuracy within just 1-2 training epochs.
  • Robustness to Noise: In simulations with added camera rotation and translation noise (up to 0.5m standard deviation), GKT maintained stable performance, whereas rigid pointwise methods typically fail under such conditions.

Conclusion and Future Work

GKT provides a robust, efficient framework for BEV representation. While currently focused on map-view segmentation with a predefined height assumption, the authors plan to extend this architecture to multi-task heads for simultaneous 3D object detection and motion planning.

Summary updated

BibTeX
@misc{chen2022efficient,
  author = {Shaoyu Chen and Tianheng Cheng and Xinggang Wang and Wenming Meng and Qian Zhang and Wenyu Liu},
  title = {{Efficient and Robust 2D-to-BEV Representation Learning via Geometry-guided Kernel Transformer}},
  year = {2022},
  eprint = {2206.04584},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.04584},
}
Figure