Papers › MMLongBench-Doc: Benchmarking Long-context Document Understanding with Visualizations

MMLongBench-Doc: Benchmarking Long-context Document Understanding with Visualizations

1 Jul 2024arXiv:2407.01523archive 2025-07-28

Yubo Ma, Yuhang Zang, Liangyu Chen, Meiqi Chen, Yizhu Jiao, Xinze Li, Xinyuan Lu, Ziyu Liu, Yan Ma, Xiaoyi Dong, Pan Zhang, Liangming Pan, Yu-Gang Jiang, Jiaqi Wang, Yixin Cao, Aixin Sun

Understanding documents with rich layouts and multi-modal components is a long-standing and practical task. Recent Large Vision-Language Models (LVLMs) have made remarkable strides in various tasks, particularly in single-page document understanding (DU). However, their abilities on long-context DU remain an open problem. This work presents MMLongBench-Doc, a long-context, multi-modal benchmark comprising 1,062 expert-annotated questions. Distinct from previous datasets, it is constructed upon 130 lengthy PDF-formatted documents with an average of 49.4 pages and 20,971 textual tokens. Towards comprehensive evaluation, answers to these questions rely on pieces of evidence from (1) different sources (text, image, chart, table, and layout structure) and (2) various locations (i.e. page number). Moreover, 33.2% of the questions are cross-page questions requiring evidence across multiple pages. 22.8% of the questions are designed to be unanswerable for detecting potential hallucinations. Experiments on 14 LVLMs demonstrate that long-context DU greatly challenges current models. Notably, the best-performing model, GPT-4o, achieves an F1 score of only 42.7%, while the second-best, GPT-4V, scores 31.4%. Furthermore, 12 LVLMs (all except GPT-4o and GPT-4V) even present worse performance than their LLM counterparts which are fed with lossy-parsed OCR documents. These results validate the necessity of future research toward more capable long-context LVLMs. Project Page: https://mayubo2333.github.io/MMLongBench-Doc

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.01523")

Code

Syntology Ran 4 of 11 code samples harvested from 1 repository linked to this paper; 7 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: community (archive-listed): 11 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mayubo2333/mmlongbench-doc mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 4 ran; 0 honoured the contract we drafted; 7 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
1ran · fixture could not drive it
2ran
7unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from mayubo2333/mmlongbench-doc. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_transform mayubo2333/mmlongbench-doc/models/internvl_chat.py community (archive-listed) ran Apache-2.0 (permissive) · 57e95166ade5f25c · report
dynamic_preprocess mayubo2333/mmlongbench-doc/models/internvl_chat.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · d610b5eabe0c9db1 · report
find_closest_aspect_ratio mayubo2333/mmlongbench-doc/models/internvl_chat.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · bd77f5f8067f18e9 · report
levenshtein_distance mayubo2333/mmlongbench-doc/eval/eval_score.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · 90a8e73fa6de72a4 · report
anls_compute mayubo2333/mmlongbench-doc/eval/eval_score.py community (archive-listed) unverified Apache-2.0 (permissive) · b9646cb1dd61841b · report
concat_images mayubo2333/mmlongbench-doc/run_lvlm.py community (archive-listed) unverified Apache-2.0 (permissive) · 18507a5fed3525e6 · report
encode_image_to_base64 mayubo2333/mmlongbench-doc/run_api.py community (archive-listed) unverified Apache-2.0 (permissive) · f9d80f7332b0b8a1 · report
get_response_concat mayubo2333/mmlongbench-doc/models/minicpm_llama3.py community (archive-listed) unverified Apache-2.0 (permissive) · 9677a8f9d8728dbb · report
init_model mayubo2333/mmlongbench-doc/models/internlm_xc2_4khd.py community (archive-listed) unverified Apache-2.0 (permissive) · 2e9e62e3fa0f5b69 · report
is_float_equal mayubo2333/mmlongbench-doc/eval/eval_score.py community (archive-listed) unverified Apache-2.0 (permissive) · 5e1f94bb8dee0afa · report
load_model mayubo2333/mmlongbench-doc/run_lvlm.py community (archive-listed) unverified Apache-2.0 (permissive) · 3c76aa11708f6da6 · report

Tasks

BenchmarkingOptical Character Recognition (OCR)document understanding

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections