Sequential question answering AI for hierarchical gastric pathology diagnosis
Abstract
Artificial intelligence in digital pathology has evolved from task-specific models to multimodal foundation models. However, clinical adoption remains limited by a misalignment between model design and the hierarchical, conditional nature of diagnostic reasoning. In complex domains, such as gastric pathology, diagnosis requires navigating strictly dependent steps where downstream tasks are only clinically valid given specific upstream findings. Regardless, current computational approaches often treat diagnostic tasks in isolation, obscuring these critical dependencies. Herein, we present AUGUST (Adaptive Unified Gastric diagnosis Using Sequential Tasks), a sequential question-answering framework designed to mimic the stepwise reasoning of pathologists. AUGUST explicitly models diagnostic dependencies by iteratively generating task-specific questions conditioned on prior findings, projecting whole slide images into context-aware representations, and producing answers constrained to clinically valid pathways. We evaluated AUGUST on 23,072 gastric whole slide images spanning 19 hierarchical tasks and 79,924 question-answer pairs. In both fully autonomous and human-in-the-loop settings, AUGUST outperformed state-of-the-art multiple instance learning, pathology-specific vision-language, and foundation models on a wide range of datasets and tasks. Our results demonstrate that AUGUST has superior hierarchical consistency and diagnostic accuracy across coarse-, fine-, and grading-levels.
Headline, design, result, key points, caveat and citation as plain text.
Cite this article
Quoc KN, Song J, Lee C, et al. Sequential question answering AI for hierarchical gastric pathology diagnosis. NPJ Digit Med. 2026;9(1). doi:10.1038/s41746-026-03107-1
Spotted a mistake? Suggest a correction