Armand Joulin, Edouard Grave, Piotr Bojanowski, Tomas Mikolov
This paper explores a simple and efficient baseline for text classification. Our experiments show that our fast text classifier fastText is often on par with deep learning classifiers in terms of accuracy, and many orders of magnitude faster for training and evaluation. We can train fastText on more than one billion words in less than ten minutes using a standard multicore~CPU, and classify half a million sentences among~312K classes in less than a minute.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Emotion Recognition | CPED | Accuracy of Sentiment | 48.62 | FastText |
| Emotion Recognition | CPED | Macro-F1 of Sentiment | 30.33 | FastText |
| Sentiment Analysis | Sogou News | Accuracy | 96.8 | fastText, h=10, bigram |
| Sentiment Analysis | Amazon Review Polarity | Accuracy | 94.6 | FastText |
| Sentiment Analysis | Yelp Fine-grained classification | Error | 36.1 | FastText |
| Sentiment Analysis | Yelp Binary classification | Error | 4.3 | fastText, h=10, bigram |
| Sentiment Analysis | Amazon Review Full | Accuracy | 60.2 | FastText |
| Text Classification | DBpedia | Error | 1.4 | FastText |
| Text Classification | AG News | Error | 7.5 | fastText |
| Text Classification | Yahoo! Answers | Accuracy | 72.3 | FastText |
| Classification | DBpedia | Error | 1.4 | FastText |
| Classification | AG News | Error | 7.5 | fastText |
| Classification | Yahoo! Answers | Accuracy | 72.3 | FastText |