Evidence map›Paper›PMID 40986888›Full record

ArticleJournal of medical Internet research2025

Fine-Tuning Methods for Large Language Models in Clinical Medicine by Supervised Fine-Tuning and Direct Preference Optimization: Comparative Evaluation.

Thomas Savage, Stephen P Ma, Abdessalem Boukil, Ekanath Rangan, Vishwesh Patel, Ivan Lopez, Jonathan Chen

Abstract readComparative Study
In one paragraph

Article in Journal of medical Internet research, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 8 papers.

0numbers the graph read from it
0cells of the map it votes in
8citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

What it found

Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.

The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.

2 · The registry

The trial behind it

Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.

Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.

3 · Its place in the literature

Who cites it

8 citing papers in PubMed.

  1. Article
  2. Review
  3. Article
  4. Article
  5. Article
  6. AI-Powered Clinical Decision Support in Dentistry: Comparative Evaluation of Large Language Models for Oral Medicine and Periodontal Diagnosis.Medical science monitor : international medical journal of experimental and clinical research · 2026
    Article
  7. Review
  8. Article
4 · The record

Corrections and comments

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

7 authors.

Thomas SavageDivision of Hospital Medicine, Perelman School of Medicine, Department of Medicine, University of Pennsylvania, 3400 Spruce St, Philadelphia, PA, 19147, United States, 1 2155191670.ORCID http://orcid.org/0000-0003-4828-5802
Stephen P MaDivision of Hospital Medicine, Department of Medicine, Stanford Medicine, Palo Alto, CA, United States.ORCID http://orcid.org/0000-0003-3738-9569
Abdessalem BoukilLinguamind AI, Sousse, Tunisia.
Ekanath RanganDepartment of Medicine, Stanford Medicine, Palo Alto, CA, United States.ORCID http://orcid.org/0000-0001-5168-3508
Vishwesh PatelDepartment of Medicine, Saint Michael's Medical Center, Newark, New Jersey, United States.ORCID http://orcid.org/0009-0001-0522-9512
Ivan LopezDepartment of Medicine, Stanford Medicine, Palo Alto, CA, United States.ORCID http://orcid.org/0000-0003-0246-2180
Jonathan ChenDivision of Hospital Medicine, Department of Medicine, Stanford Medicine, Palo Alto, CA, United States.ORCID http://orcid.org/0000-0002-4387-8740

Funding

Stanford Center for Clinical and Translational Research and EducationUM1TR004921 · NCATS · STANFORD UNIVERSITY · PI MANISHA DESAI, DEAN W FELSHER · 2024 to 2026
$30.1M
Western States Node of the National Drug Abuse Treatment Clinical Trials Network (TMS for CUD) UG1DA015815 · NIDA · UNIVERSITY OF CALIFORNIA, SAN FRANCISCO · PI Keith N. Humphreys, Philip Todd Korthuis · 2015 to 2026
$24.6M
Center for Undiagnosed Diseases at StanfordU01NS134358 · NINDS · STANFORD UNIVERSITY · PI Jonathan Adam Bernstein, HOLLY K TABOR · 2023 to 2026
$3.1M
Measuring and Predicting Appropriate Antibiotic Use to Combat Resistant BacteriaR01AI178121 · NIAID · STANFORD UNIVERSITY · PI JONATHAN H. CHEN · 2023 to 2026
$3.1M
NCATS NIH HHS UM1 TR004921NIAID NIH HHS R01 AI178121NIDA NIH HHS UG1 DA015815NINDS NIH HHS U01 NS134358
6 · The paper itself

Abstract

Background: Large language model (LLM) fine-tuning is the process of adjusting out-of-the-box model weights using a dataset of interest. Fine-tuning can be a powerful technique to improve model performance in fields like medicine, where LLMs may have poor out-of-the-box performance. The 2 common fine-tuning techniques are supervised fine-tuning (SFT) and direct preference optimization (DPO); however, little guidance is available for when to apply either method within clinical medicine or health care operations. Objective: This study aims to investigate the benefits of fine-tuning with SFT and DPO across a range of core natural language tasks in medicine to better inform clinical informaticists when either technique should be deployed. Methods: We use Llama3 8B (Meta) and Mistral 7B v2 (Mistral AI) to compare the performance of SFT alone and DPO across 4 common natural language tasks in medicine. The tasks we evaluate include text classification, clinical reasoning, text summarization, and clinical triage. Results: Our results found clinical reasoning accuracy increased from 7% to 22% with base Llama3 and Mistral2, respectively, to 28% and 33% with SFT, and then 36% and 40% with DPO (P=.003 and P=.004, respectively). Summarization quality, graded on a 5-point Likert scale, was 4.11 with base Llama3 and 3.93 with base Mistral2. Performance increased to 4.21 and 3.98 with SFT and then 4.34 and 4.08 with DPO (P<.001). F1-scores for provider triage were 0.55 for Llama3 and 0.49 for Mistral2, which increased to 0.58 and 0.52 with SFT and 0.74 and 0.66 with DPO (P<.001). F1-scores for urgency triage were 0.81 for Llama3 and 0.88 for Mistral2, which decreased with SFT to 0.79 and 0.87, and then experienced mixed results with DPO, achieving 0.91 and 0.85, respectively (P<.001 and P>.99, respectively). Finally, F1-scores for text classification were 0.63 for Llama3 and 0.73 for Mistral2, which increased to 0.98 and 0.97 with SFT, and then essentially did not change with DPO to 0.95 and 0.97, respectively (P=.55 and P>.99, respectively). DPO fine-tuning required approximately 2 to 3 times more compute resources than SFT alone. Conclusions: SFT alone is sufficient for simple tasks such as rule-based text classification, while DPO after SFT improves performance on the more complex tasks of triage, clinical reasoning, and summarization. We postulate that SFT alone is sufficient for simple tasks because SFT strengthens simple word-association reasoning, whereas DPO enables deeper comprehension because it is trained with both positive and negative examples, enabling the model to recognize more complex patterns. Ultimately, our results help inform clinical informaticists when to deploy either fine-tuning method and encourage commercial LLM providers to offer DPO fine-tuning for commonly used proprietary LLMs in medicine.

Indexed as

Clinical MedicineNatural Language ProcessingHumansLanguageLarge Language Modelsartificial intelligencedirect preference optimizationfine-tuninglarge language modelssupervised fine-tuning

Identifiers

PMID40986888
PMCPMC12457693

What OpenQuestion holds

Textmetadata
LicenceCC BY
Read underepoch 390

Registered trials

None linked

Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.