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

Deep Learning Based Text Classification: A Comprehensive Review

Review sorts more than 150 deep learning models for text classification by architecture

  • Problem Classical text classifiers needed hand-crafted features that took heavy engineering and did not use large training sets well. Neural models first trailed these classical methods, so the field needed a clear picture of what works.
  • Method The authors sort more than 150 deep learning text classifiers by architecture family. They then compare each model's reported scores across popular benchmarks.
  • Results The review finds that Transformer models such as BERT lead on several benchmarks. For example, BERT-large scored 95.79 on IMDB, compared to 87.80 for a BoW plus SVM baseline.

Why hand-crafted features stopped scaling

Classical text classifiers worked in two steps. First, engineers extracted features such as bag-of-words counts, and then a classifier such as an SVM or Naïve Bayes made the prediction. That arrangement had three weak points.

Good features took tedious engineering, and that work leaned heavily on domain knowledge. Because the feature templates were fixed beforehand, these models couldn't make full use of large training sets. That made the approach hard to carry over to new tasks.

Neural approaches attacked this by learning an embedding that maps text into a low-dimensional continuous vector, so no hand-crafted features are needed. Early versions did not win, though. LSA, a linear model with fewer than 1 million parameters trained on 200K words, and a 2001 feed-forward neural language model trained on 14 million words both trailed classical feature-based models.

What changed: more parameters and more text

The turn came when embedding models grew alongside much larger training corpora. word2vec, trained on 6 billion words from 2013, became popular across many NLP tasks almost at once. Contextual models came next. ELMo used a 3-layer bidirectional LSTM with 93M parameters trained on 1B words, and the reason given for its edge is that it captures context.

BERT followed with 340M parameters trained on 3.3 billion words, and the review treats it as the leading embedding model at the time of writing.

The trend continued into very large models. OpenAI's GPT-3 has 170 billion parameters, and Google's GShard has 600 billion. Some researchers argue these models don't really understand language and aren't robust enough for mission-critical domains. So the review points to neuro-symbolic hybrids as one route to grounding and symbolic reasoning, but it leaves them outside its scope.

How the models are grouped

The review groups models by architecture family, including feed-forward, RNN, CNN, capsule, attention, memory-augmented, graph, Siamese, hybrid and Transformer models. Each family is then discussed for the tasks it serves, such as sentiment analysis, news categorization, topic classification, QA and NLI.

A representative CNN example is Kim's model, which applies one convolution layer to word vectors from word2vec. It compares four ways to set the embeddings: random initialization, fixed pre-trained vectors, fine-tuned vectors, and a multi-channel version that keeps one copy fixed while updating the other. Later models changed this design, for example by adding dynamic max-pooling and a bottleneck layer.

Capsule networks target a weakness of pooling, which loses spatial relationships and can misjudge entities whose orientation changes. The authors argue that rearranging sentences leaves a document's meaning largely intact, so they used static routing, which outperformed dynamic routing in their experiments.

How pre-trained models are built and tuned

Pre-trained language models (PLMs) split the work into two phases. They first learn contextual representations from large unlabeled text, and then they are fine-tuned with task labels and a task-specific classifier on top. Pre-training is self-supervised, but fine-tuning is supervised, which is why the review counts the second phase as supervised learning.

The models come in two families, autoregressive and autoencoding. GPT is autoregressive: it predicts each word from the words before it, moving left to right, and it stacks 12 Transformer blocks. BERT is autoencoding: it hides some tokens and recovers them from bidirectional context.

Successors changed one part at a time. RoBERTa trains on much more data, ALBERT cuts memory use, and DistillBERT shrinks BERT by 40% while keeping 99% of its original capabilities and running 60% faster. XLNet combines the two families by permuting the factorization order during pre-training, so context can come from both sides.

Benchmarks the models are judged on

The review covers more than 40 datasets, grouped by application into sentiment, news, topic, QA and NLI sets. IMDB, for example, has 25,000 movie reviews each for training and test, and its task is binary sentiment. AG News has 120,000 training samples and 7,600 test samples, each a short news text with a four-class label.

QA is cast as classification, and SQuAD1.1 contains 107,785 question-answer pairs on 536 articles, where the answer can be any token span in the text. NLI uses sentence pairs, such as the 433k pairs of MNLI labeled for entailment. The quantitative analysis covers 16 benchmarks across a selected set of models.

How the reported scores compare

The authors attribute the large jump on SQuAD and WikiQA to BERT.

On WikiQA, single-model BERT scored 0.813 MAP, compared to 0.688 for attentive pooling networks. On IMDB, BERT-large scored 95.79, compared to 87.80 for a BoW plus SVM baseline. These rows collect each model's own reported scores, so training budgets and protocols differ across them and they aren't one controlled run.

On SNLI, RoBERTa scored 92.6, compared to 81.5 for a biLSTM encoder. The review notes a steady performance improvement on SNLI and MNLI over the last five years.

Open problems

Most of the reviewed models can't be interpreted, so it's unclear why one model beats another on one dataset and not on others. Attention and self-attention give some insight, but the underlying behavior of these models is still poorly understood.

Commonsense knowledge is another gap, and the review notes it has been explored for sentiment classification only so far. Datasets are missing for multi-step reasoning QA, multilingual documents and very long documents. Efficiency and few-shot learning remain open too, since PLMs are expensive to serve and need compression such as knowledge distillation.

Paper info

Authors
Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, Jianfeng Gao
Venue
arXiv · Preprint
First published
2020-4-6
Added
2026-11-12
Updated
2021-1-4
Version
v3
arXiv
2004.03705
Category
cs.CL · cs.LG · stat.ML
Original paper terms
arXiv non-exclusive 1.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

Shervin Minaee, Nal Kalchbrenner, Erik Cambria, Narjes Nikzad, Meysam Chenaghlu, Jianfeng Gao (2020). Deep Learning Based Text Classification: A Comprehensive Review. arXiv:2004.03705v3. https://arxiv.org/abs/2004.03705v3

BibTeX
@misc{minaee2020deep,
  title = {{Deep Learning Based Text Classification: A Comprehensive Review}},
  author = {Shervin Minaee and Nal Kalchbrenner and Erik Cambria and Narjes Nikzad and Meysam Chenaghlu and Jianfeng Gao},
  year = {2020},
  eprint = {2004.03705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.03705v3}
}

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