PathoJev: Efficient Pathology Decisions from Shared Visual Context
Organizations: College of Computer Science, Sichuan University · Department of Pathology and Institute of Clinical Pathology, West China Hospital, Sichuan University · Department of Computer Science, School of Computing, National University of Singapore · School of Intelligent Systems Engineering, Sun Yat-sen University
Abstract
Pathology workflows require multiple visual judgments about the same slide, from identifying tumor type to assessing grade and invasion. Generating and parsing a separate textual response for each structured question adds latency between visual evidence and usable decisions. Building on the System One paradigm, we introduce PathoJev, a pathology model that directly predicts answer probabilities for whole-slide and region-level assessment. PathoJev encodes each slide once and evaluates independent question suffixes in batches over the shared visual context. Reusing the hybrid backbone's recurrent states further limits the computation that grows with slide-context length for each additional question. Across three whole-slide benchmarks, the 9B and 27B models achieve mean accuracies of 77.2% and 78.1%, exceeding SlideChat by 5.4 and 6.3 percentage points. Both scales also maintain competitive accuracy on five ROI benchmarks. On WSI-Bench, the 9B model runs 9.1x faster than SlideChat. Shared context accelerates eight-question workloads by 6.9x and 5.9x over separate prefix encoding, rising to 11.2x and 8.9x for 64 questions. These results provide a reusable probabilistic interface for combining multiple visual judgments in whole-slide and local tissue assessment. Code: https://github.com/ChyaZhang/PathoJev.
Figures & tables
| Model | Region of Interest | Whole Slide | ||||||||||
| PathMMU tiny | PathVQA | Quilt VQA | OmniMed VQA | MedXpert QA | Avg. | Latency (s/q) | WSI VQA | WSI Bench | SlideBench TCGA | Avg. | Latency (s/q) | |
| 7–13B models | ||||||||||||
| Patho-R1-7B (reasoning) [ 29 ] † | 67.6 | 57.1 | 70.8 | 69.7 | 16.7 | 56.4 | 2.291 | 44.1 | 67.8 | 53.9 | 55.3 | 2.367 |
| HuatuoGPT-Vision-7B [ 4 ] † | 59.5 | 66.6 | 64.4 | 51.5 | 12.2 | 50.8 | 0.068 | 47.7 | 66.8 | 51.1 | 55.2 | 0.081 |
| Quilt-LLaVA-v1.5-7B [ 23 ] † | 46.4 | 56.7 | 70.3 | 46.9 | 17.8 | 47.6 | 0.066 | 39.7 | 49.4 | 37.4 | 42.2 | 0.066 |
| PathGen-LLaVA-13B [ 26 ] † | 71.4 | 62.7 | 68.2 | 68.9 | 31.1 | 60.5 | 0.114 | 43.8 | 69.1 | 52.4 | 55.1 | 0.116 |
| Variant | Region of Interest | Whole Slide | ||||||||||
| PathMMU tiny | PathVQA | Quilt VQA | OmniMed VQA | MedXpert QA | Avg. | Latency (s/q) | WSI VQA | WSI Bench | SlideBench TCGA | Avg. | Latency (s/q) | |
| Autoregressive SFT | 74.3 | 93.8 | 66.8 | 68.8 | 30.0 | 66.7 | 0.215 | 63.8 | 89.0 | 74.2 | 75.7 | 0.119 |
| PathoJev-9B | 71.9 | 94.6 | 70.8 | 75.3 | 25.6 | 67.6 | 0.090 | 65.4 | 90.4 | 75.9 | 77.2 | 0.039 |
| / speedup | ||||||||||||
| Setting | Speedup | |||
| PathoJev-9B | ||||
| Separate encoding | 0.12 | 0.95 | 7.63 | — |
| Shared prefix | 0.12 | 0.14 | 0.68 | |
| PathoJev-27B | ||||
| Separate encoding | 0.28 | 2.23 | 17.86 | — |
| Shared prefix | 0.28 | 0.38 | 2.01 | |
| (a) Calibration: ECE (percentage points, ) | ||
| Benchmark | PathoJev-9B | PathoJev-27B |
| WSI-VQA | 6.7 | 10.5 |
| WSI-Bench | 2.0 | 2.1 |
| SlideBench-TCGA | 2.2 | 4.5 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Setting | Stage A | Stage B |
| Trainable parameters | ||
| Training slides used | 30% | 100% |
| Epochs | 1 | 2 |
| Optimization steps | 244 | 1,624 |
| Slides per step | 8 | 8 |
| Questions per slide |
| Source | Input | Questions |
| SlideInstruct | WSI | 48,699 |
| WSI-Bench | WSI | 34,799 |
| WSI-VQA | WSI | 2,311 |
| CF-Path | WSI | 126,467 |
| PathVQA | ROI | 9,751 |
| PMC-VQA (pathology) | ROI | 8,204 |
| Training | Validation | Test | |
| Questions | 126,467 | 36,372 | 38,088 |
| Slides | 2,926 | 627 | 628 |
| Cases | 2,721 | 595 | 623 |
| TSS groups | 111 | 66 | 76 |
| Benchmark / subset | Questions |
| Whole-slide assessment | |
| WSI-VQA | 390 |
| WSI-Bench (closed-ended) | 1,141 |
| SlideBench-TCGA | 3,127 |
| Local tissue assessment | |
| PathMMU-tiny | 1,139 |
| Benchmark | Lower | Upper | |
| WSI-VQA | |||
| WSI-Bench | |||
| SlideBench-TCGA | |||
| PathMMU-tiny | |||
| PathVQA | |||
| Quilt-VQA |
| Measure | ||
| Median visual tokens | 499 | 1,755 |
| WSI-VQA | 67.7 | 65.9 |
| WSI-Bench | 88.0 | 84.7 |
| SlideBench-TCGA | 73.6 | 68.8 |
| PathMMU-tiny | 75.9 | 74.4 |
| PathVQA | 93.4 | 93.0 |
| Benchmark | With image | No image | Decrease |
| PathoJev-9B | |||
| WSI-VQA | 65.4 | 58.7 | 6.7 |
| WSI-Bench | 90.4 | 80.3 | 10.1 |
| SlideBench-TCGA | 75.9 | 63.9 | 12.0 |
| PathMMU-tiny | 71.9 | 54.5 | 17.4 |
| PathVQA | 94.6 | 62.1 | 32.5 |
| Model | |||
| Autoregressive SFT | 0.16 | 0.84 | 6.34 |
| WSI-LLaVA | 0.07 | 0.31 | 2.18 |
| SlideChat | 0.68 | 1.47 | 8.93 |
| PathoJev-9B | 0.12 | 0.14 | 0.68 |
| Measure | 256 | 1,024 | 4,096 |
| PathoJev-9B | |||
| Marginal time (ms/question) | 1.46 | 1.61 | 2.48 |
| Marginal memory (MB/question) | 12.1 | 12.1 | 37.4 |
| Recurrent layers (ms) | 58.1 | 58.2 | 58.3 |
| Softmax attention (ms) | 19.0 | 20.9 | 33.8 |
| PathoJev-27B | |||