Med-REFL: Medical Reasoning Enhancement via Self-Corrected Fine-grained Reflection

Zongxian Yang, Jiayu Qian, Zegao Peng, Haoyu Zhang, Yu-An Huang +2 more
6/11/2025
cs.AI

Official code: TianYin123/Med-REFL (10 stars, Python, last commit 2026-04-03).

Abstract

Large reasoning models excel in domains like mathematics where intermediate reasoning is straightforward to verify, but struggle to self-correct in medicine fields where evaluating intermediate reasoning is cumbersome and expensive. This verification bottleneck hinders the development of reliable AI reasoners for high-stakes application.

Show full abstract

Here we propose Med-REFL, a novel framework that learns fine-grained reflection without human labels or model distillation. Med-REFL introduces a deterministic structural assessment of the reasoning space to automatically generate preference data for reflection. By globally evaluating all explored reasoning paths in a tree-of-thoughts, our method quantifies the value of corrective actions, enabling the automated construction of direct preference optimization pairs. This trains the model to recognize and amend its own reasoning fallacies. Extensive experiments show Med-REFL delivers robust gains across diverse models architectures and medical benchmarks, boosting a general-purpose Llama3.1-8B by +5.82% and the state-of-the-art Huatuo-o1 by +4.13% on the MedQA benchmark. Our Med-REFL-8B achieves state-of-the-art performance among 7-8B models while even competing with models twice its size. Crucially, targeted ablations prove its success generalizes to other domains such as logical reasoning and mitigates the `fake reflection' phenomenon in LRMs. Ultimately, our framework provides a scalable solution to the verification bottleneck, paving the way for more reliable AI reasoners in high-stakes domains like medicine. Med-REFL has been made publicly available in https://github.com/TianYin123/Med-REFL.

View on arXivView PDF

Code Implementations(1)

Open source repository for the paper "Med-REFL: Medical Reasoning Enhancement via Self-Corrected Fine-grained Reflection"

100PythonJun 10, 20258 months ago

Similar Papers

Cite this paper

@article{yang2025medrefl,
  title  = {Med-REFL: Medical Reasoning Enhancement via Self-Corrected Fine-grained Reflection},
  author = {Zongxian Yang and Jiayu Qian and Zegao Peng and Haoyu Zhang and Yu-An Huang and KC Tan and Zhi-An Huang},
  year   = {2025},
  eprint = {2506.13793},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.13793v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.13793.svg)](https://codeofpaper.com/paper/2506.13793)

Discussion