{"id":{"repo_id":"guelph","oai_identifier":"oai:atrium.lib.uoguelph.ca:10214/29033"},"canonical_url":"https://search.ndltd.org/etd/guelph/oai:atrium.lib.uoguelph.ca:10214/29033","repository":{"repo_id":"guelph","name":"University of Guelph","base_url":"https://atrium.lib.uoguelph.ca/server/oai/request"},"display":{"title":"Comparative Study of Deep Learning Models for Sentiment Analysis","abstract":"The 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.","abstract_html":"The 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 &quot;bert-base-uncased&quot; and &quot;roberta-case&quot; 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.","abstract_has_math":false,"creators":["Huang, Bo"],"institution":"University of Guelph","degree_name":"Master of Science","degree_level":null,"degree_discipline":null,"degree_department":"School of Computer Science","school":null,"contributors":[],"advisors":["Song, Fei"],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T08:27:45Z","subjects":["BERT","CNN","sentiment analysis","prompt design","LLMs","metrics","datasets characteristics"],"languages":["en"],"rights":["Attribution-NonCommercial-NoDerivatives 4.0 International"],"rights_urls":["http://creativecommons.org/licenses/by-nc-nd/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10214/29033","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10214/29033","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2025-12-01","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Aguelph%3Aoai%3Aatrium.lib.uoguelph.ca%3A10214%2F29033","prefix":"oai_dc"},"source_record":{"url":"https://atrium.lib.uoguelph.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aatrium.lib.uoguelph.ca%3A10214%2F29033","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Song, Fei"]},{"key":"dc:creator","label":"Author","values":["Huang, Bo"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-05-14T18:10:50Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2025-05"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2025-12-01"]},{"key":"dc:publisher","label":"Institution","values":["University of Guelph"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["School of Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Guelph"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["BERT","CNN","sentiment analysis","prompt design","LLMs","metrics","datasets characteristics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Attribution-NonCommercial-NoDerivatives 4.0 International"]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://creativecommons.org/licenses/by-nc-nd/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10214/29033"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The 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."]},{"key":"dc:title","label":"Title","values":["Comparative Study of Deep Learning Models for Sentiment Analysis"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Song, Fei"],"dc:creator":["Huang, Bo"],"dc:date.accessioned":["2025-05-14T18:10:50Z"],"dc:date.copyright":["2025-05"],"dc:date.embargo":["2025-12-01"],"dc:description.abstract":["The 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."],"dc:identifier.uri":["https://hdl.handle.net/10214/29033"],"dc:language.iso":["en"],"dc:publisher":["University of Guelph"],"dc:rights":["Attribution-NonCommercial-NoDerivatives 4.0 International"],"dc:rights.uri":["http://creativecommons.org/licenses/by-nc-nd/4.0/"],"dc:subject":["BERT","CNN","sentiment analysis","prompt design","LLMs","metrics","datasets characteristics"],"dc:title":["Comparative Study of Deep Learning Models for Sentiment Analysis"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_department":["School of Computer Science"],"thesis:degree_name":["Master of Science"],"thesis:degree_program":["Computer Science"],"thesis:institution_name":["University of Guelph"]},"updated_at":"2026-11-19T08:27:45Z"}