Javier Ródenas
WACV 2027

HyperFuse: Hyperbolic Cross-Modal Fusion for Few-Shot Learning

Javier Ródenas1 Eduardo Aguilar2 Petia Radeva1,3
1AIBA, Universitat de Barcelona 2Universidad Católica del Norte 3Institute of Neuroscience, Universitat de Barcelona
Euclidean versus hyperbolic embedding of novel classes.
Euclidean vs. hyperbolic embedding of novel classes. (a) In Euclidean space, visually similar classes such as Golden Retriever and Lion overlap (\(d = 0.38\)). (b) In the Poincaré ball, HyperFuse places them near the boundary, where geodesic distances grow exponentially (\(d_g = 4.2\)), and keeps each class tighter.
TL;DR. Moving vision-text few-shot learning into hyperbolic space by simply swapping the distance barely helps and damages the features. We show the cause is angular feature concentration (not the usual shell collapse) and fix it with three closed-form mechanisms. HyperFuse sets new state-of-the-art results on four benchmarks and three cross-domain settings with no extra learnable parameters and about 5% more inference time.

Abstract

Vision-text few-shot learning methods leverage semantic descriptions and synthetic data to classify novel categories from few examples, but operate entirely in Euclidean space. Hyperbolic space, with its exponentially growing volume near the boundary, provides richer geometric structure for few-shot classification. We show that naïvely lifting these methods to hyperbolic space yields only a marginal gain while degrading the representation, not because of the commonly reported shell collapse, but because of angular feature concentration: the non-linear distance amplification of the Poincaré ball causes hard negative overfitting that collapses representations into a narrow angular subspace. Based on this insight, we propose HyperFuse, a framework that enables effective hyperbolic cross-modal fusion through three mechanisms: (1) hyperbolic prototype classification via geodesic distances, (2) Möbius midpoint alignment that fuses visual and semantic modalities natively via Einstein midpoint aggregation, and (3) uniformity regularization in the pre-projection tangent space. Together, these mechanisms raise feature effective rank by +19.86% over the Euclidean baseline. A Euclidean control disentangles the regulariser from the projection: uniformity alone attains even higher feature diversity yet loses accuracy; only combined with the hyperbolic projection does that diversity translate into class separation. Experiments on four standard benchmarks and three cross-domain settings demonstrate consistent improvements over the state-of-the-art. In the 1-shot setting, our method achieves 85.12% on miniImageNet, 89.39% on tieredImageNet, 89.21% on CIFAR-FS, and 59.22% on FC100. Furthermore, in cross-domain 1-shot evaluation, it surpasses the state of the art by +2.24% on CUB-200, +2.43% on Places, and +2.54% on Plantae.

Why hyperbolic, and why it fails naïvely

Visual categories are hierarchical: a golden retriever is a dog, which is an animal, and the LLM descriptions used by vision-text few-shot methods encode similar taxonomies. Euclidean space grows polynomially in volume and cannot embed trees without distortion. The Poincaré ball grows exponentially and its geodesics amplify fine-grained differences near the boundary, which makes it a natural fit for few-shot prototypes.

Replacing Euclidean distances with geodesic ones, however, gives only a marginal gain and makes the representation worse. Our spectral analysis traces this to angular feature concentration: the \(\operatorname{arctanh}\) in the hyperbolic distance over-penalizes hard negatives, and features squeeze into a narrow cone of directions. The effective rank of the feature matrix drops and the smallest angle between classes shrinks. This is different from shell collapse, where features collapse onto a constant radius, and shell-collapse remedies do not fix it.

Method

HyperFuse pipeline from Euclidean features to the Poincaré ball.
HyperFuse pipeline. Visual features \(f_v\) (text-modulated support), text features \(f_t\) (CLIP encodings of LLM descriptions), synthetic-image features \(f_s\) and query features \(f_q\) are \(\ell_2\)-normalized, scaled and mapped to the Poincaré ball with \(\exp_0^c\). The Einstein midpoint fuses the modalities into prototypes \(\hat p_n\), and queries are classified by geodesic distance \(d_g\).
01

Hyperbolic prototype classification

Features are projected onto the ball and queries are classified by negative geodesic distance to prototypes built with the Einstein midpoint.

02

Möbius midpoint alignment

Text, visual and synthetic features are aligned around their hyperbolic centroid, so alignment and classification live in the same geometry.

03

Uniformity regularization

A uniformity loss in the tangent space, before projection, spreads features over directions and counteracts angular concentration.

Projection to the Poincaré ball

Backbone features are normalized, scaled by \(s\) and mapped with the exponential map at the origin. Every point lands at the same radius \(\tanh(s\sqrt c)\approx 0.72\) (with \(s=0.9\), \(c=1\)), so the geometry acts on directions:

$$h(z) = \exp_0^c\!\Big(s\,\frac{z}{\|z\|}\Big), \qquad d_g(x,y) = \frac{2}{\sqrt c}\,\operatorname{arctanh}\!\big(\sqrt c\,\|{-x}\oplus_c y\|\big).$$

Prototypes and classification

Prototypes aggregate real and text-conditioned support features with the Einstein midpoint, the hyperbolic counterpart of an average. Queries are classified with a softmax over negative geodesic distances:

$$m_E = \frac{\sum_i w_i\gamma_i x_i}{\sum_i w_i\gamma_i},\ \ \gamma_i = \frac{1}{\sqrt{1-c\|x_i\|^2}}, \qquad p(y=n\mid x_q) = \frac{\exp(-d_g(h(z_q),\hat p_n)/\tau)}{\sum_{n'}\exp(-d_g(h(z_q),\hat p_{n'})/\tau)}.$$

Möbius midpoint alignment

The Euclidean RBF-kernel alignment used by VT-FSL is replaced by a contrastive objective in the ball: each modality (text, generated, synthetic) of class \(n\) should be closest to the Einstein midpoint \(m_n\) of its own class.

Uniformity regularization

Following Wang & Isola, a uniformity loss spreads the normalized features on the hypersphere before the exponential map, which keeps the geometry intact:

$$\mathcal L_{\text{uni}} = \log \frac{1}{|\mathcal P|}\sum_{(i,j)\in\mathcal P} e^{-t\|\bar z_i - \bar z_j\|^2}, \qquad \mathcal L = \mathcal L_{\text{cls}} + \mathcal L_{\text{align}} + \lambda\,\mathcal L_{\text{uni}}.$$

All hyperbolic operations are closed-form. HyperFuse keeps VT-FSL's parameter count (Visformer-Tiny backbone, 10.8M trainable parameters) and adds about 5% inference time.

Results

85.12%
miniImageNet 1-shot
89.39%
tieredImageNet 1-shot
+2.54
pts cross-domain, Plantae 1-shot
+19.86%
feature effective rank

5-way accuracy (%) on standard benchmarks

MethodBackbonemini 1-shotmini 5-shottiered 1-shottiered 5-shotCIFAR-FS 1-shotFC100 1-shot
CPEA (ICCV'23)ViT-S71.9787.0676.9390.12––
SemFew (CVPR'24)Swin-T78.9486.4982.3789.8984.3454.27
VT-FSL (NeurIPS'25)Visformer-T83.6688.3888.0291.7188.6757.99
HyperFuse (ours)Visformer-T85.1289.4189.3992.2489.2159.22

2,000 test episodes, three seeds. On miniImageNet, HyperFuse beats VT-FSL on 71.5% of the same episodes (paired t-test p < 10-46). Full tables with more baselines and confidence intervals are in the paper.

Cross-domain (train on miniImageNet, 5-way 1-shot)

MethodCUBPlacesPlantae
StyleAdv48.4958.5841.13
SVasP49.4959.0741.22
VT-FSL66.8673.6845.90
HyperFuse (ours)69.1076.1148.44

Gains are larger under domain shift (+1.52 to +2.54 points) than in-domain (+0.53 to +1.46), which suggests the geometry matters most when novel categories fall outside the training distribution.

Ablation: the three mechanisms work together

Configuration (miniImageNet 1-shot)Acc. (%)Eff. rank ↑Min inter-class angle ↑
VT-FSL (Euclidean baseline)83.66171.752.9°
+ uniformity, Euclidean82.51207.160.8°
Hyperbolic classification84.14164.248.6°
Hyp. cls. + Möbius alignment83.98168.447.9°
Hyp. cls. + uniformity84.68184.356.0°
HyperFuse (all three)85.12205.860.2°

Hyperbolic classification alone lowers effective rank, confirming angular concentration. Uniformity on its own, in Euclidean space, gives the most diverse features but loses accuracy: feature diversity is necessary but not sufficient, and it pays off only together with the hyperbolic projection. The learned prototypes also reflect the class hierarchy: geodesic distances correlate with WordNet tree distance (Spearman ρ = 0.59).

Curvature

1-shot accuracy as a function of the Poincaré ball curvature.
1-shot accuracy as a function of the curvature \(c\). Dashed line: Euclidean VT-FSL. Low \(c\) behaves like Euclidean space; very high \(c\) (≥ 4) brings back concentration. \(c = 1\) is optimal or near-optimal on every benchmark.

BibTeX

@inproceedings{rodenas2027hyperfuse,
  title     = {HyperFuse: Hyperbolic Cross-Modal Fusion for Few-Shot Learning},
  author    = {R{\'o}denas, Javier and Aguilar, Eduardo and Radeva, Petia},
  booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision (WACV)},
  year      = {2027}
}