Constructing and Evaluating Clinical Reasoning Trajectories for Medical Agent

Yunqi Zhu, Wen Tang, Jinghao Niu, Wensheng Zhang, Xuebing Yang
9/4/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Evaluation of medical artificial intelligence agents remains predominantly answer-centric, assessing only the correctness of final outputs while overlooking the quality of intermediate reasoning. In clinical settings, however, a correct answer reached through fabricated evidence or incoherent logic is as dangerous as an incorrect one.

Show full abstract

We propose MedTraj, a framework that treats reasoning trajectories as critical objects for construction, evaluation, and optimization. The pipeline generates structured multi-step clinical reasoning chains from medical diagnosis sources. Each trajectory is then parsed into clinical observations, evidence, numbered reasoning steps, and a final conclusion, and scored across five quality dimensions: coherence, evidence support, hallucination, completeness, and traceability. Controlled error injection introduces targeted faults into otherwise correct trajectories to establish causal links between specific reasoning failures and measurable quality degradation. Building on this, step-level filtering based on marginal contribution identifies which individual reasoning steps drive or undermine trajectory quality. Finally, quality-weighted context learning feeds trajectory evaluations back into the model at inference time, allowing it to learn from both strong and weak reasoning demonstrations. Experiments across CareQA, PubMedQA, and CECMed demonstrate that trajectory context consistently improves reasoning coherence, with gains of +0.029 to +0.041 over a zero-shot baseline. On the CECMed severity assessment task, quality-weighted context nearly doubles the correctness over the zero-shot baseline while cutting the hallucination ratio by 87%. Marginal-contribution analysis further shows that a small minority (15.3%) of reasoning steps carry most of the quality signal, and that extending chains beyond four steps yields diminishing returns.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2026constructing,
  title  = {Constructing and Evaluating Clinical Reasoning Trajectories for Medical Agent},
  author = {Yunqi Zhu and Wen Tang and Jinghao Niu and Wensheng Zhang and Xuebing Yang},
  year   = {2026},
  eprint = {2609.05090},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.05090v2}
}

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/2609.05090.svg)](https://codeofpaper.com/paper/2609.05090)

Discussion