DR Pixel: Page-Native Deep Research with Vision-Language Models
arXiv ↗PDF ↗Paper ↗Website ↗Code ↗
Read first: ColPali: Efficient Document Retrieval with Vision Language Models · Deep research is a retrieval problem · LoRA: Low-Rank Adaptation of Large Language Models
TL;DR. DR Pixel keeps the usual ReAct deep-research loop (think, search, read, repeat, answer) but changes what a “document” is. Every PDF is rendered page by page. A VLM embedder (Qwen3-VL-Embedding-8B) indexes the 1,062,153 page images of 99,055 papers, each search returns the top-3 pages as images, and the agent is itself a VLM that reads them. The retrieval and reading path at inference never OCRs anything; benchmark construction, the OCR baselines and the text-budget comparison use MinerU parsing (App. A.1, B.2). With no training, this beats OCR text and text+figure pipelines for GPT-5.4, Gemini-3.5-Flash and Qwen3.6-27B, and uses 20–30% fewer searches. To train the open 27B model, the paper proposes counterfactual credit reweighting: SFT on GPT-5.4 trajectories where each reasoning and search step is weighted by how much it changes the base model’s log-likelihood of the gold answer. On the new DRPixelBench (500 questions), accuracy goes from 40.1 to 52.1 (GPT-5.4: 51.9), and page hit goes from 36.3 to 52.0, with fewer searches than vanilla SFT (8.9 vs 14.0).
Why it matters for an IR reader. ColPali showed that page screenshots are good retrieval units for single-shot RAG. DR Pixel asks whether that survives multi-step search over a million pages, where the agent writes its own queries and must keep pages in context across 10–20 steps. The second contribution is a cheap answer to an agent-training question that IR people rarely see framed this way: which steps of a demonstrated search session were actually useful? The credit is a leave-one-out (or marginal-gain) estimate on the gold answer, very close in spirit to measuring a document’s utility by removing it from the RAG context.
The setting
Section titled “The setting”The agent is the standard ReAct formulation. At turn it samples a thought and an action, , where an action is a search query or the final answer. A search returns , and the history after searches is
Everything stays in context. Let be the number of searches; is the complete search history and the terminal answer is . (The paper defines the trajectory this way in Eq. 1 but writes Eq. 3 and Eq. 5 with , summing searches only to and calling the answer; this page uses consistently.) The paper’s point is that only and change between systems. It builds three corpora from the same PDFs (App. A.1, MinerU-2.5-Pro for parsing):
| setting | unit in | retriever | per search | what is lost |
|---|---|---|---|---|
| OCR text | 256-word chunk, title-prefixed; tables as HTML, equations as LaTeX | Qwen3-Embedding-8B | 5 | figures reduced to captions; parse errors |
| OCR text + figure | the above, plus a second tool over cropped figures | + Qwen3-VL-Embedding-8B | 5 / 3 | link between a figure and the text explaining it |
| DR Pixel | the full page rendered at 150 dpi | Qwen3-VL-Embedding-8B | 3 | nothing is parsed; resolution is the only knob |
is chosen so that the text the agent receives is comparable: OCR of three pages gives about 1,359 words per search, against 1,257 for five chunks (1.08×, Table 13). The retriever embeds each page into one fixed-size vector, so this is single-vector dense retrieval over images, not ColPali-style late interaction.
How hard is retrieval? Issuing the question directly to the page index gives R@5 = 26.8, R@30 = 41.0 and R@100 = 48.8 (Table 12). The agent sees roughly pages per question, so R@30 of the raw question is a rough budget reference for session page hit, not a controlled comparison: call counts vary, pages can repeat and queries are adaptive. The untrained Qwen agent (36.3) is below that reference, while the trained one (52.0) is well above it. Training improves session retrieval and stopping behaviour; these comparisons do not isolate query formulation as the sole cause.
Key idea: counterfactual credit reweighting
Section titled “Key idea: counterfactual credit reweighting”The problem with plain SFT. Teacher trajectories are filtered for correct answers, but they still contain off-topic searches, repeated searches and reasoning that does not lead anywhere. Uniform SFT imitates all of it. The trajectories are also heavy-tailed: the mean is 5.1 searches, but if every search step contributes equally, the length-biased mean is (actual token-level weighting also depends on message lengths and masks). Trajectories with at least ten searches are 15% of the data and 42% of the steps (App. C.1). Long trajectories are mostly long because of searches made after the evidence was found, so uniform SFT teaches the model not to stop.
Step credit. With a frozen base policy and gold answer , define how strongly a history supports the answer:
Reasoning steps and search steps get different counterfactuals (Eq. 3):
- is leave-one-out on the full trajectory: does deleting this thought make the gold answer less likely, given all the evidence?
- is a marginal gain in trajectory order: did adding the entire block (thought, query and returned pages) raise the gold likelihood relative to just before? A search that re-fetches evidence already in context gains roughly nothing; one that returns distractors can lower the likelihood and get negative credit (Fig. 3’s first search). Neither is an isolated causal estimate of a page’s utility: moves the thought, the query and the pages together.
The two counterfactuals intervene differently (example with ):
full history H_3 = [τ1 a1 P1 | τ2 a2 P2 | τ3 a3 P3] (Pi = pages returned)
thought credit, delete one thought from the full history: c^τ_2 = ℓ([τ1 a1 P1 | τ2 a2 P2 | τ3 a3 P3]) − ℓ([τ1 a1 P1 | ·· a2 P2 | τ3 a3 P3]) └ only τ2 removed; all pages stay
search credit, add one whole block on top of the prefix: c^a_2 = ℓ([τ1 a1 P1 | τ2 a2 P2]) − ℓ([τ1 a1 P1]) └ thought + query + pages added togetherEach costs two forward passes of per step, computed offline.
From credit to weight (Eq. 4). Raw log-likelihood differences are unbounded and larger on hard questions, so they are turned into ranks, separately for each step type , over the whole training set:
Here is the -th smallest of positive credits. The mean of over is , so surviving steps stay at SFT scale.
Coupling the channels. A thought produces the query that follows it, so the two weights are tied. A reasoning step is masked if its action was masked, or if its likelihood gain (how much it raises the log-likelihood of its own action compared with an empty thought) is below the training-set median. A thought that passes both checks but had non-positive credit is unmasked and given , the median positive reasoning weight. Call the result .
The loss (Eq. 5) is ordinary token-level SFT with per-message weights and a constant on the answer:
Retrieved page tokens are never in the loss. The optimisation stage has ordinary weighted-SFT cost; the complete method additionally pays for the offline credit computation.
A small example. Suppose a trajectory makes two searches. The question alone gives . Search 1 returns the right paper but the wrong page: , so . Search 2 repeats a similar query and returns the same pages: , so and . Its preceding thought is then masked too, because its action was masked. Uniform SFT would have trained the model to issue that second search; reweighted SFT trains only on the first one and on the answer, weighted 1.5.
What the credit actually masks (App. C.5). It removes 62.6% of reasoning steps but only 24.5% of search steps. Search masking grows with length: 0.2% on one-search trajectories, 40.2% on trajectories that hit the budget. The first search that returns a page the answer later cites is masked only 2.5% of the time and carries the highest surviving weight (1.25, against 0.7–0.8 a few steps later). Nobody tells the method where the evidence arrived; the pattern emerges from the likelihoods. At inference this shows up as stopping: per-step stop probability 10.2% for DR Pixel, 9.4% for the base model, 8.9% for GPT-5.4, and 4.4% for vanilla SFT.
What the numbers say
Section titled “What the numbers say”Inference only (Table 2, DRPixelBench, accuracy / calls per question).
| retrieval | GPT-5.4 | Gemini-3.5-Flash | Qwen3.6-27B |
|---|---|---|---|
| OCR text | 43.5 / 12.4 | 40.0 / 17.5 | 33.2 / 11.0 |
| OCR text + figure | 46.3 / 10.8+3.0 | 41.3 / 16.7+1.0 | 34.9 / 10.9+0.6 |
| page-native | 51.9 / 9.2 | 46.4 / 13.7 | 40.1 / 8.8 |
By evidence type (Fig. 2, GPT-5.4), the gain sits on table and figure questions; text and equation questions are on par. Under page-native retrieval, Qwen trails GPT-5.4 by 11.8 points. Table 3 splits that gap: 9.4 points lower page hit, 5.3% duplicate queries (21.6% of trajectories repeat a query), and much worse use of pages found earlier in the trajectory (−12.3 accuracy given the page, against −5.1 when the page came from the last search).
Training (Tables 4 and 15, DRPixelBench, averaged over three runs for the main rows).
| model (Qwen3.6-27B unless noted) | searches/q | page hit | acc | page | acc |
|---|---|---|---|---|
| untrained | 8.8 | 36.3 | 63.9 | 40.1 |
| vanilla SFT | 14.0 | 53.6 | 67.2 | 49.0 |
| + answer weight λ | 11.6 | 54.9 | 67.2 | 48.9 |
| + counterfactual credit | 11.0 | 51.9 | 68.7 | 50.9 |
| DR Pixel (+ cross-channel) | 8.9 | 52.0 | 67.7 | 52.1 |
| GPT-5.4 | 9.2 | 45.7 | 71.2 | 51.9 |
| Gemini-3.5-Flash | 13.7 | 35.0 | 75.7 | 46.4 |
Training mostly fixes retrieval: the trained model finds the gold page 6.3 points more often than GPT-5.4 but still reads it worse (67.7 vs 71.2). The remaining reading deficit is in pages carried from an earlier search (66.9 vs 69.7); for pages from the last search it now leads (84.2 vs 74.4, Table 14). Repeated queries fall from 5.3% to 0.1%.
Transfer. On three external scientific-QA benchmarks that share the corpus (Table 5), accuracy rises by 14.0 (IRPAPERS, 65.4 → 79.4), 14.4 (M3SciQA, 49.8 → 64.2) and 9.6 (AirQA, 42.7 → 52.3). The trained model beats GPT-5.4 on IRPAPERS accuracy but trails it on M3SciQA (64.2 vs 67.5) and AirQA (52.3 vs 56.6). It searches more on M3SciQA (7.8 → 9.4), where the base model’s document-hit gap was largest, and less elsewhere. On out-of-domain ViDoRe-V3 (Table 6), training adds 4.1 points with either page retrieval (66.7 → 70.8) or text retrieval (65.7 → 69.8), although the teacher trajectories were page-only. The page-retrieval result (70.8) is 1.8 below the published page oracle (72.6) and level with the text oracle (70.6).
Ablations (§5.3, App. C.4).
- Corpus size. Going from 20K to 99K papers, page hit drops 8.0 points for the trained model and 12.5 for GPT-5.4, so the retrieval lead grows from 1.8 to 6.3.
- Resolution. Capping pages at 1.05 MP (about half native) cuts input tokens by 30–48% and costs 1.0–3.8 points. Even then, page retrieval beats OCR text by 2.7–7.4 points with 22–33% fewer input tokens.
- Question type. 2,000 Text trajectories give 46.0 (5.0 searches: the model stops too early); 2,000 Visual trajectories give 50.2.
- Weight normalisation. Matching the mean weight to SFT costs reading accuracy (68.7 → 63.1 given the page). Equalising each trajectory’s total weight is about 5 points worse. Ranking within a trajectory (50.1) or within a question (48.6) instead of globally (50.9) does not help.
Caveats
Section titled “Caveats”- The benchmark is built to need vision. Questions are drafted by Gemini-3.5-Flash from enriched abstracts and must pass 14 filters; only 2.33% of drafts survive, and humans then reject 51.7% of the 1,036 reviewed. One filter keeps figure/table questions only if a text-only solver over the body text fails. That is the right filter for a benchmark about visual evidence, but it means the OCR-vs-page gap on DRPixelBench is not an estimate of the gap on a random question about a random PDF.
- Same distribution, same teacher. Training questions come from the same pipeline (disjoint papers), and GPT-5.4 is both the teacher and the comparator. “Matches GPT-5.4” is 52.1 vs 51.9 on 500 questions, inside one standard error. The external benchmarks, where the trained model is mixed against GPT-5.4, are the fairer test.
- The oracle is not the same reader. The ViDoRe-V3 oracle is the benchmark’s published upper bound with Gemini 3 Pro as generator. “Within 1.8 points” compares a 27B agent searching with a stronger model given the gold pages. Also, only 1.7% of ViDoRe-V3 questions really need visual content, which is why page and text retrieval score so close there.
- The credit needs a gold answer. It is a privileged-information signal computed under a frozen base model and only on correct trajectories. It does not apply to open-ended reports without a short gold answer, and the base model’s likelihood can be a noisy judge of whether a page “supports” an answer, especially for figures.
- Single gold page. Every question has exactly one gold page, so page hit is a binary session-recall metric. Multi-page or cross-paper evidence is not measured, and another page that happens to support the answer does not count as a hit.
- One embedder. All results use Qwen3-VL-Embedding-8B with one vector per page. Whether multi-vector page retrieval, rerankers or hybrid lexical search change the OCR-vs-page conclusion is not tested.
Connections
Section titled “Connections”- ColPali is the retrieval prior: it showed that page screenshots beat OCR+text-embedding pipelines in single-shot retrieval. DR Pixel carries the idea into multi-step agents but uses a single-vector VLM embedder, trading ColPali’s patch-level matching for a far smaller index. pplx-embed-v2-late is the multi-vector, multimodal alternative and reports on the same ViDoRe-V3 benchmark.
- Deep research is a retrieval problem separates one-shot retrieval, session recall and end-to-end accuracy. DR Pixel’s page hit is session recall, Table 12 is one-shot recall, and accuracy given the page is the reading layer; the training gain sits mainly in the session-recall layer.
- DR Tulu also trains an open deep-research agent but with RL and evolving rubric rewards for long-form answers. DR Pixel stays in SFT and gets step-level signal from a gold short answer instead of a judge; both use privileged information (rubrics from search, or the gold answer) that the policy does not have.
- Search-R1 is the outcome-reward RL baseline: one reward per rollout, retrieved tokens masked from the loss. DR Pixel masks observations the same way but assigns credit per step without RL. Compare with process rewards in Let’s Verify Step by Step and outcome vs process supervision: the counterfactual credit is a gold-answer-supervised process signal that needs no manual step labels, used to weight imitation rather than as a reward.
- WebThinker also pushes for fewer tool calls, but through DPO preference rules on whole trajectories; DR Pixel does it by masking individual redundant searches.
- Contextual embeddings beyond the gold chunk argues that the retrieval unit and its context determine whether evidence is findable; DR Pixel’s answer is to make the whole page the unit.
- STORM and OpenScholar are text-space research systems over the web and scientific literature, the kind of OCR-then-retrieve pipeline DR Pixel argues against.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
A GPT-5.4 teacher trajectory has three searches, then the answer. Under the frozen base model, the gold-answer log-likelihood is −9.0 for the question alone, −9.6 after search 1, −6.1 after search 2 and −2.3 after search 3. Across the training set the other surviving positive search credits are 0.4, 1.2 and 5.0. Compute each search credit and its rank weight, and check the mean surviving weight. Then reasoning step τ1 has credit −0.2 and τ3 has credit −0.1 but passes the likelihood-gain check. What weight does each reasoning step end up with, and what weight do the answer tokens get? Use λ = 1.5 and denote the median positive reasoning weight by w̄. For τ3, assume its action is unmasked and its action-likelihood gain exceeds the training-set median.
What a strong answer covers
- Search credits c^a_i = ℓ(H_i) − ℓ(H_{i−1}): search 1 = −9.6 − (−9.0) = −0.6, search 2 = −6.1 − (−9.6) = +3.5, search 3 = −2.3 − (−6.1) = +3.8.
- Search 1 is non-positive, so w = 0 (adding the complete first block lowered the frozen model's gold-answer likelihood). The surviving pool sorted is 0.4, 1.2, 3.5, 3.8, 5.0 (n = 5), so search 2 has rank 3/5 and w = 2·0.6 = 1.2; search 3 has rank 4/5 and w = 1.6.
- Mean of 2k/n over k = 1…n is (n+1)/n: here 6/5 = 1.2, and it tends to 1 for a large training set, which is why the factor 2 keeps the surviving steps at roughly SFT scale.
- τ1 is masked twice over: its credit is negative and its action (search 1) was masked, so the cross-channel rule keeps it at 0.
- τ3 has negative credit, but its query has positive credit and its likelihood gain is above the median, so it is unmasked and given w̄, the median positive reasoning weight. The final-answer tokens get the constant λ = 1.5, and observation (page) tokens get no loss.
- Derive / compute
Vanilla SFT and the reweighted model see the same 2,500 trajectories, yet vanilla SFT makes 14.0 searches per question and DR Pixel 8.9. Averaged over the first twelve searches, they stop with per-step probability 4.4% and 10.2%. Treat stopping as a constant hazard: compute the expected trajectory length and the chance of hitting the 20-call budget, and compare with the measured exhaustion rates of 35.8% and 9.8%. Then use the teacher data (mean 5.1 searches, E[n²]/E[n] = 9.3) to explain where the over-searching comes from.
What a strong answer covers
- Geometric model: expected length 1/p, so 1/0.044 ≈ 22.7 searches (paper: 22.8, above the budget) versus 1/0.102 ≈ 9.8.
- P(still searching at call 20) ≈ (1−p)^19 to (1−p)^20: 0.956^20 ≈ 0.41 and 0.898^20 ≈ 0.12. Same order as the measured 35.8% and 9.8%; the constant hazard is a rough fit, since p is averaged over early searches only.
- If every search step contributes equally, the length-biased mean trajectory length is E[n²]/E[n] = 9.3, not 5.1; actual token-level weighting also depends on message lengths and masks. Trajectories with ≥10 searches are 15% of trajectories but 42% of steps.
- Most of those extra steps are searches issued after the evidence is already in context. Imitating them teaches "keep searching even after you have the page", which lowers the learned stop probability.
- The credit masks those continuation searches (24.5% of search steps overall, 40.2% on budget-length trajectories, only 2.5% for the first search that retrieves a cited page), restoring a stop rate close to GPT-5.4 (8.9%) and the base model (9.4%).
- Mechanism
In Table 2 the untrained agents gain 5.1–5.6 points from page-native retrieval over a text+figure OCR pipeline, while making 20–30% fewer calls. Using how the three corpora are built and the paper's budget check, explain why a page image carries information an OCR chunk loses, why that shows up as fewer searches rather than only higher accuracy, and why adding a separate figure-search tool barely helped.
What a strong answer covers
- The text corpus keeps tables as HTML and equations as LaTeX but represents a figure only by its caption, so plotted values and trends are simply absent; parse errors can corrupt even tables and text. A page image keeps the figure, the table and the paragraph that interprets them in one unit.
- Budget check: top-3 pages hold about 1,359 OCR words versus 1,257 for top-5 256-word chunks, so textual volume per call matches within 8%. This does not equalise visual-token cost or isolate representation from retrieval differences.
- Fewer calls: one page hit delivers evidence plus its local context, so the agent can verify and stop; a chunk hit often lacks the table or figure it refers to, which triggers follow-up searches. Fig. 2: the gains concentrate on table and figure questions, with text and equation questions on par.
- The figure tool splits modalities into two indexes with no link between a figure and its explanatory text, and agents rarely invoked it despite prompting (e.g. 3.0 figure calls for GPT-5.4 but 0.6 for Qwen), so it adds little.
- Retrieval side: a VLM embedder (Qwen3-VL-Embedding-8B, one vector per page) can match a text query against visual content, which the text embedder never sees.
- What if…
Appendix Table 15 adds the ingredients one at a time on the same trajectories: vanilla SFT (14.0 searches, 53.6 page hit, 49.0 accuracy), then answer weighting λ (11.6, 54.9, 48.9), then rank-weighted counterfactual credit (11.0, 51.9, 50.9), then the cross-channel correction (8.9, 52.0, 52.1). Table 7 trains on 2,000 Text-question trajectories instead (5.0 searches, 47.4 hit, 46.0). What does each comparison isolate, and what do they jointly say about what the method is really optimising?
What a strong answer covers
- λ alone cuts searches by 2.4 without changing accuracy: up-weighting the answer makes "answer now" more likely but does not choose which searches to drop.
- The credit adds 2 points of accuracy and raises accuracy given the page (67.2 → 68.7) at slightly lower page hit: it removes steps that hurt the gold likelihood, including misleading reasoning.
- The cross-channel rule removes about 2 more searches and adds 1.2 points with page hit unchanged: masking a query's reasoning when the query is masked stops the model from rehearsing the thought that leads to a redundant search.
- Text-trained policies stop too early (5.0 searches) and find the page far less (47.4), so fewer searches is not the goal in itself; the target is stopping once the evidence is in context. Visual training stays within 1.4 points on Text questions while Text training trails by 6–11 on Visual ones.
- Table 16: matching the mean weight to SFT drops accuracy given the page from 68.7 to 63.1 and per-trajectory mass equalisation costs about 5 points, while changing the rank pool barely matters. The effect is in which steps get masked, not in the calibrated magnitudes.
- The ablation point estimates suggest a trade-off, but no intervals are supplied. Paired question-level differences and training-seed variation are needed before interpreting the 1–2 point increments between rows.
- Critique
The headline claims are that page-native DR beats OCR pipelines, that a trained 27B model matches GPT-5.4 (52.1 vs 51.9), and that it comes within 1.8 points of a gold-page oracle on ViDoRe-V3. Identify the weakest link in each claim, using how DRPixelBench and the oracle were built, and propose the experiment that would expose it.
What a strong answer covers
- Benchmark selection: Gemini-3.5-Flash drafts questions, and a "modality necessity" filter keeps figure/table questions only if a text-only solver over body text fails. Only 2.33% of drafts survive the filters and 51.7% of the rest are rejected by humans. This selects against text pipelines by construction.
- Experiment: build a matched benchmark with the same pipeline but without the modality filter (or with the OCR pipeline's own HTML tables in the solver), and report the page-vs-OCR gap on it and per evidence type.
- Training is in-distribution: training questions come from the same generator pipeline (on disjoint papers) and teachers are GPT-5.4, which is also the comparator. A 52.1 versus 51.9 point estimate establishes neither superiority nor statistical equivalence; report a paired interval and a prespecified equivalence margin. The external benchmarks are fairer (the trained model trails GPT-5.4 on M3SciQA and AirQA accuracy).
- Oracle: the ViDoRe-V3 oracle (72.6 page, 70.6 text) is the benchmark's published upper bound with Gemini 3 Pro as the generator, not Qwen3.6-27B given gold pages. A same-generator oracle would separate retrieval loss from reader strength. Only 1.7% of ViDoRe-V3 questions truly need visual content, so it says little about page-native reading.
- Judging by GPT-5.4-mini with majority vote is fine for short answers, but a human audit of a sample of disagreements would quantify judge error.
- Design
You must build page-native deep research over 4M pages of a bank's internal PDFs (filings, scanned contracts, slide decks), on-prem, with a 27B open VLM and about 10 searches per question. You have no gold QA pairs. Decide the retriever and page representation, how you would generate training data and gold answers for counterfactual credit, and what you would measure before trusting it.
What a strong answer covers
- Retriever: a single-vector VLM page embedder (as DR Pixel uses) keeps the index small; a ColPali-style multi-vector index is stronger on fine detail but costs far more storage per page. Consider single-vector first stage plus late-interaction rerank, and a lexical channel for exact identifiers such as account or clause numbers.
- Resolution: cap pages near 1.05 MP (DR Pixel: 30–48% fewer input tokens for a 1.0–3.8 point drop); keep full resolution for scanned contracts if small print fails. Every page stays in context, so prefix caching matters (96% cache hit in the paper's SGLang setup).
- Data: split documents into training, validation and test pools before generating questions, and build training trajectories only from the training pool. Synthesise questions from page-grounded facts (the paper's pipeline: enrich the summary, generate, filter for evidence sufficiency and non-memorisation), with human review; the gold answer is what the credit needs, so answer quality bounds credit quality.
- Training: teacher rollouts (a stronger model under the same tools), keep correct ones, compute credits with two forward passes per step under the frozen base model, then weighted SFT; RL with outcome rewards (as in DR Tulu or Search-R1) is the more expensive alternative.
- Measure: session page hit and accuracy given the page split by page type (table, chart, scan, text), searches per question and budget-exhaustion rate, a same-reader gold-page oracle, and robustness as the index grows (DR Pixel's page hit fell 8.0 points from 20K to 99K papers).