Ordinal sentiment classification in cancer support forums: a controlled benchmark of machine learning and transformer models.
Zhongyan Wang, Yuchen Cao, Shuo Xu, Zhanyi Ding, Yijun Gao, Qinkai Mao, Tongsong Qi, Hailiang Wang
Center for Data Science, New York University, New York, NY, United States. · Khoury College of Computer Sciences, Northeastern University, Boston, MA, United States.
Key points
From the paper's conclusion- Methods: We benchmarked representative classical, recurrent, and transformer-based models for four-class ordinal sentiment classification using the Mental Health Insights-Vulnerable Cancer Patients dataset (N = 10,392).
Abstract
Introduction: Online cancer support forums contain naturalistic accounts of fear, uncertainty, coping, and caregiver strain. Such text may contribute to digital phenotyping as one component of longitudinal, human-supervised monitoring, but the operational link between psychosocial distress and sentiment labels requires explicit evaluation. Methods: We benchmarked representative classical, recurrent, and transformer-based models for four-class ordinal sentiment classification using the Mental Health Insights-Vulnerable Cancer Patients dataset (N = 10,392). Models were evaluated under a single validation-guided 60/20/20 holdout split using weighted F1, macro one-vs-rest AUC, class-specific performance, and paired comparisons. Results: Transformer models achieved the strongest overall performance. ALBERT produced the highest weighted F1 and macro AUC (0.7667 and 0.931, respectively), while BioBERT was closely comparable (weighted F1 = 0.7613; macro AUC = 0.917) and showed slightly higher recall for the "very negative" class (0.8019 vs. 0.7736). Error analysis showed that transformer errors concentrated around ordinal decision boundaries, while residual positive-class errors remained operationally important for supportive workflows. Discussion: These split-specific findings support transformer fine-tuning as a decision-support component for vulnerability-oriented monitoring, while emphasizing calibration, transparent error review, and human oversight rather than autonomous clinical assessment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Emotion and Cognition Based Mental Health Analysis from Social MediaJournal of Trends in Computer Science and Smart Technology · 2026
- Ensemble of transformers for depression emotion classificationCognitive Neurodynamics · 2026
- Does Bigger Mean Better? A Domain-Aware Comparison of Lexicon-Based, TF-IDF, and Transformer Models for Sentiment AnalysisComputation · 2026
- Predictive machine learning algorithms for depression and anxiety disorders in six cancer types: a comprehensive multi-center population-based studyJournal of the Formosan Medical Association · 2026
- Sentiment analysis based on deep learning approaches for text classificationJournal of Electrical Systems and Information Technology · 2026
- Contextual Semantic Pattern Recognition for Mental Health Monitoring Using ClinicalBERT Transformers.Brain and behavior · 2026