Scalable Visual Pretraining for Language Intelligence

Yiming Zhang, Zhonghan Zhao, Wenwei Zhang, Haiteng Zhao, Tianyang Lin, Huanze Tang, Yunhua Zhou, Demin Song, Kuikun Liu, Haochen Ye, Haian Huang, Yuzhe Gu, Haijun Lv, Qipeng Guo, Bin Liu, Gaoang Wang, Kai ChenarXiv 2026

TL;DR

Visual Pretraining (VP) challenges the long-held assumption that language models must be trained purely on text strings. By training foundation models directly on raw document images without text extraction or paired image-text data, VP preserves crucial layouts, equations, and diagrams. This approach consistently outperforms text-only pretraining on complex scientific reasoning benchmarks while consuming only 25% of the token budget.

What Problem Does This Paper Address?

When we prepare data for large language models (LLMs), our standard pipeline typically strips away the visual world. Textbooks, scientific papers, and financial reports are parsed, OCR-ed, and flattened into a linear sequence of plain text tokens.

This process is inherently lossy. It discards page layouts, geometric constraints, tables, and typeset mathematical formulas—structural cues that human beings routinely use to facilitate cognitive reasoning. The authors of this paper ask a fundamental question: Can language models acquire stronger reasoning capabilities by bypassing text extraction entirely and learning directly from raw visual documents?

Methods

The authors introduce Visual Pretraining (VP), an unsupervised framework that integrates raw document pages directly into an autoregressive language model's predictive pipeline.

The Visual Pretraining (VP) pathway vs. traditional Text Pretraining (TP)

The pipeline operates as follows:

  1. Sparse Document Representation: A document page is rendered as an image and passed through a frozen Vision Transformer (ViT) encoder. To save context length, blank background regions (like margins) are filtered out using patch-level pixel variance and luminance. The remaining foreground patches are ordered via a standard raster scan.
  2. Projection: These foreground features are mapped into the LLM’s hidden space using a trainable linear projector.
  3. Next Visual Latent Prediction: Instead of predicting discrete text tokens, the LLM is trained to predict the continuous visual latent feature of the next foreground patch. This is optimized using an autoregressive contrastive loss (InfoNCE) against in-batch negatives.
  4. Joint Optimization: The final objective combines standard text next-token prediction with this next-visual-latent prediction: $$\mathcal{L} = \lambda_{\text{text}}\mathcal{L}_{\text{CE}} + \lambda_{\text{vis}}\mathcal{L}_{\text{VP}}$$

Importantly, the main architecture is decoder-free. It does not attempt to reconstruct raw pixels, which drastically reduces computational overhead compared to generative pixel-reconstruction methods.

Datasets

The models were evaluated across a diverse suite of text-only and multimodal benchmarks:

  • Text-Only Reasoning: MMLU-Pro, GPQA Diamond, AIME 2025, and HLE (Humanity's Last Exam).
  • Multimodal Reasoning: MMMU-Pro, SFE, ChartQAPro, and MathVista.

The underlying pretraining corpus consisted of a standard text corpus interleaved with a matched scientific-PDF corpus. For the text-pretraining baseline (TP), PDFs were parsed into text using MinerU2.5; for VP, they were left as rendered images.

Key Insights and Ideas

  • Emergent Cross-Modal Alignment: Remarkably, even without explicit image-text paired supervision, VP forces visual and textual document embeddings to collapse into a shared, highly compatible representation space (as shown in the t-SNE projections in Figure 1). Centroid separation dropped by 60%, and paired cosine similarity rose from 0.631 to 0.907.
  • Extreme Data Efficiency: Visual representations compress document information far better than text strings. The same PDF corpus yielded roughly 80 billion text tokens but only 20 billion visual tokens. Despite processing 75% fewer tokens, the visually pretrained models achieved superior downstream performance.
  • Gains Correlate with Visual Density: The performance advantage of VP over text pretraining scales directly with the "visual structure density" of the pages. On text-dominant pages, VP and text pretraining perform similarly. On pages dense with figures, equations, and tables, VP provides massive improvements.
VP scaling dynamics and performance gains across different visual structure densities

Key Results

The authors validated VP across multiple state-of-the-art backbones, including Qwen 3.5, Qwen 3, Llama 3.2 Vision, and Llama 3.1.

  • Scientific Reasoning Boost: VP consistently beat text-only pretraining. For example, on Qwen 3.5, VP improved GPQA Diamond scores from 76.24 to 79.29 and MMLU-Pro scores by up to 2.1 points.
  • Superior Scaling Efficiency: As training progressed, VP achieved 1.27× normalized gains on MMLU-Pro, 2.02× on GPQA, and 2.88× on AIME-25 compared to the text baseline at equivalent data scales.
  • Multimodal Transfer: Despite being unsupervised, VP significantly boosted performance on multimodal benchmarks, yielding a +5.4 point jump on ChartQAPro for both the Qwen and Llama vision backbones.
  • Parallel Attention Patterns: Qualitative analysis of the model's attention maps showed that visual-token reasoning naturally mirrors text-based reasoning, focusing heavily on question constraints and intermediate mathematical steps.
Attention maps showing that visual-token reasoning targets the same semantic evidence as text reasoning

Limitations and Future Work

  • Dependency on Text Grounding: VP is currently framed as a complement to text pretraining (continued pretraining), rather than a fully independent visual-first language learner.
  • Decoding Coordination: Future work is required to better coordinate and schedule visual-latent decoding alongside standard text decoding during generation.
  • Domain Specificity: The study focused heavily on high-knowledge-density scientific PDFs where layout and text are tightly coupled. Whether this exact autoregressive next-latent objective scales effectively to open-domain natural images or videos remains an open question.

Summary updated

BibTeX
@misc{zhang2026scalable,
  author = {Yiming Zhang and Zhonghan Zhao and Wenwei Zhang and Haiteng Zhao and Tianyang Lin and Huanze Tang and Yunhua Zhou and Demin Song and Kuikun Liu and Haochen Ye and Haian Huang and Yuzhe Gu and Haijun Lv and Qipeng Guo and Bin Liu and Gaoang Wang and Kai Chen},
  title = {{Scalable Visual Pretraining for Language Intelligence}},
  year = {2026},
  eprint = {2607.09657},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.09657},
}
Figure