---
title: Riemannian Normal Poincaré Ball VAE
url: https://www.emergentmind.com/topics/riemannian-normal-poincare-ball-vae
type: topic
---

# Riemannian Normal Poincaré Ball VAE

The Riemannian Normal Poincaré Ball VAE is a framework for probabilistic generative modeling wherein the latent variable structure operates in a hyperbolic geometry—specifically, the Poincaré ball model—rather than a conventional Euclidean space. It employs the Riemannian normal distribution defined with respect to the Poincaré ball geometry, allowing for the efficient representation of hierarchical and tree-like data, with theoretical and empirical advantages over Euclidean latent embeddings. Recent advancements have introduced Radial Compensation (RC) and Balanced-Exponential (bExp) charts, enabling numerically robust training and semantically invariant priors on these manifolds [1901.06033, 2511.14056].

## 1. Hyperbolic Geometry and the Poincaré Ball

Let $d$ be the latent dimension and $c > 0$ the absolute (positive) curvature. The Poincaré ball of dimension $d$ and (negative) curvature $-c$ is defined as
$$
B^c_d = \left\{ z \in \mathbb{R}^d: \|z\| < \frac{1}{\sqrt{c}} \right\}
$$
with the Riemannian metric
$$
g^c_p(z) = [\lambda^c_z]^2 g_e,\qquad \lambda^c_z = \frac{2}{1 - c\|z\|^2}
$$
where $g_e$ denotes the Euclidean inner product. The geodesic distance between $z, y \in B^c_d$ is
$$
d^c_p(z, y) = \frac{1}{\sqrt{c}} \arccosh \left( 1 + \frac{2c \|z-y\|^2}{(1-c\|z\|^2)(1-c\|y\|^2)} \right)
$$
The volume element in this geometry scales exponentially with radius, a property that fundamentally aligns with the exponential branching of hierarchical data.

## 2. The Riemannian Normal Distribution on the Poincaré Ball

The Riemannian normal ("maximum-entropy" normal) distribution $p_R(z; \mu, \sigma)$ on $(B^c_d, dM)$ is defined by
$$
p_R(z; \mu, \sigma) = \frac{1}{Z_R} \exp\left[ -\frac{d^c_p(\mu, z)^2}{2 \sigma^2} \right]
$$
where $\mu \in B^c_d$ is the Fréchet mean, $\sigma > 0$ the scale, and $dM(z)=\sqrt{|G(z)|}dz$ is the Riemannian volume. The normalization constant is
$$
Z_R = A_{S^{d-1}} \int_0^\infty \exp\left(-\frac{r^2}{2\sigma^2}\right) \left( \frac{\sinh(\sqrt{c} r)}{\sqrt{c} r} \right)^{d-1} dr
$$
where $A_{S^{d-1}} = 2\pi^{d/2} / \Gamma(d/2)$, ensuring isotropy.

## 3. Variational Auto-Encoders in the Poincaré Ball and Riemannian ELBO

Given data $x$, the generative process posits latent variables $z$ sampled from a Riemannian normal prior $p(z) = p_R(z; 0, \sigma_0)$ and observations modeled by $p_\theta(x|z)$. The inference or posterior $q_\phi(z|x)$ is also a Riemannian normal, $q_\phi(z|x) = p_R(z; \mu_\phi(x), \sigma_\phi(x))$. The evidence lower bound (ELBO) in this setting is
$$
\mathcal{L}(x; \theta, \phi) = \mathbb{E}_{z\sim q_\phi(\cdot|x)} \left[ \log p_\theta(x|z) + \log p(z) - \log q_\phi(z|x) \right] = \mathbb{E}_q [ \log p_\theta(x|z) ] - \mathrm{KL}_R [ q_\phi(\cdot|x) \parallel p ]
$$
where the KL-divergence $\mathrm{KL}_R$ is evaluated using densities calculated with respect to the Riemannian volume [1901.06033]. Sampling from the Riemannian normal employs a reparameterization with geodesic polar coordinates: sample $r$ (distance) and $\alpha$ (direction), then compute $z = \exp^c_\mu \left( \frac{r}{\lambda_\mu} \alpha \right)$.

## 4. Radial Compensation and Balanced-Exponential Charts

Radial Compensation (RC) is an information-geometric mechanism that defines priors on the Poincaré ball so the density depends only on the geodesic radius, ensuring invariance and disentanglement of model parameters from manifold curvature. Let $K<0$ denote the (constant) curvature and $R_c = 1/\sqrt{|K|}$.

In tangent space $T_0 B^n_K$, the RC base density is
$$
p_0(v) \propto \phi_\theta(r) \cdot J_\mathrm{Exp}(r) 
$$
where $r = \|v\|$, $\phi_\theta(r)$ is a 1D radial prior, and $J_\mathrm{Exp}(r) = (s_K(r)/r)^{n-1}$ with $s_K(r) = R_c \sinh(r/R_c)$. After mapping to $z$ via the exponential map, the resulting density on the manifold is
$$
p(z) = \phi_\theta(\rho(z))
$$
where $\rho(z) = d(0,z)$, guaranteeing that the marginal in geodesic radius matches $\phi_\theta$ exactly [2511.14056].

Balanced-Exponential (bExp) charts are a parametric family of lifts $T_\alpha$ that interpolate between the volume-preserving Lambert map ($\alpha=0$) and the exponential map ($\alpha=1$). These charts balance numerical stability and geodesic distortion, with parameter $\alpha$ allowing the user to tune between volume distortion and geometry error without affecting semantic or statistical correctness—under RC, the induced densities and Fisher information remain invariant across all choices of $\alpha$.

## 5. Training Algorithms and Reparameterization Strategies

The training procedure for a Riemannian Normal Poincaré Ball VAE follows the standard VAE paradigm but incorporates manifold operations:
- **Encoder**: Outputs unconstrained means and variances. The mean is mapped from $\mathbb{R}^d$ to $B^c_d$ via the exponential or bExp chart, variance via softplus.
- **Sampling**: Latent $z$ is sampled using a reparameterization:
  - Draw noise $\xi \sim \mathcal{N}(0, I)$, set $v = \mu_\phi(x) + \sigma_\phi(x) \odot \xi$.
  - Map $v$ to $z$ via $z = T_\alpha(v)$, where $T_\alpha$ is the selected bExp chart.
- **Decoder**: Receives $z$ as input; initial layers may involve hyperbolic-specific (e.g., gyroplane) operators.
- **ELBO Computation**: KL-divergence and likelihoods are computed using the explicit forms for Riemannian normal densities and chart Jacobians.
- **Backpropagation**: Derivatives flow through the chart maps (exponential, bExp), as well as through the radius sampling (with possible ARS for non-Gaussian $\phi_\theta$).

Empirical recommendations suggest $\alpha$ in $[0.2, 0.5]$ for reduced variance and efficient training without significant loss in ELBO or NLL performance. The RC-bExp approach also stabilizes latent flows and controls radius blow-up in high-dimensional settings [2511.14056].

## 6. Empirical and Theoretical Advantages for Hierarchical Data

Tree-structured and hierarchical data exhibit combinatorial branching that is naturally modeled in hyperbolic spaces, where both area and volume scale exponentially with radius. The Poincaré ball correctly mirrors this growth: distances from the root grow linearly in hierarchical depth, but the number of points at a fixed depth (the volume) grows exponentially. This geometric property enables hyperbolic latent spaces to embed large trees with lower distortion compared to Euclidean analogues.

Experimental results demonstrate that Poincaré VAEs with Riemannian normal latents exhibit superior generalization to unseen data and more accurate recovery of latent hierarchical structure than Euclidean VAEs. Applications include synthetic branching processes, hierarchical classification on MNIST, and network link prediction [1901.06033]. The RC-bExp approach further provides stable training and interpretable hyperparameters even with large latent dimensions and varying curvatures [2511.14056].

## 7. Implementation and Hyperparameter Considerations

Key hyperparameters and design considerations include:
- **Chart dial $\alpha$**: Controls the trade-off between volume distortion and geodesic accuracy; $\alpha \sim 0.5$ is robust for most use cases.
- **Curvature $K$**: Treated as a geometric (not statistical) parameter under RC, can be learned as in Mixed-Curvature VAEs for additional flexibility and interpretability.
- **Radial prior $\phi_\theta$**: Any 1D family (Normal, HalfNormal, Gamma, Weibull, LogNormal, Cauchy) is permissible under the RC construction.
- **Dimension $d$**: RC-bExp prevents pathological radius blow-ups even in high dimensions ($d=64,128$).

The training pseudocode provided in [2511.14056] outlines the main steps, with RC entering precisely in the calculation of the prior log-density and $\alpha$ affecting only the Jacobian term.

In sum, Riemannian Normal Poincaré Ball VAEs, equipped with Radial Compensation and bExp charts, comprise a rigorous geometric framework for hierarchical generative modeling, combining theoretical optimality in representation with practical stability and interpretability in modern deep generative architectures [1901.06033, 2511.14056].

Source: https://www.emergentmind.com/topics/riemannian-normal-poincare-ball-vae