arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.19743cs.LGcs.AIcs.CG
收藏

从理论到吞吐量:用于大规模批量3D学习的CUDA优化APML

From Theory to Throughput: CUDA-Optimized APML for Large-Batch 3D Learning

Center for Machine Vision and Signal Analysis (CMVS), University of Oulu(机器视觉与信号分析中心(CMVS),奥卢大学)

Sasan Sharifipour, Constantino Álvarez Casado, Manuel Lage Cañellas, Miguel Bordallo López

AI总结:

CUDA-APML通过稀疏GPU实现优化大规模批量3D学习的APML,显著降低内存使用并保持模型精度。

摘要:

损失函数是学习准确的3D点云模型的基础,但常见选择在几何保真度和计算成本之间进行权衡。Chamfer距离效率高但允许许多对一的对应关系,而Earth Mover距离在高计算成本下更能反映一对一的运输。APML通过可微的Sinkhorn迭代和解析推导的温度近似运输,但其密集形式在内存中呈二次增长。我们提出了CUDA-APML,一种稀疏GPU实现,它对可忽略的分配进行阈值处理,并在COO形式中直接运行自适应softmax、双向对称化和Sinkhorn归一化。这实现了近线性内存扩展,并在存储的支持上保留梯度,而成对距离评估在当前实现中仍呈二次增长。在ShapeNet和MM-Fi上,CUDA-APML在小容差内匹配密集APML,同时将峰值GPU内存减少了99.9%。代码可在:https://github.com/Multimodal-Sensing-Lab/apml 上获得。

英文摘要:

Loss functions are fundamental to learning accurate 3D point cloud models, yet common choices trade geometric fidelity for computational cost. Chamfer Distance is efficient but permits many-to-one correspondences, while Earth Mover Distance better reflects one-to-one transport at high computational cost. APML approximates transport with differentiable Sinkhorn iterations and an analytically derived temperature, but its dense formulation scales quadratically in memory. We present CUDA-APML, a sparse GPU implementation that thresholds negligible assignments and runs adaptive softmax, bidirectional symmetrization, and Sinkhorn normalization directly in COO form. This yields near-linear memory scaling and preserves gradients on the stored support, while pairwise distance evaluation remains quadratic in the current implementation. On ShapeNet and MM-Fi, CUDA-APML matches dense APML within a small tolerance while reducing peak GPU memory by 99.9%. Code available at: https://github.com/Multimodal-Sensing-Lab/apml

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑