光学上下文压缩只是(糟糕)的自编码
Optical Context Compression Is Just (Bad) Autoencoding
AI总结:
研究比较了光学上下文压缩与直接方法,发现直接方法在重建和语言建模中表现更优,光学压缩未超越最佳直接基线。
摘要:
DeepSeek-OCR表明,通过少量视觉标记可以重建渲染文本,引发了使用视觉作为长文本上下文压缩介质的兴奋。但此流程需要将标记嵌入渲染为像素并从那里进行压缩——舍弃已学习的表示,转而让视觉编码器必须从图像中恢复。我们问这种绕道是否有帮助。将DeepSeek-OCR的视觉编码器与接近零参数的均池化和一个学习的层次编码器进行比较,我们发现它没有帮助。在重建方面,简单的直接方法在每种压缩比下都匹配或超越视觉编码器。在语言建模方面,视觉表现与截断——一种简单丢弃上下文的基线——相当,但在每种压缩比下都输给层次编码器。正如预期的那样,所有压缩方法在事实回忆上都优于截断,但视觉从未超越最佳直接基线。对光学上下文压缩的兴奋超过了证据。代码和检查点可在https://github.com/ivnle/bad-autoencoding获取。
英文摘要:
DeepSeek-OCR shows that rendered text can be reconstructed from a small number of vision tokens, sparking excitement about using vision as a compression medium for long textual contexts. But this pipeline requires rendering token embeddings to pixels and compressing from there -- discarding learned representations in favor of an image the vision encoder must then recover from. We ask whether this detour helps. Comparing DeepSeek-OCR's vision encoder against near-zero-parameter mean pooling and a learned hierarchical encoder, we find it does not. For reconstruction, simple direct methods match or surpass vision at every compression ratio. For language modeling, vision performs comparably to truncation -- a baseline that simply discards context -- and loses to the hierarchical encoder at every compression ratio. As expected, all compression methods outperform truncation for factual recall, but vision never surpasses the best direct baseline. The excitement around optical context compression outpaces the evidence. Code and checkpoints are available at https://github.com/ivnle/bad-autoencoding.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。