Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

FastText.zip: Compressing text classification models

About

We consider the problem of producing compact architectures for text classification, such that the full model fits in a limited amount of memory. After considering different solutions inspired by the hashing literature, we propose a method built upon product quantization to store word embeddings. While the original technique leads to a loss in accuracy, we adapt this method to circumvent quantization artefacts. Our experiments carried out on several benchmarks show that our approach typically requires two orders of magnitude less memory than fastText while being only slightly inferior with respect to accuracy. As a result, it outperforms the state of the art by a good margin in terms of the compromise between memory usage and accuracy.

Armand Joulin, Edouard Grave, Piotr Bojanowski, Matthijs Douze, H\'erve J\'egou, Tomas Mikolov• 2016

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisIMDB (test)
Accuracy87.11
306
MEP-Lobby link discoveryRetweets
AUC0.687
14
MEP-Lobby link discoveryMeetings
AUC65.2
14
Showing 3 of 3 rows

Other info

Follow for update