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

仅用10比特从俳句到巨作:LLMs解锁巨大压缩增益

Haiku to Opus in Just 10 bits: LLMs Unlock Large Compression Gains

Harvard University(哈佛大学);University of Cambridge(剑桥大学);Anthropic

Roy Rinberg, Annabelle Michael Carrell, Simon Henniger, Nicholas Carlini, Keri Warr

AI总结:

研究LLM生成文本的无损和有损压缩,提出问答压缩(QA)交互协议,用少量二进制问题实现超100倍压缩比,高效传递知识。

摘要:

我们研究了LLM生成文本在无损和有损场景下的压缩,刻画了一个压缩-计算边界,其中更多的压缩需要更多的计算。对于无损压缩,领域适应的LoRA适配器可以将基于LLM的算术编码的压缩比提高2倍,相对于仅使用基础LLM的压缩。对于有损压缩,提示模型进行简洁重写然后应用算术编码可以实现约0.03的压缩比,比压缩原始响应提高2倍。我们进一步引入了问答压缩(QA),一种受游戏“二十个问题”启发的交互式有损协议。一个小模型通过向更强模型提问是/否问题来迭代优化其响应,每个答案恰好传输1比特。在涵盖数学、科学和代码的8个基准测试中,10个二进制问题恢复了小模型和大模型在标准基准上能力差距的23%到72%,在更难的基准上恢复了7%到38%,实现了0.0006到0.004的压缩比。这比之前基于LLM的压缩(Deletang等人,2024)小100倍以上,表明交互式协议可以比传输完整响应更高效地传递知识。

英文摘要:

We study the compression of LLM-generated text across lossless and lossy regimes, characterizing a compression-compute frontier where more compression is possible at the cost of more compute. For lossless compression, domain-adapted LoRA adapters can improve LLM-based arithmetic coding by 2x over compression with the base LLM alone. For lossy compression, prompting a model for a succinct rewrite then applying arithmetic coding can achieve compression ratios of approximately 0.03, a 2x improvement over compressing the original response. We further introduce Question-Asking compression (QA), an interactive lossy protocol inspired by the game 'Twenty Questions'. A small model iteratively refines its response by asking yes/no questions to a stronger model, transferring exactly one bit per answer. On 8 benchmarks spanning math, science, and code, 10 binary questions recover 23% to 72% of the capability gap between a small and large model on standard benchmarks and 7% to 38% on harder benchmarks, achieving compression ratios of 0.0006 to 0.004. This is over 100x smaller than prior LLM-based compression (Deletang et al., 2024), suggesting that interactive protocols can transfer knowledge far more efficiently than transmitting full responses.

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

↑