NGAME: Negative Mining-aware Mini-batching for Extreme Classification

Kunal Dahiya, Nilesh Gupta, Deepak Saini, Akshay Soni, Yajun Wang +14 more
7/10/2022
cs.LGcs.IR

No confident code implementation found for this paper.

Abstract

Extreme Classification (XC) seeks to tag data points with the most relevant subset of labels from an extremely large label set. Performing deep XC with dense, learnt representations for data points and labels has attracted much attention due to its superiority over earlier XC methods that used sparse, hand-crafted features. Negative mining techniques have emerged as a critical component of all deep XC methods that allow them to scale to millions of labels. However, despite recent advances, training deep XC models with large encoder architectures such as transformers remains challenging. This paper identifies that memory overheads of popular negative mining techniques often force mini-batch sizes to remain small and slow training down. In response, this paper introduces NGAME, a light-weight mini-batch creation technique that offers provably accurate in-batch negative samples. This allows training with larger mini-batches offering significantly faster convergence and higher accuracies than existing negative sampling techniques. NGAME was found to be up to 16% more accurate than state-of-the-art methods on a wide array of benchmark datasets for extreme classification, as well as 3% more accurate at retrieving search engine queries in response to a user webpage visit to show personalized ads. In live A/B tests on a popular search engine, NGAME yielded up to 23% gains in click-through-rates.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{dahiya2022ngame,
  title  = {NGAME: Negative Mining-aware Mini-batching for Extreme Classification},
  author = {Kunal Dahiya and Nilesh Gupta and Deepak Saini and Akshay Soni and Yajun Wang and Kushal Dave and Jian Jiao and Gururaj K and Prasenjit Dey and Amit Singh and Deepesh Hada and Vidit Jain and Bhawna Paliwal and Anshul Mittal and Sonu Mehta and Ramachandran Ramjee and Sumeet Agarwal and Purushottam Kar and Manik Varma},
  year   = {2022},
  eprint = {2207.04452},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.04452v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.04452.svg)](https://codeofpaper.com/paper/2207.04452)

Discussion