Hyperbolic Interaction Model for Hierarchical Multi-Label Classification

Boli Chen, Xin Huang, Lin Xiao, Zixin Cai, Liping Jing

Introduction

Hierarchical Multi-Label Classification (HMLC) is a critical task in natural language processing where instances, such as news articles or scientific papers, are assigned multiple labels organized within a tree or Directed Acyclic Graph (DAG) structure. For instance, a document categorized under "Machine Learning" is inherently linked to its ancestor, "Artificial Intelligence."

Despite its importance, HMLC faces two primary challenges. First, the Geometry Gap: hierarchical structures expand exponentially, a property that "flat" Euclidean space struggles to represent without requiring excessively high dimensions or causing significant distortion. Second, the Tail Label Problem: specific labels at the lower levels of a hierarchy often suffer from a lack of training data, making it difficult for traditional classifiers to achieve high accuracy.

The HyperIM Framework

To address these issues, researchers have proposed the Hyperbolic Interaction Model (HyperIM). This framework shifts the classification process into hyperbolic space, specifically utilizing the Poincaré ball model. Hyperbolic geometry is uniquely suited for hierarchical data because its volume grows exponentially with its radius, mirroring the growth of tree structures.

Overview of the HyperIM architecture, illustrating the joint embedding of words and label hierarchies in the Poincaré disk.

Core Components

  1. Joint Hyperbolic Embeddings: HyperIM embeds both the label hierarchy and document words into a shared hyperbolic space. This unified representation allows the model to capture the intrinsic relationships between textual content and symbolic taxonomies.
  2. Hyperbolic Word Encoder: To account for context and polysemy, the model employs a Gated Recurrent Unit (GRU) adapted for hyperbolic space via Möbius operations. This ensures that word representations are context-aware before interacting with label embeddings.
  3. Interaction Mechanism: Instead of standard dot products, HyperIM calculates the geodesic distance between word and label embeddings. This distance metric reflects the shortest path in curved space, producing "label-aware" document representations that respect the hierarchical topology.
  4. Scalability: For large-scale datasets with tens of thousands of labels, the model utilizes a partial interaction strategy with negative sampling, ensuring computational efficiency during training.

Key Insights: Hierarchy as Geometry

The fundamental insight of HyperIM is that the "tree-likeness" of hyperbolic space provides a natural mathematical inductive bias for hierarchical data. In the Poincaré ball, the distance from the origin corresponds to the level of abstraction: general concepts reside near the center, while specific "tail labels" are positioned toward the boundary. This geometric arrangement allows the model to leverage parent-child correlations, effectively "borrowing" information from well-represented parent labels to improve the classification of data-scarce child labels.

Experimental Results

HyperIM was evaluated against state-of-the-art baselines (e.g., EXAM, SLEEC, HR-DGCNN) on three benchmark datasets: RCV1 (small-scale), Zhihu (medium-scale), and WikiLSHTC (large-scale).

Performance comparison (nDCG@1, 3, 5) across different dimensionalities, highlighting HyperIM's effectiveness in low-dimensional spaces.

The results demonstrate several key advantages:

  • Efficiency in Low Dimensions: HyperIM significantly outperforms Euclidean models in low-dimensional settings (e.g., 2D or 10D), where the capacity of Euclidean space to represent hierarchies is most limited.
  • Large-Scale Performance: On the WikiLSHTC dataset (over 36,000 labels), HyperIM achieved a P@1 of 55.06, surpassing previous benchmarks like EXAM (54.90) and HMCN-F (53.23).
  • Robustness on Tail Labels: By utilizing hyperbolic geodesics, the model shows marked improvement in predicting infrequent labels, validating the benefit of the hierarchical geometric prior.

Conclusion and Future Directions

HyperIM demonstrates that aligning the geometry of the embedding space with the structure of the data leads to more robust and efficient classification. While highly effective for explicit hierarchies, future work will explore extending this approach to "flat" extreme multi-label classification (XMLC) by automatically discovering latent hierarchical structures. Additionally, the authors envision applying hyperbolic interaction models to other domains, such as bioinformatics and image annotation, where hierarchical relationships are prevalent.

Summary updated

BibTeX
@inproceedings{chen2020hyperbolic,
  author = {Boli Chen and Xin Huang and Lin Xiao and Zixin Cai and Liping Jing},
  title = {{Hyperbolic Interaction Model for Hierarchical Multi-Label Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6247},
}
Figure