Paper deep dive
Hyperbolic Latent Geometry for Tree-Structured Prototype Networks: A Local-vs-Global Trade-off
Peter Flo, Luca Grossmann
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 94%
Last extracted: 8/27/2026, 4:52:38 AM
Summary
This study investigates the impact of latent manifold geometry (Euclidean R^d vs. Poincaré ball B^d_c) on tree-structured prototype networks for hierarchical classification. Using the WikiArt dataset with frozen CLIP ViT-B/16 features, the authors compare regularized maximum-likelihood fits across 150 configurations. The key finding is that hyperbolic prototypes significantly outperform Euclidean ones in preserving local tree topology (sibling and cousin recall), while Euclidean prototypes perform comparably to logistic regression on global classification accuracy. Global tree fidelity metrics were found to be unstable and reference-tree dependent.
Entities (9)
Relation Signals (6)
WikiArt-Refined â usedwith â CLIP ViT-B/16
confidence 98% · frozen CLIP ViT-B/16 features feed an MLP head and a prototype classifier
Tree-structured regularizer â appliedto â Prototype Classifier
confidence 95% · We study a tree-structured regularizer over class-prototype layouts in a hierarchical-classification model
Hyperbolic prototypes â outperforms â Euclidean prototypes
confidence 95% · Poincaré prototypes preserve the topology of the nearest-neighbor graph in latent space substantially better than matched Euclidean prototypes (sibling recall@5 +8.7 pp, cousin recall +15.2 pp)
Hyperbolic prototypes â improves â k-NN encoder baseline
confidence 93% · only the hyperbolic fit improves on a k-NN encoder baseline for local retrieval.
Hyperbolic Space â embeds â Trees
confidence 92% · hyperbolic space grows exponentially with radius and embeds trees with provably lower distortion than R^d of matched dimension
Euclidean prototypes â tiedwith â Logistic Regression
confidence 90% · On classification, Euclidean prototypes are tied with logistic regression on raw encoder features
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:We study a tree-structured regularizer over class-prototype layouts in a hierarchical-classification model and ask whether the choice of latent manifold for the prototypes (Euclidean R^d vs. the Poincare ball B^d_c) affects how well that regularizer can be satisfied without distorting the data likelihood. The two manifolds differ only in their volume growth: hyperbolic space grows exponentially with radius and embeds trees with provably lower distortion than R^d of matched dimension, so the structured regularizer should be cheaper to satisfy on B^d_c. Across 150 seed-replicated regularized maximum-likelihood fits spanning embedding dimension, curvature, and regularizer strength on WikiArt (27 styles, 81,446 paintings, frozen CLIP ViT-B/16 features), we find a single robust effect: Poincare prototypes preserve the topology of the nearest-neighbor graph in latent space substantially better than matched Euclidean prototypes (sibling recall@5 +8.7 pp, cousin recall +15.2 pp; paired-t p < 10^-4, sign agreement 0.94), and the gap holds across three reference-tree definitions (hand-built lineage, CLIP-derived, and DINOv2-derived). On classification, Euclidean prototypes are tied with logistic regression on raw encoder features, indicating no detectable contribution from the latent geometry; only the hyperbolic fit improves on a k-NN encoder baseline for local retrieval. Global tree-fidelity comparisons are unstable across reference trees and we do not claim a winner. The results give an empirical separation, on a real hierarchical-classification problem, between two natural latent geometries for a class-structured regularizer.
Tags
Links
- Source: https://arxiv.org/abs/2608.25199v1
- Canonical: https://arxiv.org/abs/2608.25199v1
Trouble viewing inline? Open PDF directly â
Full Text
45,593 characters extracted from source content.
Expand or collapse full text
Hyperbolic Latent Geometry for Tree-Structured Prototype Networks: A Local-vs-Global Trade-off Peter Flo 1 Luca Grossmann 1 Abstract We study a tree-structured regularizer over class- prototype layouts in a hierarchical-classification model and ask whether the choice of latent man- ifold for the prototypes (EuclideanR d vs. the Poincar Ì e ballB d c ) affects how well that regular- izer can be satisfied without distorting the data likelihood. The two manifolds differ only in their volume growth: hyperbolic space grows exponen- tially with radius and embeds trees with provably lower distortion thanR d of matched dimension, so the structured regularizer should be cheaper to satisfy onB d c . Across 150 seed-replicated reg- ularized maximum-likelihood fits spanning em- bedding dimension, curvature, and regularizer strength on WikiArt (27 styles, 81,446 paintings, frozen CLIP ViT-B/16 features), we find a single robust effect: Poincar Ì e prototypes preserve the topology of the nearest-neighbor graph in latent space substantially better than matched Euclidean prototypes (sibling recall@5+8.7p, cousin re- call+15.2p; paired-t p < 10 â4 , sign agreement 0.94), and the gap holds across three reference- tree definitions (hand-built lineage, CLIP-derived, and DINOv2-derived). On classification, Eu- clidean prototypes are tied with logistic regression on raw encoder features, indicating no detectable contribution from the latent geometry; only the hy- perbolic fit improves on ak-N encoder baseline for local retrieval. Global tree-fidelity compar- isons are unstable across reference trees and we do not claim a winner. The results give an empiri- cal separation, on a real hierarchical-classification problem, between two natural latent geometries for a class-structured regularizer. 1 Harvard University, Cambridge, MA, USA. Correspondence to: Peter Flo <pgrindehollevik@g.harvard.edu>. Preprint. August 27, 2026. 1. Introduction Many real-world classification problems carry an externally specified hierarchy over class labels: artistic-style move- ments branch into one another (Tan et al., 2019), biological taxa nest into clades, and ontologies of products, diseases, and documents are organised as trees. A natural way to fold that hierarchy into a probabilistic classification model is to add a tree-structured regularizer to the layout of class- conditional parameters. We study the simplest version of this: a prototype classifier whose class-conditional likeli- hood is a softmax over distance-to-prototype, with a regu- larizer on the matrix of pairwise prototype distances pulling it toward the tree-distance matrix. The fitted classifier is then a balance between a class-likelihood term (paintings of stylekshould be close to prototypep k ) and a tree-shape term (prototypes themselves should respect the hierarchy). The choice of latent manifold for the prototypes is the ques- tion this paper investigates. Forcing a treeâs exponentially- growing leaf count into EuclideanR d , whose ball volume grows only polynomially in radius, induces unavoidable distortion of pairwise distances; this distortion has been characterised analytically and shown to drop sharply on the Poincar Ì e ballB d c , whose own exponential volume growth matches a treeâs (Nickel & Kiela, 2017; Sala et al., 2018). In our model, the tree-structured regularizer is a function of pairwise prototype distances and should therefore be cheaper to satisfy on the hyperbolic manifold than on the Euclidean one without distorting the class-conditional likeli- hood. Whether that geometric advantage realises in practice on a real hierarchical-classification problem is what we test. We instantiate the question on WikiArt-Refined (Tan et al., 2019), a 27-style 81,446-painting corpus where the class hierarchy (Renaissance branches into Baroque, Baroque into Rococo, Rococo into Romanticism, on into Impression- ism and Cubism) is part of the domain and was hand-built from standard art-history references. Frozen CLIP ViT-B/16 features (Radford et al., 2021) feed an MLP head and a prototype classifier; the manifold of the classifier output is the only design choice that varies between Euclidean and hyperbolic runs. The same tree-structured regularizer (a nor- malised squared-error pull on the prototype distance matrix) applies in both geometries. 1 arXiv:2608.25199v1 [cs.LG] 25 Aug 2026 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks We sweep regularized maximum-likelihood fits across 150 seed-replicated configurations spanning embedding dimen- siondâ2, 4, 8, 16, 32, 64, curvaturecâ0.1, 0.3, 1, 3, regularizer strengthλ â 0, 0.1, 0.3, 1, 3, and three reference-tree variants (default lineage, chronological era grouping, flat null). Three empirical findings emerge. Local hierarchy.Hyperbolic prototypes recover local tree structure substantially better than matched Euclidean ones. Sibling recall@5 atd=8is0.195versus0.149on the de- fault tree; aggregated over 18 paired seed configurations the mean gap is+8.7p on sibling recall and+15.2p on cousin recall, with sign agreement0.94and paired-t p < 10 â4 . This effect is preserved when sibling sets are redefined from data-driven empirical trees built either from CLIP or DINOv2 (Oquab et al., 2024) features, and across the regularizer-strength sweep. Calibration. A logistic-regression baseline on raw CLIP features achieves64.1%top-1, statistically tied with the Eu- clidean fitâs64.3%. Ak-N baseline on the same features achieves sibling recall@5 of0.160, statistically tied with the Euclidean fitâs0.149but3.5p below the hyperbolic fitâs 0.195. Read against these baselines, the hyperbolic fit is the only one of our trained models that improves the encoder on local hierarchy; the Euclidean fit matches the encoder on classification but adds no detectable structural value over it. Global tree fidelity. Mean tree distortion against the de- fault tree favours Euclidean significantly, but prototype-tree Spearman is not significantly different from zero across the full sweep (p = 0.68), and the small effect that does appear flips sign between empirical reference trees built from CLIP and from DINOv2 feature centroids. We therefore do not claim a geometry winner on global tree fidelity. The clean claim our experiments support is narrower than âgeometry matters globallyâ: hyperbolic latent structure adds local-retrieval value over the encoder while Euclidean latent structure does not, and that local advantage is robust to which of three reference trees defines âlocal.â Related work. Hyperbolic prototype embeddings are an established tool for tree-shaped data (Nickel & Kiela, 2017; Sala et al., 2018; Ganea et al., 2018). Khrulkov et al. (2020) report a similar asymmetry on few-shot benchmarks (helps neighborhood structure, leaves top-1 unchanged); we con- firm that pattern on a hand-built taxonomy with a tree-aware regularizer, and quantify it against linear andk-N calibra- tion baselines that previous reports of the same asymmetry do not include. Tree-distance-matrix penalties over learn- able points are used implicitly in hyperbolic hierarchical clustering (Chami et al., 2020); here we use one as an ex- plicit, tunable regularizer. 2. Data and reference trees We use WikiArt-Refined (Tan et al., 2019),âŒ81,446 paint- ings labelled with one of 27 styles, with the supplied 70/30 train/val split. The corpus is heavily class-imbalanced (133.3Ăratio between Impressionism with 13,060 exam- ples and Analytical Cubism with 77; full distribution in Appendix B). Two design choices follow: the prototype classifier has no per-class bias (only geometric distance en- ters the logit), and we report balanced accuracy alongside top-1. Reference trees. WikiArt ships no hierarchy and art- history offers several credible taxonomies, so we use three. The default tree (Section A) follows standard art-historical lineage. The chronological tree groups styles into six era buckets (Renaissance, BaroqueâRococo, 19th century, early 20th century, modern post-war, non-Western). The flat tree makes every style a direct child of the root and serves as a deliberate null whose pairwise distances are constant off-diagonal. For a treeTwith leavesu,v, tree distance is the unweighted shortest-path edge countd T (u,v) = depth(u) + depth(v)â 2 depth(LCA(u,v)). We addition- ally build two empirical reference trees by agglomerative clustering of class-mean encoder features (Section 4.2): one from CLIP and one from DINOv2, used only for evaluation. 3. Model and estimation Likelihood model. LetÏbe a frozen CLIP ViT-B/16 en- coder (Radford et al., 2021) andg Ξ : R 512 â Ma two- layer MLP with GELU and dropout, where the latent man- ifoldMis either EuclideanR d or a Poincar Ì e ballB d c of curvaturec > 0. For an imagexof styley â 1,...,K, setz = g Ξ (Ï(x)), and letp k K k=1 âMbe learnable class prototypes. The class-conditional likelihood is a softmax over distance to prototype onM: p(y = k | z; p k ) â exp âd M (z,p k ) . The encoder feeds the head identically in both geome- tries; switching geometries changes exactly two things: the headâs final transform (identity forR d ;exp c 0 (u) = tanh( â câ„uâ„)u/( â câ„uâ„)for the ball) and the metric used by the classifier: d c (x,y) = 1 â c arcosh 1 + 2câ„xâyâ„ 2 (1âcâ„xâ„ 2 )(1âcâ„yâ„ 2 ) . Backbone, MLP width, dropout, batch size, optimiser, and schedule are shared. Tree-structured regularizer. We add a tree-structured regularizer on prototype layouts. LetD ij = d M (p i ,p j ) be the matrix of pairwise prototype distances onMand T ij = d T (i,j)the tree distance matrix on the reference tree 2 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks T. The regularizer penalises deviation between the shapes of these two distance matrices, R(p k ) = λ |P| X (i,j)âP D ij Ì D â T ij Ì T 2 , wherePis the set of K 2 off-diagonal pairs, Ì D, Ì Tare the means ofD,T, andλcontrols regularizer strength. Mean- normalising each pair before differencing makes the regu- larizer invariant to the absolute scale of distances onM: the geometry is free to pick whatever scale the likelihood prefers, while the regularizer constrains only the relative structure of the prototype distance matrix.λ = 0recovers the cross-entropy baseline used in prior hyperbolic-image work (Khrulkov et al., 2020). We treatRas a penalty rather than a Bayesian log-prior: R is not the log of a normalised density onM K (it is mean-rescaled on each evaluation), so it has no proper-prior interpretation, and we report reg- ularized maximum-likelihood estimates rather than MAP estimates of a posterior. Estimation. We minimise the regularized negative log- likelihoodL(Ξ,p k ) = L CE (Ξ,p k ) + R(p k )by stochastic gradient descent. Adam optimises the MLP head; Riemannian Adam fromgeoopt(Kochurov et al., 2020) optimises the hyperbolic prototypes, projecting each update back onto the manifold. The regularizer is computed once per gradient step over the 27 2 = 351 off-diagonal style pairs, negligible cost next to the per-batch likelihood term. The framing makes explicit that the regularizer is a struc- tured penalty on a geometric quantity (the prototype distance matrix) and that the choice of latent manifold controls how cheaply that penalty can be driven to zero. Distortion bound. The regularizer is a function of pair- wise prototype distances, so in any latent geometry where the tree distance matrixTadmits a low-distortion isometric embedding, the regularizer cost at the optimum is small. Sala et al. give distortion bounds⌠1/dforB d c versus a constant floor forR d at fixedd(Sala et al., 2018). The empirical question is whether that asymptotic statement is visible on a real dataset at modestd, against a real classi- fication likelihood, with a finite-sample fit rather than an isometric embedding objective. Training details. 150 runs total; batch size 4096; Adam η = 10 â3 for the head and10 â2 for the prototypes; weight decay10 â4 ; dropout0.1; gradient clipping at norm1.0; 30 epochs. CLIP features are pre-cached as float16 tensors, keeping each run under 10 seconds on a single Apple M- series GPU and the full sweep under half an hour. Every headline configuration is replicated across three seeds; re- ported error bars are seed standard deviation. Significance comparisons across seeds use paired-ttests on the 18 (dim, seed) pairs of the dimension sweep, with hyperbolic config- urations selected at the best curvature per pair. Evaluation.A useful style embedding can be useful along three orthogonal axes, and we report metrics for each. Clas- sification is top-1, top-5, and balanced accuracy. Global tree fidelity is the Spearman correlation between the learned prototype distance matrix and the tree distance matrix, plus mean and worst-case multiplicative distortion. Local tree preservation is sibling and cousin recall@kamong theknearest neighbours of each validation embedding, fork â 5, 10. Sibling/cousin sets are derived from a reference tree; we evaluate against the default, the CLIP- empirical, and the DINOv2-empirical tree to test sensitivity (Sections 4.2 and 4.5). 4. Results Three findings emerge from the 150-run sweep, summarised here and developed below. (i) Hyperbolic prototypes re- cover local tree structure substantially better than matched Euclidean ones, robustly across reference-tree construction (Section 4.2). (i) Calibrated against linear andk-N base- lines on raw CLIP features, the hyperbolic fit is the only trained model that adds structural value over the encoder; the Euclidean fit matches the encoder on classification but adds nothing on retrieval (Section 4.3). (i) The global tree- fidelity comparison is metric- and reference-tree-dependent and we do not claim a winner there (Section 4.6). 4.1. Headline comparison Selecting the best configuration of each geometry by mean top-1 yields Table 1: the two geometries split along a local- vs-global axis. Euclidean leads classification (top-1+5.3p, top-5+2.4p) and global-tree Spearman against the default tree (+0.108); hyperbolic leads sibling recall@5 (+0.052) and cousin recall@5 (+0.047). The seed bands do not over- lap on any of the five metrics. The remaining subsections show that this split is structural rather than the artifact of any single configuration. 4.2. Local tree structure The local-recall difference is the strongest signal in the sweep. On the default tree (Figure 2), hyperbolic sibling recall@5 stays near0.19acrossd â 2, 4, 8, 16, 32, 64, while Euclidean sibling recall decreases from0.221atd=2 to0.142atd=64. This monotone divergence with embed- ding capacity is consistent with the geometric prediction: in R d the distortion of the tree distance matrix grows with the available capacity to spread classes for likelihood, while in B d c the curvature absorbs that pressure. Aggregated over 18 paired seed configurations (6 dimensionsĂ3 seeds, hyper- bolic at the best curvature per pair), the mean gap is+8.7p 3 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 7.55.02.50.02.55.07.5 10 5 0 5 10 euclidean d=2 Abstract Action_p Analytic Art_Nouv Baroque Color_Fi Contempo Cubism Early_Re Expressi Fauvism High_Ren Impressi Manneris Minimali Naive_Ar New_Real Northern Pointill Pop_Art Post_Imp Realism Rococo Romantic Symbolis Syntheti Ukiyo_e 0.60.40.20.00.20.40.6 0.6 0.4 0.2 0.0 0.2 0.4 0.6 hyperbolic d=2, c=3.0 Abstract Action_p Analytic Art_Nouv Baroque Color_Fi Contempo Cubism Early_Re Expressi Fauvism High_Ren Impressi Manneris Minimali Naive_Ar New_Real Northern Pointill Pop_Art Post_Imp Realism Rococo Romantic Symbolis Syntheti Ukiyo_e Phase 1 d=2 prototype layouts (best curvature for hyperbolic) Figure 1. Prototype layouts atd=2, best curvature per geometry. Each large dot is a learned style prototype; small dots are a 600-image sample of validation embeddings. The dashed circle on the right marks the Poincar Ì e ball boundary at radius1/ â c. Hyperbolic prototypes settle into a near-boundary ring (mean radius0.561, std0.013across all 27 styles, against a boundary at0.577). This is the exponential- volume regime where the manifold has the capacity for trees (Nickel & Kiela, 2017; Sala et al., 2018). Euclidean prototypes scatter diffusely with no analogous structural pressure (mean radius2.96, std0.995). The geometry behaves as theory predicts; the rest of the paper measures whether that geometric difference shows up in downstream metrics. on sibling recall and+15.2p on cousin recall, with sign agreement 0.94 on each and paired-t p < 10 â4 . The sibling/cousin sets used by recall@5 are themselves a function of which reference tree we use, so a sceptical reading would treat the local advantage as an artifact of the hand-built tree. We test this by rebuilding sibling and cousin sets from data-driven empirical trees: agglomerative average-linkage clustering on class-mean encoder features, converted to integer-edge tree distances. Figure 3 shows the comparison against a CLIP-derived empirical tree; the hyperbolic lead is preserved and slightly larger (+6.0p atd=8versus+4.6p on the default tree). Replacing the empirical treeâs construction encoder with DINOv2 (Oquab et al., 2024) replicates the lead at everydâ„ 4(full numbers in Section F). The local advantage of hyperbolic prototypes is reference-tree independent in the strict sense that it sur- vives three distinct reference-tree constructions, including two encoder-derived ones that share no construction step with the hand-built tree. 4.3. Calibration baselines A reader cannot judge a65.9%top-1 number without ex- ternal calibration. Two reference classifiers train directly on raw frozen CLIP features, with no learned head and no prototype objective: logistic regression andk-N-5. Lo- gistic regression achieves64.1%top-1 and61.1%balanced accuracy; k-N achieves 63.5% top-1, 58.8% balanced ac- curacy, and sibling recall@5 of0.160/0.366on default-tree / CLIP-empirical-tree relations. Read against these baselines: the best Euclidean config- uration (65.9%top-1) beats logistic regression by1.8p; on balanced accuracy it underperforms (55.4%vs.61.1%). Best-top-1 Euclideanâs sibling recall@5 is0.136, below thek-N baseline of0.160. The best-top-1 hyperbolic configuration (60.6%top-1) sits2.9p belowk-N on clas- sification but2.8p above it on sibling recall (0.188vs. 0.160). Atd=8specifically, hyperbolic sibling recall@5 reaches0.195on the default tree and0.416on the empirical tree, against thek-N baselineâs0.160/0.366. Figure 4 plots the full top-1-vs-sibling-recall scatter: the Euclidean cluster sits wherek-N already lives; only hyperbolic con- figurations populate the upper region. On this dataset and encoder, the hyperbolic fit is the only trained model that adds local-structural value over the encoder. 4.4. Regularizer strength The relative ordering of the two geometries is preserved across the regularizer-strength sweepλâ0, 0.1, 0.3, 1, 3 atd â 8, 16,c=1(Figure 5). Atλ=0.1the regularizer Pareto-improves both: Euclideand=8top-1 rises0.7p to65.0%while tree-Spearman rises from0.292to0.345; hyperbolic gains a fraction of a point on top-1 and2p on sibling recall. Atλ=3both geometries reach tree-Spearman â 0.7but classification collapses (Euclidean46.9%, hyper- 4 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks euclideanhyperboliclogistic-on-CLIPkNN-5-on-CLIP metric Top-10.659 ± 0.0030.606 ± 0.0020.6410.635 Top-50.959 ± 0.0010.935 ± 0.001â Balanced acc.0.554 ± 0.0020.463 ± 0.0040.6110.588 Class-center / tree Spearman0.350 ± 0.0270.242 ± 0.002â Avg. tree distortion1.742 ± 0.0091.861 ± 0.003â Worst tree distortion4.733 ± 0.2537.147 ± 0.076â Dendrogram F10.034 ± 0.0300.000 ± 0.000â Sibling recall@50.136 ± 0.0030.188 ± 0.004â0.160 Cousin recall@50.249 ± 0.0030.296 ± 0.005â0.277 Table 1. Best Euclidean vs. best hyperbolic configuration across the dimension and regularizer-strength sweeps, selected per geometry by mean top-1 across seeds. Mean±seed standard deviation. Two rightmost columns: logistic regression andk-N-5 on raw CLIP features (no learned head, no prototype objective). Euclidean leads classification and global-tree metrics over hyperbolic prototypes; hyperbolic prototypes lead sibling and cousin recall by4â5p. Read against the calibration baselines, the Euclidean fit is tied with logistic on top-1 and with k-N on sibling recall; only the hyperbolic fit improves on k-N for sibling and cousin recall. 248163264 embedding dim d 0.525 0.550 0.575 0.600 0.625 0.650 Top-1 Top-1 euclidean hyperbolic 248163264 embedding dim d 0.15 0.20 0.25 0.30 Class-center / tree Spearman Class-center / tree Spearman euclidean hyperbolic 248163264 embedding dim d 0.15 0.20 0.25 0.30 Sibling recall@5 Sibling recall@5 euclidean hyperbolic Scaling with d (hyperbolic = best curvature per d) Figure 2. Metrics versus embedding dimensiond(90 runs; three seeds per config; hyperbolic at the best curvature perdper seed). Top-1 saturates neard=16for both geometries with Euclidean ahead by4â6p. Sibling recall@5 decreases withdfor Euclidean (from0.221at d=2 to 0.142 at d=64) but stays nearly flat for hyperbolic, opening a 5 p gap by d=64. bolic37.4%): the regularizer succeeds at the metric it was constructed to optimise, at substantial likelihood cost. The Euclidean top-1 lead and the hyperbolic sibling-recall lead persist at every λ tested. 4.5. Training-tree and class-imbalance robustness Re-training each geometry against the chronological and flat reference trees (withd=8,c=1,λ=1, evaluated against the default tree throughout) does not change the geometry winner on any panel: Euclidean wins top-1 on every train- ing tree, hyperbolic wins sibling recall on every training tree (Figure 6). Inverse-frequency class-weighted training preserves the geometry gap on every metric we report (top- 1 remains5p Euclidean, sibling recall remains4p hy- perbolic; Section G). Substituting DINOv2 features into the empirical-tree construction reverses the direction of the small global-Spearman gap but preserves the hyperbolic local-recall lead on every reference tree (Section F). 4.6. Global tree fidelity is unstable The third finding is partly a negative result. Aggregated paired-ttests over the full dimension sweep givep = 0.68 for class-center / default-tree Spearman and a sign agree- ment of exactly0.50. The small headline gap (Ï Eu â Ï Hy â 0.108in Table 1) is therefore selecting a noisy outlier through best-of-sweep. Mean tree distortion does favour Eu- clidean significantly (+0.040,p < 10 â4 ), so the two natural global-fidelity metrics disagree about which geometry wins. Replacing the hand-built reference with a CLIP-derived em- pirical tree reverses the Spearman direction at everydâ„ 4 (hyperbolic ahead by+0.01to+0.05); replacing the empiri- cal treeâs construction encoder with DINOv2 reverses it back (Euclidean ahead by up to+0.06). Hand-built and encoder- derived trees correlate only weakly (Ïâ 0.08, 0.12on pair- wise distances); CLIP-empirical and DINOv2-empirical correlate0.50. Across all four reference-tree constructions we tried, the only stable claim about global tree fidelity is that the comparison is not stable. The local claim survives every variation. 5 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 248163264 embedding dim d 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 Sibling recall@5 Sibling recall@5 euclidean / default tree euclidean / empirical tree hyperbolic / default tree hyperbolic / empirical tree 248163264 embedding dim d 0.16 0.18 0.20 0.22 0.24 0.26 0.28 0.30 0.32 Cousin recall@5 Cousin recall@5 euclidean / default tree euclidean / empirical tree hyperbolic / default tree hyperbolic / empirical tree Local recall metrics under default vs empirical tree sibling/cousin sets Figure 3. Sibling and cousin recall@5 with relations defined by the default tree (dashed) and a CLIP-derived empirical tree (solid), per geometry per embedding dimension. The hyperbolic lead is preserved under the empirical-tree redefinition; on sibling recall the gap widens slightly. The DINOv2-derived empirical tree is in Section F. 0.350.400.450.500.550.600.65 Top-1 accuracy (val) 0.125 0.150 0.175 0.200 0.225 0.250 0.275 0.300 0.325 Sibling recall@5 (default tree) Top-1 vs sibling recall (marker size ) euclidean hyperbolic logreg top1=0.641 kNN-5 (0.635, 0.160) Figure 4. Top-1 accuracy versus sibling recall@5 for every sweep configuration. Marker size scales with the regularizer strengthλ. Vertical dotted line: logistic-regression top-1 on raw CLIP features (64.1%). Black star:k-N-5 on raw CLIP features (sibling recall 0.160). The Euclidean cluster sits at or below the encoder baseline on retrieval; only the hyperbolic cluster populates the upper region of the plot. 5. Discussion The clean finding is that, in our tree-regularized prototype model on a real hierarchical-classification problem, the la- tent manifold has a local effect on tree fidelity even when its global effect is unstable. Hyperbolic prototype geome- try is the only one of our trained models that meaningfully improves on the frozen encoder for local hierarchy preser- vation. Sibling recall@5 atd=8is0.195for hyperbolic, 0.149for Euclidean, and0.160fork-N-5 on raw CLIP features: the Euclidean fit is tied with the encoder; the hy- perbolic fit improves on it by3.5p. The advantage holds when sibling sets are redefined from data-driven empirical trees built from CLIP or DINOv2 features, and aggregates to+8.7p on sibling and+15.2p on cousin recall over the full dimension sweep with paired-t p < 10 â4 . The classification gap is real but uninformative about ge- ometry. A logistic-regression head on raw CLIP features achieves64.1%top-1, which the Euclidean fit matches at d=8(64.3%) and the hyperbolic fit underperforms by4â 6p. Neither fit is doing meaningful classification work that a linear head on the same features cannot; the difference between the two fits on this axis is best read as âEuclidean prototype distances do not distort classification beyond what the encoder already supports, while hyperbolic prototype distances do.â The global tree-fidelity comparison is the place where care- ful framing matters most. Mean tree distortion favours Eu- clidean significantly against the default tree; class-center / tree Spearman is not significantly different from zero across the sweep (p = 0.68); the small global-Spearman gap re- verses sign between empirical reference trees built from CLIP and from DINOv2 feature centroids. âEither geometry wins on global tree fidelityâ is not a claim our experiments support. Sibling and cousin recall favour hyperbolic on every reference tree we tried. Limitations.We cannot generalise beyond medium-scale, Western-canon-heavy WikiArt with a frozen CLIP-ViT-B/16 encoder for training; the local advantage we identify may not survive a fine-tuned encoder or a hierarchy substantially deeper than the27-leaf taxonomy used here. We cannot conclude that the hyperbolic geometry does substantive work inside the head MLP, since only the prototypes live on the manifold. 6 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 0 10 2 10 1 10 0 (tree loss weight) 0.4 0.5 0.6 Top-1 Top-1 euclidean hyperbolic 0 10 2 10 1 10 0 (tree loss weight) 0.2 0.4 0.6 Class-center / tree Spearman Class-center / tree Spearman euclidean hyperbolic 0 10 2 10 1 10 0 (tree loss weight) 0.14 0.16 0.18 0.20 0.22 0.24 Sibling recall@5 Sibling recall@5 euclidean hyperbolic Hierarchy-aware loss at d=8, c=1.0 Figure 5. Top-1, prototype-tree Spearman, and sibling recall@5 versus regularizer strengthλatd=8,c=1(three seeds per point). The regularizer drives tree-Spearman from⌠0.3to⌠0.7in both geometries, but classification collapses forλ℠1. The hyperbolic top-1 gap never closes; sibling recall is stable for hyperbolic across allλ, while for Euclidean it rises only at the largest testedλ, where classification has already collapsed. Mean tree distortion (omitted here for legibility) decreases uniformly withλin both geometries; full four-panel version in Section D. default chronological flat training tree 0.0 0.2 0.4 0.6 Top-1 euclidean hyperbolic default chronological flat training tree 0.0 0.2 0.4 0.6 Class-center / tree Spearman euclidean hyperbolic default chronological flat training tree 0.0 0.1 0.2 Sibling recall@5 euclidean hyperbolic Sensitivity of geometry winner to training tree Figure 6. Each geometry trained withλ=1atd=8against three different reference trees, then evaluated against the default tree. Bars are seed means; whiskers are seed standard deviation. Tree-Spearman against the default tree collapses for non-default training trees; the regularizer only helps the metric anchored to the training tree. The geometry winner does not change on any panel: Euclidean wins top-1 on every tree, hyperbolic wins sibling recall on every tree. Full four-panel version including mean tree distortion in Section E. Extensions. Three natural follow-ups in increasing cost. A genuinely hyperbolic head along the lines of M Ì obius layers (Ganea et al., 2018) would let the manifold shape the representation rather than only the decision boundary, and is the cheapest test of whether the classification gap closes. The empirical reference trees in this paper are built in Euclidean space from encoder features. Building one in hyperbolic space, or by direct tree-learning methods (Chami et al., 2020), would close a remaining circularity. Replica- tion on a deeper hierarchy (iNaturalist with WordNet, or a fine-grained subdivision of WikiArtâs largest classes) would test the limits of the local advantage we observe. Broader impact The system itself is small (a 27-way classifier on cached features), but a few of its design choices have implications worth being explicit about. The default reference tree is built from a Western, lineage-based art-history canon. Every met- ric in this paper that mentions âthe hierarchyâ is anchored to that taxonomy, which is implicitly endorsed by anyone using the numbers. Our tree-variant experiments are par- tial mitigation: they document how much each conclusion depends on the choice of tree. A deployment in a museum or classroom should treat the tree as configuration, not as a constant. WikiArt is heavily biased toward European paint- ing; the corpus has 27 styles but only one (Ukiyo-e) sits outside the European-and-American canon, and East Asian ink-painting traditions that span centuries are collapsed into that single label. A retrieval system trained on this data will under-rank non-Western works for ambiguous queries. Hyperbolic geometry, which tightens local neighborhoods, could compound the effect by making those already-tight neighborhoods more confident. We therefore do not recom- mend deploying hyperbolic style embeddings for attribution or authentication tasks without expert human review:50â 7 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 65%top-1 accuracy over27well-known styles is far below the threshold any serious provenance, insurance, or legal decision should require. Acknowledgements This work used Anthropicâs Claude (Opus 4.7) as a research assistant. Specifically, the model assisted with code scaf- folding for experimental infrastructure (sweep orchestration, plotting helpers, figure generation), with brainstorming and concept clarification during analysis, and with preliminary drafts of prose that the authors substantially revised. All experimental design choices, the selection of hypotheses to test, hyperparameter ranges, ground-truth tree definitions, result interpretations, and the final text of this manuscript reflect the authorsâ substantial original contribution. References Chami, I., Gu, A., Chatziafratis, V., and R Ì e, C. From trees to continuous embeddings and back: Hyperbolic hier- archical clustering. In Advances in Neural Information Processing Systems, volume 33, 2020. Ganea, O., B Ì ecigneul, G., and Hofmann, T. Hyperbolic neural networks. In Advances in Neural Information Processing Systems, volume 31, 2018. Khrulkov, V., Mirvakhabova, L., Ustinova, E., Oseledets, I., and Lempitsky, V. Hyperbolic image embeddings. In IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2020. Kochurov, M., Karimov, R., and Kozlukov, S. Geoopt: Riemannian optimization in PyTorch. In ICML 2020 Workshop on Graph Representation Learning and Beyond (GRL+), 2020. arXiv:2005.02819. Nickel, M. and Kiela, D. Poincar Ì e embeddings for learn- ing hierarchical representations. In Advances in Neural Information Processing Systems, volume 30, 2017. Oquab, M., Darcet, T., Moutakanni, T., Vo, H., Szafraniec, M., Khalidov, V., Fernandez, P., Haziza, D., Massa, F., El-Nouby, A., Assran, M., Ballas, N., Galuba, W., Howes, R., Huang, P.-Y., Li, S.-W., Misra, I., Rabbat, M., Sharma, V., Synnaeve, G., Xu, H., J Ì egou, H., Mairal, J., Labatut, P., Joulin, A., and Bojanowski, P. DINOv2: Learning robust visual features without supervision. Transactions on Machine Learning Research, 2024. arXiv:2304.07193. Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., et al. Learning transferable visual models from natural language supervision. In Proceedings of the 38th Interna- tional Conference on Machine Learning, p. 8748â8763. PMLR, 2021. Sala, F., De Sa, C., Gu, A., and R Ì e, C. Representation tradeoffs for hyperbolic embeddings. In Proceedings of the 35th International Conference on Machine Learning, p. 4460â4469. PMLR, 2018. Tan, W. R., Chan, C. S., Aguirre, H., and Tanaka, K. Im- proved ArtGAN for conditional synthesis of natural im- age and artwork. In IEEE Transactions on Image Pro- cessing, volume 28, p. 394â409. IEEE, 2019. 8 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks A. Default style hierarchy The default reference tree, hand-built from standard art-history references and used as the primary evaluation reference throughout the paper. Root |-- Early_Renaissance | |-- Northern_Renaissance | â-- High_Renaissance | â-- Mannerism_Late_Renaissance | â-- Baroque | â-- Rococo | â-- Romanticism | |-- Realism | | |-- Contemporary_Realism | | â-- Impressionism | | â-- Post_Impressionism | | |-- Pointillism | | |-- Fauvism | | â-- Cubism | | |-- Analytical_Cubism | | â-- Synthetic_Cubism | â-- Symbolism | |-- Art_Nouveau | â-- Expressionism | â-- Abstract_Expressionism | |-- Action_painting | |-- Color_Field_Painting | â-- Minimalism |-- Pop_Art | â-- New_Realism |-- Ukiyo_e â-- Naive_Art_Primitivism B. Class distribution and tree-distance matrices C. Curvature within the hyperbolic family The body Figure 2 shows the dimension scaling for both geometries; here we add detail on curvature. Sweep configuration: geometryĂ d â 2, 4, 8, 16, 32, 64 Ă c â 0.1, 0.3, 1, 3for hyperbolic, three seeds. Within the hyperbolic family, curvature interpolates between the two extremes: highercpulls prototypes closer to the boundary of the disk, where the Poincar Ì e metric becomes most curved; this exchanges2â3p of top-1 for4â5p of sibling recall. Atd=8, the optimalcfor top-1 is0.3(59.8%) and the optimalcfor sibling recall is3.0(0.230). This is consistent with how hyperbolic capacity is distributed: most volume lies near the boundary, where the leaves of a tree should live. D. Regularizer-strength sweep, full panel set E. Training-tree ablation, full panel set The body Figure 6 summarises the three-tree ablation; the underlying observation is that training against a tree other than the evaluation tree provides essentially no useful hierarchical signal: tree-Spearman against the default tree drops toâ 0.14 for both non-default training trees, and top-1 climbs back to theλ=0baseline because the regularizer no longer competes with the likelihood. 9 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks Figure 7. Per-style image counts on WikiArt-Refined. Impressionism dominates with13,060examples; Analytical Cubism, Action Painting, and Synthetic Cubism each have fewer than 250. The imbalance ratio between extrema is 133.3Ă. Figure 8. Tree distance matrices for the three reference hierarchies used in this paper: default lineage (left), chronological era grouping (centre), flat null (right). Rows and columns are styles in the same order across panels. F. Empirical reference trees and DINOv2 cross-encoder Tree-vs-tree. Pairwise-distance Spearman between hand-built default and CLIP-empirical is0.08; between default and DINOv2-empirical it is0.12; between CLIP-empirical and DINOv2-empirical it is0.50. Whatever the hand-built lineage tree captures, the encoders see only a weak projection of it; whatever the encoders capture, they capture it similarly. The hand-built tree is the outlier. Empirical sibling and cousin recall. Sibling/cousin sets used by recall@5 in the body figures are derived from STYLEHIERARCHY(the default tree). To test reference-tree sensitivity we rebuild sibling and cousin sets from each em- pirical treeâs binary linkage (siblings: the leaves in the other branch of the leafâs first merge; cousins: the leaves in the uncle subtree at the grandparent merge) and rerun the recall computation. The hyperbolic lead is preserved on every reference tree (sibling recall@5 at d=8, default / CLIP-empirical / DINOv2-empirical: Eu 0.149/0.356/0.322, Hy 0.195/0.416/0.380). Global-Spearman direction is encoder-specific.Against the DINOv2-empirical tree, Euclidean prototypes lead at every dâ„ 4, withÏ Eu â Ï Hy growing to+0.06atd=64(0.413vs.0.357). This is a negative result for the strongest reading of the CLIP-empirical finding and motivates the global-fidelity caveat in the body. 10 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 0 10 2 10 1 10 0 (tree loss weight) 0.4 0.5 0.6 Top-1 Top-1 euclidean hyperbolic 0 10 2 10 1 10 0 (tree loss weight) 0.2 0.4 0.6 Class-center / tree Spearman Class-center / tree Spearman euclidean hyperbolic 0 10 2 10 1 10 0 (tree loss weight) 1.65 1.70 1.75 1.80 1.85 Avg. tree distortion Avg. tree distortion euclidean hyperbolic 0 10 2 10 1 10 0 (tree loss weight) 0.14 0.16 0.18 0.20 0.22 0.24 Sibling recall@5 Sibling recall@5 euclidean hyperbolic Hierarchy-aware loss at d=8, c=1.0 Figure 9. Full four-panel version of the regularizer-strength sweep (body Figure 5 drops the third panel for legibility). Mean tree distortion decreases monotonically with λ in both geometries, mirroring the rise in tree-Spearman. default chronological flat training tree 0.0 0.2 0.4 0.6 Top-1 euclidean hyperbolic default chronological flat training tree 0.0 0.2 0.4 0.6 Class-center / tree Spearman euclidean hyperbolic default chronological flat training tree 0.0 0.5 1.0 1.5 2.0 Avg. tree distortion euclidean hyperbolic default chronological flat training tree 0.0 0.1 0.2 Sibling recall@5 euclidean hyperbolic Sensitivity of geometry winner to training tree Figure 10. Full four-panel version of the training-tree ablation (body Figure 6 drops the third panel for legibility). Tree distortion against the default tree is uniformly higher when training against a non-default tree. G. Class-imbalance robustness WikiArt is heavily skewed (Impressionism has133Ămore training examples than Action Painting). The default sweep uses unweighted cross-entropy; rerunning thed=8winners of each geometry with inverse-frequency class-weighted cross- entropy (three seeds) shifts absolute numbers as expected (top-1 drops by roughly6p for both: Eu64.3 â 58.3%, Hy 59.8 â 53.4%; while balanced accuracy rises sharply: Eu56.4 â 65.6%, Hy44.5 â 62.1%), but the geometry gap is preserved on every axis. Top-1 remains5p Euclidean, sibling recall remains4p hyperbolic, and class-center / tree Spearman shifts by less than a hundredth. The balanced-accuracy gap narrows from11.9to3.5p, suggesting hyperbolicâs main classification weakness in the default setup was disproportionately on rare classes; it remains in Euclideanâs favour. H. Confusion structure I. Reproducibility The full sweep CSV records, for every config, the training hyperparameters and every evaluation metric (150 rows). To reproduce: python scripts/sweep.py --phase 1 --device mps # Ì14 min, 90 configs python scripts/sweep.py --phase 2 --device mps # Ì10 min, 48 configs python scripts/sweep.py --phase 3 --device mps # Ì3 min, 18 configs python scripts/baselines.py # logreg, kNN baselines python scripts/significance.py # paired-t, sign tests python scripts/make_figures.py # regenerate figures Code, sweep configurations, and exact metric implementations are available athttps://github.com/ pgrindehollevik-harvard/hyperbolic. 11 Hyperbolic Latent Geometry for Tree-Structured Prototype Networks 248163264 embedding dim d 0.0 0.1 0.2 0.3 0.4 prototype distance / tree distance Spearman Prototype distances vs reference tree euclidean vs default euclidean vs empirical hyperbolic vs default hyperbolic vs empirical 248163264 embedding dim d 0.0 0.1 0.2 0.3 0.4 prototype-tree Spearman Geometry winner depends on the choice of reference tree euclidean / default hyperbolic / default euclidean / empirical hyperbolic / empirical Phase 4 tree alignment against hand-built (default) vs data-driven (empirical) reference Figure 11. Prototype-distance / tree-distance Spearman against the hand-built default tree (blue) and a CLIP-empirical tree (red). Both geometriesâ prototypes align substantially better with the empirical tree than with the hand-built one. Caveat: the empirical tree is built in Euclidean space from the same CLIP features used to train the prototypes, so the alignment with prototype distances is partly expected by construction. The geometry comparison is the load-bearing claim, not the absolute level. 248163264 embedding dim d 0.0 0.1 0.2 0.3 0.4 prototype-tree Spearman Global tree-Spearman by reference tree euclidean / default tree euclidean / CLIP-empirical euclidean / DINOv2-empirical hyperbolic / default tree hyperbolic / CLIP-empirical hyperbolic / DINOv2-empirical 248163264 embedding dim d 0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 sibling recall@5 Sibling recall by reference tree euclidean / default-tree siblings euclidean / CLIP-tree siblings euclidean / DINOv2-tree siblings hyperbolic / default-tree siblings hyperbolic / CLIP-tree siblings hyperbolic / DINOv2-tree siblings default vs CLIP-empirical default vs DINOv2-empirical CLIP-empirical vs DINOv2-empirical 0.0 0.1 0.2 0.3 0.4 0.5 0.6 Spearman of pairwise distances 0.08 0.12 0.50 Tree-vs-tree agreement Phase 5 DINOv2 cross-encoder check Figure 12. Substituting a DINOv2 ViT-B/14 encoder for CLIP in the empirical-tree construction. Left: prototype-tree Spearman against three references. The hyperbolic global-Spearman lead seen against the CLIP-empirical tree does not replicate against the DINOv2-empirical tree: Euclidean prototypes lead at everydâ„ 4. Centre: sibling recall@5 against the three reference-tree sibling-set definitions. Hyperbolic leads on every reference at everydâ„ 4. Right: pairwise-distance Spearman between reference trees. Hand-built correlates only weakly with either encoder-derived tree (0.08, 0.12); the two encoder-derived trees correlate 0.50 with each other. Early_Renaissance Northern_Renaissance High_Renaissance Mannerism_Late_Renaissance Baroque Rococo Romanticism Realism Contemporary_Realism Impressionism Post_Impressionism Pointillism Fauvism Cubism Analytical_Cubism Synthetic_Cubism Symbolism Art_Nouveau Expressionism Abstract_Expressionism Action_painting Color_Field_Painting Minimalism Pop_Art New_Realism Ukiyo_e Naive_Art_Primitivism Predicted Early_Renaissance Northern_Renaissance High_Renaissance Mannerism_Late_Renaissance Baroque Rococo Romanticism Realism Contemporary_Realism Impressionism Post_Impressionism Pointillism Fauvism Cubism Analytical_Cubism Synthetic_Cubism Symbolism Art_Nouveau Expressionism Abstract_Expressionism Action_painting Color_Field_Painting Minimalism Pop_Art New_Realism Ukiyo_e Naive_Art_Primitivism True euclidean d=8 Early_Renaissance Northern_Renaissance High_Renaissance Mannerism_Late_Renaissance Baroque Rococo Romanticism Realism Contemporary_Realism Impressionism Post_Impressionism Pointillism Fauvism Cubism Analytical_Cubism Synthetic_Cubism Symbolism Art_Nouveau Expressionism Abstract_Expressionism Action_painting Color_Field_Painting Minimalism Pop_Art New_Realism Ukiyo_e Naive_Art_Primitivism Predicted Early_Renaissance Northern_Renaissance High_Renaissance Mannerism_Late_Renaissance Baroque Rococo Romanticism Realism Contemporary_Realism Impressionism Post_Impressionism Pointillism Fauvism Cubism Analytical_Cubism Synthetic_Cubism Symbolism Art_Nouveau Expressionism Abstract_Expressionism Action_painting Color_Field_Painting Minimalism Pop_Art New_Realism Ukiyo_e Naive_Art_Primitivism True hyperbolic d=8, c=0.3 Confusion matrices block-ordered by the default tree (rows normalize to 1) Figure 13. Row-normalized confusion matrices atd=8, with rows and columns permuted by a depth-first traversal of the default style tree so that hierarchically adjacent styles sit next to each other on both axes. Both models concentrate mistakes in near-diagonal blocks: errors predominantly fall on tree-adjacent styles. The hyperbolic block structure is visibly softer near the diagonal: more confusion mass spreads into immediate siblings, less mass jumps to distant styles. This is the same fact the sibling-recall numbers report, in a form a viewer can absorb at a glance. 12