University of Guelph
Comparative Study of Deep Learning Models for Sentiment Analysis
Abstract
dc:description.abstractThe rapid expansion of social media and e-commerce websites has generated vast amounts of user reviews about different subjects, products, and services. Sentiment analysis, a crucial area of study in natural language processing, aims to classify the sentiments of these reviews. It is beneficial for companies, governments, and individuals to gain insights and suggestions for product redesign. This thesis presents a comprehensive study of three CNN variants and seven BERT-based models for sentiment analysis. BERT variants were achieved from pre-trained "bert-base-uncased" and "roberta-case" models, hand-crafted prompt, adaptive prompt, and hybrid prompt. The Hybrid GRU_ATT BERT model outperforms all others. Prompt-based approaches, particularly adaptive and hybrid designs, offer strong performance and surpass CNN-Non-Static. Moreover, dataset characteristics, such as input length, class distribution, and language structure, significantly impact the performance of models. Lastly, practical guidelines are proposed for selecting appropriate models based on dataset characteristics.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Department thesis:degree_department
- School of Computer Science
- Grantor dc:publisher
- University of Guelph
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Huang, Bo
- Advisor dc:contributor.advisor
-
- Song, Fei
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- Attribution-NonCommercial-NoDerivatives 4.0 International
- Licence dc:rights.uri
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10214/29033