[Paper Review] Efficient Feature Selection techniques for Sentiment Analysis
This paper evaluates filter-based feature selection techniques—Chi-Square and Count Difference—combined with ensemble methods (Bagging and Random Subspace) for sentiment analysis using TF-IDF features. It demonstrates that these efficient, low-parameter approaches outperform deep neural networks in accuracy, training time, and OOV handling, especially on small datasets.
Sentiment analysis is a domain of study that focuses on identifying and classifying the ideas expressed in the form of text into positive, negative and neutral polarities. Feature selection is a crucial process in machine learning. In this paper, we aim to study the performance of different feature selection techniques for sentiment analysis. Term Frequency Inverse Document Frequency (TF-IDF) is used as the feature extraction technique for creating feature vocabulary. Various Feature Selection (FS) techniques are experimented to select the best set of features from feature vocabulary. The selected features are trained using different machine learning classifiers Logistic Regression (LR), Support Vector Machines (SVM), Decision Tree (DT) and Naive Bayes (NB). Ensemble techniques Bagging and Random Subspace are applied on classifiers to enhance the performance on sentiment analysis. We show that, when the best FS techniques are trained using ensemble methods achieve remarkable results on sentiment analysis. We also compare the performance of FS methods trained using Bagging, Random Subspace with varied neural network architectures. We show that FS techniques trained using ensemble classifiers outperform neural networks requiring significantly less training time and parameters thereby eliminating the need for extensive hyper-parameter tuning.
Motivation & Objective
- To evaluate the effectiveness of various filter-based feature selection techniques for sentiment analysis.
- To investigate how ensemble learning methods (Bagging and Random Subspace) enhance the performance of selected features.
- To compare the performance of feature selection-based models against deep neural network architectures on benchmark sentiment datasets.
- To analyze the trade-offs in training time, model parameters, and OOV (out-of-vocabulary) word handling between feature selection and neural networks.
- To identify the optimal combination of feature selection method, base classifier, and ensemble technique for sentiment classification.
Proposed method
- Feature extraction using TF-IDF to create a high-dimensional feature vocabulary from text data.
- Application of filter-based feature selection techniques: Chi-Square, Count Difference (CD), and Information Gain to select relevant features.
- Training of base classifiers—Logistic Regression (LR), Multinomial Naive Bayes (MNB), Decision Tree (DT), and SVM—on selected features.
- Application of ensemble techniques: Bagging and Random Subspace to improve generalization and reduce variance in classifier predictions.
- Comparison with state-of-the-art neural network models: LSTM, Bi-LSTM, CNN-Rand, CNN-Static, and TF-DCNN/T-MCCNN on standard datasets (MR, Books, DVD, Electronics, Kitchen).
- Evaluation using accuracy and F1-score across five benchmark datasets, with results averaged over five runs to ensure reliability.
Experimental results
Research questions
- RQ1Which filter-based feature selection technique (Chi-Square, CD, Information Gain) yields the highest accuracy in sentiment analysis when combined with ensemble methods?
- RQ2How do ensemble techniques (Bagging and Random Subspace) improve the performance of machine learning classifiers trained on selected features?
- RQ3Can feature selection-based models outperform deep neural network architectures in sentiment analysis in terms of accuracy, training time, and parameter efficiency?
- RQ4How do feature selection models handle out-of-vocabulary (OOV) words compared to neural networks relying on pre-trained word embeddings?
- RQ5What is the trade-off between model complexity (parameters) and performance when using feature selection with ensembles versus deep learning models?
Key findings
- Chi-Square and Count Difference feature selection techniques achieved the highest accuracy across all datasets, outperforming Information Gain and other filters.
- The combination of Chi-Square with Multinomial Naive Bayes and Random Subspace ensemble achieved 84.75% F1-score on the Electronics dataset and 84.5% on the Kitchen dataset.
- Feature selection models trained with Random Subspace outperformed those using Bagging, particularly on the Books and Electronics datasets.
- The best-performing feature selection model (Chi+MNB+RS) achieved 84.75% F1-score on Electronics and 84.5% on Kitchen, surpassing even TF-MCCNN and TF-DCNN neural networks.
- Feature selection with ensemble methods required significantly less training time and fewer parameters (e.g., 8,001 for LR) compared to LSTMs (over 5.6 million parameters), reducing hyperparameter tuning needs.
- Feature selection techniques were robust to out-of-vocabulary (OOV) words, unlike neural networks relying on pre-trained embeddings, which struggle with rare or unseen words.
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.