Skip to main content
QUICK REVIEW

[论文解读] VoxelFormer: Bird's-Eye-View Feature Generation based on Dual-view Attention for Multi-view 3D Object Detection

Zhuoling Li, Chuanrui Zhang|arXiv (Cornell University)|Apr 3, 2023
Advanced Neural Network ApplicationsComputer Science被引用 3
一句话总结

本文提出 VoxelFormer,一种多视角 3D 目标检测框架,引入双视角注意力机制用于鸟瞰图(BEV)特征生成,实现来自激光雷达点云的联合监督与来自相机视角的完整特征编码。通过从 BEV 和相机视角同时生成注意力权重,VoxelFormer 提升了特征质量,在与 BEVFormer 相同的训练设置下,于 nuScenes 数据集上实现了 4.9% 的 NDS 提升,即使仅使用 3 个编码器且未融合历史帧亦然。

ABSTRACT

In recent years, transformer-based detectors have demonstrated remarkable performance in 2D visual perception tasks. However, their performance in multi-view 3D object detection remains inferior to the state-of-the-art (SOTA) of convolutional neural network based detectors. In this work, we investigate this issue from the perspective of bird's-eye-view (BEV) feature generation. Specifically, we examine the BEV feature generation method employed by the transformer-based SOTA, BEVFormer, and identify its two limitations: (i) it only generates attention weights from BEV, which precludes the use of lidar points for supervision, and (ii) it aggregates camera view features to the BEV through deformable sampling, which only selects a small subset of features and fails to exploit all information. To overcome these limitations, we propose a novel BEV feature generation method, dual-view attention, which generates attention weights from both the BEV and camera view. This method encodes all camera features into the BEV feature. By combining dual-view attention with the BEVFormer architecture, we build a new detector named VoxelFormer. Extensive experiments are conducted on the nuScenes benchmark to verify the superiority of dual-view attention and VoxelForer. We observe that even only adopting 3 encoders and 1 historical frame during training, VoxelFormer still outperforms BEVFormer significantly. When trained in the same setting, VoxelFormer can surpass BEVFormer by 4.9% NDS point. Code is available at: https://github.com/Lizhuoling/VoxelFormer-public.git.

研究动机与目标

  • 解决基于 Transformer 的检测器与基于 CNN 的检测器在多视角 3D 目标检测中性能差距的问题。
  • 探究现有 BEV 特征生成方法的局限性,特别是特征编码与来自激光雷达点云的监督不足的问题。
  • 通过充分利用相机视角特征与直接的激光雷达监督,提升 BEV 特征质量。
  • 开发一种新型检测器架构,将双视角注意力机制整合至 BEVFormer 框架中,以提升检测精度。

提出的方法

  • 提出双视角注意力,一种新颖的 BEV 特征生成机制,通过同时从 BEV 特征与相机视角特征中计算注意力权重。
  • 将所有相机视角特征投影至 3D 体素空间,并利用体素坐标实现特征与 BEV 空间的对齐。
  • 通过可学习头部预测 3D 占位置信度,以调制特征聚合过程,实现基于激光雷达的深度监督。
  • 采用单级特征金字塔网络(FPN)表示,避免迭代式历史帧融合,从而降低计算成本。
  • 在 CUDA 中高效实现双视角注意力,通过避免中间的 5D 张量操作,实现快速推理与低 GPU 显存占用。
  • 将双视角注意力与 BEVFormer 架构结合,构建 VoxelFormer,一种用于多视角 3D 目标检测的新端到端检测器。

实验结果

研究问题

  • RQ1为何基于 Transformer 的检测器在多视角 3D 目标检测中性能不如基于 CNN 的检测器?
  • RQ2BEVFormer 中空间交叉注意力(SC)机制的局限性——特别是缺乏激光雷达监督与部分特征聚合——如何影响检测性能?
  • RQ3能否通过一种结合 BEV 与相机视角特征的双视角注意力机制,提升 BEV 特征质量与检测精度?
  • RQ4在公平训练条件下,仅使用 3 个编码器且无历史帧融合的简化版 VoxelFormer,其性能在多大程度上可超越 BEVFormer?
  • RQ5双视角注意力的高效 CUDA 实现是否能在保持高推理速度与低内存消耗的同时,实现完整的特征编码?

主要发现

  • 在仅使用 3 个编码器且未融合历史帧的情况下,VoxelFormer 在 nuScenes 测试集上达到 57.4% 的 NDS,比 BEVFormer 提升 0.5% NDS。
  • 在相同训练设置下,VoxelFormer 的 NDS 比 BEVFormer 高出 4.9%,充分证明双视角注意力的有效性。
  • 消融实验表明,当集成到同一检测架构中时,双视角注意力在 BEV 特征生成方面显著优于 SC 与 LSS。
  • 即使计算资源有限,VoxelFormer 的性能仍可通过增加编码器数量进一步提升,表明其具备良好的可扩展性。
  • 双视角注意力的 CUDA 实现实现了快速推理与低 GPU 显存占用,避免了昂贵的 5D 张量操作。
  • 可视化结果表明,VoxelFormer 能够成功检测出 BEVFormer 未能准确定位或正确分类的挑战性目标。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。