Efficient Poincaré Convolutions through Patch-Statistics Factorization

Lukáš Jochymek, Markéta Vašinková, Petr GajdošarXiv 2026

TL;DR

This paper introduces a "patch-statistics factorization" for Poincaré convolutions in Hyperbolic Neural Networks++ (HNN++). By realizing that the convolution score depends only on a patch's squared norm and its inner products with filters, the authors replace expensive geometric operations with standard, highly optimized convolutions and box filters, achieving up to 2x faster training and 55% lower memory usage without losing accuracy.

What Problem Does This Paper Address?

Hyperbolic Neural Networks (HNNs) are powerful for modeling hierarchical data because hyperbolic space expands exponentially, much like a tree structure. However, they are notoriously slow to train.

In the popular HNN++ framework, a "Poincaré convolution" works by taking an image patch, mapping it from the Euclidean tangent space to the Poincaré ball (a model of hyperbolic space), and then calculating a "hyperplane score." Standard implementations do this explicitly for every overlapping patch. This is computationally wasteful because overlapping patches share a lot of data, and the complex geometric mapping happens repeatedly on redundant information. This overhead makes hyperbolic vision architectures, like Poincaré U-Nets, much more expensive than their Euclidean counterparts.

Methods

The authors propose Patch-Statistics Factorization (F). They mathematically demonstrate that the final score of a Poincaré convolution can be computed exactly using only two "patch statistics":

  1. Directional Products: The inner product of the patch with the filters.
  2. Patch Energy: The squared norm of the patch.

Instead of materializing a massive tensor of ball-valued patches, the factorized approach uses:

  • A native Euclidean convolution to compute the directional products.
  • A single-channel box filter (a simple spatial reduction) to compute the squared norms.

These are then combined using a closed-form expression (Equation 5 in the paper) to get the exact same score as the slow, explicit method. This allows the model to leverage the highly optimized CUDA kernels already present in deep learning libraries for standard convolutions.

Figure 1: Compared execution paths. R materializes a beta-scaled tangent patch and maps it to the ball; F obtains its directional products and energy by convolution and scalar spatial reduction before evaluating the same clipped score. T additionally evaluates the projected tangent output directly and is used only as an ablation.

The authors also provide a formal algorithm for this process:

Algorithm 1: The factorized execution flow for HNN++ Poincaré convolutions.

Datasets

The method was evaluated on two primary tasks:

  • ISIC16: A skin lesion segmentation dataset used to test a Poincaré U-Net.
  • CIFAR-100: A standard image classification benchmark used to test a Poincaré ResNet-20.

The training configurations for these tasks are summarized below:

Table 1: Training settings shared within each task. Both models use midpoint normalization with current-batch statistics and no running state. Detailed recipes are given in Appendix B.

Key Insights and Ideas

  • Redundancy is the Enemy: The "aha moment" is realizing that the geometry of the Poincaré ball doesn't need to be explicitly constructed for every pixel. By factorizing the math, you move the "hyperbolic" part to the very end of the calculation, after the heavy lifting is done by standard Euclidean operations.
  • Numerical Fidelity: One might worry that changing the order of operations introduces floating-point errors. The authors show that their factorized single-precision (FP32) outputs agree with double-precision (FP64) references as well as, or better than, the original explicit method.
  • Memory Efficiency: Because the factorized method doesn't need to store large intermediate "ball-patch" tensors, memory usage drops significantly. This is a huge win for medical imaging (like the U-Net task) where resolutions are high and memory is often the bottleneck.

Key Results

  • Speed: On an NVIDIA RTX A6000 using JAX, training updates were 1.5x to 1.8x faster than the best existing explicit implementations.
  • Memory: In a U-Net scaling study, peak memory usage fell by 38% to 55%.
  • PyTorch Integration: Replacing the convolutions in the official PyTorch Hyperbolic U-Net made the training step 1.4x faster with half the memory.
  • Quality: Across 15 paired training runs, there was no consistent change in final segmentation (Dice score) or classification (Top-1 accuracy) quality. You get the speed for free.

Limitations and Future Work

  • Scope: The current work focuses on the HNN++ formulation. While the authors suggest the logic extends to Lorentz-based models, they haven't evaluated that extension yet.
  • Normalization Bottleneck: As the convolution itself becomes faster, other parts of the network—like hyperbolic normalization—become the new bottleneck. The authors suggest that optimizing these remaining "unchanged" operations is the next logical step.
  • Software Stacks: The benefits vary slightly depending on the compiler (JAX vs. PyTorch) and the specific GPU architecture, though the gains were robust across the tested environments.

Summary updated

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.
BibTeX
@misc{jochymek2026efficient,
  author = {Lukáš Jochymek and Markéta Vašinková and Petr Gajdoš},
  title = {{Efficient Poincaré Convolutions through Patch-Statistics Factorization}},
  year = {2026},
  eprint = {2611.18125},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18125},
}
Figure