Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval

Sachin Yadav, Deepak Saini, Anirudh Buvanesh, Bhawna Paliwal, Kunal Dahiya, Siddarth Asokan, Yashoteja Prabhu, Jian Jiao, Manik Varma

TL;DR

This paper introduces EMMETT, a novel framework for "extreme meta-classification" that enables efficient and accurate retrieval of novel items in large-scale systems, even without prior knowledge of these items. Their proposed algorithm, IRENE, builds upon this framework, demonstrating significant improvements in zero-shot retrieval accuracy and real-world performance in sponsored search applications.

What Problem Does This Paper Address?

Modern search engines and recommendation systems deal with an ever-growing catalog of items. A critical challenge is efficiently retrieving relevant items for user queries, especially when new items are constantly being added (zero-shot items). Traditional methods like Siamese networks use small encoders to represent items and queries, allowing for fast updates but lacking the capacity to capture complex world knowledge, leading to lower accuracy. Extreme Classification (XC) methods use item-specific classifiers to boost accuracy but struggle with zero-shot scenarios due to data and latency constraints for training new classifiers. This paper aims to bridge this gap by developing a method to synthesize classifiers for novel items on-the-fly, leveraging existing knowledge from observed items.

Methods

The core contribution is the EMMETT (Extreme Meta-Classification) framework. EMMETT addresses the zero-shot retrieval problem by:

  • Classifier Selector (S): This module efficiently identifies a small set of the most informative existing classifiers (trained on observed items) that are relevant to a novel item.
  • Meta-Classifier Generator (G): This module synthesizes a new classifier for the novel item by combining the information from the selected existing classifiers and the novel item's own representation.

The paper then proposes IRENE (Improved REtrieval of Novel itEms) as a specific, efficient instantiation of EMMETT. IRENE uses an Approximate Nearest Neighbor Search (ANNS) index to select relevant classifiers and a transformer-based meta-classifier generator. Notably, IRENE keeps the base encoder and classifiers fixed during its training, focusing on training only the generator, which makes it efficient for large-scale deployments.

The authors also introduce a theoretical framework to analyze the generalization performance of EMMETT, providing bounds on the error and insights into factors affecting performance.

Datasets

The authors evaluated IRENE on a diverse set of large-scale datasets across various applications:

  • LF-AOL-270K: Query Completion
  • LF-Wikipedia-500K: Category Annotation
  • LF-WikiHierarchy-550K: Taxonomy Completion
  • LF-AmazonTitles-1.3M: Product Recommendation
  • KeywordPrediction-10M: Sponsored Search

Zero-shot splits were created by randomly partitioning items into observed and novel sets (typically 90-10 split).

Key Insights and Ideas

  • Leveraging Existing Knowledge: The fundamental idea is that classifiers trained on a vast number of observed items already encode significant world knowledge that can be "repurposed" for novel items.
  • Meta-Classification as a Solution: Instead of training new classifiers from scratch for every new item, EMMETT "meta-classifies" by synthesizing them from existing ones. This is crucial for handling the rapid influx of new items.
  • Efficiency through Fixed Base Models: IRENE's design choice to freeze the base encoder and classifiers and only train the meta-classifier generator is key to its efficiency and scalability.
  • Theoretical Guarantees: The theoretical analysis provides a foundation for understanding why EMMETT and IRENE work, linking generalization performance to factors like dataset size, classifier complexity, and the number of selected neighbors.

Key Results

  • Accuracy Gains: IRENE consistently improved zero-shot retrieval accuracy, achieving up to 15% points gain in Recall@10 when added on top of leading encoders across various benchmark datasets.
  • Real-World Impact: In an online A/B test in a major search engine's sponsored search task, IRENE increased the ad click-through rate by 4.2%.
  • Efficiency: IRENE adds minimal latency overhead for novel item representation (around 0.4ms) and is significantly faster than other zero-shot methods like SemSup-XC (approximately 350x faster at inference).
  • Scalability: The theoretical analysis and experimental results suggest that EMMETT and IRENE scale well with the number of items.
  • Ablation Studies: Experiments confirmed that a shallow meta-classifier generator (D=1) and a small number of selected neighbors (K=3) provide a good balance of performance and efficiency.

Limitations and Future Work

  • Limitations: The paper acknowledges that while IRENE is efficient, the meta-classifier generator's complexity can increase with the number of selected neighbors (K). The theoretical analysis also relies on certain assumptions about data distribution and bounded differences.
  • Future Work: The authors suggest that EMMETT's modular design offers ample opportunities for future research, exploring different choices for the classifier selector and generator modules, as well as various training strategies. They also briefly explore an "IRENE-OneShot" variant for extreme few-shot scenarios, indicating potential for further adaptation.

Summary updated

BibTeX
@inproceedings{yadav2024extreme,
  author = {Sachin Yadav and Deepak Saini and Anirudh Buvanesh and Bhawna Paliwal and Kunal Dahiya and Siddarth Asokan and Yashoteja Prabhu and Jian Jiao and Manik Varma},
  title = {{Extreme Meta-Classification for Large-Scale Zero-Shot Retrieval}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2024},
  doi = {10.1145/3637528.3672046},
}
Figure