SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.28344 · 2026

PIXELRAG: Web Screenshots Beat Text for Retrieval-Augmented Generation

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

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 17 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
StarTrail-org/PixelRAG canonical 7 of 17
FunctionStatusWhere it lives
chunk_article Ran StarTrail-org/PixelRAG/embed/src/pixelrag_embed/chunk.py
code served (permissive licence) · get_code("b22036d603d99f80")
is_turbo_capable Ran StarTrail-org/PixelRAG/render/src/pixelrag_render/chrome.py
code served (permissive licence) · get_code("b715526c11dee47d")
load_config Ran StarTrail-org/PixelRAG/index/src/pixelrag_index/config.py
code served (permissive licence) · get_code("3808495e0e59a85f")
load_redirect_ids Ran StarTrail-org/PixelRAG/embed/src/pixelrag_embed/embed.py
code served (permissive licence) · get_code("2ab17c0c56830ebe")
resolve_gpu_ids Ran StarTrail-org/PixelRAG/embed/src/pixelrag_embed/embed.py
code served (permissive licence) · get_code("1779c34e2997a4c1")
scan_chunks Ran StarTrail-org/PixelRAG/embed/src/pixelrag_embed/embed_cpu.py
code served (permissive licence) · get_code("5b2025f995944ab7")
scan_shard_tiles Ran StarTrail-org/PixelRAG/embed/src/pixelrag_embed/embed.py
code served (permissive licence) · get_code("f20f0862db1d38f6")
build Not yet run StarTrail-org/PixelRAG/index/src/pixelrag_index/pipelines.py
code served (permissive licence) · get_code("90cb9e46d89c0b72")
embed_items Not yet run StarTrail-org/PixelRAG/embed/src/pixelrag_embed/embed_cpu.py
code served (permissive licence) · get_code("109af72395dfc1ac")
find_chrome Not yet run StarTrail-org/PixelRAG/render/src/pixelrag_render/chrome.py
code served (permissive licence) · get_code("f1bf8363841985f7")
install_chrome Not yet run StarTrail-org/PixelRAG/render/src/pixelrag_render/chrome.py
code served (permissive licence) · get_code("f81907a97e8162fb")
make_backend Not yet run StarTrail-org/PixelRAG/serve/src/pixelrag_serve/backends.py
code served (permissive licence) · get_code("fda54478b7f4f8d6")
make_source Not yet run StarTrail-org/PixelRAG/index/src/pixelrag_index/config.py
code served (permissive licence) · get_code("6068835e4d016677")
process_shard Not yet run StarTrail-org/PixelRAG/embed/src/pixelrag_embed/chunk.py
code served (permissive licence) · get_code("e5a4024b5db1eb26")
render_pdf Not yet run StarTrail-org/PixelRAG/render/src/pixelrag_render/render.py
code served (permissive licence) · get_code("b08e3075622d6a92")
render_url Not yet run StarTrail-org/PixelRAG/render/src/pixelrag_render/render.py
code served (permissive licence) · get_code("c956ccedeb167bc2")
render_urls Not yet run StarTrail-org/PixelRAG/render/src/pixelrag_render/render.py
code served (permissive licence) · get_code("95bea8525e25eac4")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

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 3× 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. Our code is available at https://github.com/StarTrail-org/PixelRAG.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.28344")
get_code_for_paper("2606.28344")
have("2606.28344")

Connect an agent — have() is free.