Download PDFOpen PDF in browser

Fine-tuning Light-weight Large Language Model for Medical Question Answering

14 pages•Published: December 4, 2026

Abstract

Millions of people intend to find accurate information for unstructured questions. Large Language Models (LLMs) have shown notable capabilities in natural language understanding (NLU) and generation (NLG). Yet, their application to specialized domains like medical and healthcare remains challenging due to the lack of domain-specific knowledge and the computational costs associated with the comprehensive model retraining. Medical question answering systems require precise, factual answers based on legitimate medical knowledge, which general-purpose LLMs may not adequately provide. This paper presents a fine-tuning pipeline for LLMs using a transformer-based DistilBERT model on the medical domain-specific Medical Question Answering Dataset (MedQuAD) to address medical question answering tasks. The model was fine-tuned on 80% and 50% of the dataset and evaluated on the remaining portions. The model fine-tuned on 80% of the data reports performance with an average BLEU, ROUGH-2, ROUGH-L, and cosine similarity scores of 0.73, 0.87, 0.85, and 0.91, respectively. The model fine-tuned on 50% of the data attained 0.68, 0.82, 0.79, and 0.89, respectively. These results demonstrate that the fine-tuned DistilBERT model presents contextually relevant responses to medical questions even with limited training data.

Keyphrases: fine tuning llm, light weight large language model, medical qa, question answering system

In: Prakash Duraisamy (editor). Proceedings of 16th International Conference on Computing Communication and Networking Technologies, vol 115, pages 220-233.

BibTeX entry
@inproceedings{16thICCCNT2025:Fine_tuning_Light_weight,
  author    = {Madhumathi R and Veningston K and Dhanishtaa R and Elakkiya E and Gunashri R},
  title     = {Fine-tuning Light-weight Large Language Model for Medical Question Answering},
  booktitle = {Proceedings of 16th International Conference on Computing Communication and Networking Technologies},
  editor    = {Prakash Duraisamy},
  series    = {EPiC Series in Computing},
  volume    = {115},
  publisher = {EasyChair},
  bibsource = {EasyChair, https://easychair.org},
  issn      = {2398-7340},
  url       = {/publications/paper/1G9r},
  doi       = {10.29007/t5qx},
  pages     = {220-233},
  year      = {2026}}
Download PDFOpen PDF in browser