Paper: 2607.09657 Authors: Yiming Zhang, Zhonghan Zhao, Wenwei Zhang, Haiteng Zhao, Tianyang Lin, Yunhua Zhou, Demin Song, Kuikun Liu, Haochen Ye, Haian Huang Categories: cs.CV, cs.AI, cs.MM

The Gap

The dominant paradigm in foundation model pretraining has been straightforward: collect massive text corpora, train large language models on them. This works well for prose, but it creates a blind spot. Many real-world knowledge sources — scientific papers, textbooks, web pages, slides — are inherently visual. They contain figures, equations in typeset form, tables with spatial layouts, diagrams with arrows showing relationships, and page structures that encode hierarchy. When current pipelines (OCR tools, HTML-to-text converters, PDF parsers) flatten these into plain text, they destroy information that was never meant to be serialized linearly.

Prior work has acknowledged this in narrow settings — some papers use OCR pipelines with layout awareness, others add visual features as auxiliary inputs. But nobody has systematically asked the simpler, more radical question: what if we just skip text extraction entirely and pretrain on the raw visual appearance of documents? This paper fills that gap by conducting a large-scale, controlled comparison of visual vs. text pretraining on the same underlying corpora, across multiple backbone architectures, with rigorous benchmarking.

                  Problem
                     |
     Documents carry visual knowledge
     (figures, layouts, equations)
                     |
                  Assumption
                     |
     "Convert to text first" is standard
     Visual information is discarded
                     |
                  Method
                     |
     Skip text extraction entirely
     Pretrain directly on visual documents
     Compare: visual vs text-only, same data
                     |
                  Evidence
                     |
     Multiple backbones + benchmarks
     Visual pretraining wins consistently
                     v
                Conclusion
                     |
     Visual pretraining is a scalable,
     superior pathway to language intelligence

The Increment

One sentence: Before this paper, everyone assumed you needed to extract text from documents to train language models; after this paper, we have strong evidence that the visual page itself is a better training signal than the text extracted from it.

Core Mechanism

The approach is conceptually clean. Instead of running documents through an OCR or text-extraction pipeline, the system renders each page as an image. This image — complete with fonts, figures, equations, table formatting, and spatial layout — becomes the raw input for pretraining. The model learns to predict masked or corrupted portions of this visual input in an unsupervised fashion, similar in spirit to masked language modeling but operating over visual tokens.

The authors explore several pretraining paradigms applied to these visual documents: masked image modeling, where patches of the rendered page are masked and the model learns to reconstruct them; contrastive objectives that pull together different views of the same document; and autoregressive visual prediction over spatial regions. The key design principle is that the model never sees extracted text during pretraining — it must learn everything from the visual structure of the page itself. This forces the model to develop representations that encode not just the characters on the page, but their visual context: what equation is nearby, what figure illustrates the point, how the layout organizes the argument.

The scaling study is what makes this convincing rather than just suggestive. They run controlled experiments across different backbone architectures (varying capacity) and different corpus sizes, always keeping the underlying documents identical between visual and text-only conditions. The visual pretraining wins at every scale, and the gap holds or widens as models get larger.

[Visual Pretraining Pipeline]

  Document (PDF, HTML, etc.)
         |
         v
  Render as image  -----> Full page image with
         |                figures, equations,
         |                layout, fonts intact
         v
  Visual tokenizer
         |
         v
  Patch / grid tokens
         |
         +-----> Masked visual modeling
         |       (predict masked patches)
         |
         +-----> Contrastive learning
         |       (same doc, different views)
         |
         +-----> Autoregressive visual
                 (predict next spatial region)
         |
         v
  Pretrained visual-language model
  (ready for downstream tasks)

Structural metaphor: Think of learning to cook from a recipe book versus learning by watching a master chef work in the kitchen. The recipe book (text extraction) tells you “add two tablespoons of butter” and “stir until golden.” But when you watch the chef (visual pretraining), you see *how the butter melts, what “golden” actually looks like, how the pan is tilted, what the texture is at each stage. You pick up spatial relationships, timing cues, and visual patterns that the recipe text never captured. The recipe didn’t lose information on purpose — it just couldn’t encode it. Similarly, text extraction from a scientific paper doesn’t deliberately throw away the bar chart or the chemical diagram — it just has no way to serialize that spatial, relational information into a linear sequence of tokens. The visual pretraining model is the chef’s apprentice who learns by watching, not reading.

Key Concepts

  • Visual tokenization of documents: Imagine taking a photograph of a page from a textbook. You then chop that photograph into a grid of small squares — maybe 16x16 pixels each. Each square becomes a “token,” just like a word is a token in text. Now the model sees a sequence of visual tokens instead of word tokens. The crucial difference: a visual token from the middle of a graph encodes spatial position, color, shape, and context all at once, whereas the word “Figure 3” in extracted text tells you almost nothing about what the figure actually contains. This is the foundational move — treating the rendered page as a first-class input modality, not a preprocessing artifact.

  • Information loss in text extraction: Take a concrete example. A chemistry paper contains a structural diagram of a molecule with bonds drawn as lines between atoms arranged in a hexagonal ring. An OCR pipeline might output “benzene ring” or even just garbled coordinates. A human reader looking at the original diagram instantly grasps the symmetry, the bond angles, the spatial relationships. The paper’s central claim is that this gap between what’s in the visual document and what survives text extraction is not a minor nuisance — it’s a systematic source of knowledge loss that scales with the complexity of the source material.

  • Same-corpus controlled comparison: This is the experimental design that makes the results trustworthy. It’s not that the visual pretraining model was trained on *more data or better data. It was trained on the same documents — the only difference is that one model saw the rendered pages and the other saw the extracted text. This controls for data quality, data scale, and data source, isolating the effect of the representation format itself.

Framework Shift

Before (mainstream approach):        After (this paper):
                                     
  Raw documents                      Raw documents
       |                                  |
       v                                  v
  Text extraction                  Render as images
  (OCR, HTML parse)                (keep visual fidelity)
       |                                  |
       v                                  v
  Plain text corpus                Visual document corpus
       |                                  |
       v                                  v
  Train LM on text tokens          Train model on visual tokens
       |                                  |
       v                                  v
  Language model                   Visual-language model
  (lost visual info)               (preserved visual info)

From treating text extraction as an unquestioned preprocessing step to treating the visual page as a superior training signal, the core shift is recognizing that the format of your training data is itself a design choice with measurable consequences.

Expert Assessment

Problem choice: This is a real gap, not manufactured. The assumption that “documents must be converted to text to train language models” has been so deeply ingrained that few people even questioned it. The paper correctly identifies that this assumption discards information systematically, not occasionally. It sits at the intersection of multimodal learning and NLP pretraining — a space that’s been mostly about vision-language alignment (e.g., CLIP-style models) rather than asking whether vision could *replace text as the pretraining modality for language tasks. Good instinct.

Method maturity: The method is more brute force than elegant. The core idea — just render and train on pixels — is almost aggressively simple. There’s nothing architecturally novel here; the contribution is the empirical finding, not a clever algorithm. One could argue that more sophisticated visual tokenization (learned patches, hierarchical representations) could improve things further, but the paper doesn’t explore this deeply. The simplicity is both a strength (easy to reproduce, clean comparison) and a weakness (we don’t know where the gains come from — is it the figures? the layout? the equations?).

Experimental integrity: The controlled comparison design is solid — same corpus, different representations, multiple backbones. This is the right way to isolate the variable. The benchmarks appear diverse enough to be convincing. One concern: the paper would benefit from more ablation on *which visual features drive the gains. Is it figures? Equations? Layout structure? Without this, the result is convincing but not fully actionable. Also, computational cost comparisons would strengthen the case — visual tokens are typically more expensive than text tokens, so “better at same scale” might hide a cost penalty.

Writing quality: The abstract is clean and the motivation is well-articulated. However, the paper could be sharper in its related work section — there’s a long line of document understanding work (LayoutLM, DocFormer, etc.) that uses visual features for downstream tasks. The paper needs to more crisply distinguish “visual features help on document tasks” (known) from “visual pretraining is better than text pretraining for general language intelligence” (novel claim). The discussion section, if rewritten to address computational tradeoffs and failure modes, would significantly elevate the work.

Verdict: weak accept — The controlled comparison is rigorous and the finding is surprising enough to matter, but the lack of mechanistic understanding (why does it work?) and computational analysis (at what cost?) keeps it from a strong accept.

Takeaways

Three things you can steal:

  1. Question your preprocessing pipeline: If your pipeline converts rich data to a simpler format before training, you may be losing more than you think. This applies beyond documents — any domain where source data has spatial, structural, or visual richness (medical images with annotations, architectural blueprints, music scores) could benefit from a similar audit.

  2. Same-corpus controlled comparison as a methodology: The experimental design itself is reusable. Whenever you want to argue that representation X is better than representation Y for training, keep the data identical and change only the representation. This sounds obvious but is rarely done this cleanly.

  3. The “render, don’t extract” paradigm for document-heavy NLP: If you’re working with scientific papers, legal documents, or any visually rich text source, consider rendering pages as images for pretraining rather than relying on text extraction. Even if you ultimately need text for downstream tasks, the pretraining representations may be richer if they were learned visually.

论文: 2607.09657 作者: Yiming Zhang, Zhonghan Zhao, Wenwei Zhang, Haiteng Zhao, Tianyang Lin, Yunhua Zhou, Demin Song, Kuikun Liu, Haochen Ye, Haian Huang 分类: cs.CV, cs.AI, cs.MM

缺口

大模型预训练的主流范式很清楚:收集大规模文本语料,训练语言模型。 这对纯文本内容效果不错,但存在一个盲区。 大量真实世界的知识载体——科学论文、教材、网页、幻灯片——本质上是视觉化的。 它们包含图表、排版公式、具有空间结构的表格、带箭头的示意图,以及编码层级关系的页面布局。 当现有流水线(OCR 工具、HTML 转文本工具、PDF 解析器)把这些压平成纯文本时,它们摧毁了那些原本就不该被线性序列化的信息。

此前的工作在小范围内有所触及——一些论文使用带版面感知的 OCR 流水线,另一些把视觉特征作为辅助输入。 但没有人系统地提出过一个更简单、更激进的问题:如果我们干脆跳过文本提取,直接在文档的原始视觉外观上做预训练呢? 本文填补了这个缺口:在完全相同的底层语料上,跨多个骨干架构和基准测试,对视觉预训练与纯文本预训练做了大规模的受控对比。

                  问题
                   |
     文档携带视觉知识
     (图表、版面、公式)
                   |
                  假设
                   |
     "先转文本" 是默认做法
     视觉信息被丢弃
                   |
                  方法
                   |
     跳过文本提取
     直接在视觉文档上预训练
     对比:同数据下的视觉 vs 纯文本
                   |
                  证据
                   |
     多骨干架构 + 多基准测试
     视觉预训练持续胜出
                   v
                结论
                   |
     视觉预训练是一条可扩展的、
     更优的语言智能训练路径

增量

一句话: 这篇论文之前,所有人都默认要先从文档中提取文本才能训练语言模型;这篇论文之后,我们有了强有力的证据表明,视觉页面本身就是比从中提取的文本更好的训练信号。

核心机制

方法在概念上很简洁。 系统不把文档过 OCR 或文本提取流水线,而是把每一页渲染成一张图像。 这张图像——包含字体、图表、公式、表格格式和空间布局——成为预训练的原始输入。 模型以无监督的方式学习预测被遮挡或损坏的部分,思路类似于掩码语言建模,但操作对象是视觉 token。

作者探索了多种施加于视觉文档的预训练范式:掩码图像建模(遮住页面的局部 patch,让模型重建)、对比学习目标(把同一文档的不同视图拉近)、以及在空间区域上的自回归视觉预测。 关键设计原则是模型在预训练期间完全看不到提取的文本——它必须从页面的视觉结构中学习一切。 这迫使模型发展出不仅编码页面上字符的表征,还编码它们的视觉上下文:附近有什么图表、哪张图在说明这个论点、版面如何组织论证。

真正让人信服的是规模实验。 他们在不同骨干架构(不同容量)和不同语料规模下运行受控实验,始终保证视觉和纯文本条件使用完全相同的底层文档。 视觉预训练在每个规模上都获胜,而且随着模型变大,差距保持或扩大。

[视觉预训练流水线]

  文档(PDF、HTML 等)
       |
       v
  渲染为图像 -----> 完整页面图像
       |            图表、公式、
       |            版面、字体完整保留
       v
  视觉分词器
       |
       v
  Patch / 网格 token
       |
       +-----> 掩码视觉建模
       |       (预测被遮挡的 patch)
       |
       +-----> 对比学习
       |       (同一文档,不同视图)
       |
       +-----> 自回归视觉预测
               (预测下一个空间区域)
       |
       v
  预训练好的视觉-语言模型
  (可用于下游任务)

核喻:想象两种学做菜的方式——一种是读菜谱,一种是在厨房里看大厨操作。 菜谱(文本提取)告诉你”加两勺黄油”和”翻炒至金黄色”。 但你看大厨操作时(视觉预训练),你能看到黄油怎么融化的、“金黄色”到底长什么样、锅是怎么倾斜的、每个阶段的质地是什么样的。 你获得了空间关系、时间节奏和视觉模式——这些都是菜谱文字永远无法编码的。 菜谱不是故意丢失信息,它只是没法编码那些东西。 同样,从科学论文中提取文本也不是故意丢弃柱状图或化学结构式——它只是没有能力把这些空间化的关系信息序列化成线性的 token 流。 视觉预训练模型就是那个通过看而不是读来学艺的学徒。

关键概念

  • 文档的视觉分词化: 想象给教材的一页拍一张照片。 然后把照片切成网格小方块——每个大约 16×16 像素。 每个方块变成一个”token”,就像文字中的一个词。 模型看到的是视觉 token 序列而非文字 token 序列。 关键区别在于:来自图表中间的一个视觉 token 同时编码了空间位置、颜色、形状和上下文, 而提取文本中的”图 3”这几个字几乎不包含图的实际内容。 这是基础性的一步——把渲染后的页面视为一等公民的输入模态,而不是预处理的副产物。

  • 文本提取中的信息损失: 举个具体例子。 一篇化学论文里有一个分子结构图,原子之间的键用线条画出来,排成六边形环。 OCR 流水线可能输出”苯环”甚至只是一串乱码坐标。 看原始图表的人类读者瞬间就理解了对称性、键角和空间关系。 本文的核心主张是:原始视觉文档与通过文本提取幸存下来的信息之间的差距不是小麻烦—— 它是一种随着源材料复杂度增长而系统性扩大的知识损失。

  • 同语料受控对比: 这是让结果可信的实验设计。 视觉预训练模型不是用更多数据或更好的数据训练的—— 它用的是完全相同的文档。 唯一的区别是一个模型看到的是渲染后的页面,另一个看到的是提取的文本。 这控制了数据质量、数据规模和数据来源,单独分离出表示格式本身的效果。

框架转变

之前(主流方法):                之后(本文方法):
                                     
  原始文档                        原始文档
    |                                |
    v                                v
  文本提取                        渲染为图像
  (OCR、HTML 解析)              (保持视觉保真度)
    |                                |
    v                                v
  纯文本语料                      视觉文档语料
    |                                |
    v                                v
  在文本 token 上训练 LM          在视觉 token 上训练模型
    |                                |
    v                                v
  语言模型                        视觉-语言模型
  (丢失视觉信息)                (保留视觉信息)

从把文本提取当作不容置疑的预处理步骤,到把视觉页面视为更优的训练信号, 核心转变是认识到训练数据的格式本身就是一个有可测量后果的设计选择。

专家评审

选题眼光: 这是真缺口,不是人造的。 “文档必须转成文本才能训练语言模型”这个假设根深蒂固,以至于很少有人质疑它。 论文正确地指出这种做法是系统性地丢弃信息,而非偶然现象。 它处于多模态学习和 NLP 预训练的交叉地带——此前这个空间主要是关于视觉-语言对齐(如 CLIP 式模型), 而不是问视觉能否替代文本作为语言任务的预训练模式。 直觉很好。

方法成熟度: 方法更偏蛮力而非巧劲。 核心想法——直接渲染然后在像素上训练——简单得近乎粗暴。 这里没有架构层面的新东西,贡献在于经验发现而非巧妙算法。 可以说更精细的视觉分词(学习式 patch、层次化表示)可能进一步提升效果, 但论文没有深入探索这一点。 简洁既是优点(容易复现、对比干净)也是缺点(不知道增益来自哪里——是图表?公式?还是版面结构?)。

实验诚意: 受控对比设计很扎实——同语料、不同表示、多骨干架构。 这是分离变量的正确方式。 基准测试看起来足够多样,有说服力。 一个隐忧:论文如果能更多地做消融实验会更好——到底哪种视觉特征驱动了增益? 是图表?公式?还是版面结构? 没有这些分析,结果令人信服但不完全可操作。 另外,计算成本的对比能加强论证——视觉 token 通常比文本 token 更贵, 所以”同等规模下更好”可能隐藏了成本惩罚。

写作功力: 摘要干净,动机阐述清晰。 但相关工作部分可以更锐利——有一长串文档理解工作(LayoutLM、DocFormer 等)在下游任务中使用视觉特征。 论文需要更清晰地区分”视觉特征对文档任务有帮助”(已知)和”视觉预训练对通用语言智能优于文本预训练”(新主张)。 如果重写讨论部分来回答计算权衡和失败模式,整篇论文会提升一个档次。

判决: 弱接收——受控对比很严格,发现足够惊人以至于值得关注, 但缺乏机理层面的理解(为什么有效?)和计算分析(代价多大?)使其无法达到强接收。

要点总结

三个可以偷走的东西:

  1. 审视你的预处理流水线: 如果你的流水线在训练前把丰富数据转成更简单的格式,你可能比想象中损失更多。 这不仅适用于文档——任何源数据具有空间、结构或视觉丰富性的领域(带标注的医学图像、建筑蓝图、乐谱)都值得做类似的审计。

  2. 同语料受控对比作为方法论: 实验设计本身可复用。 每当你想论证表示 X 比表示 Y 更适合训练时,保持数据相同、只改表示。 这听起来显而易见,但很少有人做到这么干净。

  3. “渲染而非提取”范式用于文档密集型 NLP: 如果你在处理科学论文、法律文件或任何视觉丰富的文本源, 可以考虑在预训练阶段把页面渲染成图像,而不是依赖文本提取。 即使最终下游任务需要文本,如果预训练表征是通过视觉学到的,它们可能更丰富。