JevNavAgent: A Single-Forward Visual Navigation Agent with Trajectory-Level RL for Gigapixel Pathology

Yonghuang Wu, Zhenyang Liang, Pengfei Wang, Yize Ma, Guoqing Wu, Jinhua YuarXiv 2026

Imagine trying to find a single specific grain of sand on a beach using only a magnifying glass. That is the daily reality for pathologists looking at "Whole-Slide Images" (WSIs)—gigapixel-scale digital files that can easily reach 100,000 pixels in both dimensions.

Current AI approaches either try to process the whole beach at once (which loses the "grains of sand" detail) or chop it into thousands of tiny tiles (which loses the "beach" context). Recent attempts to use Vision-Language Models (VLMs) as "agents" that navigate the slide like a human would—zooming in on suspicious spots—have been painfully slow because they "think" by generating text tokens for every single move.

JevNavAgent changes the game by applying a "System One" (fast, intuitive) approach to pathology, making these agents nearly 12x faster while actually improving their diagnostic accuracy.

TL;DR

JevNavAgent is a visual navigation agent for gigapixel pathology that ditches slow, wordy reasoning in favor of a single-pass decision engine. By predicting navigation actions and diagnostic answers in one go, it runs 12 times faster than frontier API agents and uses a novel reinforcement learning strategy to ensure it doesn't take "shortcuts" when hunting for tiny tumors.

What Problem Does This Paper Address?

Pathology slides are too big for standard AI. While human pathologists scan at low power and zoom into suspicious regions, AI agents struggle with two main bottlenecks:

  1. The Latency Tax: Most VLM agents are "chatty." To move the camera, they generate a string of text like "I will now look at coordinates (x,y) because..." This autoregressive decoding is slow, making it impossible to run the thousands of simulations needed for effective Reinforcement Learning (RL).
  2. The Stopping Problem: In clinical screening, finding a tumor is an "existential" proof (you only need to find one), but ruling one out is a "universal" proof (you have to check everywhere). Standard AI often takes "kinematic shortcuts"—it learns that if it hasn't found anything after four steps, it should probably just give up and guess "negative," rather than actually verifying the tissue.

Methods

The authors introduce the Jev (System One) paradigm, named after the psychological concept of fast, intuitive judgment. Instead of generating text, the model (a 2B-parameter Qwen3-VL) uses three specialized "heads" to output probability distributions in a single forward pass:

  • Stopping Gate: Should I keep reading or stop and diagnose?
  • Candidate Scorer: Which of these potential zoom-in regions looks most promising?
  • Gated Answer Head: What is the final diagnosis based on the evidence?
The JevNavAgent architecture uses a single forward pass to drive a deterministic navigation loop, avoiding the overhead of text generation.

The training happens in two stages:

  • Stage-1 (Counterfactual Trajectory Alignment): The authors synthesize "hard" paths where the model is forced to look at multiple regions before stopping, preventing it from relying on low-resolution thumbnails.
  • Stage-2 (Traj-GRPO): They use a modified version of Group Relative Policy Optimization. Because the model is so fast (no text decoding!), they can run many "rollouts" (simulated navigations) to reward the agent for discovering lesions and gaining confidence in its answers.

Datasets

The model was evaluated on two major benchmarks:

  • Clean Visual WSI-VQA: A new, curated set of 1,353 visual-grounded questions across 485 gigapixel TCGA-BRCA slides, designed to filter out "text-only" shortcuts.
  • CAMELYON16: The industry standard for lymph node metastasis detection, featuring 311 verified gigapixel slides.

Key Insights and Ideas

  • Zero-Token Navigation: By treating navigation as a classification problem over a spatial grid rather than a text-generation problem, the authors eliminated the primary bottleneck for agentic RL in pathology.
  • Overview Modality Dropout: To stop the model from "cheating" by looking at the low-res thumbnail, they randomly "blacked out" the overview during training. This forced the agent to actually zoom in and look at cellular details to get the right answer.
  • The "Visited Hit" vs. "Grounded Stop" Gap: The authors noticed that previous models often saw a tumor but didn't recognize it as the reason to stop. Their Traj-GRPO specifically rewards the model for stopping inside a tumor polygon, significantly boosting localization accuracy.

Key Results

JevNavAgent sets a new bar for both speed and precision:

  • Speed: It completes a slide analysis in 5.63 seconds, compared to 66–70 seconds for frontier API agents like GPT-4o.
  • Accuracy: On the WSI-VQA benchmark, it achieved 51.57% accuracy, outperforming much larger 8B and 11B parameter models.
  • Localization: On the CAMELYON16 test set, it successfully converted 91.7% of visited tumors into grounded, correct stops—a massive improvement over standard supervised learning.
The accuracy vs. latency tradeoff shows JevNavAgent (stars) sitting in the "sweet spot" of high accuracy and low latency.

Limitations and Future Work

While impressive, the authors note a few areas for growth:

  • Cohort Diversity: The current study focused on breast cancer (TCGA-BRCA and CAMELYON16). Future work needs to prove this generalizes to other organs and staining types.
  • Search Depth: The agent is currently limited to a 12-read budget. While efficient, extremely rare or tiny micrometastases might require even more extensive searching.
  • Multi-Stain Reasoning: Integrating evidence from different types of chemical stains (like H&E and IHC) remains a frontier for autonomous agents.

Summary updated

Abstract

Gigapixel whole-slide images (WSIs) exceed single-pass vision-language model (VLM) capacity at cellular resolution, while multiple instance learning relies on query-agnostic offline patching without interactive reasoning. Multi-step VLM navigation agents inspect regions on demand, yet face two bottlenecks: (1) autoregressive action decoding incurs heavy latency, throttling exploration and online multi-trajectory RL; and (2) offline distillation suffers from an existential-versus-universal stopping asymmetry between positive detection and negative exclusion, inducing thumbnail and kinematic shortcuts while leaving policies prone to passing metastases without stopping. Under the Jev (System One) paradigm, a model predicts distributions over predefined decision spaces in one forward pass (0 generated tokens) while deterministic code executes navigation. We build JevNavAgent, a 2B-parameter agent combining factorized stopping, spatial-candidate, and contextual-bilinear answer heads with overview modality dropout. We pair Stage-1 offline counterfactual trajectory alignment (mitigating depth and panning shortcuts) with Stage-2 online trajectory-level GRPO (Traj-GRPO), using decoding-free rollouts to optimize branch-level lesion discovery, in-polygon stopping, and step-wise confidence gain. On Clean Visual WSI-VQA, JevNavAgent achieves 51.57% multi-scale (50.43% terminal-step) overall and 51.39% focal accuracy, outperforming frontier VLM agents and 4B-11B open-source cascades while running nearly 12x faster than frontier APIs (5.63s vs. 66.64-70.04s). On CAMELYON16 Official Test, Traj-GRPO reaches 22.45% localization (converting 11/12, or 91.7%, of visited tumors into grounded stops) with 93.75% specificity and 69.77% slide accuracy, surpassing Stage-1 SFT under matched stopping rules alongside zero-shot budget scaling.
BibTeX
@misc{wu2026jevnavagent,
  author = {Yonghuang Wu and Zhenyang Liang and Pengfei Wang and Yize Ma and Guoqing Wu and Jinhua Yu},
  title = {{JevNavAgent: A Single-Forward Visual Navigation Agent with Trajectory-Level RL for Gigapixel Pathology}},
  year = {2026},
  eprint = {2611.28766},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28766},
}
Figure