# Can an Agent Trust Its Own Zoom? Cross-Magnification Provenance Verification for Whole-Slide Images

AI.info

> A pathology agent can interpret an image correctly but still be misled if the image is attached to the wrong location on a slide. The paper asks how to verify that spatial origin, including when…

**arXiv**: 2611.29150 · Preprint · not peer-reviewed

**Published**: 2026-11-22

**Authors**: Yan Wang, Yiran Song, Zizhuo Gong, Jianxiang Qi, Zhongxing Xu, Lingfei Qian, Minquan Lin

## In plain words

A pathology agent can interpret an image correctly but still be misled if the image is attached to the wrong location on a slide. The paper asks how to verify that spatial origin, including when different regions look alike or the true source is outside the displayed context.

## AI summary

## Overview

- **Research area:** Computer vision, computational pathology, and visual-agent reliability.
- **Technical level:** Intermediate.
- **Scope:** The paper introduces a task and verification system for checking whether a magnified view of a whole-slide image really came from the location an agent says it came from.

## What This Paper Is About

A pathology agent can interpret an image correctly but still be misled if the image is attached to the wrong location on a slide. The paper asks how to verify that spatial origin, including when different regions look alike or the true source is outside the displayed context. It introduces a benchmark and a verifier that estimate where an image came from independently of the agent’s claim, then verify, flag a mismatch, or abstain when evidence is weak.

## Key Contributions

1. **Defines cross-magnification provenance verification (CMPV).** The task combines checking a claimed source, locating the actual source when it is within the context, and abstaining when the evidence is insufficient.
2. **Introduces PyraFault.** The benchmark contains 3,057,732 query–claim examples from 2,200 cases across five TCGA cohorts, with controlled source substitutions and viewing perturbations.
3. **Proposes ZoomTrace.** This verifier aligns images to the same physical scale, retrieves candidate locations, refines the best match, and estimates reliability by comparing spatially distinct alternatives.
4. **Evaluates verification in visual-agent tool paths.** The paper tests benchmark performance, limits of alternative methods and vision-language models, cross-dataset transfer, and whether verification reduces agents’ exposure to corrupted observations.

## Main Findings

- **Strong benchmark discrimination:** On 503,320 test examples, ZoomTrace achieves an AUPRC of 0.9686 and an AUROC of 0.9872. Efficient LoFTR reaches 0.7885 and 0.9026, respectively.
- **Source recovery:** ZoomTrace localizes 97.26% of incorrect in-context claims at source IoU of at least 0.5, counting missing estimates as failures. Efficient LoFTR reaches 82.75%. Efficient LoFTR has higher median IoU among its returned in-context estimates, so the methods trade off recovery breadth and localization precision.
- **Verification is selective:** At its calibrated operating point, ZoomTrace has 0.3439 coverage and 0.9847 balanced accuracy among answered cases. Most absent-source faults lead to abstention: coverage is between 0.0083 and 0.0194 across the absent-source conditions.
- **Distinct alternatives matter for reliability:** Comparing the winner with spatially disjoint candidates gives much stronger AUPRC than comparing it with the next candidate when overlapping windows are allowed: 0.9686 versus 0.5206 in the reported reliability comparison. Winning-score confidence has higher aggregate AUPRC, 0.9820, while the disjoint-margin rule gives more uniform coverage across perturbation levels.
- **The system depends on scale alignment and geometric refinement:** Without scale alignment, AUPRC falls to 0.2012 and median source IoU to zero. Without geometric refinement, AUPRC is 0.9204 and median IoU is 0.5904.
- **Vision-language models struggle with claim-free localization in the tested setting:** On the same 2,000 items, ZoomTrace reaches AUPRC 0.9622. The reported vision-language models have much lower AUPRC; the five open models have near-chance AUROC.
- **Transfer to CAMELYON16 exposes retrieval and calibration limits:** At the standard candidate setting, ZoomTrace reaches AUPRC 0.6761, with 0.0129 coverage and 0.5008 balanced accuracy. Increasing retrieval candidates from 10 to 50 improves AUPRC to 0.7918, but coverage remains 0.0109 after source-specific calibration.
- **Tool-path protection reduces exposure, but agent benefits vary:** At the threshold chosen to limit withholding of clean views, exposure falls for Claude, Codex, and DeepSeek, and silent failures also decrease. Verdict accuracy improves for Claude and DeepSeek, while Codex’s remains unchanged.

## Methodology in Plain English

The authors first build PyraFault from whole-slide image coordinates and slide identities, so the benchmark knows the true source independently of the claimed location. It includes clean examples, substitutions from other places on the same slide or from other slides, and changes to how the query is viewed. Its test set balances eight conditions, with correct claims forming 12.5% of the examples.

ZoomTrace then searches for the source without looking at the claim. It resizes the magnified query to match the context’s physical scale, retrieves promising regions using frozen UNI image features, and checks the candidates with LoFTR and geometric refinement. It estimates reliability by asking whether the best match is clearly stronger than matches at nonoverlapping locations. Only after estimating the source and reliability does it compare the source with the claimed location. It verifies a sufficiently reliable match that agrees with the claim, flags a mismatch when the evidence supports a different source, and abstains when reliability is low.

The evaluation compares ZoomTrace with matching, retrieval-uncertainty, and image-similarity methods. It also tests ablations, geometric perturbations, CAMELYON16, vision-language models, and integrations into visual-agent tool paths.

## Why This Matters

A pathology agent’s answer can be undermined by a bad link between an image and its location, even if the image itself looks plausible. Checking provenance can help prevent agents from treating evidence from the wrong region as evidence for the requested region. The study also shows that abstention is not the same as blocking: if a system passes unverifiable images through, some corrupted observations can still reach the agent.

Potential applications include:

- **Whole-slide image navigation:** Check that a magnified view returned during slide exploration matches the location requested by an agent.
- **Pathology question answering:** Screen image evidence before it is used to support an answer about a slide.
- **Quality control for slide-viewing software:** Detect spatial mismatches that could arise from coordinate conversion or incorrect associations between image content and metadata.
- **Auditing agent evidence trails:** Add provenance checks to tools that record which slide regions an agent viewed and used.

For industry, the work points to a practical middleware role between image tools and AI agents. The reported PathAgent bridge takes 0.5 seconds for verification after its descriptor bank is constructed, and that bank can be reused for later queries within the same context. Deployment would still need to account for abstentions, calibration, and weaker retrieval under source shift.

## Future Directions

- Improve candidate retrieval when moving between datasets, especially when the true source is not among the retrieved regions.
- Develop calibration methods that retain useful coverage when localization errors have long tails or differ across cohorts.
- Explore reliability rules that balance the stronger aggregate discrimination of winning-score confidence with the more uniform perturbation-level coverage of disjoint competition.
- Test verification in more visual-agent workflows and determine how different thresholds affect corruption exposure, abstention, and downstream answers.

## Target Audience

This paper is most useful for computer-vision and computational-pathology researchers, developers of whole-slide image tools, and teams building visual agents that navigate medical images. It will also interest researchers working on image matching, provenance, uncertainty, and selective prediction, as well as practitioners evaluating safeguards for AI systems that acquire and use visual evidence.

## Authors’ abstract

Visual agents navigate whole-slide images through magnified observations associated with claimed locations. However, a visually plausible observation does not necessarily originate from its claimed location, particularly across magnifications and in regions with similar tissue structures. We formulate cross-magnification provenance verification (CMPV) to evaluate whether visual evidence supports a claimed spatial association, recover the source when possible, and abstain…

[The full abstract on arXiv](https://arxiv.org/abs/2611.29150)

[Read the original paper](https://arxiv.org/abs/2611.29150)

## Related papers

- [MeCaMIL: Causality-Aware Multiple Instance Learning for Fair and Interpretable Whole Slide Image Diagnosis](https://ai.info/paper/mecamil-causality-aware-multiple-instance-learning-for-fair-and-2511.11004) 2025-11-14 · cs.CV · Also by Yiran Song
- [Sage-Med: Scaling Medical Multimodal Intelligence](https://ai.info/paper/sage-med-scaling-medical-multimodal-intelligence-2611.34575) 2026-11-25 · cs.CV · Also by Zhongxing Xu
- [SRED: Sparse Regional Evidence Distillation Across Magnifications in Whole-Slide Imaging](https://ai.info/paper/sred-sparse-regional-evidence-distillation-across-magnifications-in-2611.22189) 2026-11-17 · cs.CV · Key terms of the title in common
- [TouchScale: 500 Hours of Human Vision and Touch for Visual-Tactile Learning](https://ai.info/paper/touchscale-500-hours-of-human-vision-and-touch-for-visual-tactile-2610.10288) 2026-10-07 · cs.CV · Also by Yan Wang
- [DuoMatching: Joint-Marginal Distribution Matching for Few-Step Video Generation](https://ai.info/paper/duomatching-joint-marginal-distribution-matching-for-few-step-video-2610.03543) 2026-10-02 · cs.CV · Also by Yan Wang

---

Canonical: https://ai.info/paper/can-an-agent-trust-its-own-zoom-cross-magnification-provenance-2611.29150
