[Paper Review] Word Embeddings and Their Use In Sentence Classification Tasks
This paper evaluates the effectiveness of pre-trained Word2Vec embeddings in a simple Convolutional Neural Network (CNN) for sentence classification, demonstrating state-of-the-art performance on TREC and new state-of-the-art results on the Opi dataset. The model achieves strong results with minimal hyperparameter tuning, highlighting the value of unsupervised word embeddings in NLP tasks.
This paper have two parts. In the first part we discuss word embeddings. We discuss the need for them, some of the methods to create them, and some of their interesting properties. We also compare them to image embeddings and see how word embedding and image embedding can be combined to perform different tasks. In the second part we implement a convolutional neural network trained on top of pre-trained word vectors. The network is used for several sentence-level classification tasks, and achieves state-of-art (or comparable) results, demonstrating the great power of pre-trainted word embeddings over random ones.
Motivation & Objective
- To evaluate the performance of pre-trained Word2Vec embeddings in a simple CNN architecture for sentence classification tasks.
- To compare the effectiveness of static versus non-static word embeddings in transfer learning scenarios.
- To extend the original Kim (2014) CNN model to datasets not used in the original study, including Opi, Irony, Tweet, and Polite.
- To investigate the potential of sentence-level embeddings learned by the final hidden layer as transferable features for downstream NLP tasks.
- To explore interpretability of learned filters in the CNN through visualization techniques inspired by Zeiler & Fergus (2014)
Proposed method
- Trained a one-layer CNN with max-pooling on top of pre-trained Word2Vec embeddings for sentence classification.
- Used both static and non-static (fine-tuned) word embeddings to evaluate the impact of fine-tuning on performance.
- Applied the ADAM optimizer for training, which contributed to improved convergence and performance.
- Evaluated the model on multiple datasets, including TREC, Opi, Irony, Tweet, and Polite, with results compared to baseline methods.
- Visualized learned filters using t-SNE to analyze semantic patterns captured by the CNN.
- Proposed using the penultimate layer’s output as sentence embeddings for transfer learning to other NLP tasks.
Experimental results
Research questions
- RQ1How well do pre-trained Word2Vec embeddings perform when fine-tuned within a simple CNN for sentence classification?
- RQ2Does the use of non-static (fine-tuned) embeddings improve performance compared to static embeddings on downstream sentence classification tasks?
- RQ3Can the CNN model achieve state-of-the-art results on datasets not used in the original Kim (2014) paper, such as TREC and Opi?
- RQ4What insights can be gained from visualizing the filters of the CNN in terms of learned linguistic patterns?
- RQ5Can the sentence-level representations from the penultimate layer be effectively reused as features in other NLP tasks?
Key findings
- The model achieved a new state-of-the-art result on the TREC dataset, improving accuracy from 95% to 98.6%.
- On the Opi dataset, the model achieved a new state-of-the-art result, outperforming previous methods with a reported accuracy of 66.4%.
- On the Tweet dataset, random initialization outperformed static Word2Vec embeddings due to out-of-vocabulary issues from social media-specific tokens.
- A simple SVM with TF-IDF features achieved 92.5% accuracy on the Tweet dataset, outperforming the CNN with static embeddings, suggesting TF-IDF is better suited for rare or domain-specific tokens.
- The model showed limited performance on the Polite dataset, suggesting that politeness classification may require more complex modeling beyond simple CNNs.
- The use of the ADAM optimizer significantly improved training stability and final performance across all datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.