potentialpaper

LensVLM: Selective Context Expansion for Compressed Visual Representation of Text

Roy Xie, Dan Friedman, Donghan Yu, Bowen Pan, Christopher Fifty, Jang-Hyun Kim, Xianzhi Du, Zhe Gan, Vivek Rathod, Bhuwan Dhingra

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Vision Language Models (VLMs) offer the exciting possibility of processing text as rendered images, bypassing the need for tokenizing the text into long token sequences. Since VLM image encoders map fixed-size images to a fixed number of visual tokens, varying rendering resolution provides a fine-grained compression knob. However, accuracy deteriorates quickly as compression increases: characters shrink below the vision encoder's effective resolution, making them indistinguishable. To address this, we propose LensVLM, an inference framework and post-training recipe that enables VLMs to scan compressed images, then selectively expand only the relevant images to their uncompressed form via learned tools. Building on Qwen3.5-9B-Base, LensVLM maintains accuracy comparable to the full-text upper bound at 4.3$\times$ effective compression and outperforms retrieval-based, text- and visual-compression baselines up to 10.1$\times$ effective compression across seven text QA benchmarks. LensVLM also generalizes to multimodal document and code understanding tasks, with the accuracy gain over baselines growing as compression increases. Our analysis validates this approach: training makes visual compression robust to rendering choices, and as compression grows the model increasingly relies on expanded content rather than unreliable visual reading. The analysis also yields practical tool-choice guidance: text expansion is preferable for rendered text, while high-resolution image expansion suits native documents whose layout cues carry task-relevant information.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes LensVLM, which renders long text into compressed images and uses an EXPAND tool to selectively recover relevant pages as source text, OCR output, or high-resolution images. Across the reviews, the main strengths include the importance of long-context compression, the selection-then-expansion design, and extensive evaluation across multiple domains. The rendering, tool-modality, model-scale, and attention analyses are also seen as useful. The reviews are nevertheless mixed.

The major concerns raised are:

End-to-end efficiency: Reviewers njEN, DLd8, and Hkhc note that reduced token count and KV-cache usage come with multi-turn inference, vision encoding, and additional decoding. DLd8 highlights the reported latency of approximately 17 seconds for LensVLM versus 8 seconds for the text baseline. More complete comparisons of latency, throughput, memory, and serving cost with full-text and retrieval systems are requested by Reviewers.

Training supervision and reproducibility: Reviewer njEN raises concerns about reliance on Qwen3.5-397B for synthetic trajectories and LLM-judge rewards. Reviewer DLd8 notes that constructing SFT trajectories requires ground-truth evidence pages or answer spans, which may not be available in broader settings.

Accuracy and baseline comparisons: Reviewers njEN and DLd8 note that LensVLM still lags behind full-text accuracy, especially at higher compression. njEN further describes the code and native-document results as promising but mixed. DLd8 requests comparison with higher-resolution rendered images without tool calls, while Hkhc requests stronger oracle and agentic retrieval comparisons.

Relationship to retrieval and tool-use methods: Reviewer Hkhc views the method as conceptually close to retrieval-augmented reasoning and multimodal crop/zoom/search agents. Hkhc questions how much of the improvement comes from the learned selection policy versus restoring access to the original information through EXPAND.

Final justification

Having read the authors’ response and the full reviewer discussion, I note that njEN thanked the authors for the rebuttal and maintained the original positive assessment. The reviewer did not provide a further issue-by-issue evaluation. DLd8 became more positive after reading the rebuttal and raised the recommendation, although no detailed final justification was provided. Hkhc concluded that the response adequately addressed the concerns about the distinction from retrieval and tool-based methods, the contribution of the learned expansion policy, retrieval comparisons, and end-to-end inference cost. The discussion therefore resulted in positive final assessments of 4, 5, and 4, and I recommend acceptance.

Area Chair XKAt · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes LensVLM, which renders long text into compressed images and uses an EXPAND tool to selectively recover relevant pages as source text, OCR output, or high-resolution images. Across the reviews, the main strengths include the importance of long-context compression, the selection-then-expansion design, and extensive evaluation across multiple domains. The rendering, tool-modality, model-scale, and attention analyses are also seen as useful. The reviews are nevertheless mixed.

The major concerns raised are:

End-to-end efficiency: Reviewers njEN, DLd8, and Hkhc note that reduced token count and KV-cache usage come with multi-turn inference, vision encoding, and additional decoding. DLd8 highlights the reported latency of approximately 17 seconds for LensVLM versus 8 seconds for the text baseline. More complete comparisons of latency, throughput, memory, and serving cost with full-text and retrieval systems are requested by Reviewers.

Training supervision and reproducibility: Reviewer njEN raises concerns about reliance on Qwen3.5-397B for synthetic trajectories and LLM-judge rewards. Reviewer DLd8 notes that constructing SFT trajectories requires ground-truth evidence pages or answer spans, which may not be available in broader settings.

Accuracy and baseline comparisons: Reviewers njEN and DLd8 note that LensVLM still lags behind full-text accuracy, especially at higher compression. njEN further describes the code and native-document results as promising but mixed. DLd8 requests comparison with higher-resolution rendered images without tool calls, while Hkhc requests stronger oracle and agentic retrieval comparisons.

Relationship to retrieval and tool-use methods: Reviewer Hkhc views the method as conceptually close to retrieval-augmented reasoning and multimodal crop/zoom/search agents. Hkhc questions how much of the improvement comes from the learned selection policy versus restoring access to the original information through EXPAND.

Final justification

Having read the authors’ response and the full reviewer discussion, I note that njEN thanked the authors for the rebuttal and maintained the original positive assessment. The reviewer did not provide a further issue-by-issue evaluation. DLd8 became more positive after reading the rebuttal and raised the recommendation, although no detailed final justification was provided. Hkhc concluded that the response adequately addressed the concerns about the distinction from retrieval and tool-based methods, the contribution of the learned expansion policy, retrieval comparisons, and end-to-end inference cost. The discussion therefore resulted in positive final assessments of 4, 5, and 4, and I recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Dear AC,

Thank you for your valuable feedback. We are grateful that the reviewers recognized the importance of the problem, the strong motivation for our method, the extensive evaluation, and the thorough analysis, without identifying any critical flaws.

We directly addressed each concern raised in the review:

  • End-to-end efficiency: Comprehensive latency, memory, throughput, and serving-cost comparisons with full-text, baselines, and LensVLM (Responses 1–2 to Reviewer njEN; Response 1 to Reviewer DLd8; Response 2–3 to Reviewer Hkhc).
  • Training supervision and reproducibility: Smaller-teacher, judge-free, and non-GT-evidence settings (Response 3 to Reviewer njEN; Response 3 to Reviewer DLd8).
  • Accuracy and baseline comparisons: Clarification of the full-text upper bound and code/document transfer scope. New experiments on stronger rendering, oracle, and agentic retrieval baselines (Response 3 to Reviewer njEN; Responses 2–3 to Reviewer DLd8; Responses 1–2 to Reviewer Hkhc).
  • Relationship to retrieval and tool-use methods: Distinction from retrieval and crop/zoom agents and a learned-policy ablation (Response 1 to Reviewer Hkhc).

Reviewer Hkhc subsequently confirmed that our rebuttal adequately addressed their concerns.

We are also committed to addressing all requested changes and incorporating the reviewers’ suggestions -- in fact, most changes have already been completed during the rebuttal period.

Thank you for your consideration.

The Authors

Reviewer HkhcOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This work addresses the central challenge of maintaining question-answering accuracy under aggressive visual-text compression. The paper proposes LensVLM, which first compresses long text into rendered images and then allows the model to selectively expand relevant regions through a learned EXPAND tool. The method is trained with synthetic trajectories, supervised fine-tuning, and reinforcement learning. Experiments are conducted on multiple QA, document understanding, and code understanding benchmarks.

Strengths and weaknesses

Strengths

  1. The paper studies an interesting direction of visual-text compression for long-context reasoning and highlights the limitations of directly reading highly compressed rendered text. The motivation is clear and practically relevant.

  2. The authors evaluate on multiple QA benchmarks, code understanding datasets, document understanding tasks, and contamination-free settings. The experimental section is extensive and includes several useful ablations and analyses.

  3. The analysis on rendering sensitivity, tool modality (text vs. image expansion), and attention allocation provides valuable insights into how compression and selective expansion interact.

Weakness

  1. The core idea is essentially to compress text into images and then selectively recover relevant content via a tool call. Conceptually, this resembles retrieval-augmented reasoning and existing multimodal agent frameworks that use crop/zoom/search tools. The paper does not clearly demonstrate a fundamentally new modeling contribution beyond combining existing components in this specific setting.

  2. The EXPAND tool directly returns original text, OCR results, or high-resolution images. As acknowledged in the paper, information access is the primary bottleneck. This raises the question of whether the observed improvements mainly come from recovering lost information rather than from a novel reasoning or compression mechanism. A stronger comparison against oracle retrieval or retrieval systems with equivalent access would help clarify this point.

Questions
  1. How much of the improvement comes from the selective expansion policy itself versus simply providing access to the original text through the EXPAND tool?

  2. Can the authors provide stronger comparisons against oracle retrieval and modern agentic retrieval systems operating under comparable token budgets?

  3. What is the actual end-to-end inference latency and computational cost, including tool invocation overhead, compared with retrieval-based baselines?

Limitations

yes

Final justification

After considering the other reviewers' comments and carefully reading the authors' rebuttal, I believe the authors have adequately addressed my concerns.

Formatting concerns

No

4 comments
Authors · CommentOpenReview ↗

Response 1 to Reviewer Hkhc

We sincerely thank you for your valuable and insightful comments, which have greatly helped us improve our manuscript. We address each point in detail below.


W1: the core idea resembles retrieval-augmented reasoning and existing crop/zoom/search agents

We agree LensVLM shares components with both lines of work, and our claim is not a new architectural module. However, our contribution is a formulation: treating compression as an invertible capability the model internalizes, rather than a one-way transform applied before inference. We compare them as following:

vs. crop/zoom agents. In DeepEyes [1], the image is given and the tool resolves visual ambiguity within it. In our setting, the image is a deliberate, parameterized lossy encoding of text that we choose, and Expand tool call is its functional inverse. This makes compression rate a design variable co-optimized with the policy. Concretely, it is what allows a single policy to serve 5×/10×/15× and lets a practitioner slide continuously along the accuracy–cost frontier (Fig. 1) without retraining a tokenizer or re-indexing a corpus.

vs. retrieval. As we discussed in section 3.3 and section 5.6, retrieval and visual compression fail in different directions: retrieval reduces coverage (top-kk discards the rest), while we reduce fidelity but keep all KK pages visible. Therefore, retrieval is competitive when evidence is concentrated and degrades when evidence is distributed across context. Our existing per-dataset results (Table 11) confirm this precisely:

Benchmark Evidence LensVLM 5× Best retriever 5× Δ\Delta LensVLM 10× Best retriever 10× Δ\Delta
NQ 1 hop, concentrated 76.1 76.5 −0.4 75.1 72.2 +2.9
MuSiQue 2–4 hops, distributed 69.6 59.0 +10.6 62.4 48.2 +14.2

On single-hop NQ, a strong text retriever matches or beats us; the advantage grows with the number of evidence pages, reaching +14.2 on MuSiQue at 10×. Additionally, the formulation is separable from our training recipe: applying selection-then-expansion by prompting alone improves an off-the-shelf 9B backbone by +7.9 to +10.2 and Sonnet 4.6 by +4.8 to +9.0 (Appendix. C).


W2 & Q1: are the gains just from recovering lost information rather than from the policy?

Thank you for raising this question. We expand our existing Oracle Image Selection (Appendix J.1) results to demonstrate that the gains are majority from the learned policy:

Variant Text access Selection 5× 10× 15×
Comp. Image (no tool) No -- 32.1 24.6 24.0
Base + Expand Yes untrained 42.5 34.5 29.5
LensVLM\textsubscript{SFT} Yes SFT 70.2 64.8 52.9
LensVLM Yes learned 76.4 71.1 60.5
Oracle Selection Yes oracle 80.0 80.0 80.0
Text (upper bound) -- -- 78.1 78.1 78.1

Decomposing the 32.1 to 76.4 gain at 5×: access alone contributes +10.4 (Base + Expand) and the learned policy adds +33.9. At 15× the split is starker: access alone contributes +5.5 while the policy adds +31.0.


Q2: stronger comparisons against oracle retrieval and modern agentic retrieval at comparable token budgets

Oracle retrieval. The Oracle Selection row above is this baseline: a retriever with perfect top-kk selection that returns the gold evidence as uncompressed text. It is flat at 80.0 because it bypasses selection entirely, and it exceeds the full-text upper bound (78.1) since the reader receives only text evidence rather than the full noisy document. LensVLM closes this gap to 3.6 points at 5× and 8.9 at 10× while selecting from low-resolution images. Our existing retrieval baselines (Table 6) are likewise budget-matched by construction: each retriever returns top-⌈K/Cin⌉\lceil K/C_{\mathrm{in}}\rceil pages so that reader input matches LensVLM's at every rate, and we report ECR for all methods.

[Continue in the next comment.]

Authors · CommentOpenReview ↗

Response 2 to Reviewer Hkhc

[Continue from the previous comment.]

Agentic retrieval. For completeness, we added two end-to-end RL-trained multi-turn agents, evaluated from their official released checkpoints on the same benchmarks: Search-R1-7B [2], a text search agent, and DeepEyes-7B [1], a crop/zoom visual agent. Search-R1 indexes the source documents at our page granularity and issues its own search calls; DeepEyes receives the same compressed page images as LensVLM plus its native zoom tool.

Method 5× 10× 15×
Search-R1-7B 46.5 46.5 46.5
DeepEyes-7B 26.1 20.2 15.5
LensVLM 68.9 62.1 52.1

We run Search-R1 at its native search budget setup over source text, which is why its accuracy is compression-independent. It nonetheless trails LensVLM by +22.4/+15.6/+5.6, with LensVLM reading at 4.3×/7.4×/10.1× ECR. DeepEyes is the more direct test of the reviewer's concern, but it degrades with compression (26.1 → 15.5) while LensVLM's margin stays above at every rate.


Q3: actual end-to-end latency and compute, including tool-invocation overhead, vs. retrieval baselines

Thank you for highlighting this important question. We would like to first emphasize that dollar cost for using frontier LLMs is driven by token count, and LensVLM directly reduces dollar cost with some latency trade-off.

Following your comment, we further optimized the inference implementations (CUDA graphs inference speed up for all methods; cross-turn prefix caching and asynchronous rendering for LensVLM) and reran a comprehensive profile across all compression rates.

Two notes on the setup. First, we split the evaluation into short (7k–32k) and long (32k–140k) contexts, since the trade-off depends on context length. Second, we add a LensVLM (cached) variant in which page images are rendered offline: because Expand operates at page-level, rendering is query-independent and can be precomputed per document.

Latency (s/request):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 1.44 1.41 1.39 3.74 3.93 3.62
ColPali 1.59 1.55 1.76 4.58 3.72 4.63
LLMLingua-2 1.59 1.92 1.39 4.82 4.74 4.38
LensVLM 1.81 1.75 1.85 4.09 2.89 2.83
LensVLM (cached) 1.77 1.72 1.81 3.80 2.67 2.52

At short context, the full-text baseline is the fastest method. At long context, LensVLM is the fastest method at both 10× and 15×, suggesting LensVLM is best used at long context scenarios as prefill savings (less input token) grow with context length. However, LensVLM is also useful in short context scenarios where a user is willing to trade a bit of latency for lower token usage. To further understand this trade-off, we present the phase breakdown from two representative settings:

Short context (5×)

Method cpu prefill re-prefill decode total
Full text 0.04 0.19 -- 1.21 1.44
ColPali 0.45 0.06 -- 1.08 1.59
LLMLingua-2 0.29 0.06 -- 1.25 1.59
LensVLM 0.15 0.09 0.07 1.50 1.81
LensVLM (cached) 0.11 0.09 0.07 1.50 1.77

Long context (15×)

Method cpu prefill re-prefill decode total
Full text 0.19 2.07 -- 1.37 3.62
ColPali 3.17 0.11 -- 1.36 4.63
LLMLingua-2 2.16 0.10 -- 2.13 4.38
LensVLM 0.88 0.21 0.13 1.61 2.83
LensVLM (cached) 0.57 0.21 0.13 1.61 2.52

cpu is all host-side preparation before the model runs, including tokenization, page rendering (LensVLM), index-and-select (ColPali), and token pruning (LLMLingua-2), and re-prefill is the additional forward pass LensVLM pays for multi-turn; - does not exist for single-turn methods.

The main latency saving for LensVLM is prefill because the reader processes roughly an order of magnitude fewer tokens. However, the page rendering increases cpu time. We also present memory, throughput, and serving cost for comprehensive analysis:

[Continue in the next comment.]

Authors · CommentOpenReview ↗

Response 3 to Reviewer Hkhc

[Continue from the previous comment.]

Memory: KV cache (MiB):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 389 389 398 3,044 3,047 3,116
ColPali 91 57 43 622 323 225
LLMLingua-2 77 46 30 575 291 199
LensVLM 92 67 58 515 286 221

At long context LensVLM's KV cache is 5.9 -- 14.1× smaller than full text, which also drives the other two tables: more concurrent requests fit in the same GPU memory, so throughput improves and serving cost is reduced.

Throughput: peak requests/s at saturating concurrency:

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 4.90 5.49 3.86 0.59 0.60 0.57
ColPali 2.43 3.19 1.90 0.40 0.51 0.39
LLMLingua-2 2.07 2.12 2.95 0.50 0.52 0.54
LensVLM 4.47 6.93 4.40 0.80 1.73 1.87
LensVLM (cached) 4.57 7.05 4.50 0.86 1.87 2.10

Serving cost: per 1k requests at $6/GPU-hr:

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 0.34 0.30 0.43 2.84 2.78 2.90
ColPali 0.69 0.52 0.88 4.21 3.25 4.25
LLMLingua-2 0.80 0.78 0.56 3.35 3.19 3.09
LensVLM 0.37 0.24 0.38 2.08 0.96 0.89
LensVLM (cached) 0.36 0.24 0.37 1.94 0.89 0.79

The results suggest that LensVLM wins with long context and multi-queries per document (rendering is query-independent, so the LensVLM (cached) row amortizes it exactly as retrieval amortizes its index) -- and might not the right choice for one-off queries over short documents, where full text is faster. We will promote this analysis to the main text.


[1] DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning

[2] Search-R1: Training LLMs to Reason and Leverage Search Engines with Reinforcement Learning

Reviewer Hkhc · CommentOpenReview ↗

I thank the authors for their response. After considering the other reviewers' comments and carefully reading the authors' rebuttal, I believe the authors have adequately addressed my concerns. I have therefore decided to raise my score.

Reviewer DLd8OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

LensVLM compresses long text by rendering it into low-resolution images, then uses a learned expand tool to recover only the relevant pages. Built on Qwen3.5-9B-Base and trained with SFT+RL, it improves the accuracy-compression trade-off over visual compression, retrieval, and text-compression baselines. It reduces KV-cache cost compared with raw text, but adds latency due to multi-turn tool use.

Strengths and weaknesses

Strengths

  1. Important problem. The paper addresses long-context inference cost, especially token count and KV-cache memory, which is a practical bottleneck for many QA and document understanding applications.

  2. Reasonable method. The selection then expansion idea is intuitive: compressed images provide a global overview, and the model selectively expands only relevant pages when detailed reading is needed.

  3. Good memory savings. LensVLM substantially reduces token/KV-cache usage compared with raw-text input, making it attractive for memory-constrained long-context inference.

Weaknesses

  1. Slower than raw-text inference. Although LensVLM reduces token and KV-cache memory, it is slower than the pure text baseline due to multi-turn tool use and vision encoder processing. The paper reports roughly 17s for LensVLM with one EXPAND call versus about 8s for the text baseline.

  2. Limited comparison with higher-resolution rendered images. The main rendering presets use very low resolutions, e.g., 256×284, 192×252, and 128×190. It is unclear whether using higher-resolution rendered images without tool calls could achieve a better speed/accuracy/memory trade-off.

  3. Training relies on evidence supervision. SFT trajectories are generated using ground-truth evidence pages derived from answer spans or supporting facts. In settings without such evidence annotations, constructing reliable tool-use traces may require noisy retrieval or LLM-based evidence labeling.

  4. Still behind raw text in accuracy. LensVLM improves the accuracy-compression trade-off, but it still trails the full raw-text upper bound, especially at higher compression rates. This makes the method a useful memory-saving trade-off rather than a replacement for raw-text input.

Questions
  1. Can the authors provide a more detailed comparison with higher-resolution rendered images without EXPAND, including accuracy, latency, and memory?

  2. How can the training data generation pipeline be extended to more general settings where ground-truth evidence pages or answer spans are unavailable?

Limitations

Yes

Final justification

After reading the rebuttal, I will raise my score to 5.

Formatting concerns

No

4 comments
Authors · CommentOpenReview ↗

Response 1 to Reviewer DLd8

We sincerely thank you for your valuable and insightful comments, which have greatly helped us improve our manuscript. We address each point in detail below.


W1 & Q1: slower than raw-text inference

Thank you for highlighting this important question. We would like to first emphasize that dollar cost for using frontier LLMs is driven by token count, and LensVLM directly reduces dollar cost with some latency trade-off.

Following your comment, we further optimized the inference implementations (CUDA graphs inference speed up for all methods; cross-turn prefix caching and asynchronous rendering for LensVLM) and reran a comprehensive profile across all compression rates.

Two notes on the setup. First, we split the evaluation into short (7k–32k) and long (32k–140k) contexts, since the trade-off depends on context length. Second, we add a LensVLM (cached) variant in which page images are rendered offline: because Expand operates at page-level, rendering is query-independent and can be precomputed per document.

Latency (s/request):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 1.44 1.41 1.39 3.74 3.93 3.62
ColPali 1.59 1.55 1.76 4.58 3.72 4.63
LLMLingua-2 1.59 1.92 1.39 4.82 4.74 4.38
LensVLM 1.81 1.75 1.85 4.09 2.89 2.83
LensVLM (cached) 1.77 1.72 1.81 3.80 2.67 2.52

At short context, the full-text baseline is the fastest method. At long context, LensVLM is the fastest method at both 10× and 15×, suggesting LensVLM is best used at long context scenarios as prefill savings (less input token) grow with context length. However, LensVLM is also useful in short context scenarios where a user is willing to trade a bit of latency for lower token usage. To further understand this trade-off, we present the phase breakdown from two representative settings:

Short context (5×)

Method cpu prefill re-prefill decode total
Full text 0.04 0.19 -- 1.21 1.44
ColPali 0.45 0.06 -- 1.08 1.59
LLMLingua-2 0.29 0.06 -- 1.25 1.59
LensVLM 0.15 0.09 0.07 1.50 1.81
LensVLM (cached) 0.11 0.09 0.07 1.50 1.77

Long context (15×)

Method cpu prefill re-prefill decode total
Full text 0.19 2.07 -- 1.37 3.62
ColPali 3.17 0.11 -- 1.36 4.63
LLMLingua-2 2.16 0.10 -- 2.13 4.38
LensVLM 0.88 0.21 0.13 1.61 2.83
LensVLM (cached) 0.57 0.21 0.13 1.61 2.52

cpu is all host-side preparation before the model runs, including tokenization, page rendering (LensVLM), index-and-select (ColPali), and token pruning (LLMLingua-2), and re-prefill is the additional forward pass LensVLM pays for multi-turn; - does not exist for single-turn methods.

The main latency saving for LensVLM is prefill because the reader processes roughly an order of magnitude fewer tokens. However, the page rendering increases cpu time. We present memory breakdown below:

Memory: KV cache (MiB):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 389 389 398 3,044 3,047 3,116
ColPali 91 57 43 622 323 225
LLMLingua-2 77 46 30 575 291 199
LensVLM 92 67 58 515 286 221

At long context LensVLM's KV cache is 5.9 -- 14.1× smaller than full text, which also improves throughput and reduces serving cost. We will promote this analysis to the main text.

Authors · CommentOpenReview ↗

Response 2 to Reviewer DLd8

W2 & Q1: comparison with higher-resolution rendered images without EXPAND

Thank you for this important question. We would first like to highlight that §5.1 already sweeps 20 rendering configurations at ~3×, i.e. lower compression and higher resolution than our main presets. Following your comment, we extended the sweep further to 2× and 1× (the latter is the no-compression limit, where the reader consumes one visual token per text token):

Rendering W×H (px) Font ECR Acc.
Full text (no render) -- -- 1.0× 72.4
Comp. Image 1× 640×896 12pt 1.0× 59.4
Comp. Image 2× 512×704 10pt 2.0× 48.7
Comp. Image 5× 256×284 8pt 5.0× 31.3
Comp. Image 10× 192×252 6pt 10.0× 21.0
Comp. Image 15× 128×190 5pt 15.0× 18.1
LensVLM 5× 256×284 8pt 4.3× 68.9
LensVLM 10× 192×252 6pt 7.4× 62.1
LensVLM 15× 128×190 5pt 10.1× 52.1

For no-tool rendering, ECR equals ICR by definition (§3.2), since no tokens are appended.

Raising resolution to 1× does improve accuracy, but it still results 13 points below text. The gap is a modality limit rather than resolution -- rendered text is largely unseen during pretraining [1], so it cannot be closed by rendering larger. Crucially, LensVLM 5× is 9.5 points more accurate than Comp. Image 1× (68.9 vs. 59.4) while using 4.3× fewer reader tokens, and even LensVLM 15× (52.1 at ECR 10.1×) exceeds Comp. Image 2× (48.7 at ECR 2.0×) with 5× fewer tokens. We highlight that §5.1 shows the same pattern at intermediate resolutions: across the matched-compression variants in Table 3. Resolution trades accuracy against cost inside a single knob, and no setting of that knob is simultaneously cheap and accurate. We will add this extended sweep and the ECR column to the final version.


[1] Glyph: Scaling Context Windows via Visual-Text Compression

Authors · CommentOpenReview ↗

Response 3 to Reviewer DLd8

W3 & Q2: training relies on ground-truth evidence supervision

Thank you for raising this. We would like to clarify the following:

GT evidence is used in one stage of one contribution. The paper makes two separable contributions (L135-L137): (1) an inference framework, where selective expansion needs no training, no teacher, and no evidence supervision, improving both the off-the-shelf 9B backbone (+7.9 to +10.2) and Sonnet 4.6 (+4.8 to +9.0) by prompting alone (Appendix C); and (2) a training recipe that bakes the expansion behavior into smaller models. The concern applies to (2) only, and within (2) only to the SFT bootstrap: the RL stage never observes E⋆E^{\star} and is driven purely by final-answer correctness (§3.5, Eq. 7). Evidence labels are therefore needed only to seed the initial trajectories.

Label data vs. generalization Curating labeled data is standard for post-training, and the key question is whether the resulting behavior generalizes beyond it. Our main results (fig. 1) shows learned selection behavior transfers and generalization to OOD tasks.

The paper already contains a fully label-free instantiation. Our contamination-free study (§5.4, Appendix G) starts from raw PubMed Central articles with no QA pairs and no evidence annotations: the pipeline generates one question per document chunk, so the evidence page is known by construction rather than by annotation. The resulting model reaches 86.8 at 5× against a 92.1 text upper bound, reproducing the main-result pattern without a single evidence label.

Noisy evidence labeling is also useful. To test the reviewer's exact setting -- QA pairs available but no evidence spans -- we replaced E⋆E^{\star} with synthetic evidence: a retriever (Qwen3-Embedding-8B) and reranker (Qwen3-Reranker-8B) return the top-6 pages, which Qwen3.5-397B then labels as evidence given the question and gold answer. We regenerated all traces and retrained end to end:

Evidence source Annotation needed 5× 10× 15×
GT evidence (paper) Evidence spans 68.9 62.1 52.1
Synthetic evidence None 65.2 60.3 48.8
Δ\Delta −3.7 −1.8 −3.3

Removing GT evidence costs only 1.8–3.7 points, and the GT-free variant still outperforms every compression baseline at all three rates (48.8 vs. 33.0 for the best at 15×). Evidence annotations therefore improve the recipe but are not a requirement for it.


W4: still behind raw text, especially at higher compression

Thank you for this insightful feedback. We want to emphasize that raw text is the accuracy upper bound with no token reduction, and LensVLM is a point on the accuracy–compression frontier. At any fixed budget the question is which method is best given that budget, and LensVLM matches or exceeds all of the compression baselines at every compression level. When the source text exceeds the context window or the user's token budget, the meaningful comparison is against other compression methods – where LensVLM is the strongest. We will make this positioning explicit in the final version.

Authors · CommentOpenReview ↗

Official Comment by Authors

Dear Reviewer DLd8,

As the discussion period is coming to an end, we would greatly appreciate it if you could let us know whether our reply has adequately addressed your concerns. We sincerely hope for a chance to clarify and resolve any remaining concerns you may have.

Thank you once again for your time and consideration!

Best,

The Authors

Reviewer njENOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes LensVLM, a framework for long-context text compression in which source text is rendered into compressed images and a VLM learns to selectively expand the relevant image/page when more readable evidence is needed. The method is built on Qwen3.5-9B-Base and is trained with synthetic tool-use traces followed by SFT and on-policy RL. The main evaluation covers seven text QA benchmarks under several effective compression rates, with additional experiments on code understanding, multi-page document QA, rendering sensitivity, contamination-free data, model scale, retrieval baselines, and attention analysis. The headline result is that LensVLM recovers much of the full-text performance at moderate compression and remains stronger than retrieval, prompt-compression, and visual-compression baselines at higher compression.

Strengths and weaknesses

The paper addresses a clean and important limitation of visual text compression. Rendering long text as images is attractive because it gives a continuous compression knob, but direct visual reading quickly fails once the rendered characters become too small. The paper's selection-then-expansion formulation is a natural way to separate coarse localization from high-fidelity reading, and the method is well motivated throughout.

The empirical section is quite strong. The authors compare against a reasonable set of baselines: compressed-image reading, base-model expansion, Glyph, LLMLingua-2, ColPali, BM25, and embedding retrievers. The results are not limited to the training datasets; the paper evaluates in-domain QA, OOD suites such as Qasper/LongBench/RULER, a post-cutoff contamination-free setting, code tasks, and native document QA. I also appreciated the analysis sections. The rendering-configuration ablation, tool-modality comparison, model-scale study, and attention-budget analysis make the paper more convincing than a simple benchmark table.

My main concern is practical efficiency. LensVLM improves the accuracy-compression tradeoff, but it does so with multi-turn tool use, extra decoding, LLM-judge-based RL, and expanded content appended into context. The paper reports ECR, but I did not find enough wall-clock latency, throughput, memory, and serving-cost analysis to understand when LensVLM is actually preferable to retrieval or simply using a longer context model. The appendix discusses efficiency limitations, but for a compression paper this should be more central.

A second concern is that part of the training pipeline relies heavily on generated traces from a much larger model and LLM-judge rewards. This is reasonable, but it raises questions about reproducibility and about how much of the gain comes from the compression/tool framework versus distillation from Qwen3.5-397B. The paper gives useful ablations, but a clearer separation of these effects would strengthen the claim.

The native document and code transfer results are promising but somewhat mixed. For documents, compressed original-image reading is still better at 5x, and the advantage of zoom appears mainly at stronger compression. For code, LensVLM improves over visual-compression baselines but remains far from the text upper bound, especially at high compression. These do not undermine the main claim, but they suggest the method is strongest for rendered natural-language QA rather than a fully general compression solution.

Questions
  1. Can the authors report end-to-end latency, generated tokens, GPU memory, and throughput for LensVLM versus the retrieval baselines and the full-text baseline at the same accuracy targets? ECR is useful, but deployment decisions depend on wall-clock cost.

  2. How much does the method depend on Qwen3.5-397B trace generation and judge rewards? A smaller-teacher or no-teacher variant would clarify whether the gains are mainly from the framework or from strong-model distillation.

  3. In Table 6, retrieval baselines pay an indexing/embedding preprocessing cost while LensVLM pays repeated online tool-use cost. Can the authors describe the query regimes where LensVLM is expected to win, e.g. one-off queries versus many queries over the same document?

  4. For the native document setting, why does the tool variant underperform compressed original-image reading at 5x? Is this due to tool-call overhead, selection mistakes, loss of global layout, or benchmark contamination in the base model?

Limitations

The paper discusses efficiency limitations in the appendix, but the limitations section should more directly acknowledge that LensVLM trades shorter initial context for multi-turn inference and extra generated tokens. It should also discuss reliance on a large teacher/judge model and reduced effectiveness on code and native document tasks relative to the text or original-image upper bounds.

Formatting concerns

I did not notice other major formatting or anonymity concerns.

5 comments
Authors · CommentOpenReview ↗

Response 1 to Reviewer njEN

We sincerely thank you for your valuable and insightful comments, which have greatly helped us improve our manuscript. We address each point in detail below.

W1: End-to-end efficiency

We agree efficiency should be central for a compression paper. We would like to first emphasize that dollar cost for using frontier LLMs is driven by token count, and LensVLM directly reduces dollar cost with some latency trade-off.

Following your comment, we further optimized the inference implementations (CUDA graphs inference speed up for all methods; cross-turn prefix caching and asynchronous rendering for LensVLM) and reran a comprehensive profile across all compression rates.

Two notes on the setup. First, we split the evaluation into short (7k–32k) and long (32k–140k) contexts, since the trade-off depends on context length. Second, we add a LensVLM (cached) variant in which page images are rendered offline: because Expand operates at page-level, rendering is query-independent and can be precomputed per document.

Latency (s/request):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 1.44 1.41 1.39 3.74 3.93 3.62
ColPali 1.59 1.55 1.76 4.58 3.72 4.63
LLMLingua-2 1.59 1.92 1.39 4.82 4.74 4.38
LensVLM 1.81 1.75 1.85 4.09 2.89 2.83
LensVLM (cached) 1.77 1.72 1.81 3.80 2.67 2.52

At short context, the full-text baseline is the fastest method. At long context, LensVLM is the fastest method at both 10× and 15×, suggesting LensVLM is best used at long context scenarios as prefill savings (less input token) grow with context length. However, LensVLM is also useful in short context scenarios where a user is willing to trade a bit of latency for lower token usage. To further understand this trade-off, we present the phase breakdown from two representative settings:

Short context (5×)

Method cpu prefill re-prefill decode total
Full text 0.04 0.19 -- 1.21 1.44
ColPali 0.45 0.06 -- 1.08 1.59
LLMLingua-2 0.29 0.06 -- 1.25 1.59
LensVLM 0.15 0.09 0.07 1.50 1.81
LensVLM (cached) 0.11 0.09 0.07 1.50 1.77

Long context (15×)

Method cpu prefill re-prefill decode total
Full text 0.19 2.07 -- 1.37 3.62
ColPali 3.17 0.11 -- 1.36 4.63
LLMLingua-2 2.16 0.10 -- 2.13 4.38
LensVLM 0.88 0.21 0.13 1.61 2.83
LensVLM (cached) 0.57 0.21 0.13 1.61 2.52

cpu is all host-side preparation before the model runs, including tokenization, page rendering (LensVLM), index-and-select (ColPali), and token pruning (LLMLingua-2), and re-prefill is the additional forward pass LensVLM pays for multi-turn; - does not exist for single-turn methods.

The main latency saving for LensVLM is prefill because the reader processes roughly an order of magnitude fewer tokens. However, the page rendering increases cpu time. We also present memory, throughput, and serving cost for comprehensive analysis:

[Continue in the next comment.]

Authors · CommentOpenReview ↗

Response 2 to Reviewer njEN

[Continued from the previous comment.]

Memory: KV cache (MiB):

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 389 389 398 3,044 3,047 3,116
ColPali 91 57 43 622 323 225
LLMLingua-2 77 46 30 575 291 199
LensVLM 92 67 58 515 286 221

At long context LensVLM's KV cache is 5.9 -- 14.1× smaller than full text, which also drives the other two tables: more concurrent requests fit in the same GPU memory, so throughput improves and serving cost is reduced.

Throughput: peak requests/s at saturating concurrency:

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 4.90 5.49 3.86 0.59 0.60 0.57
ColPali 2.43 3.19 1.90 0.40 0.51 0.39
LLMLingua-2 2.07 2.12 2.95 0.50 0.52 0.54
LensVLM 4.47 6.93 4.40 0.80 1.73 1.87
LensVLM (cached) 4.57 7.05 4.50 0.86 1.87 2.10

Serving cost: per 1k requests at $6/GPU-hr:

Method short 5× short 10× short 15× long 5× long 10× long 15×
Full text 0.34 0.30 0.43 2.84 2.78 2.90
ColPali 0.69 0.52 0.88 4.21 3.25 4.25
LLMLingua-2 0.80 0.78 0.56 3.35 3.19 3.09
LensVLM 0.37 0.24 0.38 2.08 0.96 0.89
LensVLM (cached) 0.36 0.24 0.37 1.94 0.89 0.79

The results suggest that LensVLM wins with long context and multi-queries per document (rendering is query-independent, so the LensVLM (cached) row amortizes it exactly as retrieval amortizes its index) -- and might not the right choice for one-off queries over short documents, where full text is faster. We will promote this analysis to the main text.

Authors · CommentOpenReview ↗

Response 3 to Reviewer njEN

W2: training pipeline relies on generated traces from a much larger model and LLM-judge rewards

We would like to clarify that the paper makes two separable contributions (L135-L137): (1) an inference framework, where selective expansion needs no training, no teacher, and no judge, improving both the off-the-shelf 9B backbone (+7.9 to +10.2) and Sonnet 4.6 (+4.8 to +9.0) by prompting alone (Appendix C); and (2) a training recipe that teaches smaller models to use expansion reliably. The reviewer's concern applies to (2) only as the framework itself is training-free. We further show below that even (2) depends on neither a large teacher nor judge reward.

The teacher need not be large. We reran trace generation with a ~15x smaller synthesis model (27B vs. 397B) and retrained end to end:

Synthesis model 5× 10× 15×
Qwen3.5-397B synthesis (paper) 68.9 62.1 52.1
Qwen3.5-27B synthesis 63.8 58.5 49.4
Δ\Delta −5.1 −3.6 −2.7

Downsizing the teacher costs only 2.7–5.1 points. This is expected, as the synthesis model is never asked to solve the task: it receives the question, the evidence already in uncompressed text, and the gold answer (§3.4). Its job is to narrate a selection path, which is much easier than solving the compressed task itself.

The judge is a convenience, not a requirement. Judge-based rewards are used extensively in frontier post-training for stability and performance [1, 2], and prior RL work on the same datasets we train on uses them for exactly the reason we do [3, 4]. However, they are not required by our pipeline: substituting answer exact match (EM) still trains successfully but with a noisier training signal, as EM treats semantically correct paraphrases as failures [4]. We would also like to highlight that the results is not sensitive to which judge is used: Appendix A.4 shows that Qwen3.5-397B and GPT-oss 120B agree on 91.7% of samples and differ by only 0.3pp overall.


W3: code and native-document results as promising but mixed

We agree the two transfer results are not uniform, and we want to be explicit about scope: this work targets rendered-text compression, not a fully general compression solution. The results are mixed for different reasons:

Documents. Qwen3.5-9B is a native VLM pretrained extensively on document images, PDFs, and charts. As a widely circulated benchmark, MMLongBench-Doc plausibly exists during pretraining [5]. Additionally, at 5× the compressed page is still largely readable, so expansion mostly returns content the model can already see, while selection lands on a non-evidence page in roughly half of trajectories (Sel. Acc. 51.5).

Code. Rendered code is genuinely out-of-domain for the base model: no rendered code is used in the training mix, so the results are pure zero-shot transfer (L242). The gap therefore measures missing data coverage rather than a limit of the method. To test this directly, we added 8K synthetic code traces derived from CodeSearchNet [6] to the training mix -- generated with the identical rendering and synthesis pipeline, and trained as a single policy across all compression rates:

Training mix Code 5× Code 10× Code 15× Text QA 5× Text QA 10× Text QA 15×
Text upper bound 65.6 65.6 65.6 72.4 72.4 72.4
LensVLM (text QA only) 38.1 26.1 20.0 68.9 62.1 52.1
LensVLM (+ 8K code traces) 51.4 42.7 34.6 68.3 61.5 51.4
Δ\Delta +13.3 +16.6 +14.6 −0.6 −0.6 −0.7

A small amount of in-domain data recovers 32–48% of the gap to the text upper bound at minimal cost to text QA (≤0.7pp). We will scope the claim to rendered-text compression in the abstract and §6, and add this experiment to the appendix in the next version.


[1] Qwen3 Technical Report

[2] DeepSeek-V3 Technical Report

[3] QwenLong-L1: Towards Long-Context Large Reasoning Models with Reinforcement Learning

[4] s3: You Don't Need That Much Data to Train a Search Agent via RL

[5] Investigating Data Contamination in Modern Benchmarks for Large Language Models

[6] CodeSearchNet Challenge: Evaluating the State of Semantic Code Search

Comments on the paper

1 comment
Area Chair XKAt · CommentOpenReview ↗

discussion phase

Dear all,

Thank you for your efforts so far. I invite the reviewers to share their thoughts and raise any remaining questions or concerns. Please also engage with one another where your assessments differ, and update your reviews and scores if the discussion changes your evaluation.

Best,
AC

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…