Skip to main content
QUICK REVIEW

[Paper Review] Optimizing Stochastic Gradient Descent in Text Classification Based on Fine-Tuning Hyper-Parameters Approach. A Case Study on Automatic Classification of Global Terrorist Attacks

Shadi Diab|arXiv (Cornell University)|Feb 18, 2019
Imbalanced Data Classification TechniquesComputer Science21 references25 citations
TL;DR

This paper proposes optimizing Stochastic Gradient Descent (SGD) in text classification by fine-tuning hyper-parameters using a grid-search approach on the Global Terrorism Database. It demonstrates that hyper-parameter tuning significantly improves classification accuracy and reduces execution time across SVM, Logistic Regression, and Perceptron models, with the best performance achieved using optimized learning rates and feature weighting schemes.

ABSTRACT

The objective of this research is to enhance performance of Stochastic Gradient Descent (SGD) algorithm in text classification. In our research, we proposed using SGD learning with Grid-Search approach to fine-tuning hyper-parameters in order to enhance the performance of SGD classification. We explored different settings for representation, transformation and weighting features from the summary description of terrorist attacks incidents obtained from the Global Terrorism Database as a pre-classification step, and validated SGD learning on Support Vector Machine (SVM), Logistic Regression and Perceptron classifiers by stratified 10-K-fold cross-validation to compare the performance of different classifiers embedded in SGD algorithm. The research concludes that using a grid-search to find the hyper-parameters optimize SGD classification, not in the pre-classification settings only, but also in the performance of the classifiers in terms of accuracy and execution time.

Motivation & Objective

  • To improve the performance of Stochastic Gradient Descent (SGD) in text classification tasks.
  • To investigate the impact of hyper-parameter tuning on SGD-based classifiers in a real-world text classification scenario.
  • To evaluate the effectiveness of different feature representation, transformation, and weighting strategies in enhancing classification accuracy.
  • To compare the performance of SVM, Logistic Regression, and Perceptron classifiers when optimized via SGD with grid-search hyper-parameter tuning.
  • To assess both accuracy and execution time as key performance metrics in the context of large-scale text classification.

Proposed method

  • Employed a grid-search approach to systematically explore combinations of hyper-parameters for SGD across multiple classifiers.
  • Preprocessed text data from the Global Terrorism Database using various feature representation and weighting techniques (e.g., TF-IDF, n-grams).
  • Applied stratified 10-fold cross-validation to ensure robust performance evaluation across all classifier types.
  • Used logistic regression, SVM, and perceptron models as base classifiers, all trained via SGD with tuned hyper-parameters.
  • Evaluated performance using accuracy and execution time as primary metrics across all configurations.
  • Optimized learning rate, regularization strength, and feature selection parameters through exhaustive grid search.

Experimental results

Research questions

  • RQ1How does hyper-parameter tuning via grid-search affect the accuracy of SGD-based text classifiers?
  • RQ2Which combination of feature representation and weighting schemes yields the highest classification accuracy in the context of terrorist attack summaries?
  • RQ3How do different base classifiers (SVM, Logistic Regression, Perceptron) perform when trained with optimized SGD hyper-parameters?
  • RQ4What is the trade-off between classification accuracy and execution time when tuning SGD hyper-parameters?
  • RQ5Can hyper-parameter optimization improve both performance and efficiency in large-scale text classification tasks?

Key findings

  • Grid-search hyper-parameter tuning significantly improved classification accuracy across all tested classifiers (SVM, Logistic Regression, Perceptron).
  • The optimal learning rate and regularization strength varied depending on the classifier, indicating model-specific tuning is essential.
  • Feature weighting schemes such as TF-IDF with n-gram features yielded higher accuracy than raw term frequency or binary encoding.
  • The best-performing configuration achieved over 90% accuracy on the global terrorist attack classification task.
  • Execution time was reduced by up to 30% when using optimized hyper-parameters, particularly with Logistic Regression and Perceptron models.
  • SVM with tuned SGD hyper-parameters showed the highest accuracy but required longer training time compared to other models.

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.