Agentic Reinforcement Learning with Immediate and Prospective Credit Assignment for Medical Visual Reasoning
Organizations: Georgia Institute of Technology · Tongji University
Abstract
Medical visual question answering (VQA) requires acquiring useful evidence and deciding where to look next. Yet final-answer rewards do not reveal which observations support answering or guide subsequent inspection. We introduce MedPACT, an agentic reinforcement learning framework that learns selective observation policies through immediate answer support and prospective guidance. Our content-controlled estimator compares next actions induced by real and matched alternative observations under a shared real-observation history, isolating how observed content improves subsequent decisions. We combine both forms of credit within GRPO, assigning observation credit to the corresponding tool-call tokens alongside trajectory-level outcome supervision. MedPACT uses a single vision-language model and image-question-answer supervision, with credit estimation confined to training. Experiments with 4B and 8B backbones on six medical VQA benchmarks demonstrate improved accuracy, strong out-of-distribution generalization, and substantially lower inference costs. Case studies further illustrate how MedPACT avoids repeated observations and uses acquired evidence to guide subsequent inspection, demonstrating real-world practice potential.
Figures & tables
| Method | In-distribution (ID) | Out-of-distribution (OOD) | ||||
|---|---|---|---|---|---|---|
| OmniMedVQA | PMC-VQA | MedXpertQA | SLAKE | PathVQA | CT-Bench | |
| General-purpose VLMs | ||||||
| Qwen3-VL-4B [ 1 ] | ||||||
| Qwen3-VL-8B [ 1 ] | ||||||
| Qwen3-VL-30B-A3B [ 1 ] | ||||||
| InternVL3-8B [ 32 ] | ||||||
| Configuration | Observation credit | In-distribution (ID) | Out-of-distribution (OOD) | |||
| Immediate | Prospective | OmniMedVQA | PMC-VQA | MedXpertQA | PathVQA | |
| Qwen3-VL-4B | ||||||
| Outcome-only RL | – | – | ||||
| Immediate only | – | |||||
| Prospective only | – | |||||
| MedPACT | ||||||
| Estimator | OmniMed VQA | PMC-VQA | MedXpert QA | PathVQA |
|---|---|---|---|---|
| Qwen3-VL-4B | ||||
| Before–after | ||||
| Separate-history | ||||
| MedPACT | ||||
| Qwen3-VL-8B | ||||
| Before–after | ||||
| Assignment | ID Datasets | OOD Datasets | ||
|---|---|---|---|---|
| Acc. | Calls | Acc. | Calls | |
| Qwen3-VL-4B | ||||
| Trajectory-wide | ||||
| Action-local (ours) | ||||
| Qwen3-VL-8B | ||||
| Trajectory-wide | ||||
| Method | ID Datasets | OOD Datasets | ||
|---|---|---|---|---|
| Acc. | Calls | Acc. | Calls | |
| Maximum calls: 1 | ||||
| MedVR | ||||
| Immediate-only | ||||
| MedPACT | ||||
| Maximum calls: 2 | ||||
| Dataset | Questions | Images | Images/question | Answer options | Evaluation subset |
|---|---|---|---|---|---|
| In-distribution (ID) | |||||
| OmniMedVQA | 8,924 | 8,219 (8,160) | 1 per question | ; ; | Held out by image and group ID; no difficulty filtering. |
| PMC-VQA | 2,000 | 1,440 | 1 per question | 4 per question | All questions in the official test_clean.csv split. |
| Out-of-distribution (OOD) | |||||
| MedXpertQA-MM | 1,898 | 2,318 (2,288) | ; ; ; | 5 native options (A–E) | Multimodal test questions with at most four images; five development examples excluded. |
| CT-Bench | 1,900 | 1,748 (1,744) | 1 per question | 4 per question | Multiple-choice questions in test-set qa_llm.json . |
| Assignment | ID | OOD | ||
|---|---|---|---|---|
| Acc. | Calls | Acc. | Calls | |
| Qwen3-VL-4B | ||||
| Trajectory-wide | ||||
| Shuffled-token | ||||
| Action-local (ours) | ||||
| Qwen3-VL-8B | ||||
| Selector | ID | OOD | ||
|---|---|---|---|---|
| Qwen3-VL-4B | ||||
| Initial policy | ||||
| Immediate-only | ||||
| MedPACT | ||||
| Qwen3-VL-8B | ||||
| Model | ID Acc. | OOD Acc. |
|---|---|---|
| Qwen3-VL-4B | ||
| Initial policy | ||
| Outcome-only RL | ||
| MedPACT | ||
| Qwen3-VL-8B | ||
| Initial policy | ||
| Proposal protocol | Mean | 95% CI | Reader Acc. (pp) | 95% CI | Valid real (%) | Valid control (%) |
|---|---|---|---|---|---|---|
| Default | 0.081 | [0.061, 0.101] | +2.75 | [0.40, 5.10] | 97.3 | 94.8 |
| Original-only | 0.072 | [0.052, 0.092] | +2.50 | [0.15, 4.85] | 98.1 | 96.5 |
| Original-only + neutral context | 0.069 | [0.049, 0.089] | +2.13 | 98.3 | 97.4 |
| Metric | Difference | 95% CI |
|---|---|---|
| ID accuracy (pp) | ||
| OOD accuracy (pp) | ||
| ID calls/question | ||
| OOD calls/question |
| (a) Repeated estimation on fixed observation states | ||||
|---|---|---|---|---|
| Quantity | Repeat SD | MAE versus reference | Mean signed difference | Credit-class agreement (%) |
| 0.051 | 0.043 | +0.003 | n/a | |
| Final credit | 0.037 | 0.032 | +0.005 | 81.8 |
| Tool set | ID | OOD | ||
|---|---|---|---|---|
| Acc. | Calls | Acc. | Calls | |
| Qwen3-VL-4B | ||||
| ZOOM only | ||||
| Visual extension | ||||
| Full extension | ||||
| Qwen3-VL-8B | ||||
Medical Visual Question Answering
Medical visual question answering studies how AI systems answer clinical questions using medical images and related patient or report data.
See all 187 papers