Fine-Tuned Small Language Model for Synthetic Clinical Data Generation and Predictive Healthcare Analytics

Mihnea Sebastian Burlacu, Ionut Anghel, Tudor CioaraarXiv 2026

TL;DR

This paper demonstrates that fine-tuned Small Language Models (SLMs) can serve as powerful, efficient engines for generating synthetic clinical data. By adapting Microsoft’s Phi-2 model using QLoRA, the researchers successfully augmented a small, imbalanced vital signs dataset, boosting the accuracy of a downstream LSTM predictive model from 89.0% to 93.7%.

What Problem Does This Paper Address?

In the world of healthcare AI, data is often the biggest bottleneck. High-quality clinical datasets are frequently small, heavily imbalanced, and locked behind strict privacy and regulatory walls. While data augmentation is a standard fix, traditional methods like noise injection or SMOTE often fail in a medical context; they can inadvertently create "Frankenstein" data points—combinations of vital signs that are physiologically impossible or clinically nonsensical.

Large Language Models (LLMs) offer a potential solution through synthetic data generation, but their massive computational footprint makes them difficult to deploy in sensitive, resource-constrained clinical environments. This paper investigates whether Small Language Models (SLMs)—which are easier to run locally and fine-tune—can bridge this gap by generating structured, medically plausible synthetic data to improve predictive analytics.

Methods

The authors developed a multi-stage pipeline centered on the Microsoft Phi-2 model, a compact 2.7-billion-parameter SLM.

  1. Domain Adaptation: To move the model from general knowledge to medical expertise, they performed Supervised Fine-Tuning (SFT) using the MedQuad dataset. To keep hardware requirements low, they employed Quantized Low-Rank Adaptation (QLoRA). This technique freezes the original model weights and only trains small, low-rank matrices, significantly reducing memory usage without sacrificing performance.
  2. Synthetic Data Generation: Once fine-tuned, the model was used to generate new patient records. The researchers used few-shot prompting, providing the model with five real examples of a specific health state (e.g., "High Blood Pressure") and asking it to generate a unique, similar entry.
  3. Validation & Parsing: Because SLMs can still "hallucinate," the generated text was parsed using regular expressions and passed through a validation layer to ensure the values fell within physiologically plausible ranges.
  4. Downstream Prediction: The synthetic data was merged with the original dataset to retrain a Long Short-Term Memory (LSTM) network, a type of recurrent neural network well-suited for analyzing sequences of vital signs.
Figure 1. SLM-based medical data augmentation pipeline

Datasets

The study utilized two primary datasets:

  • MedQuad: A collection of question-answer pairs from 12 authoritative NIH websites. This was used for the initial medical domain fine-tuning.
  • Health Advisor Dataset: A small, imbalanced dataset containing ~600 instances of vital signs (heart rate, blood pressure, glucose, etc.) categorized into 9 health states.

As shown in the initial distribution, some classes (like low oxygen saturation) had as few as 40 entries, making it difficult for a deep learning model to learn effectively.

Figure 4. Class distribution of the initial dataset: (left) absolute values and (right) percentage values

Key Insights and Ideas

  • SLMs are "Domain-Capable": You don't need a trillion parameters to understand medical terminology. After fine-tuning, Phi-2 showed a massive jump in lexical and semantic scores (e.g., a 268% improvement in ROUGE-2), proving that SLMs can effectively capture complex medical relationships.
  • Contextual vs. Random Augmentation: Unlike traditional statistical augmentation, the SLM understands the context of a health state. It doesn't just shuffle numbers; it generates a set of vital signs that "make sense" together for a specific diagnosis.
  • Balancing the Scales: The most significant performance gains came from using the SLM to fill in the gaps of underrepresented classes. By creating a uniform distribution across all 9 categories, the downstream model became much more robust.

Key Results

The impact of the SLM-generated data on the LSTM predictive model was clear and consistent across three augmentation scenarios:

  • Baseline (No Augmentation): 88.9% accuracy.
  • Low Augmentation (120 samples/class): 91.7% accuracy.
  • Heavy Augmentation (500 samples/class): 93.7% accuracy.

Beyond just accuracy, the researchers saw "consistent improvements in precision, recall, and F1-score." Notably, the "Risk" class—which involves multiple abnormal vital signs—saw a significant boost in reliability once the training set was bolstered with synthetic examples.

Limitations and Future Work

While the results are promising, the authors acknowledge a few hurdles:

  • Validation Rigor: Even with a fine-tuned model, SLMs can occasionally produce unrealistic data points when pushed beyond their training patterns. Future work will focus on more sophisticated "clinical guardrails" to filter synthetic data.
  • Computational Trade-offs: While SLMs are efficient to run, training a downstream model on a massive synthetic dataset (e.g., 500 samples per class) increases the total training time and computational cost.
  • Diversity: The study currently relies on few-shot prompting. Investigating more diverse prompting strategies or different SLM architectures (like Phi-3) could further improve the quality of the synthetic records.

Summary updated

Abstract

The reduced availability of medical datasets represents an important challenge in the development of predictive models for remote healthcare solutions, especially when the available data are imbalanced or difficult to extend through traditional methods. Small Language Models (SLMs) have become a promising alternative to Large Language Models (LLMs) for addressing these limitations due to their lower computational requirements and adaptability to specialized tasks. However, their performance remains highly dependent on the quality and representativeness of the available training data. In this paper, we propose a method for clinical data augmentation based on a fine-tuned Microsoft Phi-2 model that is used to generate synthetic instances, with the purpose of improving deep learning-based model for predicting remotely monitored vital signs. The Phi-2 model was adapted to the medical domain through supervised fine-tuning on the MedQuad dataset, through a Quantized Low-Rank Adaptation (QLoRA)-based method and by applying few-shot prompting techniques. The resulting model was used afterwards in the augmentation of a small-sized dataset, composed of vital sign values and labels associated with pathological and physiological states. The experimental results demonstrate that fine-tuned SLMs improved the performance on medical domain, achieving higher scores for both lexical (ROUGE) and semantic (BERTScore) evaluation metrics compared to the pretrained model. Moreover, the fine-tuned SLM is effective for generating structured synthetic clinical data. When used for data augmentation, the generated dataset improved the performance of a LSTM predictive model, increasing the classification accuracy from 89.0% to 93.7% and showing consistent improvements in precision, recall, and F1-score.
BibTeX
@misc{burlacu2026fine,
  author = {Mihnea Sebastian Burlacu and Ionut Anghel and Tudor Cioara},
  title = {{Fine-Tuned Small Language Model for Synthetic Clinical Data Generation and Predictive Healthcare Analytics}},
  year = {2026},
  eprint = {2611.16460},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.16460},
}
Figure