Spira: 利用体素数据的结构特性实现点云网络中的高效稀疏卷积
Spira: Exploiting Voxel Data Structural Properties for Efficient Sparse Convolution in Point Cloud Networks
AI总结:
Spira通过利用体素坐标整数性、空间范围限制和几何连续性等特性,设计了高效的稀疏卷积引擎,显著提升了点云网络的推理效率和层间执行性能。
摘要:
稀疏卷积(SpC)在自动驾驶和增强/虚拟现实等领域广泛应用。SpC通过构建核映射,存储输入体素坐标、输出坐标和权重偏移之间的映射,然后使用该映射计算输出坐标的特征向量。我们的工作识别了体素坐标的三个关键特性:它们是整数值的,受限于有限的空间范围,并且在几何上是连续的,即同一物体表面上的相邻体素很可能在小的空间偏移下存在。先前的SpC引擎未充分利用这些特性,导致在核映射构建过程中预处理和后处理开销大。为此,我们设计了Spira,这是首个针对GPU的体素特性感知SpC引擎。Spira提出了(i)一种高性能的一次性搜索算法,能够无预处理地构建核映射并具有高数据局部性;(ii)一种有效的打包原生处理方案,以低成本访问打包的体素坐标;(iii)一种灵活的双数据流执行机制,通过适应层特性高效计算输出特征向量;(iv)一种网络级并行化策略,能够在网络启动时同时构建所有SpC层的核映射。我们的评估表明,Spira在平均情况下比先前最先进的SpC引擎快1.68倍,端到端推理最快可达3.04倍,层间执行在多样化的层配置中平均快2.11倍,最高可达3.44倍。Spira的源代码可在github.com/SPIN-Research-Group/Spira上免费获取。
英文摘要:
Sparse Convolution (SpC) powers 3D point cloud networks widely used in autonomous driving and augmented/virtual reality. SpC builds a kernel map that stores mappings between input voxel coordinates, output coordinates, and weight offsets, then uses this map to compute feature vectors for output coordinates. Our work identifies three key properties of voxel coordinates: they are integer-valued, bounded within a limited spatial range, and geometrically continuous, i.e., neighboring voxels on the same object surface are highly likely to exist at small spatial offsets from each other. Prior SpC engines do not fully exploit these properties and suffer from high pre-processing and post-processing overheads during kernel map construction. To address this, we design Spira, the first voxel-property-aware SpC engine for GPUs. Spira proposes (i) a high-performance one-shot search algorithm that builds the kernel map with no pre-processing and high data locality, (ii) an effective packed-native processing scheme that accesses packed voxel coordinates at low cost, (iii) a flexible dual-dataflow execution mechanism that efficiently computes output feature vectors by adapting to layer characteristics, and (iv) a network-wide parallelization strategy that builds kernel maps for all SpC layers concurrently at network start. Our evaluation shows that Spira significantly outperforms prior state-of-the-art SpC engines by 1.68x on average and up to 3.04x for end-to-end inference, and by 2.11x on average and up to 3.44x for layer-wise execution across diverse layer configurations. The source code of Spira is freely available at github.com/SPIN-Research-Group/Spira.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。