Autoregressive Pre-Training on Pixels and Texts
Not on the map. Why?
Abstract (arXiv)
The integration of visual and textual information represents a promising direction in the advancement of language models. In this paper, we explore the dual modality of language--both visual and textual--within an autoregressive framework, pre-trained on both document images and texts. Our method employs a multimodal training strategy, utilizing visual data through next patch prediction with a regression head and/or textual data through next token prediction with a classification head. We focus on understanding the interaction between these two modalities and their combined impact on model performance. Our extensive evaluation across a wide range of benchmarks shows that incorporating both visual and textual data significantly improves the performance of pixel-based language models. Remarkably, we find that a unidirectional pixel-based model trained solely on visual data can achieve comparable results to state-of-the-art bidirectional models on several language understanding tasks. This work uncovers the untapped potential of integrating visual and textual modalities for more effective language modeling. We release our code, data, and model checkpoints at urlhttps://github.com/ernie-research/pixelgpt.
Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 26 of its 39 references that are in the map. First posted on arXiv 16 Apr 2024.
Builds on
26 of 39 references.
References · 26
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2017Neural Discrete Representation Learningcited by 4,712
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
14 more
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 915
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2024Scalable Pre-training of Large Autoregressive Image Modelscited by 115
- 2022CLIPPO: Image-and-Language Understanding from Pixels Onlycited by 55
- 2021Hatemoji: A Test Suite and Adversarially-Generated Dataset for Benchmarking and Detecting Emoji-based Hatecited by 50
- 2022ERNIE-Code: Beyond English-Centric Cross-lingual Pretraining for Programming Languagescited by 29
- 2023Multilingual Pixel Representations for Translation and Effective Cross-lingual Transfercited by 22
- 2023Text Rendering Strategies for Pixel Language Modelscited by 22
- 2020Highway Transformer: Self-Gating Enhanced Self-Attentive Networkscited by 18
- 2024PIXAR: Auto-Regressive Language Modeling in Pixel Spacecited by 16
Built on by
Citing papers per year: 2024: 1; 2025: 8; 2026: 1.
10 papers.
- 2024Tokenization Falling Short: On Subword Robustness in Large Language Modelscited by 20
- 2025Multilingual Pretraining for Pixel Language Modelscited by 12
- 2025Beyond Text Compression: Evaluating Tokenizers Across Scalescited by 11
- 2025EvolKV: Evolutionary KV Cache Compression for LLM Inferencecited by 10
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallbackcited by 6
- 2025Understanding Subword Compositionality of Large Language Modelscited by 3
- 2025UTF-8 Plumbing: Byte-level Tokenizers Unavoidably Enable LLMs to Generate Ill-formed UTF-8cited by 3
- 2025Can Video Large Multimodal Models Think Like Doubters-or Double-Down: A Study on Defeasible Video Entailmentcited by 1
- 2025Enhancing Robustness of Autoregressive Language Models against Orthographic Attacks via Pixel-based Approachcited by 0
- 2026Does Visual Rendering Bypass Tokenization? Investigating Script-Tokenizer Misalignment in Pixel-Based Language Modelscited by 0
- 2026Does Visual Rendering Bypass Tokenization? Investigating Script-Tokenizer Misalignment in Pixel-Based Language Models12 Jan 2026
- 2025UTF-8 Plumbing: Byte-level Tokenizers Unavoidably Enable LLMs to Generate Ill-formed UTF-85 Nov 2025
- 2025EvolKV: Evolutionary KV Cache Compression for LLM Inference10 Sep 2025
- 2025Enhancing Robustness of Autoregressive Language Models against Orthographic Attacks via Pixel-based Approach28 Aug 2025
- 2025Understanding Subword Compositionality of Large Language Models25 Aug 2025
- 2025Can Video Large Multimodal Models Think Like Doubters-or Double-Down: A Study on Defeasible Video Entailment27 Jun 2025
- 2025Beyond Text Compression: Evaluating Tokenizers Across Scales3 Jun 2025
- 2025Multilingual Pretraining for Pixel Language Models27 May 2025
- 2025Overcoming Vocabulary Constraints with Pixel-level Fallback2 Apr 2025
- 2024Tokenization Falling Short: On Subword Robustness in Large Language Models17 Jun 2024