Graduate Studies
Exploring Embedding Strategies for Heterogeneous Graph Representation Learning with GNNs
Abstract
dc:description.abstractTraditional sentiment analysis in Natural Language Processing (NLP) often struggles to capture the complex relationships between words, leading to limitations in accurately determining sentiment. Sentiment is influenced by individual word meanings as well as by semantic dependencies and contextual relationships that traditional models can fail to capture effectively. To address these challenges, in this thesis, we propose a graph-based framework that leverages Graph Neural Networks (GNNs) and embedding representations to enhance sentiment classification. This research is conducted in two phases. First, we establish an approach integrating Word2Vec embeddings with GNNs to examine their ability to encode relationships between words and documents. In the second phase, we explore Large Language Models (LLMs) to incorporate context-aware representations for sentiment analysis. A systematic evaluation of both approaches is conducted to identify the strengths, limitations, and computational challenges associated with each. The IMDB Movie Review Dataset is utilized to perform sentiment analysis as one benchmark task to assess model performance, while the framework is also illustrated through the generation of a gene set visualization and interpretation of these results. Our results show that GNN-based sentiment analysis significantly outperforms traditional models, with our Word2Vec-GNN integration achieving an accuracy of 90.64%, surpassing conventional baselines. This improvement highlights the ability of graph structures to preserve word correlations and semantic dependencies, which are often overlooked in traditional models. Additionally, our exploration of LLM-based graph approaches provides insights into the potential of combining deep contextual embeddings with graph architectures for sentiment analysis. This research contributes to the advancement of graph-based NLP by showcasing the effectiveness of GNNs in sentiment classification and providing a foundation for integrating LLMs with graph structures. Beyond sentiment analysis, our methodology can be extended to other NLP tasks, including recommender system tasks, gene analysis tasks, social media stance detection, multi-hop reasoning for complex document classification, biomedical relation extraction, and entity correlation extraction, where capturing word/token/entity dependencies is critical.
Degree
thesis:*- Name thesis:degree_name
- Master of Science (MSc)
- Discipline thesis:degree_discipline
- Computer Science
- Grantor dc:publisher.institution
- Graduate Studies
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Motamedi, Aref
- Advisor dc:contributor.advisor
-
- Ovens, Katie
- Committee members dc:contributor.committeemember
-
- Zhao, Richard
- Ghaderi, Majid
Subjects
dc:subject × 8Rights
dc:rights- Statement dc:rights
-
- University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission.
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
- Motamedi, A. (2025). Exploring embedding strategies for heterogeneous graph representation learning with GNNs (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca.