Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Text Classification Algorithms: A Survey

Text classifiers are built from stages that each have trade-offs

  • Problem Bag-of-words counts drop word order and treat related words as unrelated. Per-sentence features also lose links between sentences across a long document.
  • Method The authors walk the pipeline in order: feature extraction, weighting such as TF-IDF, then word embeddings like Word2Vec and GloVe.
  • Results The authors suggest GloVe may trail TF-IDF on short SMS text, though they do not measure it.

Why raw text needs a structured representation

Most text classification systems are built as four phases: feature extraction, dimensionality reduction, classifier selection and evaluation. A classifier only sees numbers, so raw documents must first be cleaned and turned into a structured feature space. Bag-of-words is the simplest such representation, and it counts words while ignoring their order.

That loss of order has a concrete cost: 'This is good' and 'Is this good' get exactly the same vector.

Counting also treats each word as an independent index, so the model has no sense that two words are related. Words such as airplane and aeroplane therefore stay orthogonal in a bag-of-words model, even though they share contexts.

Per-sentence features run into a different problem when documents are long. A sentence can depend on an earlier one: in the paper's example, 'This day' refers to July 4th, and 'She' in the last sentence refers back to Maryam. Splitting a document into sentences keeps local meaning but breaks these links between sentences.

Weighting words by frequency and rarity

Weighting methods start from the fact that frequent words can dominate raw counts. TF-IDF multiplies a term's frequency in a document by a log-scaled rarity factor computed across the corpus. With N as the number of documents and df(t) as the number of documents that contain term t, the weight is \[ W(d,t)=TF(d,t)\cdot\log\left(\frac{N}{df(t)}\right) \] K.

Sparck Jones proposed inverse document frequency to lessen the effect of implicitly common words.

TF-IDF still can't capture similarity between words, since each word enters the model as its own index. This is why the paper turns to embeddings, which can encode similarity of words and part of speech. For short messages, the authors suggest GloVe, trained on Wikipedia, may trail TF-IDF, as with SMS text. This is a suggestion, and the paper gives no measurement behind it.

Word embeddings: Word2Vec, GloVe and FastText

Word embeddings replace counts with a learned real-valued vector per word, so words used in similar contexts can sit close together. Word2Vec trains shallow networks in two forms: CBOW predicts the current word from its context, and Skip-gram predicts the words around a given word. Skip-gram maximizes the probability of each context word given the target, written as \[ \arg\max_{\theta}\prod_{w\in T}\left[\prod_{c\in c(w)}p(c\mid w;\theta)\right] \] where T is the text and θ parameterizes p(c|w;θ).

The CBOW window size is usually 4–5 words.

GloVe learns each vector from surrounding words over a large corpus, and its pre-trained set covers 400,000 vocabularies. Those pre-trained vectors use 50 dimensions and were trained on Wikipedia 2014 and Gigaword 5. FastText instead represents each word as a bag of character n-grams, so 'introduce' yields tri-grams such as 'ntr' and 'duc'.

Facebook published pre-trained FastText vectors for 294 languages at 300 dimensions, trained on Wikipedia.

Contextualized representations go further, because a word's vector depends on its sentence. They are learned from forward and backward language models, and ELMo combines the layers with task-specific softmax-normalized weights. The authors note this is meant to model polysemy, which static vectors don't capture.

What the survey does and doesn't establish

The paper is a survey, and it compares work by criteria such as architecture, novelty, feature extraction, corpus, validation measure and limitation. Its comparison table lists each work with its reported corpus and measure, for example TF-IDF and TFIGM on 20 Newsgroups and Reuters-21578 with F1-Macro. Those scores come from the cited studies, so they don't share one protocol.

The metrics have their own limits: accuracy misleads on unbalanced data, and MCC and F1 can rank two classifiers differently. No single measure captures all strengths and weaknesses of a classifier.

Model-level limits are stated per method, such as CRF's high training cost on large feature spaces and its weakness on unseen words. These limits come from the survey's reading of prior work, not from new experiments in this paper. Whether the GloVe-on-SMS trade-off holds remains open, since the paper leaves it unmeasured.

Paper info

Authors
Kamran Kowsari, Kiana Jafari Meimandi, Mojtaba Heidarysafa, Sanjana Mendu, Laura E. Barnes, Donald E. Brown
Venue
arXiv · Preprint
First published
2019-4-17
Added
2026-11-12
Updated
2020-5-20
Version
v5
arXiv
1904.08067
DOI
10.3390/info10040150
Category
cs.LG · cs.AI · cs.CL · cs.IR · stat.ML
Original paper terms
CC BY 4.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Kamran Kowsari, Kiana Jafari Meimandi, Mojtaba Heidarysafa, Sanjana Mendu, Laura E. Barnes, Donald E. Brown (2019). Text Classification Algorithms: A Survey. arXiv:1904.08067v5. https://doi.org/10.3390/info10040150

BibTeX
@article{kowsari2019text,
  title = {{Text Classification Algorithms: A Survey}},
  author = {Kamran Kowsari and Kiana Jafari Meimandi and Mojtaba Heidarysafa and Sanjana Mendu and Laura E. Barnes and Donald E. Brown},
  year = {2019},
  eprint = {1904.08067},
  archivePrefix = {arXiv},
  doi = {10.3390/info10040150},
  url = {https://arxiv.org/abs/1904.08067v5}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up