Open Vocabulary Extreme Classification Using Generative Models

Daniel Simig, Fabio Petroni, Pouya Yanki, Kashyap Popat, Christina Du, Sebastian Riedel, Majid Yazdani

Introduction: The Challenge of Dynamic Taxonomies

Extreme Multi-label Classification (XMC) is the task of assigning a subset of relevant labels to an input from a massive collection of potential tags. Traditional XMC systems operate under the assumption of a static, pre-defined label vocabulary. However, in dynamic environments like e-commerce or global news, new categories and concepts emerge faster than human curators can update taxonomies. When a label is missing from the training set, traditional classifiers are fundamentally incapable of predicting it.

This paper introduces Open Vocabulary XMC (OXMC), a paradigm where models must not only classify known labels but also propose meaningful new ones. To address this, the authors present GROOV (GeneRative Out-Of-Vocabulary tagging), a sequence-to-sequence model designed to "invent" labels on-the-fly.

GROOV: A Generative Approach to XMC

Unlike standard XMC models that treat labels as discrete IDs, GROOV treats them as semantic strings. By fine-tuning a T5 (Text-to-Text Transfer Transformer) model, the system leverages the rich linguistic knowledge of pre-trained language models to understand and generate label names.

Technical Innovations

  1. Multi-Softmax Loss (MSM): Standard seq2seq training penalizes models for predicting labels in an order different from the training target. Since labels are an unordered set, the authors implemented MSM loss, which allows the model to assign high probability to any valid gold label that hasn't yet been generated.
  2. Scoring by Marginalization: To rank labels for evaluation, GROOV uses beam search to generate multiple label sequences. It then calculates the probability of a specific label by summing the probabilities of all sequences in which it appears.

Experimental Framework and Datasets

The researchers evaluated GROOV across three diverse datasets, including a custom benchmark designed specifically for open-vocabulary testing.

Table 1: Dataset statistics highlighting the presence of unseen labels.

As shown in Table 1, the AmazonCat-OV dataset was specifically curated to test novel label discovery by removing a subset of labels from the training set to see if the model could re-discover them. Wikipedia-1M represents a massive-scale challenge with over 770,000 unseen labels in the test partition.

Performance and Novel Label Discovery

GROOV demonstrates that a generative approach can match the performance of specialized, state-of-the-art XMC models while offering significantly more flexibility.

Table 2: Performance comparison against state-of-the-art XMC models.

Key Results

  • Competitive Accuracy: On standard benchmarks like EUR-Lex 4.3K, GROOV performs comparably to established models like AttentionXML and Parabel (see Table 2). The inclusion of MSM and marginalization scoring further boosts its performance.
  • Novel Label Discovery: In the AmazonCat-OV experiment, GROOV successfully "re-discovered" over 400 novel categories that were entirely absent from its training data.
  • Human Validation: Manual review of novel labels revealed that 65% were "sensible" and 26% were "informative," often providing more granular detail than the original gold labels. This highlights a "False Positive Paradox": many labels marked as errors by traditional metrics are actually valuable additions to the taxonomy.

Discussion and Limitations

While GROOV represents a significant step toward autonomous taxonomy expansion, several challenges remain. The computational cost of beam search and marginalization makes inference slower than sparse linear classifiers. Additionally, like all generative models, GROOV is susceptible to hallucinations—occasionally generating labels based on word associations rather than true semantic relevance. Future work will focus on improving the handling of label sets and scaling generative XMC to even larger, more complex datasets.

Summary updated

BibTeX
@inproceedings{simig2022open,
  author = {Daniel Simig and Fabio Petroni and Pouya Yanki and Kashyap Popat and Christina Du and Sebastian Riedel and Majid Yazdani},
  title = {{Open Vocabulary Extreme Classification Using Generative Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.123},
}
Figure