Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PIXELRAG: Web Screenshots Beat Text for Retrieval-Augmented Generation

About

Augmenting large language models (LLMs) with retrieved web text has become a dominant paradigm, yet the web is not natively textual: existing systems depend on complex parsing pipelines that linearize HTML and discard layout, visual structure, and formatting. We introduce PixelRAG, a new retrieval-augmented method that represents websites in their native visual form and performs retrieval and reading entirely in pixel space, enabling an end-to-end architecture that eliminates text abstraction. PixelRAG is, to our knowledge, the first pipeline to operate over a full Wikipedia corpus in this form, scaling to a datastore of 30 million screenshot images with an efficient visual retrieval index. Built on an existing visual embedding model (i.e., Qwen3-VL-Embedding), PixelRAG further fine-tunes this model on screenshot data with carefully curated contrastive training data. Retrieved screenshots are then fed directly as pixel inputs to a VLM, without intermediate text conversion. PixelRAG consistently outperforms both no-retrieval and text-based RAG baselines, most surprisingly on widely studied text-centric tasks such as NQ and SimpleQA. It also achieves strong gains on multimodal open-domain QA (e.g., MMSearch), benchmarks over noisy news corpora (e.g., LiveVQA), and agentic benchmarks (e.g., MoNaCo), improving accuracy by up to 18.1% over text-based baselines. Finally, pixel representations enable a new efficiency lever for RAG through image compression, achieving up to 3x token cost reduction at lower resolutions while maintaining accuracy. Our results challenge the necessity of text representations in web retrieval, suggesting that web RAG can operate directly in the web's native visual form while improving both performance and efficiency.

Yichuan Wang, Zhifei Li, Zirui Wang, Paul Teiletche, Lesheng Jin, Matei Zaharia, Joseph E. Gonzalez, Sewon Min• 2026

Related benchmarks

TaskDatasetResultRank
Visual Question AnsweringLiveVQA
Accuracy66.1
151
Multimodal SearchMMSearch
Accuracy22.7
119
Multimodal Search-based Question AnsweringMMSearch
Accuracy21.6
59
Table-based Question AnsweringNQ-Tables
Accuracy25.8
10
Visual Question AnsweringEvQA
Accuracy40.8
10
Question AnsweringNatural Questions (NQ)
Accuracy27.1
5
Question AnsweringSimpleQA
Accuracy63.7
5
Question AnsweringNQ
Accuracy (Acc)31.1
5
Question AnsweringSimpleQA
Accuracy75.1
5
Showing 9 of 9 rows

Other info

Follow for update