> Paper: RTPrune: Reading-Twice Inspired Token Pruning for Efficient DeepSeek-OCR Inference > Authors: Ben Wan, Yan Feng, Zihan Tang, Weizhe Huang > arXiv: 2605.00392 | 2026-04-29
The Problem: Too Many Visual Tokens in OCR
When using DeepSeek-OCR on scanned documents like books:
- Each page image generates a large number of visual tokens
- Many tokens are redundant:
- Blank regions
- Repeated text structures
- Decorative elements
- Processing is slow
- Memory usage is high
- Designed for general vision-language models, not OCR
- Loses text details after pruning
- OCR accuracy drops
- First pass: quickly scan all tokens and identify important regions
- Second pass: process only important tokens, ignore redundancy
- Understands text structure
- Preserves: text regions and key layout elements
- Prunes: blank space, decorations, repeated structures
- Traditional pruning loses text details
- RTPrune specifically protects text information
- OCR accuracy does not drop after pruning
- Fewer tokens processed
- Faster inference
- Lower memory footprint
- Indiscriminate processing: all tokens are treated equally, wasting computation on redundancy
- OCR-specific challenges: documents have structured layouts (headings, paragraphs, tables) that generic pruning does not understand
- Structure awareness: the first pass understands document structure; the second focuses on what matters
- Text protection: knows what is "text" versus "decoration", enabling precise preserve/prune decisions
- Efficiency-quality balance: major speedup with no accuracy loss
Existing pruning methods have limitations:
What's needed: token pruning designed specifically for OCR.
RTPrune: The "Reading Twice" Approach
The paper draws inspiration from human reading: a first quick pass to grasp structure, then a careful second pass over the important parts — not every word gets equal attention.
Technical approach
1. Two-pass reading mechanism
2. OCR-aware pruning
3. Text fidelity
4. Efficiency gains
Analogy: Traditional methods read the entire book word by word; RTPrune first scans the table of contents and chapter headings, then reads the important paragraphs — faster, but without missing key information.
Why "Reading Twice" Beats "Reading Once"
Single-pass problems:
Two-pass advantages:
Takeaways
If you are optimizing document processing or OCR systems, ask yourself:
1. Is my system processing too many redundant tokens? 2. Is there an OCR-specific pruning strategy I should use? 3. Could a two-pass mechanism improve efficiency? 4. Does pruning protect critical text information?
RTPrune reminds us: in OCR, the fastest processing isn't processing everything — it's processing only what matters.
When DeepSeek-OCR learns to "read twice" — once for structure, once for the essentials — it becomes not only faster but smarter. In the future of document intelligence, selective attention is the key to efficiency.
> In the art of reading, the best readers are not the fastest, but the most selectively focused.