mlsanityData to 13 Oct 2026

How Seemingly Inconsequential Design Choices Dictate Performance of LLMs in Pathology

arXiv 2606.12407 ↗First posted 10 Jun 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

General-purpose large language models (LLMs) are routinely used as baselines when evaluating specialized pathology models on whole-slide images (WSIs). Because WSIs exceed contemporary model context limits, LLM baselines routinely use small, high-magnification patches processed independently via majority voting, without systematic evaluation of seemingly inconsequential design choices such as patch size, patch count, and magnification. Generalist LLMs have consistently underperformed specialized systems, reinforcing the perception that domain-specific training or architectural adaptation is necessary for pathology tasks involving WSIs. Here, we conduct a systematic factorial analysis of four input design factors: inference mode, patch size, magnification, and patch count. We demonstrate that prior studies have overstated the gap between specialized models and general-purpose LLMs by choosing non-optimized input configurations. On the MultiPathQA benchmark, switching to a single balanced configuration (large patches at lower magnification, processed jointly) raises GPT-5 from 15.1% to 39.5% on cancer-type classification (TCGA) and from 38.1% to 62.9% on organ classification (GTEx). Per-task optimization yields further gains up to 43.9% (TCGA) and 71.6% (GTEx). The same configuration generalizes to two other models and to a fully held-out CPTAC cohort, where it improves Gemini 3 Flash by 23.4 percentage points without any task-specific tuning.

Key facts. No citing papers in the map yet (data through 13 Oct 2026). Builds on 23 of its 36 references that are in the map. First posted on arXiv 10 Jun 2026.

Builds on

23 of 36 references.

References · 23

  1. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,657
  2. 2018Attention-based Deep Multiple Instance Learningcited by 1,083
  3. 2025OpenAI GPT-5 System Cardcited by 946
  4. 2020Data Efficient and Weakly Supervised Computational Pathology on Whole Slide Imagescited by 739
  5. 2021TransMIL: Transformer based Correlated Multiple Instance Learning for Whole Slide Image Classificationcited by 551
  6. 2022Scaling Vision Transformers to Gigapixel Images via Hierarchical Self-Supervised Learningcited by 359
  7. 2024Multimodal Whole Slide Foundation Model for Pathologycited by 157
  8. 2023Quilt-LLaVA: Visual Instruction Tuning by Extracting Localized Narratives from Open-Source Histopathology Videoscited by 84
  9. 2024PRISM: A Multi-Modal Generative Foundation Model for Slide-Level Histopathologycited by 81
  10. 2025Accelerating Data Processing and Benchmarking of AI Models for Pathologycited by 60
  11. 2024SlideChat: A Large Vision-Language Assistant for Whole-Slide Pathology Image Understandingcited by 54
  12. 2026MedGemma 1.5 Technical Reportcited by 44
11 more
  1. 2025Patho-R1: A Multimodal Reinforcement Learning-Based Pathology Expert Reasonercited by 38
  2. 2024WSI-LLaVA: A Multimodal Large Language Model for Whole Slide Imagecited by 37
  3. 2025PathFinder: A Multi-Modal Multi-Agent System for Medical Diagnostic Decision-Making Applied to Histopathologycited by 36
  4. 2024CPath-Omni: A Unified Multimodal Foundation Model for Patch and Whole Slide Image Analysis in Computational Pathologycited by 34
  5. 2025CPathAgent: An Agent-based Foundation Model for Interpretable High-Resolution Pathology Image Analysis Mimicking Pathologists' Diagnostic Logiccited by 27
  6. 2025Evidence-based diagnostic reasoning with multi-agent copilot for human pathologycited by 27
  7. 2025PathAgent: Toward Interpretable Analysis of Whole-slide Pathology Images via Large Language Model-based Agentic Reasoningcited by 18
  8. 2025A co-evolving agentic AI system for medical imaging analysiscited by 17
  9. 2025Pathology-CoT: Learning Visual Chain-of-Thought Agent from Expert Whole Slide Image Diagnosis Behaviorcited by 10
  10. 2025Navigating Gigapixel Pathology Images with Large Multimodal Modelscited by 7
  11. 2026MLLM-HWSI: A Multimodal Large Language Model for Hierarchical Whole Slide Image Understandingcited by 3

Built on by

Not cited yet.