Efficient Poincaré Convolutions through Patch-Statistics Factorization
Abstract
Published implementations of the Poincaré convolution in Hyperbolic Neural Networks++ (HNN++) map every overlapping image patch to the Poincaré 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é U-Net and a Poincaré 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é convolutional networks cheaper to train in the tested models and software stacks.
Create a lesson
Metadata
- Categories
- cs.LG, cs.NE
- Comments
- Includes supplementary material. Code: https://github.com/lowoncuties/ExPoConv
Related papers
Start Where the Data Are: Statistical Priors for One-Step Generation on Manifolds
Shared title terminologycs.LGYuyao Wang, Haoliang Sun, Xiankai Lu et al.
Byte Patches versus BPE at Matched Data: A Matched-Twin Comparison at 350M Parameters
Shared title terminologycs.LGAsadullah Maliyawala, Andrej Lisal
Geo-SMILE: Statistical Model-Agnostic Interpretability with Local Explanations for Geospatial Machine Learning
Shared title terminologycs.LGShadieh Mohammadi, Koorosh Aslansefat
Transferable, Time-Parallel Graph Dynamics via Space-Time Factorization
Shared title terminologycs.LGWencong Yang, Chaopeng Shen, Abdolmehdi Behroozi
Beyond Patching: Consistent Circuit Discovery via Gradient Spectral Analysis
Shared title terminologycs.LGYujie Zhang, Tianyi Zhao, Guanghui Min et al.
Uncovering the Tells: Efficient Black-Box Audits for LLM Data Contamination
Shared title terminologycs.LGDominik Bernard Lau, Filip Pawlicki, Jan Dubiński et al.