Fine-tuning large language models for effective nutrition support in residential aged care: a domain expertise approach

Mohammad Alkhalaf, Dinithi Vithanage, Jun Shen, Hui Chen Chang, Chao Deng, Ping Yu

Research output: Contribution to journalArticlepeer-review

6 Downloads (Pure)

Abstract

Background: Malnutrition is a serious health concern among older adults in residential aged care (RAC), and timely identification is critical for effective intervention. Recent advancements in transformer-based large language models (LLMs), such as RoBERTa, provide context-aware embeddings that improve predictive performance in clinical tasks. Fine-tuning these models on domain-specific corpora, like nursing progress notes, can further enhance their applicability in healthcare. Methodology: We developed a RAC domain-specific LLM by training RoBERTa on 500,000 nursing progress notes from RAC electronic health records (EHRs). The model’s embeddings were used for two downstream tasks: malnutrition note identification and malnutrition prediction. Long sequences were truncated and processed in segments of up to 1536 tokens to fit RoBERTa’s 512-token input limit. Performance was compared against Bag of Words, GloVe, baseline RoBERTa, BlueBERT, ClinicalBERT, BioClinicalBERT, and PubMed models. Results: Using 5-fold cross-validation, the RAC domain-specific LLM outperformed other models. For malnutrition note identification, it achieved an F1-score of 0.966, and for malnutrition prediction, it achieved an F1-score of 0.687. Conclusions: This approach demonstrates the feasibility of developing specialised LLMs for identifying and predicting malnutrition among older adults in RAC. Future work includes further optimisation of prediction performance and integration with clinical workflows to support early intervention.

Original languageEnglish
Article number2614
Number of pages14
JournalHealthcare (Switzerland)
Volume13
Issue number20
DOIs
Publication statusPublished - Oct 2025

Keywords

  • domain-specific fine-tuning
  • large language model
  • malnutrition
  • nursing notes
  • prediction
  • RoBERTa
  • unstructured EHR

Fingerprint

Dive into the research topics of 'Fine-tuning large language models for effective nutrition support in residential aged care: a domain expertise approach'. Together they form a unique fingerprint.

Cite this