- Rating
- 3
- Clarity
- 3
- Confidence
- 3
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes OpticalRAG, a token-efficient retrieval-augmented generation framework based on pixel-space document compression. The main idea is to render long documents into page images, encode them with a frozen visual encoder, retrieve visually encoded document windows using a projected query representation, and then use query-driven cross-attention to distill the retrieved visual tokens into a small number of soft prefix tokens for the frozen LLM. The paper reports results on LongBench-v2, BAMBOO, and LooGLE-v2. According to the paper, OpticalRAG achieves strong compression-aware performance while using only 16 injected tokens.
Strengths and weaknesses
Strengths
- The paper studies an important problem: reducing the token cost of long-document RAG while preserving task-relevant information.
- The idea of using page-level visual representations for document compression is interesting.
- The proposed query-driven distillation module is intuitively reasonable. Conditioning compression on the user query may be more effective than producing a query-agnostic compressed representation.
- The paper includes several useful ablations, including the number of injected tokens, query pooling strategies, and query-driven versus query-agnostic compression.
- The results show a favorable compression-performance trade-off under the proposed CAP metric, especially when compared with methods that require thousands of text tokens.
Weaknesses
-
The paper should discuss the advantage of Optical Encoding + Encoder-bridged Retrieval over classical text-to-text Retrieval.
-
The novelty of the paper could be clarified further. The compression scheme is reminiscent of the optical compression idea in DeepSeek-OCR, so the authors should more clearly explain the differences between OpticalRAG and DeepSeek-OCR, and why the additional design choices are necessary.
-
The relationship to xRAG and other soft-token compression and context compression methods could be discussed more clearly. Table 1 shows that OpticalRAG obtains a higher raw score than xRAG, which is a useful result. However, CAP is a compression-aware metric defined by the authors, so I would not treat the CAP ranking alone as sufficient evidence of superiority. More importantly, xRAG uses 1 injected token in the table, while OpticalRAG uses 16 injected tokens, so the token budgets are not matched. It would be helpful to include a more direct same-budget comparison, such as OpticalRAG with 1 injected token, to clarify whether the gain comes from the optical visual representation or from the larger injected-token budget.
-
The Encoder-Bridged Retrieval component is not sufficiently validated. The paper states that the default setting uses
K=W, which means all windows are passed into the distillation stage without hard filtering. In addition, the appendix reports a default setting ofW=1,Lwin=24,000,P=4, andcontext_sampling=head. Under this setting, the system is closer to head-window visual compression than to a genuine multi-window retrieval system. -
Figure 2 is somewhat mistake. The label “Tok-K” appears to mean “Top-K”.
Questions
-
Why Optical Encoding + Encoder-bridged Retrieval, rather than classical text-to-text Retrieval?
-
The compression scheme is reminiscent of the optical compression idea in DeepSeek-OCR. Could the authors more clearly explain the differences between OpticalRAG and DeepSeek-OCR?
-
Were the main results in Table 1 obtained with the default setting
W=1,Lwin=24,000,P=4, andcontext_sampling=head? If yes, how should we interpret the retrieval component when there is only one window? -
OpticalRAG obtains the best raw score on LongBench-v2 and LooGLE-v2, but is substantially lower than textual RAG and text-compression baselines on BAMBOO. Could the authors analyze whether this is related to the data or task type in BAMBOO, such as a stronger dependence on fine-grained textual evidence?
Limitations
yes
Paper formatting concerns
No major formatting concerns
Final justification
The follow-up provides direct recall@K results and a matched query-time comparison, addressing my earlier concerns about retrieval quality and amortized efficiency. However, my overall assessment remains unchanged. Although the rebuttal clarifies the differences from DeepSeek-OCR and xRAG, I remain unconvinced that combining a frozen DeepSeek-OCR encoder with Encoder-Bridged Retrieval and Query-Driven Distillation constitutes a sufficiently strong conceptual advance. I also remain concerned about the indirect text-to-image-to-soft-token pipeline. The authors acknowledge that optical encoding may lose character-level precision, consistent with the lower raw BAMBOO performance relative to RECOMP and LLMLingua-v2. The new experiments strengthen the empirical evidence but do not change my assessment of originality and method design.
We sincerely thank Reviewer LETi for the careful reading, constructive feedback, and recognition of the problem's importance, the intuitiveness of our query-driven distillation module, and the usefulness of our ablations. Below we address each concern.
W1 and Q1: Advantage of Optical Encoding + Encoder-Bridged Retrieval over Classical Text-to-Text Retrieval
This question gets at the core motivation of our work. Optical encoding offers three structural advantages over classical text-to-text retrieval:
(a) Compression-fidelity trade-off. A frozen visual encoder (DeepEncoder) compresses a full rendered page (~1,500 characters or ~400 text tokens) into just 100 visual tokens with minimal semantic loss. Classical text retrievers cannot achieve this ratio without discarding content: BM25 and dense retrievers select chunks but do not compress within them, while prompt compressors (e.g., LLMLingua-2) at comparable ratios suffer significant degradation, as shown in Table 1 (LLMLingua-2 drops below the closed-book backbone on LongBench-v2).
(b) Training-free cross-modal retrieval. Encoder-Bridged Retrieval exploits the shared representation space in pretrained VLMs (Section 4.2, lines 164-178), eliminating the need for contrastive training of a separate retriever required by classical dense retrieval pipelines (e.g., DPR, Contriever). The query projector Wq is jointly trained with the distillation module, requiring no additional retrieval-specific training stage.
(c) Preservation of 2D spatial structure. Text-to-text methods treat documents as flat 1D token sequences, discarding spatial layout cues (tables, columns, indentation) that visual encoders naturally capture (lines 36-38). Our complexity breakdown in Table R1 (see response to Reviewer pAjq, W1) confirms that OpticalRAG achieves its strongest gains on mixed/complex layout samples (+13.70 over Backbone), where spatial structure is most informative.
Empirically, Standard RAG with BM25 retrieval (top-5 chunks) feeding into the same Qwen2.5-7B-Instruct backbone achieves 31.41 on LongBench-v2 using ~1,623 tokens, while OpticalRAG achieves 35.79 using only 16 tokens. This 4.38-point improvement with 100× fewer tokens demonstrates that the optical pipeline provides a qualitatively better compression-fidelity frontier than text-based retrieval. We will expand this discussion in the revision.
W2 and Q2: Novelty Relative to DeepSeek-OCR
We agree this relationship deserves clearer exposition. The key distinction is one of purpose and system design:
DeepSeek-OCR is an OCR system producing text output; we repurpose its frozen encoder as a compression backbone within a RAG pipeline, adding two novel components absent from DeepSeek-OCR: (i) Encoder-Bridged Retrieval for training-free cross-modal matching, and (ii) Query-Driven Distillation for extreme query-conditioned compression. Theorem 5.1 further provides a principled justification for why M=16 suffices, entirely absent from the OCR literature. We will add a dedicated paragraph in Section 2 making this distinction explicit.
W3: Same-Budget Comparison with xRAG
The reviewer raises a fair point about the token-budget mismatch. We note that xRAG's core contribution is single-token compression, and Table 1 reports it at its designed operating point. However, to address fairness, we provide matched-budget comparisons.
First, Table 4 / Figure 3 already reports OpticalRAG at N=1: 31.0 on LongBench-v2, substantially higher than xRAG's 26.24 at the same single-token budget, demonstrating that the gain comes primarily from the optical visual representation and query-driven compression, not merely from using more tokens.
Second, we ran xRAG at higher budgets for symmetric comparison:
Table R4: Matched-budget comparison.
At every matched budget, OpticalRAG outperforms xRAG, often by large margins. Notably, xRAG degrades on BAMBOO and LooGLE-v2 with more tokens (4 or 16), suggesting its single-embedding architecture does not scale gracefully. In contrast, OpticalRAG improves steadily from N=1 to N=16, confirming that optical visual representation and query-driven compression are complementary sources of gain. We will add this comparison to the revision.
The absolute OpticalRAG scores here differ slightly from Table 1 (e.g., 33.60 vs. 35.79 on LongBench-v2 at N=16) because this comparison uses a unified retrieval configuration for fairness, whereas the main table reports the fully optimized pipeline.
W4 and Q3: Validation of Encoder-Bridged Retrieval: Actual Experimental Configuration
We thank Reviewer LETi for identifying this as a critical concern. We acknowledge that the paper's current writing conflates two distinct configurations: the online fallback path described in Appendix D.6 (W=1, head sampling) and the offline indexing configuration actually used for the main experiments. This has understandably led to the impression that the system operates as single-window visual compression rather than retrieval-augmented generation. We will correct this in the revision and explicitly separate the two paths.
Actual configuration used for all main results in Table 1. For every OpticalRAG result in the main table, we process the full context offline. The context Di for each sample is partitioned into Wi=⌈∣Di∣/Lwin⌉ contiguous, non-overlapping text windows (Lwin=24,000 characters) following Section 4.1. No head or uniform sub-sampling is applied, so no text is discarded. Each window is rendered into up to P page images and encoded by the frozen visual encoder. A mean-pooled dense vector is computed per window, and all vectors are stored in an index.
At query time, Encoder-Bridged Retrieval performs window-level top-K retrieval over this full index. The per-dataset configurations are:
The retrieval stage is not nominal. On LongBench-v2, the median index contains approximately 53 windows, from which only K=4 are retrieved, a selectivity ratio of roughly 1:13. On LooGLE-v2, the median is approximately 106 windows (selectivity roughly 1:26). We audited all evaluation samples: 2,228 out of 2,237 samples (99.60%) undergo non-trivial window retrieval where Wi>K. Only 9 short BAMBOO samples satisfy Wi≤K.
Direct evidence that retrieval quality affects downstream performance. We vary K while fixing the output budget at M=16:
Performance changes meaningfully with retrieval budget. On LongBench-v2, K=4 outperforms K=1 by +3.38 points, while K=5 drops by 1.98 points, indicating that excess noisy windows hurt distillation. On LooGLE-v2, performance improves from K=1 to K=4 by +0.75 points and plateaus. These results demonstrate that performance depends on which windows are retrieved and that K=4 provides the best evidence-noise tradeoff.
Revisions planned: (a) per-dataset configuration table with explicit Wi, K, S, S′ values; (b) candidate pool statistics; (c) explicit separation of offline full-coverage indexing (main experiments) from online context-sampling fallback (Appendix D.6).
W5: Figure 2 Typo ("Tok-K" to "Top-K")
Thank you for catching this. We confirm this is a typographical error and will correct "Tok-K" to "Top-K" in the revised Figure 2.
Q4: Performance Gap on BAMBOO
The claims of the paper do not assert uniform superiority in raw score; rather, we claim the best compression-aware trade-off (CAP). On BAMBOO specifically, OpticalRAG scores 61.00 versus RECOMP's 75.50 and LLMLingua-v2's 73.50 in raw score, but achieves the highest CAP (84.67) due to using only 16 tokens versus thousands.
We believe the gap stems from task characteristics. BAMBOO's choice subsets include meetingqa and paperqa tasks requiring matching fine-grained textual evidence (e.g., exact speaker attributions in meeting transcripts, specific numerical results in papers). The optical encoding pipeline renders text into images and re-encodes it, which may lose character-level precision that direct text access preserves. In contrast, LongBench-v2 and LooGLE-v2 contain more reasoning-heavy questions where semantic compression suffices. This analysis reveals a meaningful limitation: tasks requiring exact string matching may benefit from hybrid approaches combining optical compression with targeted text preservation. We will add this discussion to the revision.