SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.14295 · 2024

Focus Anywhere for Fine-grained Multi-page Document Understanding

arXiv · PDF · Open in the Atlas

Code that ran

8 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 6 failures of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.14295.json · badge: /api/ran/2405.14295.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Ucas-HaoranWei/Vary canonical (classifier label)
classifier basis: census
8 ran · 0 no recorded run
FunctionStatusWhere it lives
alb_wrapper Ran
ran; our contract draft was wrong, not the code
Ucas-HaoranWei/Vary/Vary-master/vary/model/plug/transforms.py
pointer only (licence: NONE) · get_code("f1cb6f078273e8af")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

autocontrast_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ucas-HaoranWei/Vary/Vary-master/vary/model/plug/blip_process.py
pointer only (licence: NONE) · get_code("293bca4e611ef1ce")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

equalize_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ucas-HaoranWei/Vary/Vary-master/vary/model/plug/blip_process.py
pointer only (licence: NONE) · get_code("f5c4d23cd0722d0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_rel_pos Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ucas-HaoranWei/Vary/Vary-master/vary/model/vision_encoder/sam.py
pointer only (licence: NONE) · get_code("733d7f0bedcb74c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

identity_func Ran
ran, violated the contract we drafted
Ucas-HaoranWei/Vary/Vary-master/vary/model/plug/blip_process.py
pointer only (licence: NONE); the stored copy get_code serves, from kesenzhao/uv-cot, is pointer only (licence: NONE) · get_code("1dd2ab205689d45b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_image Ran
ran, honoured the contract we drafted
Ucas-HaoranWei/Vary/Vary-master/vary/demo/run_opt.py
pointer only (licence: NONE) · get_code("9b3c1cb391672ccb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ucas-HaoranWei/Vary/Vary-master/vary/model/vision_encoder/sam.py
pointer only (licence: NONE); the stored copy get_code serves, from LeapLabTHU/EchoWorld, is pointer only (licence: NONE) · get_code("105fa08885dc36cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_unpartition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Ucas-HaoranWei/Vary/Vary-master/vary/model/vision_encoder/sam.py
pointer only (licence: NONE); the stored copy get_code serves, from yatengLG/ISAT_with_segment_anything, is pointer only (licence: NOASSERTION) · get_code("27be441cc8213e52")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Ucas-HaoranWei/Vary when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 6 the same month, 7 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_image 85 other papers
27 dated earlier, 3 the same month, 51 later, 4 same year, order not determinable
2112.05682 (2021-12)
Self-attention Does Not Need $O(n^2)$ Memory
2305.10973 (2023-05)
Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold
2307.10490 (2023-07)
Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs
and 82 more not named here
get_rel_pos 47 other papers
30 dated earlier, 2 the same month, 13 later, 2 same year, order not determinable · 5 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 44 more not named here
window_partition 47 other papers
29 dated earlier, 2 the same month, 14 later, 2 same year, order not determinable · 1 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 44 more not named here
window_unpartition 46 other papers
29 dated earlier, 2 the same month, 13 later, 2 same year, order not determinable · 1 only as an assembly brick
2304.02643 (2023-04)
Segment Anything
2304.06790 (2023-04)
Inpaint Anything: Segment Anything Meets Image Inpainting
2304.12306 (2023-04)
Segment Anything in Medical Images
and 43 more not named here
equalize_func 15 other papers
10 dated earlier, 1 the same month, 3 later, 1 same year, order not determinable
2001.07685 (2020-01)
FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
2207.05333 (2022-07)
IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training
and 12 more not named here
identity_func 15 other papers
10 dated earlier, 1 the same month, 3 later, 1 same year, order not determinable · 1 only as an assembly brick
2001.07685 (2020-01)
FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
2207.05333 (2022-07)
IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training
and 12 more not named here
autocontrast_func 12 other papers
9 dated earlier, 2 later, 1 same year, order not determinable
2001.07685 (2020-01)
FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
2207.05333 (2022-07)
IDEA: Increasing Text Diversity via Online Multi-Label Recognition for Vision-Language Pre-training
and 9 more not named here
alb_wrapper 1 other paper
1 dated earlier
2308.13418 (2023-08)
Nougat: Neural Optical Understanding for Academic Documents

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Modern LVLMs still struggle to achieve fine-grained document understanding, such as OCR/translation/caption for regions of interest to the user, tasks that require the context of the entire page, or even multiple pages. Accordingly, this paper proposes Fox, an effective pipeline, hybrid data, and tuning strategy, that catalyzes LVLMs to focus anywhere on single/multi-page documents. We introduce a novel task to boost the document understanding by making LVLMs focus attention on the document-level region, such as redefining full-page OCR as foreground focus. We employ multiple vision vocabularies to extract visual hybrid knowledge for interleaved document pages (e.g., a page containing a photo). Meanwhile, we render cross-vocabulary vision data as the catalyzer to achieve a full reaction of multiple visual vocabularies and in-document figure understanding. Further, without modifying the weights of multiple vision vocabularies, the above catalyzed fine-grained understanding capabilities can be efficiently tuned to multi-page documents, enabling the model to focus anywhere in both format-free and page-free manners. Besides, we build a benchmark including 9 fine-grained sub-tasks (e.g., region-level OCR/summary, color-guided OCR) to promote document analysis in the community. The experimental results verify the superiority of our model.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.14295")
get_code_for_paper("2405.14295")
have("2405.14295")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.14295.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.14295.svg)](https://syntology.ai/paper/2405.14295)

Connect an agent — have() is free.