atlas

Research map / Vision-language and multimodal / Multimodal LLMs

Adaptive Markup Language Generation for Contextually-Grounded Visual Document Understanding

CVPR 2025 · Vision-language and multimodal › Multimodal LLMs · approach: Interleaved image-text generation with MLLMs · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DocMark, an InternVL-based MLLM pretrained on 3.8M markup-generation pairs (DocMark-Pile) and fine-tuned with two-round chain-of-thought markup-context generation on 624k DocMark-Instruct examples, reporting gains over InternVL2 and other MLLMs on document VQA benchmarks.

Problem

Visual document understanding with MLLMs suffers from short-answer fine-tuning data that causes hallucinations and weak modeling of layout and spatial relations across diverse document types.

Approach

Pretrain the MLLM to convert document images into markup languages (Markdown, LaTeX, HTML, JSON, TikZ, plain text), then fine-tune with a two-round CoT where the model first generates a markup-formatted context and then answers, with the CoT data built by having ChatGPT-3.5 extract answer-relevant context from ground-truth markup.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DocMark-2B instead of InternVL2-2BInternVL2-2B · AI2Daccuracy: 74.2 -> 82.5Helped
Use DocMark-8B instead of InternVL2-8BInternVL2-8B · ChartQAaccuracy: 82.2 -> 84.2Helped
Use DocMark-8B instead of InternVL2-8BInternVL2-8B · DocVQA_valaccuracy: 90.8 -> 89.8Hurt
Use DocMark-8B instead of InternVL2-8BInternVL2-8B · OCRBenchscore: 794 -> 823Helped
Add DocMark-CoT fine-tuning (ablation)Qwen2-VL-2B · ChartQAaccuracy: 69.3 -> 77.1Helped
Add DocMark-CoT fine-tuning (ablation)Qwen2-VL-2B · DocVQAaccuracy: 88.2 -> 89.8Helped
Add DocMark-CoT fine-tuning (ablation)LLaVA-OneVision-7B · ChartQAaccuracy: 80.4 -> 83.4Helped
Add DocMark-CoT fine-tuning (ablation)LLaVA-OneVision-7B · MathVscore: 22.0 -> 23.2Helped
Use CoT prompting without DocMark training (ablation)Qwen2-VL-2B · ChartQAaccuracy: 73.5 -> 55.5Hurt
Use CoT prompting without DocMark training (ablation)LLaVA-OneVision-7B · DocVQAaccuracy: 88.7 -> 87.2Hurt
Pretrain on DocMark-Pile and fine-tune on DocMark-Instruct (ablation)DocMark-2B · Four document-related QA datasetsaccuracyHelped

Surprising findings

Experimental setup

Datasets: DocMark-Pile DocMark-Instruct LLaVA-558K TextVQA DocVQA InfographicsVQA ChartQA DVQA XFUND Geo170K ShareGPT4V PubTabNet

Benchmarks: TextVQA DocVQA InfoVQA ChartQA AI2D OCRBench VisualWebBench WebQA MathVision HME100K ChartQA-SE FUNSD SROIE

Metrics: accuracy AP@strict AP@slight AP@high image and code similarity average

Baselines: InternVL2-2B InternVL2-8B MiniCPM-V-2 Vary-toy Monkey TextMonkey DocOwl2 CogAgent Qwen2-VL-2B LLaVA-OneVision-7B OneChart Nougat

Builds on: InternVL2 InternViT LLaVA-OneVision

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy