# Analysis and Optimization of fastText Linear Text Classifier

arXiv: https://arxiv.org/abs/1702.05531 · HTML: https://mlsanity.com/paper/1702.05531/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Feb 2017.

## Built on by (most cited first, 1 of 1)

- [Secondary Use of Clinical Problem List Entries for Neural Network-Based Disease Code Assignment](https://mlsanity.com/paper/2112.13756/) (2021)

## Abstract (arXiv)

The paper [1] shows that simple linear classifier can compete with complex deep learning algorithms in text classification applications. Combining bag of words (BoW) and linear classification techniques, fastText [1] attains same or only slightly lower accuracy than deep learning algorithms [2-9] that are orders of magnitude slower. We proved formally that fastText can be transformed into a simpler equivalent classifier, which unlike fastText does not have any hidden layer. We also proved that the necessary and sufficient dimensionality of the word vector embedding space is exactly the number of document classes. These results help constructing more optimal linear text classifiers with guaranteed maximum classification capabilities. The results are proven exactly by pure formal algebraic methods without attracting any empirical data.
