Free · Daily brief + weekly playbookDaily 60-sec AI Voice Brief + Weekly Production AI Agent PlaybookGet the brief →

Berkeley team builds screenshot-based RAG: up to 18% better than text on hard tasks

Standard RAG, the document search that feeds a neural network, converts each page to text and loses tables. PixelRAG from Berkeley searches screenshots and shows the model the image. Asked how many shots on target Inter had in the 2010 Champions League final, text search answered "no data," while PixelRAG found the table and answered 7. On hard tasks it beats text search by up to 18%, so the approach is worth testing for documents with tables.

AI-processed from TG: @sergiobulaev (Сергей Булаев AI); edited by Hamidun News
Berkeley team builds screenshot-based RAG: up to 18% better than text on hard tasks
Source: TG: @sergiobulaev (Сергей Булаев AI). Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceTG: @sergiobulaev (Сергей Булаев AI) ↗
Editor-in-Chief
Key metric #1Lower image resolution cuts token usage by up to 3x
Index over Wikipedia8.28 million articles and 30 million screenshots
Key metric #3The pixelbrowse plugin for Claude Code reads tables from screenshots

Standard RAG is a scheme in which a neural network searches a document database for the relevant passages before answering. Almost everyone who has built one has hit the same problem: pages are first converted to clean text, and tables, charts, and the layout that carried meaning get lost along the way. A Berkeley team, whose authors include Matei Zaharia, the creator of Spark, proposed skipping that parsing step.

PixelRAG takes screenshots of pages, searches over the images, and shows the retrieved fragment to the model as an image. According to the project's paper, this search beats text-based search by up to 18% on hard tasks, and lowering the image resolution cuts the token count by up to three times.

How it works in practice

The classic pipeline takes HTML, strips out the text, splits it into chunks, and searches among them. If the number you need sat in a table, that cleanup often turns it into mush or drops it entirely. PixelRAG takes a different route: it builds the index from screenshots, and the model reads the answer directly from the retrieved image.

The authors demonstrate this in a video. The question: how many shots on target did Inter have in the 2010 Champions League final? Standard RAG parses the Wikipedia page, loses the table with the match statistics, and says there is no data. PixelRAG finds the section of the page containing that table and answers: 7.

The analogy is simple. If you ask an assistant to find a figure in a report, they don't first retype the whole report into a notebook. They flip through the pages and look at the right table.

What the numbers say

According to the paper, screenshots also beat text search on ordinary text questions that involve no tables or charts. On hard tasks the advantage reaches 18%. That is the maximum gain on difficult cases, not an average across all queries, so before adopting the approach, check the tables in the paper itself and repeat the comparison on your own data.

There are savings too. The obvious objection is that an image costs more for a model than text because it takes up more tokens. But if you reduce the image resolution, the token count drops by up to three times. The authors claim the cost can be cut considerably without losing readability.

The scale is substantial too: the team built an index over all of Wikipedia, 8.28 million articles and 30 million screenshots. So the system was not tested on a toy set of a hundred pages.

What a developer can do with this

The project is about six months old but still active: the repository has 11 thousand stars, and the latest commits landed last week. For those working in Claude Code, there is a ready-made plugin called pixelbrowse. Instead of downloading HTML, the agent takes a screenshot of the page and reads tables and charts "by eye." Installation takes two commands:

claude plugin marketplace add StarTrail-org/PixelRAG

claude plugin install pixelbrowse@pixelrag-plugins

The practical takeaway: if your RAG works with financial reports, sports statistics, technical documentation, or pages with complex layouts, run the same set of questions through text search and through screenshots. On plain text articles the gain may be modest, while on documents with tables the difference can be substantial.

Limitations

Images require a multimodal model that can read them. Tokens per image still cost more than text tokens, although lowering the resolution partly offsets this. This is not a reason to throw out text-based RAG. It is, however, a good reason to add screenshots as a second channel for pages where text parsing breaks the structure.

Story

Key Questions Answered

How it works in practice?

The classic pipeline takes HTML, strips out the text, splits it into chunks, and searches among them. If the number you need sat in a table, that cleanup often turns it into mush or drops it entirely. PixelRAG takes a different route: it builds the index from screenshots, and the model reads the answer directly from the retrieved image. The authors demonstrate this in a video. The question: how many shots on target did Inter have in the 2010 Champions League final?

What the numbers say?

According to the paper, screenshots also beat text search on ordinary text questions that involve no tables or charts. On hard tasks the advantage reaches 18%. That is the maximum gain on difficult cases, not an average across all queries, so before adopting the approach, check the tables in the paper itself and repeat the comparison on your own data. There are savings too. The obvious objection is that an image costs more for a model than text because it takes up more tokens.

What a developer can do with this?

The project is about six months old but still active: the repository has 11 thousand stars, and the latest commits landed last week. For those working in Claude Code, there is a ready-made plugin called pixelbrowse. Instead of downloading HTML, the agent takes a screenshot of the page and reads tables and charts "by eye." Installation takes two commands: claude plugin marketplace add StarTrail-org/PixelRAG claude plugin install pixelbrowse@pixelrag-plugins The practical takeaway: if your RAG…

ZK
Zhemal Khamidun — Head of AI at Alpina Digital · MIPT (academic supervisor of the Tech Entrepreneurship department). Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
Jemal Hamidun

Editor-in-chief · Cite this analysis

Jemal Hamidun

Head of AI at Alpina Digital · Academic Supervisor of the Tech Entrepreneurship Department at MIPT

Head of AI & CPO of AlpinaGPT at Alpina Digital, Academic Lead of Tech Entrepreneurship at MIPT. Founder of Hamidun News and Vibe Academy.

Ready-to-paste citation for journalists, blogs and Telegram channels

Source: Hamidun News — Berkeley team builds screenshot-based RAG: up to 18% better than text on hard tasks https://news.hamidun.com/en/news/18974/berkeley-team-builds-screenshot-based-rag-up-to-18-better-th

What do you think?
Loading comments…