Skip to content
Review Open access

Ordinal sentiment classification in cancer support forums: a controlled benchmark of machine learning and transformer models

Aug 2026 · Frontiers in Digital Health · Vol 8 · 0 citations · 29 references
Medicine

TL;DR

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.

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 PDF

Similar papers

Open access Aug 2026

Soft voting technique with explainable artificial intelligence (XAI) for predicting depression, anxiety and stress

The proposed model demonstrates the potential of interpretable soft voting as a decision-support tool for mental health severity stratification in resource-constrained settings as well as the limitations of secondary self-reported data and class imbalance.

Yefta Christian, Herman Herman, Muhammad Hafis et al. · 0 citations
Sep 2026

Deep Learning-based Multi-Class Sentiment Classification from Social Media Comments using LSTM Architecture

This paper presents a lightweight sentiment classification model based on Long Short-Term Memory networks, developed as a foundational text-analysis component for future multimodal emotion recognition systems, and provides a reproducible and computationally efficient baseline suitable for integration into broader multi...

Munmun Kakkar, Hemant Patidar · 0 citations
Review Open access Aug 2026

Artificial Intelligence in Mental Health Care: A Systematic Review of Benefits and Risks for Clinical and Institutional Decision-Making

A comparative analysis of user sentiment on X regarding public opinion on stunting using three widely utilized text classification algorithms: K-Nearest Neighbour, Naïve Bayes, and Decision Tree demonstrates the effectiveness of the Naïve Bayes algorithm for sentiment analysis in public health contexts.

Vivian Collahua Rupaylla, Richard Santiago Quivio Cuno, Sandra Guadalupe et al. · 0 citations
Review Open access Sep 2026

Deep Learning Analysis of Drug Reviews: Identifying Patient Conditions, Predicting Drug Ratings, and Sentiment Analysis

The findings indicate that deep learning models can effectively extract meaningful insights from unstructured patient-generated reviews and suggest that model effectiveness is task-dependent: RNNs excel at tasks that require sequential text understanding, such as condition identification and sentiment classification, w...

Rafat Hammad, Mohammad Ashraf Ottom, Ayah Bani Baker · 0 citations
Open access Sep 2026

Modeling Co-Existing Mental Health Risks in Social Media via Multi-Label Learning and LLM

This work forms social-media-based risk identification as a multi-label text classification problem, enabling the simultaneous prediction of co-existing risks within a single post, and benchmarks multiple transformer-based encoders under a unified multi-label training protocol and reports macro/micro F1 performance, hi...

Z. Özer, Emre Kenger, Görkem Gözükara et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.