Shared-Frame Hyperbolic Ensembles for Uncertainty That Knows Where It Is Lost

Deep ensembles, which train several copies of a network from different random starts and read their disagreement as a signal of ignorance, are the most reliable practical way to tell when a classifier does not know. They measure disagreement in a flat way, though. Two members that say "beagle" and "basset hound" disagree exactly as much as two members that say "beagle" and "airliner." Hyperbolic embeddings place data in a curved space whose volume grows exponentially with radius, much as a tree's node count grows with depth. In that space, distance does track the taxonomy. Related categories sit near each other, and the shortest path between unrelated ones bends back through the center, which plays the role of the root. Prior hyperbolic uncertainty work, however, reads confidence from a single model's distance to the center. Different papers interpret that one number in contradictory ways.

We propose training an ensemble whose members all embed images into one shared hyperbolic coordinate frame, anchored by fixed class prototypes laid out from a taxonomy. We then summarize the members' embeddings by their intrinsic center (the Fréchet mean) and their spread around it (the Fréchet variance). The spread splits into a radial part, where members disagree about how specific the input is, and an angular part, where members disagree about which branch it belongs to. The claim is that the center's radius encodes consensual generality or ambiguity, while the spread encodes epistemic ignorance. Separating the two resolves a contradiction in the literature. It also gives a natural rule for retreating up a taxonomy ("it is a dog, unclear which breed") rather than abstaining outright.

Core Claim

The obvious combination of computing Fréchet variance across hyperbolic ensemble members has a hidden flaw. Independently trained hyperbolic networks each land in an arbitrarily rotated copy of the Poincaré ball, the unit-ball model of hyperbolic space, so their embeddings are not comparable and their spread is meaningless. Our key ingredient fixes this. All members are trained against the same fixed, norm-balanced prototypes, in the style of Balanced Hyperbolic Embeddings Are Natural Out-of-Distribution Detectors. That paper precomputes WordNet-derived prototypes so that classes at equal depth have equal norm, and it detects out-of-distribution inputs from a single model's proximity to the origin. We reuse its prototypes only as a shared frame. Members still differ by initialization and data order, which What Are Bayesian Neural Network Posteriors Really Like? shows is enough to reach genuinely different loss basins.

Given member embeddings $z_1(x),\dots,z_M(x)$ in the ball, let $\mu(x)$ be their Fréchet mean and $d$ the hyperbolic distance. Write $r(\cdot)=d(0,\cdot)$ for distance from the origin. We define

$$\sigma^2(x)=\frac{1}{M}\sum_{m=1}^M d^2(\mu(x),z_m(x)),\qquad \sigma^2_{\text{rad}}(x)=\frac{1}{M}\sum_{m=1}^M \big(r(z_m(x))-r(\mu(x))\big)^2 .$$

The triangle inequality gives $|r(z_m)-r(\mu)|\le d(\mu,z_m)$. It follows that $\sigma^2_{\text{ang}}=\sigma^2-\sigma^2_{\text{rad}}\ge 0$ is a well-defined angular, or branch-disagreement, component.

The hypothesis has three parts. First, $r(\mu)$ is low for inputs that are generic or ambiguous but on which members agree. Second, $\sigma^2_{\text{ang}}$ is high for out-of-distribution inputs and for confusion across branches. Third, $\sigma^2_{\text{rad}}$ is high for rare classes, the "data scarcity" signal reported in Hyperbolic Active Learning for Semantic Segmentation under Domain Shift. That paper found the radius of a single segmentation model correlated with class rarity ($\rho=-0.899$). This is the opposite reading from Hyp-UML and Hyperbolic Image Embeddings, which treat closeness to the origin as ambiguity or out-of-distribution. Our decomposition predicts that both readings are partly right, because each conflates consensus position with dispersion.

Research Program

We first build the shared-frame ensemble. Five ResNet members, chosen because that backbone family is used across the file's hyperbolic and ensemble papers, each map to a Poincaré ball with fixed balanced prototypes. Training uses the prototype-distance loss of the balanced-embedding paper. Aggregation computes the Fréchet mean with the fast hyperparameter-free hyperbolic solver from Differentiating through the Fréchet Mean. That paper converges in about 14 iterations and found intrinsic means far better than tangent-space averaging inside graph networks (ROC AUC 93.7 versus 76.4 on Disease). It never applied the mean across models; we apply it at test time only, so no differentiation is needed.

Second, we turn the geometry into hierarchical abstention. Hierarchical Selective Classification lets a single Euclidean model climb WordNet from a leaf to an ancestor when confident probability is low. It calibrates thresholds with a split-conformal procedure that guarantees hierarchical risk. We keep that calibration procedure and the definitions of hierarchical risk and coverage, and replace the climbing signal. Starting from the leaf prototype nearest $\mu(x)$, the rule climbs to the parent while $\sigma(x)$ exceeds $\kappa$ times the geodesic radius of the current node's cell. That radius is half the distance from the node's prototype to its nearest sibling prototype, and $\kappa$ is the single calibrated threshold. The ensemble therefore stops at the deepest node whose region can contain its own disagreement.

Third, we run a diagnostic study of the norm contradiction. Probe sets separate generality, corruption, rarity, and novelty. The probes are images labeled only at superclass level, synthetically blurred or noised in-distribution images, rare classes from a long-tailed CIFAR-100 subsample, and held-out out-of-distribution data. For each probe we measure which of $r(\mu)$, $\sigma^2_{\text{rad}}$, and $\sigma^2_{\text{ang}}$ responds.

Baselines

The naive reference point is a single Euclidean ResNet scored by maximum softmax probability. For out-of-distribution detection on CIFAR-100, the balanced-embedding paper reports FPR@95 of 58.24% for this baseline. For abstention, the reference is standard binary selective classification, over which the hierarchical selective classification paper reports a 14.94% hierarchical gain on ImageNet-1k with its climbing rule.

The strongest single-model competitor is Balanced Hyperbolic Learning itself, which reaches FPR@95 of 49.46% with maximum softmax probability on CIFAR-100. It is strongest because it already uses the same prototypes and hyperbolic geometry. The only thing it lacks is multiple hypotheses.

The strongest overall competitor is a Euclidean deep ensemble of five members with the same backbone, data, epochs, and hyperparameter search budget. Its averaged softmax is fed to the hierarchical selective classification climbing rule. We give it a second variant that adds a taxonomy-aware disagreement score: the expected WordNet tree distance between members' predicted leaves. No reported result was found on Lacuna for a deep ensemble evaluated with hierarchical risk–coverage or with tree-distance disagreement, so we will run it ourselves. Beating it means a lower area under the hierarchical risk–coverage curve on ImageNet-1k and iNaturalist 2021 at matched member count, and lower FPR@95 on CIFAR-100 and ImageNet-100, outside seed-to-seed variation across three ensemble draws. For efficiency we also report Split-Ensemble. It shares a trunk and branches by semantic subtask, and reports +8.1% mean AUROC over a single model on CIFAR-100, but stays Euclidean and abstains in an all-or-nothing way.

Three ablations isolate the ingredients. The first is a Euclidean ensemble trained against Euclidean prototypes derived from the same hierarchy, which isolates curvature. The second is a hyperbolic ensemble with independent, unshared frames, scored by member-wise softmax averaging; this isolates the shared frame, since Fréchet variance cannot be meaningfully computed without it. The third is the shared-frame ensemble averaged through the origin's tangent space instead of the Fréchet mean, which isolates intrinsic aggregation.

Why not just…?

Why not just use a Euclidean ensemble with tree distance between member predictions? This is the real threat. Expected tree distance between members' argmax leaves already distinguishes sibling confusion from cross-branch confusion with no curved geometry. Our bet is that continuous hyperbolic dispersion carries information the argmax discards, in particular radial disagreement among members that agree on the leaf. The bet also rests on hyperbolic members being less overconfident off-distribution, as the 58.24% to 49.46% FPR@95 drop suggests. The Euclidean-prototype ablation and the tree-distance baseline settle this directly. If they match us on hierarchical risk–coverage and FPR@95, the honest conclusion is that ensembles, not curvature, do the work.

Why not just read uncertainty from a single hyperbolic model's radius? The file shows that this single number means opposite things in different papers: ambiguity near the origin in Hyp-UML, rarity near the boundary in HALO. The balanced-embedding paper also shows that unconstrained training pushes small branches inward. The probe study tests whether one radius can separate superclass-level, corrupted, rare, and novel inputs. The comparison against Balanced Hyperbolic Learning tests whether that separation pays off downstream.

Why not just average in the tangent space? Mapping to the origin's tangent space flattens distances most severely near the boundary, where confident leaf embeddings live. That pulls the mean inward and inflates apparent uncertainty, and the graph results in the Fréchet-mean paper show a large gap from this shortcut. With five points and a 14-iteration solver, the intrinsic mean costs almost nothing. The tangent ablation will show whether the gap carries over to ensemble aggregation; if it does not, we will adopt the cheaper option.

Why not just use Monte Carlo dropout in one hyperbolic network? Dropout samples stay in one loss basin and understate disagreement under shift, as argued in What Are Bayesian Neural Network Posteriors Really Like?. We include hyperbolic dropout at a matched number of forward passes as a cost-matched check.

Proposed Experiments and Decisive Checks

Out-of-distribution detection uses CIFAR-100, with its 20 superclasses providing a two-level taxonomy, and ImageNet-100, following the balanced-embedding protocol; we report FPR@95 and AUROC. Hierarchical abstention uses ImageNet-1k and iNaturalist 2021 with the hierarchical selective classification metrics. Calibration error on predicted nodes is reported throughout.

The first decisive check is the shared-frame ablation. If independent-frame members give Fréchet spreads that do not track error, the core design choice is validated. The second is the probe study. The decomposition succeeds only if $\sigma^2_{\text{ang}}$ rises on novel inputs, $r(\mu)$ falls on superclass-level inputs while spread stays low, and $\sigma^2_{\text{rad}}$ rises on rare classes; that pattern would reconcile HALO with Hyp-UML. The third is the head-to-head against the Euclidean ensemble with tree distance, which determines whether curvature earns its complexity.

We will also check that fixed shared prototypes do not collapse member diversity. Diversity is measured as the disagreement rate on test data, compared with the unshared ensemble. Collapse would argue for sharing prototypes only at coarse levels.