Advanced Neural Network Model Improves Sentiment Analysis with Explainability Techniques

Wednesday 19 March 2025


A team of researchers has developed a new approach to sentiment analysis, using advanced neural networks and explainability techniques to better understand how people express themselves online. The study, published in a recent issue of a prominent scientific journal, demonstrates the potential for improved accuracy and transparency in sentiment analysis, with far-reaching implications for applications such as social media monitoring and customer service.


The researchers began by collecting a large dataset of YouTube comments related to human metapneumovirus (HMPV), a respiratory virus that has been spreading rapidly in recent years. They then preprocessed the data using techniques such as language translation, emoji translation, stopword removal, and lemmatization to prepare it for analysis.


Next, they trained an advanced neural network model called XLNet on the preprocessed data, using a combination of permutation-based training and fine-tuning to optimize its performance. The XLNet model is designed to capture complex relationships between words in natural language text, making it well-suited for sentiment analysis tasks.


To evaluate the effectiveness of the XLNet model, the researchers compared its performance to that of several other state-of-the-art models on a range of evaluation metrics. They found that XLNet outperformed the other models on all metrics, achieving an accuracy rate of 93.5% and F1 scores of over 90%.


But what’s particularly interesting about this study is the way it uses explainability techniques to provide insights into how the model makes its predictions. The researchers used a technique called SHAP (SHapley Additive exPlanations) to identify the specific words and phrases in the comments that contribute most strongly to positive, negative, or neutral sentiment.


By visualizing these results, the researchers were able to gain a deeper understanding of how people express themselves online, including the role of linguistic features such as syntax, semantics, and pragmatics. They also identified several key challenges and limitations in sentiment analysis, including the need for more diverse and representative datasets, and the importance of considering cultural and contextual factors.


The implications of this study are far-reaching, with potential applications in a wide range of fields, from social media monitoring and customer service to marketing and public health. By providing more accurate and transparent sentiment analysis, the XLNet model has the potential to improve our ability to understand and respond to online discourse, while also highlighting the importance of considering cultural and contextual factors in our analysis.


Cite this article: “Advanced Neural Network Model Improves Sentiment Analysis with Explainability Techniques”, The Science Archive, 2025.


Sentiment Analysis, Neural Networks, Explainability, Xlnet, Youtube Comments, Human Metapneumovirus, Natural Language Text, Shap, Social Media Monitoring, Customer Service


Reference: Md. Shahriar Hossain Apu, Md Saiful Islam, Tanjim Taharat Aurpa, “Explainable AI for Sentiment Analysis of Human Metapneumovirus (HMPV) Using XLNet” (2025).


Leave a Reply