IPACS Electronic library

Deep learning model with hierarchical attention mechanism for sentiment classification of Vietnamese comments

Luu Van Huy, Ngo Le Huy Hien, Nguyen Thi Hoang Phuong, Nguyen Van Hieu
In the current digital era, text documents become valuable for businesses to reach potential customers and curtail advertising costs. However, extracting and classifying beneficial information from texts can prove challenging and time-consuming, particularly in complex languages like Vietnamese. This study aims to classify
the sentiment of Vietnamese comments on e-commerce websites into negative and positive classes. To enhance the performance of sentiment classification, the study fine-tuned traditional models of Convolutional Neural Networks and Recurrent Neural Networks (RNN). Then, this research proposed a combination of RNN and attention mechanisms at the word and word-and-sentence levels of the input document. The results showed an impressive accuracy of 93.72% and an F1 score of 93.7% on the RNN model with a word-and-sentence-level attention mechanism. This research outcome contributes to the field of text classification and could be applied in
opinion mining, customer feedback analysis, and natural language processing. Future work aims to enhance sentiment analysis accuracy and expand the models’ scope to encompass more languages.
CYBERNETICS AND PHYSICS 2023, Vol. 12, Is.2, 111-120
https://doi.org/10.35470/2226-4116-2023-12-2-111-120
File: download
Copyright © 2003—2015 The Laboratory "Control of Complex Systems", IPME RAS