🤖 AI Summary
Public emotional responses to human metapneumovirus (HMPV) outbreaks are difficult to model with interpretability using conventional approaches. Method: We propose the first explainable sentiment analysis framework integrating XLNet—a Transformer-based language model—with SHAP (Shapley Additive Explanations) for fine-grained analysis of HMPV-related social media texts. Our approach employs an XLNet classifier for high-accuracy sentiment prediction and leverages SHAP to generate user-level, causally grounded feature attributions. Contribution/Results: This work pioneers the synergistic application of XLNet and SHAP to respiratory virus-related舆情 analysis, overcoming the opacity of traditional black-box models. Evaluated on a real-world HMPV social media dataset, our framework achieves 93.50% accuracy—significantly outperforming BERT and LSTM baselines—while delivering intuitive, trustworthy, instance-level explanations. The framework thus enables transparent, evidence-informed public health surveillance and intervention decision-making.
📝 Abstract
In 2024, the outbreak of Human Metapneumovirus (HMPV) in China, which later spread to the UK and other countries, raised significant public concern. While HMPV typically causes mild symptoms, its effects on vulnerable individuals prompted health authorities to emphasize preventive measures. This paper explores how sentiment analysis can enhance our understanding of public reactions to HMPV by analyzing social media data. We apply transformer models, particularly XLNet, achieving 93.50% accuracy in sentiment classification. Additionally, we use explainable AI (XAI) through SHAP to improve model transparency.