Enhancing Sentiment Analysis: A Comparative Study of Rule-Based Discourse Models and Graph-Based Neural Networks

Authors

  • Robbi Rahim Author

Keywords:

Sentiment Analysis, Graph Neural Networks, BERT, Discourse Structure, NLP

Abstract

Sentiment analysis plays a critical role in understanding opinions in text. Traditional rule
based approaches typically leverage linguistic cues, sentiment lexicons, and discourse markers to detect 
sentiment polarity in text. However, these models face several limitations when dealing with contextual 
dependencies, sentiment shifts, and long-range interactions. In this study, we contrast a rule-based 
discourse model (Benamara et al., 2017) with a more advanced sentiment analysis method based on a 
combination of Graph Neural Networks (GCN) and BERT embeddings. We construct a discourse-aware 
sentiment graph in which nodes represent individual sentences, words, or aspects, and edges capture 
syntactic dependencies, discourse relations, and contextual links. Our experiments on IMDB, Amazon 
Reviews, and Twitter Sentiment datasets demonstrate that the proposed GCN-based model significantly 
outperforms traditional rule-based systems, achieving a 12% accuracy improvement and better handling 
of sentiment propagation, context shifts, and complex sentence structures. 

Downloads

Published

2025-03-30

Issue

Section

Articles

How to Cite

Robbi Rahim. (2025). Enhancing Sentiment Analysis: A Comparative Study of Rule-Based Discourse Models and Graph-Based Neural Networks. Frontiers in Computational Science and Engineering , 1(1), 27-34. https://frontierscse.com/cse/index.php/ab/article/view/5