双谱:使选择性G-双谱成为现实
bispectrum: Selective G-Bispectra Made Practical
AI总结:
本文提出bispectrum库,实现七种群作用下的选择性G-双谱,通过计算优化在GPU上实现亚毫秒级的G-不变性,优于传统池化方法。
摘要:
许多机器学习任务在变换群G的作用下具有不变性:信号分类对平移不变,图像分类对二维旋转不变,球面图像分类对三维旋转不变。G-双谱是信号的完整不变量,具有在机器学习和深度网络中作为池化层的优势。然而,其部署受限于高计算成本和群特定的实现。本文提出bispectrum,一个开源且完全单元测试的PyTorch库,实现七种不同群作用的选择性G-双谱作为可微模块,可直接整合到机器学习流程和深度学习架构中。对于有限群G,选择性将计算成本从O(|G|²)降至O(|G|)。对于平面旋转,利用盘双谱;对于球面三维旋转,引入带限L的增强选择性双谱,将成本从O(L³)降至Θ(L²)系数。我们对整个库进行了性能分析(实现了各种计算优化),显示其在GPU上以亚毫秒时间计算选择性G-双谱,实现近精确的G-不变性。我们评估了将G-双谱作为池化层整合到深度学习架构中的好处,在三个经典基准数据集上比较了与范数池化、门控池化、傅里叶-ELU池化、最大池化和非等变数据增强卷积基线的性能。结果表明,在低数据、中等容量情况下,G-双谱始终优于其他方法。
英文摘要:
Many machine learning tasks are invariant under transformations such as translations and rotations. The $G$-bispectrum is a complete invariant that determines a signal up to a group action, but its computation is costly and existing implementations each cover a single group. We present bispectrum, an open-source, fully unit-tested PyTorch library providing efficient, differentiable selective $G$-bispectra for seven group actions. Selectivity reduces the number of coefficients from $O(|G|^2)$ to $O(|G|)$ for finite groups, from $O(m^{5/2})$ to $O(m)$ for planar rotations on the disk with $m$ harmonics, and from $Θ(L^3)$ to $Θ(L^2)$ for spherical 3D rotations using our augmented selective spherical bispectrum at band limit $L$. The library is invariant up to floating-point error and computes selective $G$-bispectra in sub-millisecond time on GPU. We evaluate them as pooling layers on PatchCamelyon and OrganMNIST3D against five baselines. Across 46 comparisons, bispectral pooling remains competitive, matching all baselines on PCam and improving on max pooling by 5.0 percentage points on OrganMNIST3D. On Spherical MNIST, our method with an MLP head reaches 95.8% on rotated test digits, matching a spherical CNN at $4\times$ lower latency and coming within 0.3 percentage points of a tensor-product network at $364\times$ lower latency. Selective $G$-bispectra provide fast, competitive invariant layers for finite and continuous groups.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。