# Recent Trends in Deep Learning Based Natural Language Processing

The survey compares deep learning models for NLP across tasks

Tom Young, Devamanyu Hazarika, Soujanya Poria, Erik Cambria · arXiv · 2017-8-9

- **Problem** Traditional NLP systems relied on hand-crafted features, which took time and often left gaps. Deep learning removes that step by learning multi-level feature representations from the data itself.
- **Method** The authors survey deep learning models for NLP and compare them task by task. They trace word embeddings, CNNs, RNNs and recursive networks in the order they developed.
- **Results** The review summarizes and contrasts these models, from word embeddings to CNNs and RNNs, covering their past, present and future in NLP.

## Why hand-crafted features held NLP back

Before deep learning, most NLP models were shallow, such as SVMs and logistic regression. They were trained on very high-dimensional, sparse features. Those features had to be designed by hand, which takes time and often leaves gaps. Deep learning removes that step by learning multi-level feature representations from the data itself.

Collobert et al. showed that a simple deep framework could beat most state-of-the-art systems on NER, SRL and POS tagging. That result opened the way for the model families this survey covers: CNNs, RNNs and recursive networks.

## Dense word vectors as the input layer

The key idea is to represent each word as a dense vector learned from the contexts it appears in. Similarity between two vectors can be measured with cosine similarity. Embeddings are usually pre-trained on a large unlabeled corpus by predicting a word from its context. The authors stress that deep models still build words, phrases and sentences on top of these vectors.

Mikolov et al. made the idea practical with CBOW and skip-gram, which build vectors efficiently. CBOW predicts a target word from the words around it, while skip-gram predicts the surrounding words from the central word. With several context words, CBOW sums their one-hot vectors into a hidden vector \\( h = W^{T}(x\_1 + \\dots + x\_c) \\). A softmax over the vocabulary then gives the probability of each target word, and training maximizes the log-likelihood.

Single-word vectors can't represent phrases such as hot potato, so one fix, explored by Mikolov et al., detects such phrases from co-occurrence and trains them separately. Vectors learned from small windows can also place good and bad close together, which hurts sentiment analysis. Tang et al. addressed this by injecting sentiment polarity into the loss, giving sentiment-specific word embeddings (SSWE).

## How a CNN turns a sentence into a vector

A CNN slides learned filters over windows of word vectors, then keeps only the strongest response of each filter. A sentence of n words becomes a matrix W with n rows, one d-dimensional word vector per row. A filter k spanning h words produces one feature through \\( c\_i = f(w\_{i:i+h-1} \\cdot k^{T} + b) \\), where f is a non-linear function such as tanh.

Applying the same filter to every window gives the feature map c, and a max over c gives one value per filter.

Max-pooling gives a fixed-length output whatever the filter sizes, which classification needs. It also keeps the most salient n-gram features anywhere in the sentence, in a translation-invariant way. Stacking convolution and pooling layers lets deeper kernels cover larger parts of the sentence.

Word-level tasks such as NER, POS tagging and SRL need a prediction per word, so the authors describe a window approach. A CNN runs on the sub-sentence around each word and labels the centre word. A time-delay neural network convolves across all windows of the sequence at once, and its layers can be stacked to get local features low and global features high.

## What early CNN models achieved

Kim applied this architecture to sentence classification, including sentiment, subjectivity and question type. After training, the randomly initialized kernels became detectors for specific n-grams that suit the target task. The model's weak point was long-distance dependencies, which a plain CNN handles poorly.

Kalchbrenner et al. addressed this with a dynamic CNN that uses dynamic k-max pooling. The pooling keeps the k most active features in their original order but ignores their exact positions, so narrow filters can span a long range. The model was applied to sentiment prediction and question type classification.

Denil et al. applied a DCNN to link the meanings of words in a sentence to document meanings for summarization. For information retrieval, a CNN projects queries and documents into one space, and cosine similarity ranks the documents.

## Where CNN models strain

The long-distance weakness of Kim's model was the main issue the authors raised for the simple design. Short texts lack context, so CNN models for them need extra information. Wang et al. added multi-scale semantic units as external knowledge, and sarcasm detection on Twitter similarly relied on pre-trained emotion, sentiment and personality networks.

The authors also note that CNN performance varied with text length, working better on longer texts.

The next family, RNNs, was built to read sequences in order and to hold long-range context, which is the gap these CNN designs leave.

## Paper info

- **Authors**: Tom Young, Devamanyu Hazarika, Soujanya Poria, Erik Cambria
- **Venue**: arXiv · Preprint
- **First published**: 2017-8-9
- **Added**: 2026-11-12
- **Updated**: 2018-11-25
- **Version**: v8
- **arXiv**: 1708.02709
- **Category**: cs.CL
- **Original paper terms**: [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)
- **What we show**: Paper info and commentary

[Original paper ↗](https://arxiv.org/abs/1708.02709v8) · [PDF ↗](https://arxiv.org/pdf/1708.02709v8)

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

Tom Young, Devamanyu Hazarika, Soujanya Poria, Erik Cambria (2017). Recent Trends in Deep Learning Based Natural Language Processing. arXiv:1708.02709v8. https://arxiv.org/abs/1708.02709v8

**BibTeX**

```
@misc{young2017recent,
  title = {{Recent Trends in Deep Learning Based Natural Language Processing}},
  author = {Tom Young and Devamanyu Hazarika and Soujanya Poria and Erik Cambria},
  year = {2017},
  eprint = {1708.02709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1708.02709v8}
}
```

## Other paper commentary

- [A Broad-Coverage Challenge Corpus for Sentence Understanding through Inference](https://refivu.com/en/papers/6a9a87c0-1034-4d6f-8def-43a3279e4725-a-broad-coverage-challenge-corpus-for-sentence-understanding.md)
- [Character-level Convolutional Networks for Text Classification](https://refivu.com/en/papers/7b769c87-9db2-455d-a744-b9548d185e67-character-level-convolutional-networks-for-text.md)
- [Bidirectional LSTM-CRF Models for Sequence Tagging](https://refivu.com/en/papers/7f421939-0d02-43b3-b25f-86a13896fd18-bidirectional-lstm-crf-models-for-sequence-tagging.md)
- [VQA: Visual Question Answering](https://refivu.com/en/papers/52c3e601-1542-4d3e-bc47-1d51fb1b7a5e-vqa-visual-question-answering.md)
- [BERTopic: Neural topic modeling with a class-based TF-IDF procedure](https://refivu.com/en/papers/3eb59114-35a2-4294-982a-129e3bf9019b-bertopic-neural-topic-modeling-with-a-class-based.md)
- [Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge](https://refivu.com/en/papers/fc6d55cd-53fa-41b7-a998-11a56cc77804-think-you-have-solved-question-answering-try-arc.md)
- [Generalizing from a Few Examples: A Survey on Few-Shot Learning](https://refivu.com/en/papers/8988e143-7a9e-4146-9f9b-40c8e0cb6bb2-generalizing-from-a-few-examples-a-survey-on.md)
- [CatBoost: unbiased boosting with categorical features](https://refivu.com/en/papers/2bddd7a0-b14d-422c-836d-b47da78a26fd-catboost-unbiased-boosting-with-categorical-features.md)
- [In Defense of the Triplet Loss for Person Re-Identification](https://refivu.com/en/papers/9a193d31-bb38-4b07-8752-1bc32882197d-in-defense-of-the-triplet-loss-for-person.md)
- [SuperPoint: Self-Supervised Interest Point Detection and Description](https://refivu.com/en/papers/d0aa9e04-3220-432a-8074-02191fd86615-superpoint-self-supervised-interest-point-detection-and.md)
- [Improved Baselines with Momentum Contrastive Learning](https://refivu.com/en/papers/b3c4bdf4-000b-4115-9c61-4869e9e62ccc-improved-baselines-with-momentum-contrastive-learning.md)
- [OverFeat: Integrated Recognition, Localization and Detection using Convolutional Networks](https://refivu.com/en/papers/a615b23b-cb60-4fff-95a7-0a3b82dc2d4e-overfeat-integrated-recognition-localization-and-detection.md)

## Terms in this paper

- [CNN](https://refivu.com/en/terms/06880f5198e6-cnn)
- [max-pooling](https://refivu.com/en/terms/c2bc224c5125-max-pooling)
- [word embeddings](https://refivu.com/en/terms/750326b5ccc5-word-embeddings)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/6cdbf953-5aaa-4de2-9e22-528902a11655-recent-trends-in-deep-learning-based-natural-language)
