Leveraging Distributional Semantics for Multi-Label Learning

Rahul Wadbude, Vivek Gupta, Piyush Rai, Nagarajan Natarajan, Harish KarnickarXiv 2017

Abstract

We present a novel and scalable label embedding framework for large-scale multi-label learning, termed ExMLDS (Extreme Multi-Label Learning using Distributional Semantics). Drawing inspiration from distributional semantics—specifically the Skip-Gram Negative Sampling (SGNS) approach used in natural language processing—our framework highlights connections between label embedding methods and document embedding techniques. By reducing learning to matrix factorization and incorporating auxiliary label-label correlations, ExMLDS addresses the challenges of scale and missing labels. Extensive experiments demonstrate that our approach performs favorably against state-of-the-art methods while offering significant computational efficiency.

Introduction: The Challenges of Extreme Multi-Label Learning

In the era of massive datasets, Extreme Multi-Label Learning (XML) has become a critical task. Applications range from tagging Wikipedia articles to recommending items from catalogs containing millions of options. XML presents three primary hurdles:

  1. Scale: Traditional classifiers struggle with millions of output classes.
  2. The "Long Tail": Most labels appear rarely, and standard low-rank methods often neglect these "tail" labels in favor of common ones.
  3. Missing Labels: Real-world training data is often incomplete, with many relevant labels left untagged.

While previous methods like SLEEC attempted to preserve local structures to handle these issues, they often suffered from high computational costs and fragility when label information was sparse.

The EXMLDS Framework

The core innovation of EXMLDS lies in treating labels as semantic entities. By observing that the relationship between words and their contexts in NLP is mathematically analogous to the relationship between labels and instances, the researchers developed a framework based on distributional semantics.

Key Methodologies

  • Skip-Gram Negative Sampling (SGNS): Borrowing from the famous word2vec algorithm, EXMLDS treats each instance as a "word" and its k-nearest neighbors in label space as its "context."
  • SPPMI Factorization: To avoid the slow training of neural networks, the authors demonstrate that the SGNS objective can be solved efficiently by factorizing a Shifted Positive Point-wise Mutual Information (SPPMI) matrix. This transforms a deep learning problem into a fast linear algebra operation.
  • Joint Learning (EXMLDS3): This variant embeds instances and labels into a shared space while incorporating auxiliary information, such as external label-label correlations. This allows the model to infer missing labels based on co-occurrence patterns found in broader contexts (e.g., Wikipedia).

Experimental Evaluation

The researchers evaluated EXMLDS on a diverse set of benchmarks, ranging from medium-scale datasets like Bibtex and MediaMill to large-scale datasets such as Wikipedia-500K and Amazon-670K. These tests provided a rigorous assessment of the model's scalability and predictive power.

Key Results and Insights

Superior Computational Efficiency

One of the most striking advantages of EXMLDS is its speed. By moving from iterative training to SVD-based factorization, the model achieves massive speedups. For instance, on the Bibtex dataset, EXMLDS1 trained approximately 14x faster than SLEEC.

Training time comparison (in seconds) across datasets showing the efficiency of ExMLDS variants compared to SLEEC.

Robustness to Missing Data

EXMLDS3 demonstrates exceptional resilience when training labels are incomplete. In simulations where 80% of labels were hidden, the inclusion of auxiliary correlation data allowed EXMLDS3 to significantly outperform baselines.

Performance comparison under missing label conditions, highlighting the robustness of ExMLDS3 against methods like SLEEC and LEML.

On the rcv1v2 dataset, EXMLDS3 achieved a Precision@1 of 81.67%, nearly doubling the 41.8% achieved by SLEEC under the same conditions. This highlights the power of leveraging external semantic correlations when local training data is sparse.

Predictive Accuracy

Across all datasets, EXMLDS maintained competitive or state-of-the-art accuracy. Its ability to capture non-linear relationships through local neighborhood preservation proved particularly effective for "tail" labels that global low-rank models typically miss.

Conclusion and Future Directions

EXMLDS bridges the gap between NLP-style embeddings and extreme classification. While highly effective for text and tag-based data, its performance is currently tied to the quality of the initial k-nearest neighbor graph. Future research may explore integrating raw features (like images) directly into the embedding process and refining negative sampling strategies to further improve performance on the rarest labels.

Summary updated

BibTeX
@misc{wadbude2017leveraging,
  author = {Rahul Wadbude and Vivek Gupta and Piyush Rai and Nagarajan Natarajan and Harish Karnick},
  title = {{Leveraging Distributional Semantics for Multi-Label Learning}},
  year = {2017},
  eprint = {1709.05976},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1709.05976},
}
Figure