RAP: Radial-Angular Random Projection for Hyperbolic Representations

Jiahong Liu, Wenhao Yu, Yifan Li, Yanyu Chen, Rex Ying, Menglin Yang, Irwin KingarXiv 2026

TL;DR

In standard flat (Euclidean) geometry, you can squash massive, high-dimensional vectors down to tiny ones just by multiplying them by a random matrix—and miraculously keep all their pairwise distances intact. Modern AI increasingly uses curved hyperbolic space to capture tree-like hierarchies, yet lacked a fast, retraining-free trick to compress these embeddings without wrecking that structure. This paper introduces Radial-Angular Random Projection (RAP), a simple geometric insight that compresses hyperbolic representations in a single matrix-multiply while keeping hierarchical depths completely untouched.

What Problem Does This Paper Address?

If you have a million high-dimensional embeddings in standard Euclidean space and want to shrink them for faster search or smaller memory footprints, the classic Johnson–Lindenstrauss (JL) lemma has your back: multiply by a random Gaussian matrix, and pairwise distances stay roughly preserved, completely oblivious to the data itself.

Recently, Vision-Language Models, Transformers, and LLMs have started adopting hyperbolic geometry. Unlike flat space, hyperbolic space expands exponentially outward from an origin—making it a natural, low-distortion home for data with latent hierarchies, like taxonomies or trees. As these hyperbolic foundation models scale up, their embeddings grow huge, creating a pressing need for fast, data-oblivious compression without retraining.

Why can’t we just use standard random projections here? Two roadblocks stand in the way:

  1. No global flat map: Curved space has no single global linear coordinate system. Flatten it locally onto a "tangent plane," apply a random matrix, and wrap it back up, and you pay a steep curvature penalty as points drift farther from the origin.
  2. Sensitive distance math: Computing hyperbolic distance involves the inverse hyperbolic cosine ($\operatorname{arcosh}$), whose derivative blows up for nearby points. If you randomly project spatial coordinates directly on the hyperboloid and renormalize to stay on the manifold, you scramble radial and angular errors together, which $\operatorname{arcosh}$ then violently amplifies.

Methods

The authors examine the two intuitive "vanilla" baselines above—a Local Tangent-Space scheme and a Fully Hyperbolic spatial-sketching scheme—and show why both cause hierarchy drift. To fix this, they propose Radial-Angular Random Projection (RAP).

Figure 1: Unified schematic of the three hyperbolic random projection paradigms studied in this paper. Panel (a) shows the tangent-space baseline: points are sent to a Euclidean tangent chart by loga, sketched by a Gaussian JL matrix, and mapped back by an exponential map. Panel (b) shows the fully hyperbolic baseline: spatial coordinates are projected in the hyperboloid model and the time coordinate is recomputed, which keeps the output on the hyperboloid but couples radial and angular perturbations. Panel (c) shows RAP, our proposed radial-angular projection: the radius rx is preserved exactly while only the angular direction ux is projected and renormalized. This separation keeps hierarchy-carrying radial depth unchanged and confines compression error to angular information.

RAP relies on polar coordinates around a chosen origin $o$. Every hyperbolic point $x$ is split into two pieces:

  • Radius ($r_x$): The geodesic distance from the origin, which naturally encodes hierarchical depth (e.g., root vs. leaf in a tree).
  • Angle ($\mathbf{u}_x$): A unit vector on a standard Euclidean sphere ($\mathbb{S}^{d-1}$), encoding within-level similarity.

Instead of projecting the whole point at once, RAP leaves the radius $r_x$ completely untouched. It applies a standard Euclidean random Gaussian matrix $\mathbf{P}$ only to the unit angular vector $\mathbf{u}_x$, normalizes the result back onto a lower-dimensional sphere ($\widetilde{\mathbf{u}}_x = \mathbf{P}\mathbf{u}_x / \|\mathbf{P}\mathbf{u}_x\|_2$), and lifts the pair $(r_x, \widetilde{\mathbf{u}}_x)$ directly back onto the target hyperboloid.

What’s standard here is the Gaussian JL matrix multiplication; what’s new is decoupling the hyperbolic law of cosines so compression happens purely on the unit sphere, costing just one matrix-vector product and normalization—no expensive exponential maps required on the output.

Datasets

Because RAP is data-oblivious (no training required), datasets are used strictly to evaluate geometric preservation and downstream utility:

  • Synthetic geometric probes: An origin-centered broad-radius point cloud ($d=128$), a balanced 4-ary depth-5 tree ($d=50$), and an 8-component clustered Gaussian dataset ($d=50$), alongside million-point scaling tests.
  • Taxonomic hierarchy: The canonical WordNet noun subtree rooted at animal.n.01.
  • Real-world multimodal embeddings: Pretrained hyperbolic vision–language representations from MERU and HyCoCLIP for downstream retrieval and classification.

Key Insights and Ideas

  • Hierarchy lives in the radius, so don't touch it: In hyperbolic embeddings, radial drift blurs parent-child levels together. By preserving $r_x$ with zero error, RAP removes the structural "error floor" that plagues other baselines—meaning as target dimension $k$ grows, RAP's error cleanly shrinks rather than hitting a curvature wall.
  • Eliminating radial-angular mixing tames $\operatorname{arcosh}$: While RAP still computes distances via $\operatorname{arcosh}$, keeping radii exact prevents radial noise from masquerading as distance changes. Nearby-pair distortion stays low and flat across distance bins, whereas the fully hyperbolic baseline suffers $3\times$ higher error on close pairs than distant ones.
  • Curved compression reduces to sphere geometry: Using the hyperbolic law of cosines, the authors prove a rigorous finite-set guarantee showing that hyperbolic distance distortion reduces to a classical Euclidean JL problem on unit vectors, weighted by an explicit $\sinh(\sqrt{c}\,r_x)\sinh(\sqrt{c}\,r_y)$ conditioning factor.

Key Results

Across every synthetic and WordNet configuration—sweeping point counts $n \in \{128, 256, 512\}$ and target dimensions $k \in \{16, 32, 64, 128\}$—RAP achieves the lowest mean relative distance distortion in every single cell:

  • Halving geometric distortion: On broad-radius data ($n=512, k=32$), RAP cuts mean relative distortion to 0.040, roughly half that of the strongest hyperbolic baselines (0.077 for both fully hyperbolic and half-space projections), representing an ~48%–49% reduction.
  • Preserving taxonomies: On WordNet (animal.n.01, depth 5, $k=32$), RAP lowers distortion to 0.071 vs. 0.093–0.094 for hyperbolic baselines, visually keeping concentric depth rings intact with 0.000 radial error.
  • Downstream VLM gains: When compressing MERU and HyCoCLIP embeddings without retraining, RAP maintains competitive classification accuracy while boosting macro-averaged retrieval scores by 5.5%–20.1% over the stronger vanilla hyperbolic baseline, and scales smoothly to million-point clouds.

Limitations and Future Work

  • Theoretical assumptions: Because $\operatorname{arcosh}$ has a steep derivative near zero distance and hyperbolic space expands exponentially, RAP's formal finite-set theoretical guarantee is not globally uniform—it requires points to lie within a bounded radius ($r_i \le R$) and maintain a minimum pairwise separation ($d_c(x_i, x_j) \ge \tau > 0$).
  • Single constant curvature: RAP currently assumes embeddings live in a single hyperbolic manifold of constant curvature $-c$ around a chosen anchor/origin. The authors note extending RAP to multi-curvature and product-manifold representations (spaces combining spherical, Euclidean, and hyperbolic components) as a key next step.

Summary updated

Abstract

Random projection is a basic compression primitive for Euclidean representation learning, with the Johnson--Lindenstrauss lemma giving a target dimension $k=O(\varepsilon^{-2}\log n)$ independent of the ambient dimension. As hyperbolic representations gain increasing attention in modern Transformers, vision-language models, and large language models, the same need for oblivious dimensionality reduction arises, but no analogous primitive yet exists for hyperbolic representations. We study this gap. Two natural attempts fail in dual ways: a tangent-space scheme gives a clean local guarantee but is chart-bound and pays a curvature penalty, while a fully hyperbolic projection in the hyperboloid model is geometrically native but mixes radial and angular error before feeding them into the conditioning of $\operatorname{arcosh}$. We propose radial-angular random projection (RAP), which preserves the radial coordinate exactly and applies a Euclidean random projection only to the angular direction, lifting the result back to the target hyperboloid. RAP is hyperbolic-to-hyperbolic by construction, costs one Gaussian matrix-vector product, and reduces hyperbolic compression to a normalized angular JL question on $\mathbb{S}^{d-1}$. We prove a finite-set RAP guarantee with explicit $\sinh(\sqrt{c}\,r_x)\sinh(\sqrt{c}\,r_y)$ conditioning, complemented by a local tangent-space JL theorem and an arcosh-conditioning lemma for the fully hyperbolic comparator. Across an origin-centered broad-radius point cloud, a balanced tree, a clustered Gaussian, and the WordNet noun hierarchy, RAP attains the lowest mean relative distortion in every $(n,k)$ cell, reducing distortion over the strongest hyperbolic baseline by approximately $48\%$--$49\%$ on broad-radius data. RAP also scales to million-point datasets and improves retrieval on vision--language representations over hyperbolic projection baselines.
BibTeX
@misc{liu2026rap,
  author = {Jiahong Liu and Wenhao Yu and Yifan Li and Yanyu Chen and Rex Ying and Menglin Yang and Irwin King},
  title = {{RAP: Radial-Angular Random Projection for Hyperbolic Representations}},
  year = {2026},
  eprint = {2611.34298},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.34298},
}
Figure