Abstract
Interactive reasoning over gigapixel whole-slide images (WSIs) requires agents to seek visual evidence across vast regions and make decisions through multiple interactions. Training such agents is challenging, as coordinate-based navigation requires models to jointly handle spatial localization and diagnostic reasoning, with localization errors potentially affecting subsequent decisions. Meanwhile, teacher-trajectory imitation provides limited supervision for the states students encounter. We introduce STAGER (Student-state Training with Aligned Guidance for Evidence-Grounded Reasoning), a student-state-aligned training framework that decouples spatial retrieval from agent reasoning through a frozen vision-language retriever. Rather than imitating complete teacher trajectories, STAGER provides guidance from a stronger teacher at student-visited states, followed by outcome-based reinforcement learning. Across five WSI tasks, STAGER's student-state supervision outperforms teacher-trajectory imitation on both 9B and 4B agents. With subsequent GRPO refinement, STAGER achieves up to 44.77% Macro accuracy for a 9B agent (vs. 35.25% untuned), comparable to an unadapted 35B agent (44.99%) under the same retrieval interface. Behavioral and fixed-evidence analyses further suggest that these gains extend beyond evidence selection to more effective reasoning and decision-making from visual observations.
Method
Supervising the states the student actually visits
In interactive WSI reasoning, every evidence request changes what the agent sees next. A single different request returns a different high-resolution patch, so a student's interaction history quickly drifts away from any teacher demonstration. STAGER therefore moves teacher supervision onto the student's own rollouts: the student explores, and the teacher labels each state the student reached.
Results
Highlights
We evaluate STAGER on MultiPathQA, covering five WSI reasoning tasks and 236 evaluation questions, with Macro accuracy as the primary metric.
- Teacher trajectory (TT)
- STAGER, student state (SS)
Macro accuracy (%). Trained models are reported as mean ± SD across three runs, with untuned models evaluated once. All training comparisons use matched experimental settings.
View as table
| Training | Qwen3.5-9B | Qwen3.5-4B |
|---|---|---|
| Untuned | 35.25 | 39.46 |
| TT-SFT | 38.86 (1.23) | 37.49 (2.23) |
| STAGER (SFT) | 41.17 (0.64) | 40.21 (1.96) |
| TT-SFT + GRPO | 39.59 (0.99) | 37.16 (0.61) |
| STAGER (SFT + GRPO) | 41.38 (3.10) | 42.06 (1.17) |
Improved decision-making
STAGER corrects more errors while preserving more correct predictions than conventional trajectory imitation.
Better evidence utilization
STAGER improves reasoning performance even when agents receive identical visual evidence.
Transferable reasoning gains
STAGER retains its performance gains across different retrieval interfaces and an external WSI cohort, without additional training.
Findings from behavioral, fixed-evidence, and transfer analyses of selected model runs.
Same slide, different reasoning paths
Full comparison with WSI models and agents
Accuracy (%); balanced accuracy for GTEx, PANDA, and TCGA. Semantic retrieval uses frozen CONCH. STAGER rows are single runs (seed 42); for SFT + GRPO this is the best of three seeds; three-seed means are shown in the plot above. Bootstrap SDs are reported in the paper.
| Method | Evidence access | GTEx | PANDA | TCGA | SB-VQA | Exp-VQA | Micro | Macro |
|---|---|---|---|---|---|---|---|---|
| Fixed-input WSI models | ||||||||
| SlideChat (Qwen2.5-7B) | Slide-level embeddings | 5.00 | 16.67 | 4.55 | 68.00 | 34.38 | 27.54 | 25.72 |
| MedGemma 1.5 (4B) | Multi-tile input | 25.17 | 19.98 | 6.44 | 44.00 | 21.88 | 24.15 | 23.49 |
| Training-free WSI agents | ||||||||
| GIANT (Gemini 3.5 Flash) | Coordinate-based cropping | 82.33 | 43.48 | 45.83 | 40.00 | 59.38 | 54.24 | 54.20 |
| PathAgent | Agent-guided ROI selection | 54.67 | 22.86 | 6.59 | 44.00 | 37.50 | 32.63 | 33.12 |
| BEACON | EIG-guided patch selection | 44.25 | 17.95 | 17.20 | 50.00 | 40.62 | 33.47 | 34.00 |
| Training-free MLLM agents | ||||||||
| Qwen3-VL-8B | Coordinate-based cropping | 12.50 | 16.45 | 7.88 | 34.00 | 37.50 | 19.49 | 21.67 |
| Semantic retrieval | 25.17 | 8.33 | 8.48 | 52.00 | 46.88 | 25.85 | 28.17 | |
| Lingshu-7B | Coordinate-based cropping | 20.33 | 15.28 | 10.61 | 34.00 | 34.38 | 23.31 | 22.92 |
| Semantic retrieval | 22.25 | 23.50 | 16.67 | 42.00 | 46.88 | 29.66 | 30.26 | |
| Qwen3.5-35B-A3B | Coordinate-based cropping | 50.67 | 20.62 | 19.09 | 52.00 | 56.25 | 38.98 | 39.73 |
| Semantic retrieval | 54.67 | 24.89 | 35.15 | 54.00 | 56.25 | 44.07 | 44.99 | |
| InternVL3-38B | Coordinate-based cropping | 18.33 | 2.78 | 10.00 | 26.00 | 28.12 | 15.68 | 17.05 |
| Semantic retrieval | 19.33 | 9.72 | 11.36 | 42.00 | 25.00 | 19.49 | 21.48 | |
| STAGER and matched baselines (Qwen3.5-9B) | ||||||||
| Qwen3.5-9B (untuned) | Thumbnail only | 34.00 | 16.67 | 19.32 | 36.00 | 46.88 | 28.39 | 30.57 |
| Coordinate-based cropping | 45.08 | 13.78 | 17.42 | 38.00 | 65.62 | 33.47 | 35.98 | |
| Semantic retrieval | 51.75 | 13.68 | 16.82 | 44.00 | 50.00 | 34.32 | 35.25 | |
| STAGER (SFT) | Semantic retrieval | 58.00 | 16.67 | 28.48 | 50.00 | 56.25 | 42.37 | 41.88 |
| STAGER (SFT + GRPO) best run | Semantic retrieval | 63.83 | 20.73 | 33.03 | 50.00 | 56.25 | 45.76 | 44.77 |
Resources
Read, reproduce, inspect
GitHub repository
Training and evaluation code for student-state-aligned SFT, GRPO refinement, and the semantic retrieval interface.
arXiv paper page
Open the official arXiv entry for the STAGER paper and its latest public version.
Hugging Face collection
Released STAGER policy checkpoints for interactive WSI reasoning.
BibTeX
@article{wu2026learningwaystudentstatesupervision,
title = {Learning Along the Way: Student-State Supervision for Interactive Gigapixel Pathology Image Reasoning},
author = {Yicong Wu and Mingyuan Li and Hans Moen and Shaoxiong Ji},
year = {2026},
journal = {arXiv preprint arXiv:2612.05599},
url = {https://arxiv.org/abs/2612.05599}
}
Funding
This project has received funding from the European Union's Horizon Europe research and innovation programme under the Marie Skłodowska-Curie grant agreement No 101177564 — HAIF. The authors wish to acknowledge CSC — IT Center for Science, Finland, for computational resources.
Co-funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the European Research Executive Agency (REA). Neither the European Union nor the granting authority can be held responsible for them.




