--- license: apache-2.0 task_categories: - visual-question-answering - image-classification - robotics tags: - pathology - whole-slide-image - medical-imaging - visual-navigation - gigapixel - benchmark pretty_name: JevNavAgent Gigapixel Pathology Navigation Benchmark (v1.0-Breast) size_categories: - 10K **JevNavAgent: A Single-Forward Visual Navigation Agent with Trajectory-Level RL for Gigapixel Pathology** > Yonghuang Wu, Zhenyang Liang, Pengfei Wang, Yize Ma, Guoqing Wu, and Jinhua Yu > *School of Biomedical Engineering and Technological Innovation, Fudan University, Shanghai, China* > Contact: `yonghuangwu21@m.fudan.edu.cn` - **Code & Pluggable Evaluation SDK (GitHub)**: https://github.com/yonghongwu/JevNavAgent - **Pretrained Checkpoints (HuggingFace Models)**: https://huggingface.co/renyimen/JevNavAgent ![JevNavAgent Pareto Performance and Stopping Asymmetry](assets/fig1_pareto_and_stopping.png) --- ## 1. Benchmark Summary (`v1.0-Breast`) All tasks share a unified multi-scale candidate pyramid $\mathcal{S} = \{64, 16, 4, 1\}$ ($0.625\times$ to $40\times$ magnification) with strict slide-disjoint and patient-disjoint splits. | Benchmark | Split / Diagnostic Subset | Unique WSIs | Cases / Questions | | :--- | :--- | :---: | :---: | | **Clean Visual WSI-VQA** *(TCGA-BRCA)* | Train (Slide-Disjoint) | 332 | 1,002 | | | Official Val / Test | 77 / 76 | 179 / 172 | | | ↳ *Macro-Global Queries* (Val+Test) | 142 | 207 | | | ↳ *Micro-Focal Queries* (Val+Test) | 98 | 144 | | | ↳ *Clinical Buckets A–D* (Val+Test) | 147 | 296 | | | ↳ *Bucket E: Multi-Finding Desc.* (Val+Test) | 51 | 55 | | **Verified CAMELYON16** *(Exhaustive Annotations)* | Train (`68 Pos / 68 Neg`) | 136 | 136 | | | Dev (`23 Pos / 23 Neg`) | 46 | 46 | | | Official Test (`49 Pos / 80 Neg`) | 129 | 129 | | **Stage-1 Counterfactual Trajectory Corpus** | `formal_terra_v5_train.parquet` | 449 | 16,635 transitions | ### Key Curation Improvements Over Raw Public Sources 1. **Clean Visual WSI-VQA**: Filters out ~42% non-H&E clinical report leakage (IHC `ER/PR/HER2`, gross specimen measurements, pTNM staging, report metadata, and corrupted GPT options) via per-question visual-grounding audit (`audit_ledgers/`), enforces unique `-DX1` diagnostic slide mapping and 100% patient-level Val/Test zero overlap, and adds `Macro-Global` vs. `Micro-Focal` and `Buckets A–E` clinical tags. 2. **Exhaustively Verified CAMELYON16**: Strictly excludes the 20 officially documented partially-annotated positive training slides (`audit_ledgers/cam16_excluded_20_partial_slides.json`) so spatial localization evaluation (`Pos Loc Hit`, `Visited Hit`, `Strict Loc+Spec`) has zero unannotated-tumor false penalties. 3. **Counterfactual Trajectory Alignment Corpus (`formal_terra_v5`)**: Provides 16,635 multi-scale state-action transitions across 449 active training WSIs with 1:1 horizon- and scale-aligned positive/negative stopping supervision and DAgger recovery paths. ![Qualitative Multi-Scale Navigation Trajectories](assets/fig5_qualitative_trajectories.png) --- ## 2. Official Reference Results (`v1.0-Breast`) | Method | WSI-VQA Val | WSI-VQA Test | **WSI-VQA Total** | **Micro-Focal** | Clin. A–D | CAM16 Test Loc Hit | CAM16 Neg Spec | **CAM16 Strict Loc+Spec** | **CAM16 Slide Acc** | | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | | GPT-6.1-Sol (Frontier) | 48.60 | 51.16 | 49.86 | 45.14 | 50.00 | — | — | — | — | | MedGemma-4B + PLIP | 50.28 | 50.58 | 50.43 | 46.53 | 51.35 | — | — | — | — | | **JevNavAgent (SFT, 2B)** | 50.84 | 48.84 | 49.86 | 49.31 | 53.38 | 10.20 | 88.75 | 58.91 | 66.67 | | **JevNavAgent + Traj-GRPO (Step-T / Online)** | 50.84 | 50.00 | 50.43 | **51.39** | 53.38 | 16.33 | **98.75** | **67.44** | 68.99 | | **JevNavAgent + Traj-GRPO (Multi-Scale / Calib.)** | **51.40** | **51.74** | **51.57** | **51.39** | **54.73** | **22.45** | 93.75 | 66.67 | **69.77** | --- ## 3. Repository Layout - `manifests/`: Slide-disjoint JSON manifests with NIH GDC `file_id` / `source_url` (TCGA-BRCA) and CAMELYON16 S3 `source_url` + MD5 checksums. - `audit_ledgers/`: Full per-question visual-answerability audit ledger and list of 20 excluded partial CAMELYON16 slides. - `annotations/cam16_xml_annotations.tar.gz`: Ground-truth XML tumor polygons for all 140 verified positive CAMELYON16 slides (`68 train + 23 dev + 49 test`). - `trajectories/`: Parquet-formatted counterfactual multi-scale navigation corpus (`formal_terra_v5_train.parquet`, `cam16_dev_trajectories.parquet`). - `baseline_predictions/`: Sanitized official evaluation trajectories for instant metric reproduction via `jevnav-score`. --- ## 4. Quick Start Raw gigapixel `.svs` / `.tif` slides (~1 TiB total) are not redistributed here; instead, our official CLI downloads metadata from this repository and fetches slides directly from NIH GDC and CAMELYON16 S3 with automatic MD5 verification: ```bash git clone https://github.com/yonghongwu/JevNavAgent.git cd JevNavAgent pip install -e . # 1. Download benchmark metadata, annotations, and trajectories from HuggingFace (~107 MB) jevnav-download --mode metadata --out ./data # 2. Download evaluation WSIs (or --mode full for training + evaluation WSIs) jevnav-download --mode eval-slides --out ./data # 3. Score official baseline trajectories immediately (no WSI download required) jevnav-score --benchmark wsivqa_351 \ --manifest ./data/manifests/wsivqa_clean_visual_val_179.json ./data/manifests/wsivqa_clean_visual_test_172.json \ --predictions ./data/baseline_predictions/wsivqa_351/jevnav_traj_grpo_vqa_kl_B4.jsonl ``` --- ## 5. Roadmap (`v2.0` Multi-Organ Expansion) This `v1.0-Breast` release establishes the unified active navigation environment and evaluation protocol on breast pathology (`TCGA-BRCA` + `CAMELYON16`). Upcoming `v2.0` subsets will expand to additional organ systems and specimen geometries (prostate needle biopsies, colorectal resections, and non-small-cell lung cancer). --- ## 6. Citation ```bibtex @article{wu2026jevnavagent, title = {JevNavAgent: A Single-Forward Visual Navigation Agent with Trajectory-Level RL for Gigapixel Pathology}, author = {Wu, Yonghuang and Liang, Zhenyang and Wang, Pengfei and Ma, Yize and Wu, Guoqing and Yu, Jinhua}, journal = {arXiv preprint}, year = {2026}, note = {Dataset available at https://huggingface.co/datasets/renyimen/JevNavAgent} } ``` ## 7. License & Attribution - Curated manifests, audit ledgers, trajectory annotations, and evaluation scripts are released under **Apache-2.0**. - Underlying whole-slide images remain subject to their original public licenses: **TCGA-BRCA** (NIH GDC Open Access) and **CAMELYON16** (CC0).