(G)I-DLE:面向约束解码的、结合KL散度最小化的分布保持对数概率排除生成推理方法
(G)I-DLE: Generative Inference via Distribution-preserving Logit Exclusion with KL Divergence Minimization for Constrained Decoding
AI总结:
本研究提出约束解码方法(G)I-DLE,通过KL散度最小化与允许词元重归一化保留自回归语言模型的固有分布,在K2-Eval数据集的Qwen2.5系列模型实验中,既提升了平均评估分数又降低了输出质量方差。
摘要:
我们提出了(G)I-DLE,一种全新的约束解码方法,该方法利用KL散度最小化,在排除不合规词元的同时,保留自回归语言模型的固有条件概率分布。传统方法会简单地将禁用词元的对数概率设为$-\boldsymbol{\infty}$,这会扭曲原始对数概率到后验概率的转换,还会增大输出方差,与这类方法不同,(G)I-DLE会对允许词元的概率重新归一化,以尽可能降低此类扭曲。我们在K2-Eval数据集上验证了所提方法,该数据集专门用于评估韩语的流畅度、逻辑推理能力以及文化适配性。在参数量从1.5B到14B不等的Qwen2.5模型上开展的实验结果表明,G-IDLE不仅提升了平均评估分数,还大幅降低了输出质量的方差。
英文摘要:
We propose (G)I-DLE, a new approach to constrained decoding that leverages KL divergence minimization to preserve the intrinsic conditional probability distribution of autoregressive language models while excluding undesirable tokens. Unlike conventional methods that naively set banned tokens' logits to $-\infty$, which can distort the conversion from raw logits to posterior probabilities and increase output variance, (G)I-DLE re-normalizes the allowed token probabilities to minimize such distortion. We validate our method on the K2-Eval dataset, specifically designed to assess Korean language fluency, logical reasoning, and cultural appropriateness. Experimental results on Qwen2.5 models (ranging from 1.5B to 14B) demonstrate that G-IDLE not only boosts mean evaluation scores but also substantially reduces the variance of output quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。