Extracting Quality-of-Life Information of Patients Diagnosed With Breast Cancer From Health Care Online Forum Posts Using Open-Source Large Language Models: Algorithm Development and Evaluation Study
JMIR AI · 05.10.2026 · 5 · e92716-e92716
DOI: 10.2196/92716 ↗Kurz gefasst
Fachartikel in der Zeitschrift JMIR AI, online erschienen am 05.10.2026. Verfasst von Karolina Hanna Czok und 5 weiteren Autor:innen. Beteiligte Einrichtung: Center for Cognitive Interaction Technology, Faculty of Technology, Bielefeld University, Inspiration 1, Bielefeld, 33619, Germany, 49 521106 ext 295…. Die Arbeit nennt 52 Literaturangaben. Der Volltext ist frei in PubMed Central verfügbar.
Abstract (Originalsprache)
Background
Quality-of-life (QoL) questionnaires are an established instrument designed to assess overall well-being and QoL of patients. They are important in predicting the outcome of the disease and understanding the needs of individual patients. However, their repeated collection imposes a substantial burden on both patients and clinical professionals. Many patients seek emotional support and mutual exchange in online communities for peer support, where they frequently share detailed descriptions of symptoms and treatment experiences, addressing topics covered in QoL questionnaires. The emergence of large language models (LLMs) uncovers potential for automatic extraction of relevant QoL information from patient-generated text.
Objective
The aim of this study is to evaluate and compare various open-source LLMs and optimization approaches for automated extraction of QoL information from forum posts.
Methods
The dataset consisted of 840 English-language posts from patients with breast cancer recruited on Inspire online communities, manually annotated with sentence-level text spans indicating whether and where posts contained information relevant to 53 QoL questions from standardized questionnaires. Eleven open-source LLMs were evaluated in a zero-shot setup under 2 input conditions: post-only and post with additional context. For the GPT-OSS-20B model, additional experiments assessed the impact of chain-of-thought prompting, instruction optimization, few-shot prompting, simultaneous all-questions prompting, and parameter-efficient fine-tuning. For correctly classified yes and no instances, the overlap between model-generated evidence and human-annotated spans was evaluated.
Results
Across 11 evaluated LLMs, Qwen3-14B achieved the highest macro F 1 -score (0.59) in the zero-shot post-only setting. Providing additional context consistently reduced the performance of all models. Model size did not correlate with F 1 -score, with several midsized models (14B-30B) outperforming 70B models. For GPT-OSS-20B, chain-of-thought prompting, instruction optimization, and simultaneous all-questions prompting decreased performance. Bootstrap few-shot prompting with random search achieved slightly better performance than the baseline. Parameter-efficient fine-tuning with low-rank adaptation (LoRA) achieved the highest overall performance (0.71). Across all experiments, a strong class imbalance was observed, with models performing substantially better on the majority class “not in the text” than on the minority classes “yes” and “no.” Most classification errors occurred in semantically broad or ambiguous terms and the fallback question. For correctly predicted yes and no answers, model-generated evidence matched or partially matched human-annotated spans in 89% (42/47) of cases.
Conclusions
Automated extraction of QoL information from patient-generated text using open-source LLMs remains a challenging task. While prompt optimization techniques failed to improve baseline zero-shot performance, parameter-efficient fine-tuning with LoRA significantly increased accuracy. However, current models still struggle to reliably detect explicit symptom expressions in heavily imbalanced data, too often predicting the majority class “not in the text.” Before such tools can be successfully integrated into clinical practice, future research must prioritize strategies to capture these minority-class signals.
Schlagwörter
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Center for Cognitive Interaction Technology, Faculty of Technology, Bielefeld University, Inspiration 1, Bielefeld, 33619, Germany, 49 521106 ext 2951.
- Inspire, Arlington, VA, United States.
- Teva Branded Pharmaceutical Products R&D LLC, Parsippany, NJ, United States.
- Datavant, Phoenix, AZ, United States.
- Semalytix GmbH, Bielefeld, Germany.
Zitieren
APA
Czok, K. H., Schmidt, D. M., Chen, B. P., Kuk, D., Feldman, J., & Cimiano, P. (2026). Extracting Quality-of-Life Information of Patients Diagnosed With Breast Cancer From Health Care Online Forum Posts Using Open-Source Large Language Models: Algorithm Development and Evaluation Study. JMIR AI, 5, e92716-e92716. https://doi.org/10.2196/92716
Vancouver
Czok KH, Schmidt DM, Chen BP, Kuk D, Feldman J, Cimiano P. Extracting Quality-of-Life Information of Patients Diagnosed With Breast Cancer From Health Care Online Forum Posts Using Open-Source Large Language Models: Algorithm Development and Evaluation Study. JMIR AI. 2026;5:e92716-e92716. doi:10.2196/92716
BibTeX
@article{Czok2026,
author = {Czok, Karolina Hanna and Schmidt, David Maria and Chen, Brian Po-Han and Kuk, Deborah and Feldman, Josh and Cimiano, Philipp},
title = {Extracting Quality-of-Life Information of Patients Diagnosed With Breast Cancer From Health Care Online Forum Posts Using Open-Source Large Language Models: Algorithm Development and Evaluation Study},
journal = {JMIR AI},
year = {2026},
volume = {5},
pages = {e92716--e92716},
doi = {10.2196/92716}
}
EUVIMED