arXiv:2609.35436cs.AISep 2026

Manuscript Offprint

arXiv:2609.35436

Building Transformation Layers for Riemannian Neural Networks

Ziheng Chen

Abstract

Recently, deep neural networks on manifold-valued representations have garnered significant attention across various machine learning applications. One recent focus is the generalization of Euclidean fully connected (FC) and convolutional layers to non-Euclidean geometries. However, previous approaches typically focus on a few selected manifolds and rely on specific properties of the target manifold. In contrast, this work proposes a framework for constructing FC and convolutional layers over computationally tractable Riemannian spaces. This framework incorporates several previous FC layers across different geometries as special cases and is instantiated on ten representative manifolds, including three hyperbolic models, five geometries of the symmetric positive definite (SPD) manifold, and two Grassmannian perspectives. Experiments on different manifolds demonstrate the effectiveness and applicability of our approach. Code can be found at https://github.com/GitZH-Chen/RieTrans.

1 Introduction

Deep neural networks on Riemannian manifolds have achieved remarkable success across various applications [34, 28, 67, 47, 33, 77, 13, 39, 61, 44, 45, 32, 37, 21, 22]. Commonly encountered manifolds include Symmetric Positive Definite (SPD) [59], Grassmannian [5], matrix Lie group [31], and hyperbolic [72] manifolds. These manifolds admit computationally tractable tools such as geodesics, exponential and logarithmic maps, and parallel transport, which have enabled the extension of fundamental deep learning components, including normalization [8, 10, 48, 41, 16, 19, 79], attention [30, 58, 76, 78], residual blocks [74, 38], and classification layers [28, 55, 15, 17, 4].

Yet, the extension of the most basic layers, Fully Connected (FC) and convolutional layers, remains particularly challenging. Early works targeted specific manifolds: Huang and Van Gool [34], Huang et al. [35, 36] proposed layers for SPD, special orthogonal, and Grassmann manifolds. Later, Ganea et al. [28], Mao et al. [51] developed hyperbolic counterparts via tangent spaces, and Chen et al. [14] introduced LFC via spacetime transformations. Fan et al. [26] further introduced nested hyperbolic spaces and a Lorentz-specific feature transformation that supports dimensionality reduction. To better respect geometry, Shimizu et al. [66] extended FC and convolutional layers on the Poincaré model, while Nguyen et al. [56, 57] proposed SPD counterparts based on gyrovector structures and symmetric spaces. However, these methods largely rely on specific properties, such as Poincaré geometry, gyro or symmetric structures, which restricts their generality. In another direction, Chakraborty et al. [11] introduced a convolution based on the weighted Fréchet mean, but unlike the Euclidean convolution, its output manifold dimension is restricted to match the input, limiting flexibility. Consequently, a general and flexible framework for constructing FC and convolutional layers across different geometries remains unsolved.

We address this challenge by proposing a principled framework for building Riemannian FC and convolutional layers on computationally tractable manifolds. Our framework relies solely on Riemannian

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

operators such as exponential and logarithmic maps. It thus applies broadly to different geometries, such as hyperbolic, SPD, and Grassmannian spaces. Our contributions are summarized as follows.

• Riemannian FC and convolutional layers. We introduce a principled generalization of FC and convolutional layers to Riemannian spaces. In contrast to previous approaches, our framework requires only tractable Riemannian operators, ensuring broad applicability. Moreover, several existing Riemannian FC layers are subsumed as special cases.

• Ten concrete instantiations. We instantiate our framework on three hyperbolic models, five SPD geometries, and two Grassmannian perspectives. Our approach enables direct variation of the latent geometry under a consistent network architecture.

• Empirical validation. We validate our approach on benchmark tasks across hyperbolic, SPD, and Grassmannian manifolds, demonstrating both effectiveness and versatility.

References (71)