Hyperbolic Manifold Regression

Gian Maria Marconi, Carlo Ciliberto, Lorenzo Rosasco

Abstract

Geometric representation learning has shown great promise for important tasks in artificial intelligence and machine learning. However, an open problem is yet how to integrate non-Euclidean representations into standard regression frameworks. This paper introduces two novel methods for performing regression where the target output lies in a hyperbolic space, leveraging its natural "tree-like" geometry to improve hierarchical classification and taxonomy expansion.

Introduction

Many real-world datasets, such as biological taxonomies, folder structures, or language ontologies, possess inherent hierarchical structures. While Euclidean space is the standard for machine learning, it often fails to represent these hierarchies without significant distortion. Hyperbolic spaces, characterized by constant negative curvature, are better suited for this purpose because their volume grows exponentially with radius, mirroring the exponential growth of nodes in a tree hierarchy.

The challenge addressed in this work is taxonomy expansion: predicting the position of a new concept within a pre-existing hierarchical embedding. Standard regression tools using Mean Squared Error (MSE) in Euclidean space ignore the underlying geometry. This work explores how to efficiently learn functions that map Euclidean features (such as text or images) onto curved hyperbolic manifolds.

Proposed Methods

The authors propose two distinct approaches to Hyperbolic Manifold Regression:

1. Hyperbolic Structured Prediction (HSP)

HSP is a non-parametric, kernel-based method. It calculates weights for training points using kernel ridge regression and then identifies a "weighted Fréchet mean" on the hyperbolic manifold. The prediction for a new point is the location on the manifold that minimizes the weighted distance to known labels. The authors provide a theoretical excess risk bound of $O(n^{-1/4})$, establishing the method's statistical consistency.

2. Neural Network with Geodesic Loss (NN-G)

This parametric approach utilizes standard deep learning architectures but incorporates a "squashing" function (using tanh and norm-scaling) at the final layer to constrain outputs within the Poincaré ball. Crucially, the standard MSE loss is replaced with the squared geodesic distance, representing the shortest path on the curved manifold rather than a straight Euclidean line.

Experimental Evaluation

The methods were evaluated on two primary tasks: hierarchical classification and taxonomy expansion. The latter task specifically tests how well models can place "unseen" concepts into a known tree structure using the WordNet Mammals hierarchy and synthetic datasets.

Taxonomy Expansion Visualization

Visualizing the predicted embedding for the 'Fox' concept. Hyperbolic models (HSP, NN-G) place the concept closer to the ground truth than Euclidean baselines (NN-E, KRLS). Source, p. 7

Visualizing the predicted embedding for the 'Fox' concept. Hyperbolic models (HSP, NN-G) place the concept closer to the ground truth than Euclidean baselines (NN-E, KRLS).

Key Results

The experiments revealed several critical insights regarding the efficacy of hyperbolic geometry in regression tasks:

  • Superiority in Expansion: Hyperbolic-based estimators significantly outperformed Euclidean baselines. On the WordNet Mammals dataset with 50 new concepts, HSP achieved a Mean Average Precision (mAP) of 0.50, while the Euclidean NN-E trailed at 0.20.
  • Efficiency: The NN-G model required approximately one-third of the training time of previous Hyperbolic Neural Networks (HNN) while maintaining similar performance levels.
  • Geometry vs. Architecture: A standard network with geodesic loss and proper output mapping often matches the performance of specialized hyperbolic layers, suggesting that the loss function and output space are more critical than the internal architecture.
Performance metrics for taxonomy expansion across Wordnet Mammals and synthetic datasets, showing the clear advantage of hyperbolic methods.

Discussion and Conclusion

By treating the manifold as a structured output, this framework bridges the gap between abstract Riemannian geometry and practical statistical learning theory. While kernel-based methods like HSP show strong performance on smaller datasets, neural network approaches like NN-G offer faster inference times once trained. Future work may extend these methods to manifold product spaces to represent even more complex data structures combining hierarchies with other geometric properties.

Summary updated

BibTeX
@inproceedings{marconi2020hyperbolic,
  author = {Gian Maria Marconi and Carlo Ciliberto and Lorenzo Rosasco},
  title = {{Hyperbolic Manifold Regression}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=lwSAx9agusL},
}
Figure