Papers › Learning Structured Representations with Hyperbolic Embeddings

Learning Structured Representations with Hyperbolic Embeddings

2 Dec 2024arXiv:2412.01023archive 2025-07-28

Aditya Sinha, Siqi Zeng, Makoto Yamada, Han Zhao

Most real-world datasets consist of a natural hierarchy between classes or an inherent label structure that is either already available or can be constructed cheaply. However, most existing representation learning methods ignore this hierarchy, treating labels as permutation invariant. Recent work [Zeng et al., 2022] proposes using this structured information explicitly, but the use of Euclidean distance may distort the underlying semantic context [Chen et al., 2013]. In this work, motivated by the advantage of hyperbolic spaces in modeling hierarchical relationships, we propose a novel approach HypStructure: a Hyperbolic Structured regularization approach to accurately embed the label hierarchy into the learned representations. HypStructure is a simple-yet-effective regularizer that consists of a hyperbolic tree-based representation loss along with a centering loss, and can be combined with any standard task loss to learn hierarchy-informed features. Extensive experiments on several large-scale vision benchmarks demonstrate the efficacy of HypStructure in reducing distortion and boosting generalization performance especially under low dimensional scenarios. For a better understanding of structured representation, we perform eigenvalue analysis that links the representation geometry to improved Out-of-Distribution (OOD) detection performance seen empirically. The code is available at \url{https://github.com/uiuctml/HypStructure}.

PaperPDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2412.01023")

Code

Syntology Ran 6 of 15 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: official repository: 15 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

uiuctml/HypStructure officialmentioned on GitHubpytorchMIT 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

15 samples harvested; 6 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
2ran · fixture could not drive it
9unverified

Licence: 0 of the 15 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 uiuctml/HypStructure. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

busemann uiuctml/HypStructure/geom/horo.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 28baecbc84c248a8 · report
circle_intersection_ uiuctml/HypStructure/geom/horo.py official repository ran · our draft was wrong MIT (permissive) · 1faaa541998d4b4c · report
exp_unit_tangents uiuctml/HypStructure/geom/hyperboloid.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · caad5cf1736c5c6b · report
from_poincare uiuctml/HypStructure/geom/hyperboloid.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · a4880a4d1201ee27 · report
get_scores_multi_cluster uiuctml/HypStructure/utils.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 1c82b403bc72b7cd · report
orthonormal uiuctml/HypStructure/geom/euclidean.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 7ae021ffa7f0e179 · report
circle_intersection uiuctml/HypStructure/geom/horo.py official repository unverified MIT (permissive) · 3108ccfe785c00d0 · report
euc_reflection uiuctml/HypStructure/geom/euclidean.py official repository unverified MIT (permissive) · 7d2a17cffeebbaee · report
get_scores uiuctml/HypStructure/utils.py official repository unverified MIT (permissive) · cf06b847b490e55a · report
get_scores_one_cluster uiuctml/HypStructure/utils.py official repository unverified MIT (permissive) · 1f89c4ce7d2cf497 · report
init_model uiuctml/HypStructure/model.py official repository unverified MIT (permissive) · 168504328c1cde29 · report
init_optim_schedule uiuctml/HypStructure/param.py official repository unverified MIT (permissive) · ae70f23184939b33 · report
load_coarse_map uiuctml/HypStructure/main_evaluate.py official repository unverified MIT (permissive) · 0d2e3df5a353b824 · report
load_params uiuctml/HypStructure/param.py official repository unverified MIT (permissive) · 8cf34e6994805544 · report
reflect uiuctml/HypStructure/geom/euclidean.py official repository unverified MIT (permissive) · f1e92194323ca315 · report

Tasks

Out of Distribution (OOD) DetectionRepresentation Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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