Hyperparameter Optimization for Convolutional Neural Network-Based Sentiment Analysis

Authors

  • Retno Kusumaningrum Department of Informatics, Faculty of Science and Mathematics, Universitas Diponegoro, Semarang Selatan, Semarang City, Central Java 50241, Indonesia
  • Asyraf Humam Arafifin SRIN - Samsung R&D Indonesia, Kota Jakarta Pusat, Daerah Khusus Ibukota Jakarta 10210, Indonesia
  • Selvi Fitria Khoerunnisa School of Postgraduate Studies, Universitas Diponegoro, Semarang Selatan, Semarang City, Central Java 50241, Indonesia
  • Priyo Sidik Sasongko Department of Informatics, Faculty of Science and Mathematics, Universitas Diponegoro, Semarang Selatan, Semarang City, Central Java 50241, Indonesia
  • Panji Wisnu Wirawan Department of Informatics, Faculty of Science and Mathematics, Universitas Diponegoro, Semarang Selatan, Semarang City, Central Java 50241, Indonesia
  • Muhammad Syarifudin Department of Artificial Intelligence and Data Science, Sejong University, Gwangjin District, Seoul 05006, South Korea

DOI:

https://doi.org/10.37934/araset.53.1.4456

Keywords:

Hyperparameter optimization, Bayesian optimization, Convolutional neural network, Sentiment analysis

Abstract

The rapid development of digital technology brings about the importance of product or service opinions as a data source in business intelligence. Sentiment analysis is a business intelligence tool that can help gauge market trends by analysing the available opinions. Various studies have been developed to solve sentiment analysis problems, from selecting feature engineering techniques to selecting sentiment classification models based on classical or deep learning methods. However, these studies still select hyperparameters on a trial basis, which poses problems in terms of time and not optimal performance. Therefore, this research proposes the implementation of Bayesian Optimization to automate the selection of hyperparameters in sentiment analysis based on a Convolutional Neural Network (CNN). The results show that implementing the Bayesian Optimization method has the lowest computation time compared to Random and Grid Searches, which is only 175.746765 seconds, in the fifth trial. In addition, it made a reasonably large cut in terms of times compared to manual trial-based hyperparameter tuning that needs 540 trials. In the model assessment process, implementing Bayesian Optimization gives the highest values on Precision and Specificity, which are 0.8168 and 0.7176, respectively. Thus, implementing Bayesian Optimization is the right choice for sentiment analysis tasks since the precision of predicting negative sentiment classes is vital in hospitality business intelligence, especially the use of related information for product improvement or hotel service improvement. The implementation of Bayesian Optimization not only applied as a reliable hyperparameter selection technique for classification tasks but also regression prediction tasks.

Downloads

Download data is not yet available.

Author Biography

Retno Kusumaningrum, Department of Informatics, Faculty of Science and Mathematics, Universitas Diponegoro, Semarang Selatan, Semarang City, Central Java 50241, Indonesia

retno@live.undip.ac.id

Downloads

Published

2024-09-21

How to Cite

Kusumaningrum, R., Arafifin, A. H. ., Khoerunnisa, . S. F. ., Sasongko, P. S. ., Wirawan, P. W. ., & Syarifudin, M. . (2024). Hyperparameter Optimization for Convolutional Neural Network-Based Sentiment Analysis. Journal of Advanced Research in Applied Sciences and Engineering Technology, 44–56. https://doi.org/10.37934/araset.53.1.4456

Issue

Section

Articles