Carry the Fine Print: Budget-Aware Visual Token Compression for Document OCR
Abstract
Visual token compression often treats salience or similarity as a proxy for transcription importance. Complete document OCR breaks this assumption: small symbols and repeated entries can be indispensable to the transcript despite being visually inconspicuous. We present Select and Compensate, a two-stage framework built on a simple idea: choosing where to retain a token need not determine all the evidence it carries. Selection combines adaptive encoding resolution with global importance and local contrast to choose which tokens to retain as anchors. Compensation enriches these anchors with nearby discarded content and its relative position, without adding tokens. The OCR backbone remains frozen, and native coordinates and structural tokens are preserved. We evaluate complete page transcription across five backbones on OmniDocBench and document reconstruction on MPDocBench. With half the original visual tokens, our input-adapted configuration reaches 95.42 OmniDocBench Overall on Ovis versus 96.09 for the uncompressed model, and paired evaluations show gains over simply reducing the input resolution on both benchmarks. With the original input grid, our method stays within 0.17 points of the uncompressed model at 75% retention and exceeds a learned global selector by 4.70 points at 25%. On a fixed 200-page Ovis workload at the same 50% visual-token budget, only 3 of its outputs hit the length limit, versus 30-34 for the evaluated RTPrune, DivPrune, and HiPrune adaptations, and it finishes the batch 35-40% sooner. Code will be made publicly available.
Create a lesson
Metadata
- Comments
- 11 pages; supplementary material is included as an ancillary file
Related papers
DepthMSA: Combinatorial Training and Budget-Aware Depth Allocation for Multimodal Sentiment Analysis
Shared title terminologycs.CVPan Wang, Jie Peng, Zhimin Li et al.
Tokenize Moments, Not Frames: Tokenizer-Aware Budget Allocation for Training-Free Video LLM Acceleration
Shared title terminologycs.CVZirui Zhao, Kai Liu, Linghe Kong
CAR: Reducing Decoder Output Shift in Visual Token Pruning via Coverage Selection and Attention Reallocation
Shared title terminologycs.CVXixi Jiang, Pingcheng Dong, Chen Yang et al.
Separating Action Allocation from Image Matching in Visual Token Routing
Shared title terminologycs.CVChenxi Wang, Bin Wang
FP-Prune: Rethinking Visual Token Pruning from an Information Gain Perspective
Shared title terminologycs.CVHaozhe Zhao, Junxiang Zhang, Junxin Wang et al.
PrimiTok: Learning to Diversify and Allocate Primitives for Visual Tokenization
Shared title terminologycs.CVYizhu Chen, Chen Ju, Donghao Zhou et al.