Papers › HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical Projections

HoroPCA: Hyperbolic Dimensionality Reduction via Horospherical Projections

7 Jun 2021arXiv:2106.03306archive 2025-07-28

Ines Chami, Albert Gu, Dat Nguyen, Christopher Ré

This paper studies Principal Component Analysis (PCA) for data lying in hyperbolic spaces. Given directions, PCA relies on: (1) a parameterization of subspaces spanned by these directions, (2) a method of projection onto subspaces that preserves information in these directions, and (3) an objective to optimize, namely the variance explained by projections. We generalize each of these concepts to the hyperbolic space and propose HoroPCA, a method for hyperbolic dimensionality reduction. By focusing on the core problem of extracting principal directions, HoroPCA theoretically better preserves information in the original data such as distances, compared to previous generalizations of PCA. Empirically, we validate that HoroPCA outperforms existing dimensionality reduction methods, significantly reducing error in distance preservation. As a data whitening method, it improves downstream classification by up to 3.9% compared to methods that don't use whitening. Finally, we show that HoroPCA can be used to visualize hyperbolic data in two dimensions.

PaperPDFCodeCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 29 code samples harvested from 1 repository linked to this paper: 23 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 22 where Syntology's instrument failed) · 6 unverified. Where Syntology's instrument failed: 19 where our contract draft was wrong; 3 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: community (archive-listed): 29 samples from 1 repository, 23 ran (1 with no instrument failure; 22 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-22 and 2026-09-24 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

HazyResearch/HoroPCA mentioned on GitHubpytorchSyntology: 29 samples, 23 ran (22 instrument-failed) · 6 unverified report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

29 samples harvested: 23 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 22 where Syntology's instrument failed) · 6 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

19ran · our draft was wrong
3ran; the contract check could not run
1ran
6unverified

Licence: 29 of the 29 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from HazyResearch/HoroPCA. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

HazyResearch/HoroPCA community (archive-listed) 29 samples, 23 ran (22 instrument-failed) · 6 unverified
Frechet learning/pca.py ran fingerprinted no licence file found · pointer only · 14639b741e61a2ac · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-24
avg_distortion_measures learning/pca.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 2cd73f04941c824f · report fixture: signature distances1:Tensor/2/float, distances2:Tensor/2/float, tau:float/0/float · returned tuple · level recorded 2026-09-22
bilinear_pairing learning/pca.py ran · our draft was wrong no licence file found · pointer only · 4f53dff5bc492fa6 · report fixture: signature x:Tensor/2/float, y:Tensor/2/float, bilinear_form:Tensor/2/float · returned Tensor · level recorded 2026-09-22
busemann learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 28baecbc84c248a8 · report fixture: signature x:Tensor/2/float, p:Tensor/2/float, keepdim:bool/0/bool · returned Tensor · level recorded 2026-09-22
busemann_to_horocycle learning/pca.py ran · our draft was wrong no licence file found · pointer only · 7ff05678943aae7c · report fixture: signature p:Tensor/2/float, t:Tensor/1/float · returned tuple · level recorded 2026-09-22
circle_intersection_ learning/pca.py ran · our draft was wrong no licence file found · pointer only · 1faaa541998d4b4c · report fixture: signature r:Tensor/1/float, R:Tensor/1/float · returned tuple · level recorded 2026-09-22
distance in 53 papers
census: 8 implementations from 8 papers, 6 distinct outputs across 3 buckets, one shared input per bucket this sample: bucket 1 of 3, arg 1: rank 2, kind float, dtype float32 · arg 2: rank 2, kind float, dtype float32
learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 434b92113b2560b5 · report fixture: signature x:Tensor/2/float, y:Tensor/2/float · returned Tensor · level recorded 2026-09-22
exp_unit_tangents learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · caad5cf1736c5c6b · report fixture: signature base_points:Tensor/2/float, unit_tangents:Tensor/2/float, distances:Tensor/1/float · returned Tensor · level recorded 2026-09-22
expmap in 5 papers learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · ff930f06f4b7b5f8 · report fixture: signature x:Tensor/2/float, u:Tensor/2/float · returned Tensor · level recorded 2026-09-22
frechet_var_approx learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c960fb525ac560d2 · report fixture: signature dist_proj:Tensor/2/float · returned float · level recorded 2026-09-22
from_poincare learning/pca.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · a4880a4d1201ee27 · report fixture: signature x:Tensor/2/float, ideal:bool/0/bool · returned Tensor · level recorded 2026-09-22
l2_error learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 43470685e618cada · report fixture: signature dist_orig:Tensor/2/float, dist_proj:Tensor/2/float · returned float · level recorded 2026-09-22
lambda_ learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 8b14c36c44fb3d95 · report fixture: signature x:Tensor/2/float · returned Tensor · level recorded 2026-09-22
logmap learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 514aa3ae1094d6b7 · report fixture: signature x:Tensor/2/float, y:Tensor/2/float · returned Tensor · level recorded 2026-09-22
mobius_add learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · c62d18394183b201 · report fixture: signature x:Tensor/2/float, y:Tensor/2/float · returned Tensor · level recorded 2026-09-22
orthonormal learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 7ae021ffa7f0e179 · report fixture: signature Q:Tensor/3/float · returned Tensor · level recorded 2026-09-22
project_kd learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 848d19b58477d862 · report fixture: signature p:Tensor/3/float, x:Tensor/3/float, keep_ambient:bool/0/bool · returned tuple · level recorded 2026-09-22
sphere_intersection learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · b27bf07973e6d258 · report fixture: signature c1:Tensor/2/float, r1:Tensor/1/float, c2:Tensor/2/float, r2:Tensor/1/float · returned tuple · level recorded 2026-09-22
sphere_intersections learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · d5bde1f6bbd86a02 · report fixture: signature c:Tensor/3/float, r:Tensor/2/float · returned tuple · level recorded 2026-09-22
squared_norm in 5 papers learning/pca.py ran · our draft was wrong no licence file found · pointer only · 5b820c5edbb7ae7c · report fixture: signature x:Tensor/2/float, bilinear_form:Tensor/2/float · returned Tensor · level recorded 2026-09-22
to_poincare learning/pca.py ran; the contract check could not run (RAISES) fingerprinted no licence file found · pointer only · 2e10341cd9d7c7d0 · report fixture: signature x:Tensor/2/float, ideal:bool/0/bool · returned Tensor · level recorded 2026-09-22
unexplained_variance learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 459d1fe8134eef0e · report fixture: signature x:Tensor/2/float, x_proj:Tensor/2/float · returned float · level recorded 2026-09-22
worst_case_distortion learning/pca.py ran · our draft was wrong fingerprinted no licence file found · pointer only · 9f9a0c6b28c7f2f1 · report fixture: signature distances1:Tensor/2/float, distances2:Tensor/2/float · returned float · level recorded 2026-09-22
HoroPCA learning/pca.py unverified no licence file found · pointer only · f8f8befdda7552f5 · report
PCA in 5 papers learning/pca.py unverified no licence file found · pointer only · ec2ea2e6a62dd179 · report
compute_metrics in 208 papers learning/pca.py unverified no licence file found · pointer only · 8bc9911c8e39f9ef · report
horo_projection learning/pca.py unverified no licence file found · pointer only · 2829a620799b162f · report
orthogonal_projection learning/pca.py unverified no licence file found · pointer only · 7680da264e7302a6 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for HoroPCA (graph method: HoroPCA). 29 bricks; individually on a fixture: 23 ran (of which 0 constructed an object rather than computing a result; 1 with no instrument failure: 0 honoured, 0 violated, 1 with no contract checked; 22 where Syntology's instrument failed) · 6 unverified. The assembly has not been run end-to-end.

  1. HoroPCA entry · level 0 · unverified · f8f8befdda7552f5
  2. PCA helper · level 0 · unverified · ec2ea2e6a62dd179
  3. busemann helper · level 1 · ran · our draft was wrong · 28baecbc84c248a8
  4. distance helper · level 1 · ran · our draft was wrong · 434b92113b2560b5
  5. from_poincare helper · level 1 · ran; the contract check could not run (RAISES) · a4880a4d1201ee27
  6. horo_projection model · level 0 · unverified · 2829a620799b162f
  7. pairwise_distance helper · level 0 · unverified · 0bb20e50583bc7e3
  8. project_kd helper · level 1 · ran · our draft was wrong · 848d19b58477d862
  9. to_poincare helper · level 1 · ran; the contract check could not run (RAISES) · 2e10341cd9d7c7d0
  10. compute_metrics helper · level 0 · unverified · 8bc9911c8e39f9ef
  11. orthonormal helper · level 1 · ran · our draft was wrong · 7ae021ffa7f0e179
  12. bilinear_pairing helper · level 1 · ran · our draft was wrong · 4f53dff5bc492fa6
  13. exp_unit_tangents helper · level 1 · ran · our draft was wrong · caad5cf1736c5c6b
  14. orthogonal_projection helper · level 0 · unverified · 7680da264e7302a6
  15. squared_norm helper · level 1 · ran · our draft was wrong · 5b820c5edbb7ae7c
  16. busemann_to_horocycle helper · level 1 · ran · our draft was wrong · 7ff05678943aae7c
  17. sphere_intersections helper · level 1 · ran · our draft was wrong · d5bde1f6bbd86a02
  18. Frechet helper · level 1 · ran · 14639b741e61a2ac
  19. avg_distortion_measures helper · level 1 · ran; the contract check could not run (RAISES) · 2cd73f04941c824f
  20. frechet_var_approx helper · level 1 · ran · our draft was wrong · c960fb525ac560d2
  21. l2_error helper · level 1 · ran · our draft was wrong · 43470685e618cada
  22. unexplained_variance helper · level 1 · ran · our draft was wrong · 459d1fe8134eef0e
  23. worst_case_distortion helper · level 1 · ran · our draft was wrong · 9f9a0c6b28c7f2f1
  24. sphere_intersection helper · level 1 · ran · our draft was wrong · b27bf07973e6d258
  25. expmap helper · level 1 · ran · our draft was wrong · ff930f06f4b7b5f8
  26. logmap helper · level 1 · ran · our draft was wrong · 514aa3ae1094d6b7
  27. circle_intersection_ helper · level 1 · ran · our draft was wrong · 1faaa541998d4b4c
  28. lambda_ helper · level 1 · ran · our draft was wrong · 8b14c36c44fb3d95
  29. mobius_add helper · level 1 · ran · our draft was wrong · c62d18394183b201

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2106.03306") returns these assemblies with each brick's role and wiring (how to connect).

Tasks

Dimensionality Reduction

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

PCA

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections