Enhancing Detection of Message Intents in a Mobile Health Smoking-Cessation Intervention Using Large Language Model Fine-Tuning, Data Downsampling, and Error Correction: Algorithm Development and Validation
Large language models performed poorly without fine-tuning, highlighting the need for domain-specific training. Even with fine-tuning, performance was limited by a highly imbalanced dataset. Downsampling before fine-tuning moderately improved performance but still left room for improvement and concerns about dataset noise. A careful review of model-human disagreement cases helped identify human annotation errors. After error correction, the method without error correction still achieved slightly higher precision and F1-score on the corrected test dataset. While error correction slightly improved recall on noisy data, automated downsampling alone may be sufficient, making manual correction a more resource-intensive option with limited added benefit.
Authors
- Shagoto Rahman
- Cornelia Pechmann (ORCID: https://orcid.org/0000-0002-9432-1475)
- Ian Harris
Institutions
- University of California, Irvine (US)
- Irvine University (US)
Publication Details
- Journal
- Journal of Medical Internet Research
- Published
- 2026-01-29
- DOI
- https://doi.org/10.2196/83437
- Primary Topic
- Digital Mental Health Interventions
- Type
- article
- Field-Weighted Citation Impact
- 0.00