Fine-tuning and pre-training improve the predictive accuracy of large language models for rheumatoid arthritis disease activity
preprint
OA: closed
CC-BY-NC-ND-4.0
Abstract
Objective To evaluate whether the performance of the large language model (LLM) Llama2 improves with pre-training and fine-tuning, and to compare its predictive accuracy with that of a linear regression model for rheumatoid arthritis (RA) disease activity. Methods Clinical data from 11,865 patients in the cohort were used to predict disease activity at two years on four indices (Disease Activity Score (DAS) 28-Erythrocyte sedimentation rate (ESR), DAS28-C-reactive protein (CRP), Clinical Disease Activity Index (CDAI) or Japanese Health Assessment Questionnaire (J-HAQ)). Logistic regression was employed for the linear model for comparison. The predictive performance was assessed using area under the curve (AUC). Additional performance metrics including precision, recall, and F1 score were calculated. Results Pre-training significantly improved AUC of Meditron (Llama2 pre-trained with medical data) for DAS28-ESR >5.1, DAS28-ESR <2.6, DAS28-CRP 2.5, and J-HAQ score <0.5 ( P <0.05). Fine-tuning resulted in significant improvements in AUC for Llama2 across all indices ( P 22, and for Meditron in DAS28-ESR 4.1, DAS28-CRP <2.3 and CDAI ≤2.8 ( P <0.05). Both LLMs significantly outperformed linear regression in predicting DAS28-ESR 4.1, DAS28-CRP 2.5, and J-HAQ score <0.5 ( P 4.1, DAS28-CRP 2.5 and J-HAQ score <0.5, Llama2 or Meditron consistently outperformed linear regression across all performance metrics. Conclusion Both pre-training and fine-tuning significantly improved the performance of Llama2. Both LLMs outperformed the linear regression model in predicting 5 out of the 8 categories of indices.
My notes (saved in your browser only)
Citation neighborhood (no data yet)
We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2024) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.
Source provenance
- europepmc
- last seen: 2026-05-20T01:45:00.602351+00:00
- unpaywall
- last seen: 2026-05-29T02:00:03.542394+00:00
License: CC-BY-NC-ND-4.0