DocMIDE: Learning Multi-Hop Implicit Derivation in Visually Rich Documents

Jeremy Cerwin Wang, Wai Kit Wong, Jeff Kai Tai Tang
9/21/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Real-world document processing systems rely on rigid, predefined schemas, yet critical target fields often lack direct visual counterparts on the page. Extracting these implicit values requires multi-hop derivation, such as aggregating sub-categories or reasoning over visual marks.

Show full abstract

While existing methods handle explicit text spans or simple implicit queries, they fail at multi-hop visual reasoning even after standard fine-tuning: models retrieve incorrect visual evidence, or retrieve it correctly and then skip the intermediate steps of the derivation. To address this, we introduce DocMIDE, a fine-tuning framework that trains compact vision-language models to retrieve visual evidence explicitly before deriving an answer. DocMIDE constrains generation to a plan-retrieve-derive structure and optimizes it with Group Relative Policy Optimization under a four-component, rule-based reward that scores output format, the retrieved evidence block, every intermediate derivation step, and the final value against a verified reference trace. On a 4,151-pair implicit extraction benchmark, DocMIDE raises accuracy from 70.8% to 95.9% on Qwen3.5-4B from only a small set of annotated examples, and transfers to a second backbone architecture. Supervised demonstrations alone do not close this gap at any budget we tested; rewarding the intermediate steps is what does.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026docmide,
  title  = {DocMIDE: Learning Multi-Hop Implicit Derivation in Visually Rich Documents},
  author = {Jeremy Cerwin Wang and Wai Kit Wong and Jeff Kai Tai Tang},
  year   = {2026},
  eprint = {2609.24092},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.24092v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.24092.svg)](https://codeofpaper.com/paper/2609.24092)

Discussion