BERT-OntoSent: combining BERT language model with sentiment ontology for enhanced sentiment analysis on social media
Sentiment analysis on social media is vital but challenged by language complexity and context dependency. Existing methods often fall short. This paper presents BERT-OntoSent, a hybrid approach synergizing BERT's contextual power with ontology-based structured knowledge. We provide a detailed methodology where the DCWEB-SOBA process transforms text into (aspect, opinion, sentiment) triplets, populating a domain-specific BERT-OntoSent ontology used for fine-tuning BERT. SWRL rules within the ontology then refine BERT's predictions, enhancing robustness, particularly for negation and mixed sentiments, as formalized in our proposed refinement algorithm. We present a comprehensive evaluation demonstrating BERT-OntoSent's effectiveness not only on the SemEval 2016 restaurant benchmark but also across diverse domains, including product reviews (Amazon) and microblogs (Twitter). Our results consistently show significant improvements in accuracy and F1-score compared to BERT-only and ontology-only baselines across these datasets. Furthermore, we report on experimental optimizations for scalability, demonstrating practical performance gains. The findings confirm the robustness and broader applicability of the BERT-OntoSent hybrid approach, establishing the value of LLM-ontology synergy for advanced sentiment analysis.
Authors
- Mohamed Ali Mahjoub (ORCID: https://orcid.org/0000-0002-8181-4684)
- Abdelweheb Gueddes (ORCID: https://orcid.org/0000-0001-5661-9089)
Institutions
- University of Sousse (TN)
Publication Details
- Journal
- Journal of Information and Telecommunication
- Published
- 2025-07-14
- DOI
- https://doi.org/10.1080/24751839.2025.2528363
- Citations
- 1
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00