arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2504.20131cs.LGcs.AIcs.ITmath.IT
收藏

LZ惩罚:一种用于自回归语言模型的信息论重复惩罚项

LZ Penalty: An information-theoretic repetition penalty for autoregressive language models

Salesforce AI Research(Salesforce人工智能研究)

Antonio A. Ginart, Naveen Kodali, Jason Lee, Caiming Xiong, Silvio Savarese, John R. Emmons

AI总结:

本文提出LZ惩罚,基于LZ77压缩算法,可让开源推理模型用贪婪解码时无退化重复,优于现有频率、重复惩罚。

摘要:

我们提出了LZ惩罚,这是一种专门用于减少自回归语言模型中退化重复的惩罚项,且不会损失模型能力。该惩罚项基于LZ77通用无损压缩算法中的编码长度。通过预测-压缩对偶性的视角,LZ惩罚的解码可解释为在移除高度可压缩信息后从残差分布中采样。我们证明,LZ惩罚能让最先进的开源推理模型在使用贪婪解码(温度为0)时,既不损失能力也不会出现退化重复的情况。而行业标准的频率惩罚和重复惩罚均无效,会导致高达4%的退化重复率。

英文摘要:

We introduce the LZ penalty, a penalty specialized for reducing degenerate repetitions in autoregressive language models without loss of capability. The penalty is based on the codelengths in the LZ77 universal lossless compression algorithm. Through the lens of the prediction-compression duality, decoding the LZ penalty has the interpretation of sampling from the residual distribution after removing the information that is highly compressible. We demonstrate the LZ penalty enables state-of-the-art open-source reasoning models to operate with greedy (temperature zero) decoding without loss of capability and without instances of degenerate repetition. Both the industry-standard frequency penalty and repetition penalty are ineffective, incurring degenerate repetition rates of up to 4%.

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

↑