BERT-TBGH: A Graph Attention Network Approach for Sentiment Analysis in Online Health Communities

Authors

  • Pu Han Nanjing University of Posts & Telecommunications
  • Ye Dongyu Peking University

DOI:

https://doi.org/10.29207/joseit.v4i2.7172

Keywords:

sentiment analysis, semantic enhancement, dependency parsing, graph attention networks

Abstract

This research proposes a semantic-enhanced sentiment analysis framework that integrates dependency parsing, graph attention networks, and prior sentiment knowledge to improve classification accuracy in Chinese online health community texts. Comprehensive experiments conducted on 31,718 online health community comments demonstrate the effectiveness of the proposed approach. The BERT-TBGH model achieves 90.77% accuracy, representing substantial improvements of 10.57% and 7.79% over baseline TextCNN and BiLSTM models, respectively. Ablation studies reveal that incorporating sentiment knowledge contributes 1.85% accuracy improvement, while character-level dependency syntactic information adds 1.00%. The dual-channel architecture outperforms single-channel approaches, with TextCNN\BiLSTM showing 0.64% and 3.57% F1-score improvements over individual BiLSTM and TextCNN models. Graph Attention Networks demonstrate superior performance compared to Graph Convolutional Networks for dependency parsing integration, with GAT-based models achieving 0.86% higher accuracy than GCN alternatives.

References

Y. Zhang, D. He, and Y. Sang, “Facebook as a platform for health information and communication: A case study of a diabetes group,” J Med Syst, vol. 37, no. 3, 2013, doi: 10.1007/s10916-013-9942-7.

F. Yang, H. Shu, and X. Zhang, “Understanding ⇜internet plus healthcare⇝ in China: Policy text analysis,” J Med Internet Res, vol. 23, no. 7, 2021, doi: 10.2196/23779.

L. Tang, “Study on Coupling Coordination Degree between Regional Sports Industry Development and Healthy China Construction,” J Healthc Eng, vol. 2022, 2022, doi: 10.1155/2022/7785267.

R. L. Rossi and R. M. Grifantini, “Big Data: Challenge and Opportunity for Translational and Industrial Research in Healthcare,” Frontiers in Digital Humanities, vol. 5, 2018, doi: 10.3389/fdigh.2018.00013.

A. Zunic, P. Corcoran, and I. Spasic, “Sentiment analysis in health and well-being: Systematic review,” 2020. doi: 10.2196/16023.

H. Jelodar, Y. Wang, R. Orji, and S. Huang, “Deep Sentiment Classification and Topic Discovery on Novel Coronavirus or COVID-19 Online Discussions: NLP Using LSTM Recurrent Neural Network Approach,” IEEE J Biomed Health Inform, vol. 24, no. 10, 2020, doi: 10.1109/JBHI.2020.3001216.

T. L. James, E. D. Villacis Calderon, and D. F. Cook, “Exploring patient perceptions of healthcare service quality through analysis of unstructured feedback,” Expert Syst Appl, vol. 71, 2017, doi: 10.1016/j.eswa.2016.11.004.

H. Xu, B. Liu, L. Shu, and P. S. Yu, “BERT post-training for review reading comprehension and aspect-based sentiment analysis,” in NAACL HLT 2019 - 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings of the Conference, 2019.

C. Sun, L. Huang, and X. Qiu, “Utilizing BERT for aspect-based sentiment analysis via constructing auxiliary sentence,” in NAACL HLT 2019 - 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies - Proceedings of the Conference, 2019.

Y. Kim, “Convolutional neural networks for sentence classification,” in EMNLP 2014 - 2014 Conference on Empirical Methods in Natural Language Processing, Proceedings of the Conference, 2014. doi: 10.3115/v1/d14-1181.

K. S. Tai, R. Socher, and C. D. Manning, “Improved semantic representations from tree-structured long short-Term memory networks,” in ACL-IJCNLP 2015 - 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing of the Asian Federation of Natural Language Processing, Proceedings of the Conference, 2015. doi: 10.3115/v1/p15-1150.

T. N. Kipf and M. Welling, “Semi-supervised classification with graph convolutional networks,” in 5th International Conference on Learning Representations, ICLR 2017 - Conference Track Proceedings, 2017.

Y. Ye and S. Ji, “Sparse Graph Attention Networks,” IEEE Trans Knowl Data Eng, vol. 35, no. 1, 2023, doi: 10.1109/TKDE.2021.3072345.

W. Che, Z. Li, and T. Liu, “LTP: A chinese language technology platform,” in Coling 2010 - 23rd International Conference on Computational Linguistics, Proceedings of the Conference, 2010.

D. Tang, B. Qin, X. Feng, and T. Liu, “Effective LSTMs for target-dependent sentiment classification,” in COLING 2016 - 26th International Conference on Computational Linguistics, Proceedings of COLING 2016: Technical Papers, 2016.

T. Keskitalo and H. Ruokamo, “Exploring learners’ emotions and emotional profiles in simulation-based medical education,” Australasian Journal of Educational Technology, vol. 37, no. 1, pp. 15–26, 2021, doi: 10.14742/ajet.5761.

O. D. Annesa, C. Kartiko, and A. Prasetiadi, “Identification of Reptile Species Using Convolutional Neural Networks (CNN),” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 4, no. 5, pp. 899–906, 2020, doi: 10.29207/resti.v4i5.2282.

S. Dwijayanti, A. Y. Putri, and B. Y. Suprapto, “Speaker Identification Using a Convolutional Neural Network,” Jurnal RESTI (Rekayasa Sistem dan Teknologi Informasi), vol. 6, no. 1, pp. 140–145, Feb. 2022, doi: 10.29207/resti.v6i1.3795.

W. Bu, H. Shu, F. Kang, Q. Hu, and Y. Zhao, “Software Subclassification Based on BERTopic-BERT-BiLSTM Model,” Electronics (Switzerland), vol. 12, no. 18, 2023, doi: 10.3390/electronics12183798.

N. Reimers and I. Gurevych, “Sentence-BERT: Sentence embeddings using siamese BERT-networks,” in EMNLP-IJCNLP 2019 - 2019 Conference on Empirical Methods in Natural Language Processing and 9th International Joint Conference on Natural Language Processing, Proceedings of the Conference, 2019. doi: 10.18653/v1/d19-1410.

P. A. Posokhov, S. S. Skrylnikov, and O. V Makhnytkina, “Artificial text detection in Russian language: a BERT-based Approach,” in Computational Linguistics and Intellectual Technologies, RSUH, Jun. 2022, pp. 470–476. doi: 10.28995/2075-7182-2022-21-470-476.

Downloads

Published

2025-10-27

Issue

Section

Articles

How to Cite

BERT-TBGH: A Graph Attention Network Approach for Sentiment Analysis in Online Health Communities. (2025). Journal of Systems Engineering and Information Technology (JOSEIT), 4(2), 71-78. https://doi.org/10.29207/joseit.v4i2.7172