From Given to Gathered Evidence:
Agentic Learning for Longitudinal Medical Reasoning

Minye Shao1,2Chaohui Yu2,3,*Yixuan Wu2Fan Wang2Ling Shao4Yang Long1,*

Many thanks to contributors: Jing Wang2,3, Hangjie Yuan2,3, Shang Liu2,3

1Durham University2DAMO Academy, Alibaba Group3Hupan Laboratory4University of the Chinese Academy of Sciences

*Corresponding authors

TL;DR We explore how a compact 8B vision–language agent can learn to seek longitudinal clinical evidence — deciding which visit, organ, MRI sequence, slice and tool to inspect — and introduce a longitudinal multimodal benchmark built on UK Biobank to evaluate it.

Overview of the CASE longitudinal evidence-seeking benchmark: fixed clinical targets from UK Biobank paired with patient environments containing clinical context and baseline and follow-up multi-sequence MRI.
Figure 1. The CASE longitudinal evidence-seeking benchmark. Fixed clinical targets are paired with heterogeneous patient environments.

01Abstract

Foundation models can serve as clinical agents through tool-use harnesses. However, conventional medical benchmarks assess reasoning over preselected evidence rather than the ability to seek it across clinical records and longitudinal imaging. We propose CASE: a series of role-specific Clinical Agents for Seeking Evidence, together with a tool-use harness and an agentic post-training framework for compact vision–language policy models. We further introduce a longitudinal multimodal benchmark built on UK Biobank, comprising 50,401 clinical questions derived from real-world ICD-10-coded diagnoses of 4,739 participants. Each question links to a patient-specific environment containing clinical context and multi-sequence MRI from baseline and follow-up visits, where agents autonomously select which visits, organs, modalities, slices, and specialist tools to inspect and compare. Supervised fine-tuning transfers evidence-seeking workflows from 147,434 frontier-model interaction trajectories, followed by agentic reinforcement learning on the learner's own environment interactions. Privileged on-policy self-distillation and rubric-based LLM feedback refine evidence-to-conclusion reasoning without prescribing tool sequences. Experiments show that CASE moves beyond question–answer imitation toward transferable investigation policies, strengthening evidence-grounded longitudinal reasoning. Under matched evaluation conditions, our Qwen3-VL-8B based agent over GPT-5.4 and Claude Opus 4.8.

02Given vs. gathered evidence

Conventional medical benchmarks hand the model preselected evidence and ask for an answer. In real longitudinal care, the evidence must be found: across clinical records, visits, organs, MRI sequences and slices. CASE evaluates whether an agent can decide what patient evidence to inspect before it concludes.

Given

Fixed-context QA

  1. Preselected evidence packet
  2. Question
  3. Answer
  • Evidence is chosen in advance
  • One pass, no follow-up inspection
  • Tests reasoning over what is shown

Gathered

Evidence-seeking agent

  1. Question + initial clinical context
  2. Decide visitorgansequenceslicetool Observe → repeat
  3. P1–P5 synthesis → Answer
  • Agent selects what to inspect and compare
  • Baseline and follow-up MRI across visits
  • Tests investigation, not only recall

03Contributions

1

Rethinking longitudinal reasoning as evidence seeking

Agents must decide what patient evidence to inspect before reaching a conclusion, rather than reason over evidence that has been preselected for them — beyond fixed-context evaluation.

2

Clinical agents as evidence-seeking investigators

Role-specific Clinical Agents for Seeking Evidence, a patient-level tool-use harness, and a longitudinal multimodal benchmark on UK Biobank — navigating heterogeneous evidence and invoking specialist tools.

3

On-policy RL: seek evidence, not answers

The policy is optimized on its own environment interactions, calling tools to gather evidence. No answer supervision: rubric feedback and advantage reward how trajectories are built.

04The CASE benchmark

clinical questions
50,401
participants
4,739
test questions / participants
4,850/455
task–format strata
10
organ regions / sub-modalities
5/7
median inter-visit interval
2.26y

Questions are derived from doctor-diagnosed conditions and ICD-10 records in UK Biobank. Each recorded target is paired with cohort-derived distractors, spanning 7 clinical families and 10 task–format strata in three formats: binary, single-select and multi-select.

Every question links to a patient environment with clinical context and baseline plus follow-up MRI across 5 organ regions (heart, brain, pancreas, liver, whole body) and 7 sub-modalities. Tools expose MRI views, Vista3D-derived measurements and overlays, and MedGemma-27B reports.

The metric is first-pass exact answer-set accuracy, reported as Micro (all questions weighted equally) and Macro (all 10 strata weighted equally).

Question formats

  • Binary 17,502
  • Single-select 19,790
  • Multi-select 13,109

Benchmark and training data are under UK Biobank review. Data are returned to UK Biobank and accessible to approved researchers via UKB-RAP.

05Three evidence-seeking roles

One shared policy instantiates three workflows, differing only by role prompt and tool registry. Every role ends with the same five-phase synthesis.

Anatomist

4 calls

Organ and station measurements, longitudinal volume change, and segmentation overlays.

  • vista3d_segment
  • vista3d_compare_stations
  • vista3d_compare_visits

Radiologist

6 calls

Selects acquisitions, then inspects and compares matched views across visits.

  • list_available_images
  • view_image
  • compare_visits
  1. P1 Plan
  2. P2 Baseline / Review
  3. P3 Change / Verify
  4. P4 Insight
  5. P5 Answer

06Method

CASE training and execution diagram: two-stage training (RSFT, then agentic RL with outcome reward, OPSD and RLAIF), one shared policy with three role workflows, and the common contract of evidence decisions and tool observations ending in P1 to P5 synthesis.
Figure 2. CASE training and execution. (1) Two-stage training: RSFT then agentic RL with outcome reward, OPSD and RLAIF. (2) One shared policy instantiates three evidence-seeking workflows. (3) A common contract alternates evidence decisions and tool observations until the P1–P5 synthesis.

Stage 1

RSFT — rejection-sampled fine-tuning

  • Qwen3.8-Max records role-conditioned trajectories, with reference answers withheld.
  • Kimi K2.6 scores evidence linkage; trajectories with ≥ 1 tool call and score ≥ 0.4 are kept.
  • Qwen3-VL-8B-Instruct is fine-tuned as a full model, including the vision encoder, with loss on assistant tokens only.

Stage 2

Agentic RL — GRPO on own interactions

  • GRPO with G = 8 rollouts per prompt on the policy's own tool interactions.
  • Tools replay precomputed observations; the policy still chooses tool, arguments, order and stopping.
  • Outcome reward is refined with RLAIF rubric feedback and OPSD.

Trajectory reward

L_j = b_j (0.5 c_j − 0.3 (1 − c_j)) · B_j = r^ans_j + 0.01 r^fmt_j + 0.6 s_j + L_j · R_{n,j} = sg[ B_j − 2 D^CKL_{n,j} ]
r^ans
+1 exact, −1 wrong, −2 unparsed.
s_j
Kimi K2.6 rubric score of the Phase-4 insight: evidence specificity, logical progression, answer support, completeness.
b_j
Indicates a top-2 of 8 insights in the group. Linkage rewards a strong insight only when the answer is correct and penalizes it otherwise.
D^CKL
Privileged self-distillation causal-KL penalty (OPSD), detached and applied before group normalization.

OPSD

Privileged on-policy self-distillation

The same frozen snapshot scores the trajectory under an ordinary view and an answer-privileged view. The reverse KL over the Phase-4 region (top-128 tokens plus one residual bucket) becomes a detached, trajectory-level penalty applied before group normalization. It reorders whole trajectories by synthesis quality without prescribing tool sequences.

Why: in mid-to-late RL the policy stalls in Phase 4, restating findings instead of committing. OPSD acts as a brake on this repetition.

RLAIF

Rubric feedback with top-2 linkage

Kimi K2.6 grades each Phase-4 insight on a rubric. Among the 8 rollouts of a group, the top-2 insights are linked to correctness: a strong insight is rewarded only when its answer is correct, and penalized otherwise, so persuasive but wrong synthesis is not reinforced.

case agent · trajectory replay · participant 2306330 live
Chain-of-thought synthesis

ConsultantMulti-selectHepatic

Which hepatic conditions apply to this participant?

  • AHepatic steatosis
  • BBenign hepatic lesion
  • CPrimary liver malignancy
  • DLiver cirrhosis
  • ENone

Thinking track

Tool track

P1 · Plan The case contains liver abnormalities including a reported focal lesion. The main challenge is distinguishing an incidental or benign lesion from primary malignancy — I will not convert an imaging abnormality into a cancer diagnosis. Instead: characterize morphology, evaluate longitudinal stability, quantify structural change, and verify malignancy evidence.

Before touching any data, recall what worked for similar liver cases — the skill memory may already encode how to verify a focal lesion.

skillrecall_skills(organ=liver)call_6b57153c6e84494a94af5fa8

stable lesions without invasive features are less suggestive of malignancy

Inventory before inspecting: which sequences and stations exist for this participant, across both visits?

imagelist_available_images()call_26553c9a231a453ea5b4c90

IDEAL multiecho · Dixon BH 17s W ×5 stations · pancreas GE

P2 · Review The question spans diffuse liver disease and focal lesion characterization: fat-sensitive sequences evaluate steatotic change, station-level Dixon 8_W slices assess morphology and continuity, and longitudinal comparison decides progressive behavior.

Start with fat-sensitive IDEAL multiecho: diffuse change across V1→V2 separates steatosis from focal progression.

imagecompare_visits(IDEAL_multiecho, V1 vs V2)call_3428f8072e794336b512cff6
IDEAL multiecho montage, visit 1IDEAL multiecho montage, visit 2

diffuse fat-related signal ↑ · persistent lesion, no interval growth

The montage localizes a focal lesion — read its contour up close: Dixon 8_W, slices 10 & 22, and check for invasion.

imageview_image(dixon_8_W, V1, [10, 22])call_c5ca7b264e914be793daf890
Dixon 8_W slice 10Dixon 8_W slice 22 with well-circumscribed lesion

slice 22 well-circumscribed, smooth contour · slice 10 clear · no invasion

Same slice, both visits: if size and morphology hold, this is surveillance material, not progression.

imagecompare_visits(dixon_8_W, slice 22, V1 vs V2)call_8fa2d91c92b44aa6b7f0e31d
Dixon 8_W slice 22, V1 vs V2 comparison

lesion stable in size and morphology across visits

An impression is not enough — quantify the liver: volumetry separates hepatomegaly from malignant growth.

volvista3d_compare_visits(liver, slice 22)call_95e653587c3e47938842c17a
Vista3D liver segmentation overlay, V1Vista3D liver segmentation overlay, V2
V1 · liver mesh
V2 · liver mesh

1150.8 → 1263.4 ml (+112.6 ml, +9.8%)

Read the draft impression, but treat "requiring further characterization" as suspicion, not diagnosis.

reportget_report(liver, impression)call_d55d1c92060147e6b1cff24f

steatotic change · hepatomegaly · focal lesion to characterize

Final sweep: the whole-body record — any confirmed cancer or metastatic distribution anywhere?

reportget_report(wholebody, findings)call_e4ce774d91074eeab48cc229
Whole-body Dixon station 2 montage, 16 slices

no confirmed cancer · no metastatic disease

P3 · Verify A verified — steatotic change supported by fat-sensitive MRI and the liver impression. B supported — stable, smooth, non-invasive lesion. C not confirmed — no documented cancer, pathology, vascular invasion, or aggressive progression. D contradicted — no cirrhotic morphology. E rejected — multiple independent abnormalities.
P4 · Insight The critical decision is not whether a lesion exists, but whether it is malignant. The lesion stays morphologically stable, without vascular invasion, infiltrative growth, or oncological history → benign lesion requiring surveillance, not primary malignancy. The diagnosis rests on evidence consistency across imaging, quantification, and clinical records.
Evidence ledger skills 1 views 4 volumetry 1 reports 2

Answer: A, B · matches reference {A, B}

07Results

+16%relative over GPT-5.4

+10%relative over Claude Opus 4.8

Under matched evaluation conditions, the Qwen3-VL-8B based CASE agent reaches 76.1 Micro / 75.1 Macro accuracy, ahead of every frontier model evaluated.

Table 1. Overall role-averaged accuracy (%). Best in bold.
MethodMicroMacro
Base model
Qwen3-VL-8B (base)46.047.1
Medical models
Lingshu-32B49.950.3
Lingshu-7B45.546.7
MedGemma-27B27.827.5
MedGemma-1.5-4B40.541.4
General multimodal foundation models
Kimi K2.642.842.0
Kimi K370.269.5
Qwen3.7-Plus67.067.7
Qwen3.8-Max (teacher)59.758.3
Gemini-3.5-Flash56.356.3
GPT-5.465.365.7
Claude Opus 4.868.665.8
CASE (8B, ours)76.175.1
Micro accuracy (%)
  • CASE (8B, ours)76.1
  • Kimi K370.2
  • Claude Opus 4.868.6
  • Qwen3.7-Plus67.0
  • GPT-5.465.3
  • Qwen3.8-Max (teacher)59.7
  • Gemini-3.5-Flash56.3
  • Lingshu-32B49.9
  • Qwen3-VL-8B (base)46.0
  • Lingshu-7B45.5
  • Kimi K2.642.8
  • MedGemma-1.5-4B40.5
  • MedGemma-27B27.8

Efficiency

Per question: avg. calls, median latency, failure rate.
AgentCallsLatencyFailure
CASE-8B5.134.2 s2.6%
GPT-5.44.346.1 s5.7%
Claude Opus 4.84.144.3 s5.2%

08Ablation

Table 2. Role-averaged results from a shared RSFT initialization.
VariantMicroMacroInsight [0,1]
RSFT only65.765.00.43
GRPO69.368.20.47
GRPO + RLAIF70.669.50.63
GRPO + OPSD73.872.40.57
GRPO + RLAIF + OPSD CASE-8B76.175.10.68

Each component adds on top of GRPO. RLAIF lifts insight quality the most on its own, while OPSD contributes the larger accuracy gain; combining both gives the best accuracy and insight score.

Late collapse without OPSD. In mid-to-late RL the policy tends to stall in Phase 4, restating findings instead of committing to an answer. Without the OPSD brake, GRPO+RLAIF's correctness reward collapses late in training (highlighted band in Figure 7), whereas CASE-8B keeps improving.

Appendix · Repetition diagnostic

Shared synthesis prefix ŷ<t

The pancreatic imaging findings offer only indirect evidence relevant to diabetes… However, these findings are not diagnostic of diabetes,

GRPO + RLAIF (no OPSD) · follows pS

these findings are not diagnostic of diabetes,×3 …

budget exhausted · no answer

CASE-8B (full) · pS aligned to pT

Therefore, the available evidence does not support selecting the diabetes option.

answer committed

Two panels of full-epoch training dynamics from step 1 to 1,912 for three RL variants: (a) mean return; (b) correctness reward, with the highlighted band marking the late collapse of GRPO+RLAIF.
Figure 7. Full-epoch training dynamics (steps 1–1,912) for the three RL variants: (a) mean return; (b) correctness reward. The highlighted band marks GRPO+RLAIF's late collapse, where repetitive restatement overtakes commitment and drains the context budget.

Aligning the ordinary view with the privileged one transfers probability mass from loop-continuation to commitment.Table 10. Participant 1588571, with and without OPSD; token distributions from the worked example.

09Evidence dependence

Accuracy depends on what the agent can gather. Removing adaptive acquisition, or any evidence source, lowers accuracy — the largest drops come from answering the question alone or from initial context only.

Table 16. Full-policy Micro accuracy under evidence conditions.
Evidence conditionMicroDrop (pp)Avg. calls
Question only38.637.50
Initial clinical context52.723.40
Fixed evidence packet66.010.10
Adaptive acquisition, all sources76.1—5.3
Adaptive, without MRI views65.910.24.7
Adaptive, earlier visit only64.611.53.9
Adaptive, without reports71.74.43.7