InceptionXML: A Lightweight Framework with Synchronized Negative Sampling for Short Text Extreme Classification

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Kharbanda, Siddhant, Banerjee, Atmadeep, Gupta, Devaansh, Palrecha, Akash, Babbar, Rohit
Format: Preprint
Published: 2021
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929334132932608
author Kharbanda, Siddhant
Banerjee, Atmadeep
Gupta, Devaansh
Palrecha, Akash
Babbar, Rohit
author_facet Kharbanda, Siddhant
Banerjee, Atmadeep
Gupta, Devaansh
Palrecha, Akash
Babbar, Rohit
contents Automatic annotation of short-text data to a large number of target labels, referred to as Short Text Extreme Classification, has found numerous applications including prediction of related searches and product recommendation. In this paper, we propose a convolutional architecture InceptionXML which is light-weight, yet powerful, and robust to the inherent lack of word-order in short-text queries encountered in search and recommendation. We demonstrate the efficacy of applying convolutions by recasting the operation along the embedding dimension instead of the word dimension as applied in conventional CNNs for text classification. Towards scaling our model to datasets with millions of labels, we also propose SyncXML pipeline which improves upon the shortcomings of the recently proposed dynamic hard-negative mining technique for label short-listing by synchronizing the label-shortlister and extreme classifier. SyncXML not only reduces the inference time to half but is also an order of magnitude smaller than state-of-the-art Astec in terms of model size. Through a comprehensive empirical comparison, we show that not only can InceptionXML outperform existing approaches on benchmark datasets but also the transformer baselines requiring only 2% FLOPs. The code for InceptionXML is available at https://github.com/xmc-aalto/inceptionxml.
format Preprint
id arxiv_https___arxiv_org_abs_2109_07319
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle InceptionXML: A Lightweight Framework with Synchronized Negative Sampling for Short Text Extreme Classification
Kharbanda, Siddhant
Banerjee, Atmadeep
Gupta, Devaansh
Palrecha, Akash
Babbar, Rohit
Computation and Language
Artificial Intelligence
Machine Learning
Automatic annotation of short-text data to a large number of target labels, referred to as Short Text Extreme Classification, has found numerous applications including prediction of related searches and product recommendation. In this paper, we propose a convolutional architecture InceptionXML which is light-weight, yet powerful, and robust to the inherent lack of word-order in short-text queries encountered in search and recommendation. We demonstrate the efficacy of applying convolutions by recasting the operation along the embedding dimension instead of the word dimension as applied in conventional CNNs for text classification. Towards scaling our model to datasets with millions of labels, we also propose SyncXML pipeline which improves upon the shortcomings of the recently proposed dynamic hard-negative mining technique for label short-listing by synchronizing the label-shortlister and extreme classifier. SyncXML not only reduces the inference time to half but is also an order of magnitude smaller than state-of-the-art Astec in terms of model size. Through a comprehensive empirical comparison, we show that not only can InceptionXML outperform existing approaches on benchmark datasets but also the transformer baselines requiring only 2% FLOPs. The code for InceptionXML is available at https://github.com/xmc-aalto/inceptionxml.
title InceptionXML: A Lightweight Framework with Synchronized Negative Sampling for Short Text Extreme Classification
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2109.07319