Skip to main content
QUICK REVIEW

[Paper Review] A Comparative Study of Neural Network Models for Sentence Classification

Phuong Le-Hong, Anh-Cuong Le|arXiv (Cornell University)|Oct 3, 2018
Natural Language Processing TechniquesComputer Science5 references3 citations
TL;DR

This paper compares feed-forward, recurrent, LSTM, and convolutional neural networks for sentence classification on English (UIUC) and Vietnamese (vnExpress) datasets. Using pre-trained word embeddings without feature engineering, CNN models outperform all baselines, with GloVe embeddings yielding superior accuracy over Skip-gram and count vectors, demonstrating that local pattern detection via CNNs is highly effective for sentence classification across languages.

ABSTRACT

This paper presents an extensive comparative study of four neural network models, including feed-forward networks, convolutional networks, recurrent networks and long short-term memory networks, on two sentence classification datasets of English and Vietnamese text. We show that on the English dataset, the convolutional network models without any feature engineering outperform some competitive sentence classifiers with rich hand-crafted linguistic features. We demonstrate that the GloVe word embeddings are consistently better than both Skip-gram word embeddings and word count vectors. We also show the superiority of convolutional neural network models on a Vietnamese newspaper sentence dataset over strong baseline models. Our experimental results suggest some good practices for applying neural network models in sentence classification.

Motivation & Objective

  • To evaluate the performance of different neural network architectures—FNN, RNN, LSTM, and CNN—on sentence classification tasks.
  • To compare the effectiveness of various word representation methods: GloVe, Skip-gram, and bag-of-words vectors.
  • To assess model performance on multilingual datasets, including English and Vietnamese, without linguistic feature engineering.
  • To establish strong, language-agnostic baselines for future sentence classification research.
  • To investigate whether local feature extraction via CNNs can outperform sequence modeling with RNNs and LSTMs in sentence classification.

Proposed method

  • The study employs four neural network architectures: feed-forward networks (FNN), recurrent neural networks (RNN), long short-term memory networks (LSTM), and convolutional neural networks (CNN).
  • Each model uses raw sentence inputs, either with word identity or pre-trained word embeddings (GloVe, Skip-gram, or bag-of-words vectors).
  • The CNN architecture applies convolutional filters of varying window sizes to extract n-gram features, followed by ReLU activation, max pooling, dropout, and a softmax output layer.
  • Word embeddings are initialized using pre-trained 300D GloVe and Skip-gram vectors for English, and 50D Skip-gram for Vietnamese.
  • Models are trained using logistic loss and L-BFGS optimization, with hyperparameters kept consistent across models for fair comparison.
  • The performance is evaluated using fine-grained accuracy on both the UIUC question classification dataset and the vnExpress Vietnamese newspaper dataset.

Experimental results

Research questions

  • RQ1Can convolutional neural networks outperform recurrent and feed-forward networks in sentence classification without hand-crafted linguistic features?
  • RQ2How do different word embedding methods—GloVe, Skip-gram, and bag-of-words—impact sentence classification accuracy across languages?
  • RQ3Does the performance of neural network models vary significantly between English and Vietnamese sentence classification tasks?
  • RQ4Can CNNs effectively capture local n-gram patterns in sentences to achieve high accuracy without modeling long-range dependencies?
  • RQ5Is there a significant performance gap between models using raw embeddings and those using rich, hand-engineered linguistic features?

Key findings

  • On the UIUC English dataset, the CNN model with GloVe embeddings achieved 83.00% fine-grained accuracy, outperforming previous state-of-the-art methods that used extensive linguistic features.
  • The GloVe word embeddings consistently outperformed both Skip-gram embeddings and bag-of-words vectors across all models and datasets.
  • On the Vietnamese vnExpress dataset, the best CNN model achieved 73.3% accuracy with 8,192-dimensional bag-of-words encoding, significantly outperforming the best FNN model, which reached only 69.1% accuracy.
  • The CNN model with 50-dimensional Skip-gram embeddings achieved 78.7% accuracy on the Vietnamese dataset, demonstrating strong performance without feature engineering.
  • The training time for 8,192-dimensional bag-of-words encoding was about four times slower than for Skip-gram embeddings, indicating a trade-off between accuracy and efficiency.
  • The performance gap between the best CNN and the best FNN model on the Vietnamese dataset was approximately 6 percentage points, highlighting the superiority of CNNs in local feature extraction for sentence classification.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.