HNN++ Poincaré卷积通过Patch统计量分解实现精确加速
Efficient Poincar\'e Convolutions through Patch-Statistics Factorization
针对HNN++中Poincaré卷积需将每个重叠图像块映射到Poincaré球再计算得分的问题,该工作证明截断得分仅依赖图像块的平方范数及与滤波器的内积,可用原生卷积和单通道box filter直接计算,从而精确复现指定得分而无需构造球值图像块。
arXiv:2611.18125v1 Announce Type: new Abstract: Published implementations of the Poincar\'e convolution in Hyperbolic Neural Networks++ (HNN++) map every overlapping image patch to the Poincar\'e ball before evaluating its score. We show that the clipped score depends on each patch only through two statistics, its squared norm and its inner products with the filters, which a native convolution and a single-channel box filter compute directly. The factorized layer therefore evaluates the specified score exactly, without constructing ball-valued patches, and its single-precision outputs and gradients agree with double-precision evaluations at least as closely as those of the explicit reference. On an RTX A6000 under two versions of JAX, complete training updates of a Poincar\'e U-Net and a Poincar\'e ResNet-20 are 1.5 to 1.8 times faster than the faster of two explicit implementations that map patches to the ball (1.2 to 1.4 times against an explicit implementation that skips this mapping); on a V100, the gain over the gather-based one persists as the ResNet-20 is widened eightfold. In 15 paired training runs per task, updates are 2.0 and 1.8 times faster than a reference that follows the published execution order, with no consistent change in final segmentation or classification quality, and peak memory falls by 38 to 55% in a U-Net scaling study. Replacing the convolutions of the official PyTorch Hyperbolic U-Net makes its training step 1.4 times faster with half the memory. Evaluating an existing layer from its patch statistics thus makes Poincar\'e convolutional networks cheaper to train in the tested models and software stacks.
来源:arXiv (AI + Vision + Imaging) · arxiv.org