FocusVTC:高效高性能自适应分辨率视觉文本压缩
研究论文 · 2026/09/30
大型语言模型的长上下文推理会带来大量计算和内存开销。视觉文本压缩(VTC)通过将文本渲染为图像来缩短输入长度,但固定分辨率渲染会造成压缩与性能之间的权衡:低 DPI 节省 token 却牺牲可读性,高 DPI 则把 token 花在无关内容上。我们提出 FocusVTC,通过自适应分辨率打破这一权衡,同时保留通用多模态能力。它将压缩的低 DPI 全局视图与选择性区域增强相结合,把增强视图整合进正在进行的推理中。我们构建了 29.4K 高质量的 Reasoning-Evidence Localization(REL)思维链示例(REL-CoT),将推理轨迹与页面索引和边界框关联起来。多分辨率 REL 监督微调(REL-SFT)教会模型定位相关区域,Group Relative Policy Optimization 学习何时增强分辨率以及如何使用由此产生的观察结果,且无需单独的持续预训练阶段。在 RULER v1 上以 72 DPI 运行时,FocusVTC 在包含工具观察的 2.9 倍输入压缩下得分为 87.4,而 Glyph 在 3.0 倍输入压缩下为 57.5。它在 LongBench 上超过其文本输入主干(56.40 对 55.86),将 MRCR 宏平均提高 13.91 分,并在 VTCBench 上达到 51.19 宏平均。MRCR 延迟评估还显示,相比 Text 有 2.79 倍的在线端到端加速。通用多模态能力得以保留,MMMU 从 65.12 提升至 66.73,MME 从 2424.02 提升至 2457.62。
该工作提出自适应分辨率的视觉文本压缩方法,在显著降低输入长度的同时提升长上下文推理性能,并保留通用多模态能力,对高效长上下文建模具有重要参考价值。
Long-context reasoning in large language models incurs substantial computation and memory costs. Visual text compression (VTC) reduces input length by rendering text as images, but fixed-resolution rendering creates a compression-performance trade-off: low DPI saves tokens at the expense of legibility, whereas high DPI spends tokens on irrelevant content. We introduce FocusVTC, which breaks this trade-off through adaptive resolution while preserving general multimodal capabilities. It combines compressed low-DPI global views with selective region enhancement, integrating enhanced views into ongoing reasoning. We construct 29.4K high-quality Reasoning-Evidence Localization (REL) chain-of-thought examples (REL-CoT) that link reasoning traces to page indices and bounding boxes. Multi-resolution REL supervised fine-tuning (REL-SFT) teaches the model to localize relevant regions, and Group Relative Policy Optimization learns when to enhance resolution and how to use the resulting observations, without a separate continual-pretraining stage. At 72 DPI on RULER v1, FocusVTC scores 87.4 at 2.9times input compression, including tool observations, versus 57.5 for Glyph at 3.0times input compression. It surpasses its text-input backbone on LongBench (56.40 versus 55.86), improves the MRCR macro-average by 13.91 points, and achieves a 51.19 macro-average on VTCBench. The MRCR latency evaluation also shows a 2.79times online end-to-end speedup over Text. General multimodal capabilities are preserved, with MMMU increasing from 65.12 to 66.73 and MME from 2424.02 to 2457.62.