arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.30130cs.AIcs.CL
收藏

视觉语言推理模型的解码感知成本分析:光学上下文压缩何时划算?

When Does Optical Context Compression Pay Off? A Decode-Aware Cost Analysis of Reasoning VLMs

Bitdeer Technologies Group(比特小鹿科技集团)

Ziqing Ge

AI总结:

本文分析推理型VLMs的光学上下文压缩成本,发现解码长度增加会抵消预填充token节省,提出兑换率判断压缩是否划算,给出启发式策略可降低账单并控制精度损失。

摘要:

将长文本渲染为图像可让视觉语言模型(VLM)用更少的输入token读取文档,评估通常主要统计这些预填充token。我们表明,对于推理模型,这种统计是不完整的。在五个模型和两个长上下文基准测试中,读取渲染后的文档会使模型思考时间更长:在测试的四个通用VLM上,解码长度增长了1.5至3.5倍,在典型的输出定价下,这种解码成本使得五个模型中的两个在QuALITY基准上使用图像输入比文本更昂贵。在中等压缩下,不可恢复的信息损失不足以解释这种成本:Qwen对相同图像的OCR恢复了98.7%的单词,将Kimi-K3自己的转录文本作为文本输入,可恢复文本模式的推理长度和准确性。压缩是否划算可归结为一个兑换率(1-1/c)/(r-1),该兑换率必须超过工作负载的输出token与输入token的价格加权比率;这种统计分解解释了为什么Kimi-K3和DeepSeek-V4.1-Flash可以受益,而Qwen和GLM则不能。我们测试的所有无训练信号都无法在生成前预测这种成本。作为实用启发式方法,采用优先使用图像的策略,即仅将每个输入压缩率至少为1.6的输入发送到图像模式,一旦图像模式推理成本与该输入的预填充节省相当就回退到文本模式,可使Kimi-K3和DeepSeek-V4.1-Flash的账单减少6%至14%,同时精度损失为0.3至1.2个点;在QuALITY基准上,在两种路径上都设置推理预算是更有效的手段。

英文摘要:

Rendering long text as images lets a vision-language model (VLM) read a document with fewer input tokens, and evaluations often count mainly these prefill tokens. We show that for reasoning models this accounting is incomplete. Across five models and two long-context benchmarks, reading the rendered document makes the model think longer: decode length grows by 1.5-3.5x on the four general-purpose VLMs tested, and under typical output pricing this decode tax makes image input more expensive than text for two of the five models on QuALITY. Unrecoverable information loss is not sufficient to explain the tax at moderate compression: Qwen's OCR of the same images recovers 98.7% of words, and feeding Kimi-K3 its own transcription as text restores text-mode reasoning length and accuracy. Whether compression pays off reduces to an exchange rate, (1-1/c)/(r-1), that must exceed the workload's price-weighted ratio of output to input tokens; this accounting decomposition shows why Kimi-K3 and DeepSeek-V4.1-Flash can benefit and Qwen and GLM cannot. None of the training-free signals we test predicts the tax before generation. As a practical heuristic, an image-first policy that sends only inputs with a per-input compression ratio of at least 1.6 to images and falls back to text once image-mode reasoning costs as much as the input's prefill saving cuts the bill by 6-14% on Kimi-K3 and DeepSeek-V4.1-Flash at an accuracy cost of 0.3-1.2 points; on QuALITY, asking for a reasoning budget on both paths is a stronger lever. Code and data are available at https://github.com/gitgzq/optical-compression-decode-tax.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑