Fine-Tuned Roberta with Joint Sentiment and Aspect Learning for Aspect-Based Sentiment Analysis of Hospital Patient Reviews
Main Article Content
Abstract
Patients are all the more vocal in their reviews of hospital services on the Web, but they reveal only one polarity score per review, without indicating which service (doctors, nursing, billing, waiting or testing) is responsible for praise or complaint. To answer this, aspect-based sentiment analysis (ABSA) has been introduced to identify the mention of the aspects of a service in the text and the opinion expressed towards them. This work suggests a multi-modal framework combining sentiment and aspect analysis based on a fine-tuned RoBERTa encoder and tests it on the hospital reviews ABSA reprocessed corpus consisting of 87,310 cleaned hospital reviews from 161 hospitals (out of 105,636 raw ones) annotated with three sentiment categories and eleven multi-label aspect indicators. The corpus is very skewed (86.1% positive) and reviews are brief (median is nine words). The Proposed Approach is the pooling of the start-token and mean-token representations followed by the addition of two task heads and the training of a damped class-weighted label-smoothed sentiment loss, a positively weighted aspect loss and layer-wise learning-rate decay, class offsets and aspect thresholds are tuned on the validation data, predicted sentiments are aggregated per aspect. The Proposed Approach achieves an accuracy of 96.85%, macro-F1 of 0.907 and Matthews correlation coefficient of 0.869 on the held-out test set of 8,763 reviews, while the various baseline models based on TF-IDF, LSTM and BiLSTM achieve 91.18%, 95.77% accuracy respectively on the same test set. Aspect detection achieves a micro-F1 of 0.989 and the aggregated predictions show that 31.7%, 27.1% and 25.1% of the negative opinion is expressed for cost, waiting time and testing procedures respectively. Limits, such as the supervision of the reviewing process, the presence of labels, a single-seed evidence and higher computational cost, are reported openly and directions are given for domain-adaptive extensions and multi-seed extensions.