cs.AINov 4, 2026

AmbiHTMLBench: A Benchmark for HTML-based Visually Rich Document parsing

Authors: Boyu Niu, Yingjie Xiong, Shurui Li, Linhan Pang, Yuntong Zhang, Han Wang, Hao Wu, Kai Zuo, 

Organizations: Shanghai Jiao Tong University · Theseus Labs · Xiaohongshu

Abstract

Traditional document parsing systems use Markdown as their output representation, which is effective for linear text but does not fully preserve fine-grained spatial structure, table geometry, visual hierarchy, or rendering semantics. We show that HTML is advantageous for heterogeneous and layout-sensitive documents whose representations must remain editable, inspectable, and reusable, and introduce AmbiHTMLBench to systematically study this setting. In this benchmark, given a real-world document, a model must recover executable HTML that preserves its content, organization, and visual appearance. The benchmark contains 1,115 diverse pages with structured annotations and evaluates predictions in two different ways: The objective protocol aligns ground-truth and predicted rendered blocks and measures table fidelity, page-level text error, and a two-dimensional layout consistency; a complementary reference-anchored protocol measures perceived fidelity by aligning LLM judges with human preferences. Across ten primary multimodal systems, the best objective score is 0.8092, while the subjective winner is different, demonstrating that automatic decomposition and human-perceived fidelity capture complementary properties. We further fine-tune a small-parameter expert model and find that task-specific adaptation yields good performance on document-to-HTML reconstruction task. These results position AmbiHTMLBench as a diagnostic testbed for building smarter and more logical document parsing systems.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Dr. DocBench: A Comprehensive Benchmark for Expert-Level and Difficult Document Parsing

    May 31, 2026Minglai Yang, Xinyan Velocity Yu, Pengyuan Li +22VLM EvaluationDocument Parsing Benchmarks

  2. How Far Is Document Parsing from Solved? PureDocBench: A Source-Traceable Benchmark across Clean, Degraded, and Real-World Settings

    May 8, 2026Zhiheng Li, Zongyang Ma, Jiaxian Chen +12Document Parsing BenchmarksDocument Parsing

  3. MPDocBench-Parse: Benchmarking Practical Multi-page Document Parsing

    May 21, 2026Bangbang Zhou, Hangdi Xing, Yifan Chen +8Document Parsing BenchmarksDocument Parsing