Towards Efficient Medical Reasoning with Minimal Fine-Tuning Data

Xinlin Zhuang, Feilong Tang, Haolin Yang, Ming Hu, Huifa Li, Haochen Xue, Yichen Li, Junjun He, Zongyuan Ge, Ying Qian, Imran Razzak

TL;DR

This paper introduces DIQ, a novel data selection strategy for fine-tuning large language models (LLMs) for medical reasoning. DIQ balances sample difficulty with their influence on model optimization, achieving performance comparable to full-dataset fine-tuning with as little as 1% of the data, significantly reducing computational costs.

What Problem Does This Paper Address?

Adapting powerful LLMs to specialized domains like medicine often involves Supervised Fine-Tuning (SFT) on large datasets. However, current medical datasets are often noisy, redundant, and computationally expensive to process. Existing data selection methods focus on either sample difficulty (how complex the medical reasoning is) or influence (how much a sample helps the model learn), but these approaches are often one-dimensional and can lead to suboptimal results. For instance, focusing solely on difficulty might include too many noisy or unlearnable samples, while focusing solely on influence might favor overly simplistic examples that don't promote deep reasoning. This paper aims to bridge this gap by proposing a more holistic approach to data selection that considers both aspects simultaneously.

Methods

The core of this paper is the Difficulty-Influence Quadrant (DIQ) framework. DIQ works by:

  1. Difficulty Scoring: Each medical reasoning sample is assigned a difficulty score. This score is derived from a classifier trained on medical questions, assessing the complexity of knowledge and reasoning required.
  2. Influence Scoring (Dot-Product Influence): The influence of a sample is measured by its expected impact on reducing the model's validation loss. This is approximated by the dot product between the sample's gradient and the average gradient of a validation set. This method is designed to be computationally efficient, avoiding the need for Hessian matrices.
  3. Quadrant-Based Selection: Samples are then plotted in a 2D space defined by difficulty and influence. DIQ partitions this space into four quadrants. The selection strategy prioritizes samples from the "high-difficulty-high-influence" quadrant, followed by others, to achieve a target data retention ratio. This prioritization aims to balance complex reasoning with samples that are most beneficial for model optimization.

Datasets

The authors utilized several datasets for training and evaluation:

  • Training Datasets: Huatuo [2], Huatuo-DS [2], FineMed [34], MedReason [29], m1 [10], and UltraMedical [35].
  • Evaluation Benchmarks: A suite of nine distinct benchmarks covering standard (MedQA [11], MedMCQA [17], MMLU) and challenging clinical reasoning tasks (HLE [18], MedBullets [1], MedXpertQA [38], MedGUIDE [13], MetaMedQA [5]).
  • QA Dataset: MedReason-QA was constructed by removing Chain-of-Thought (CoT) traces from MedReason to evaluate DIQ's effectiveness without explicit reasoning steps.

Key Insights and Ideas

  • The Tension Between Difficulty and Influence: The pilot experiments revealed a critical trade-off: high-influence, low-difficulty samples lead to quick optimization but shallow reasoning, while high-difficulty, low-influence samples are reasoning-intensive but cause unstable training. DIQ aims to resolve this by finding the sweet spot.
  • Gradient Influence as a Proxy for Optimization Utility: The paper demonstrates that the dot product of sample gradients with the average validation gradient is a computationally efficient and effective proxy for a sample's expected impact on model improvement.
  • DIQ's Prioritization of "High-Difficulty-High-Influence": This quadrant is key because it balances the need for complex reasoning with samples that actively contribute to learning, leading to more robust and efficient medical reasoning models.
  • DIQ's Effectiveness Beyond CoT: The results on MedReason-QA show that DIQ is effective even when explicit reasoning traces are absent, highlighting its ability to identify informative samples for medical QA.
  • DIQ's Generalizability: The influence scores computed on one model can be effectively reused for fine-tuning other models, even across different model families, demonstrating DIQ's broad applicability.

Key Results

  • Data Efficiency: DIQ-selected subsets achieve performance comparable to full-dataset fine-tuning with as little as 1% of the data. At 10% data retention, DIQ consistently outperforms baseline methods.
  • Performance Gains: On Huatuo, DIQ improved Avga by +2.24% (1%) and +2.31% (10%) over baselines. On FineMed, DIQ raised Avga by +2.26% (1%) and +1.04% (10%).
  • Clinical Value Alignment: Human and LLM-as-a-judge evaluations showed that DIQ-selected subsets lead to clinical reasoning that is more aligned with expert practices in differential diagnosis, safety checks, and evidence citation.
  • Computational Savings: DIQ's selection process is significantly more efficient than full-dataset fine-tuning, with a cost that is a small fraction of the overall training budget. For example, DIQ on Huatuo cost 9.05 (normalized FLOPs), compared to 16.70 for full fine-tuning of Llama3.1-8B-Instruct.

Limitations and Future Work

  • Scalability to Very Large LLMs: The authors acknowledge that they have not yet evaluated DIQ on extremely large LLMs (e.g., >70B parameters) and plan to do so in future work to understand how DIQ's benefits scale.
  • Dynamic Influence Estimates: Future work will explore dynamic variants of DIQ that periodically refresh influence estimates during training.
  • Robustness to Validation Sets and Subdomains: The authors plan to assess DIQ's robustness to different validation set choices and its performance across broader clinical subdomains and applications.
  • Cross-Family Transfer: While cross-family transfer of influence scores is beneficial, it can be less effective at lower budgets. Future work may explore mixing family-specific influence or reweighting by difficulty to further improve this.

Summary updated

Abstract

Supervised Fine-Tuning (SFT) plays a pivotal role in adapting Large Language Models (LLMs) to specialized domains such as medical reasoning. However, existing SFT practices often rely on unfiltered datasets that contain redundant and low-quality samples, leading to substantial computational costs and suboptimal performance. Although existing methods attempt to alleviate this problem by selecting data based on sample difficulty, defined by knowledge and reasoning complexity, they overlook each sample's optimization utility reflected in its gradient. Interestingly, we find that gradient-based influence alone favors easy-to-optimize samples that cause large parameter shifts but lack deep reasoning chains, while difficulty alone selects noisy or overly complex cases that fail to guide stable optimization. Based on this observation, we propose a data selection strategy, Difficulty-Influence Quadrant (DIQ), which prioritizes samples in the high-difficulty-high-influence quadrant to balance complex clinical reasoning with substantial gradient influence, enabling efficient medical reasoning with minimal fine-tuning data. Furthermore, Human and LLM-as-a-judge evaluations show that DIQ-selected subsets demonstrate higher data quality and generate clinical reasoning that is more aligned with expert practices in differential diagnosis, safety check, and evidence citation, as DIQ emphasizes samples that foster expert-like reasoning patterns. Extensive experiments on medical reasoning benchmarks demonstrate that DIQ enables models fine-tuned on only 1% of selected data to match full-dataset performance, while using 10% consistently outperforms baseline methods, highlighting the superiority of principled data selection over brute-force scaling. The code and data are available at https://github.com/mihara-bot/DIQ.
BibTeX
@inproceedings{zhuang2026towards,
  author = {Xinlin Zhuang and Feilong Tang and Haolin Yang and Ming Hu and Huifa Li and Haochen Xue and Yichen Li and Junjun He and Zongyuan Ge and Ying Qian and Imran Razzak},
  title = {{Towards Efficient Medical Reasoning with Minimal Fine-Tuning Data}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=UMgzniheli},
}
Figure