arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.21086cs.CL
收藏

多业余对比解码用于文本生成

Multi-Amateur Contrastive Decoding for Text Generation

Department of Data Science(数据科学系);Praxis Business School(普拉克斯商学院)

Jaydip Sen, Subhasis Dasgupta, Hetvi Waghela

AI总结:

本文提出多业余对比解码框架,通过集成多个业余模型更全面地捕捉语言生成中的不良模式,提升文本生成的流畅性、连贯性和多样性。

摘要:

对比解码(CD)作为一种有效的推理时策略,通过利用大专家语言模型和小业余模型输出概率的差异来增强开放性文本生成。尽管CD提升了连贯性和流畅性,但其依赖单一业余模型限制了捕捉语言生成中多样化的失败模式,如重复、幻觉和风格漂移的能力。本文提出多业余对比解码(MACD),作为CD框架的扩展,采用多个业余模型更全面地表征不良生成模式。MACD通过平均和共识惩罚机制整合对比信号,并将可能性约束扩展到多业余设置中。此外,该框架通过引入具有针对性风格或内容偏见的业余模型实现可控生成。在新闻、百科和叙事等多个领域实验结果表明,MACD在流畅性、连贯性、多样性和适应性方面均优于传统解码方法和原始CD方法,且无需额外训练或微调。

英文摘要:

Contrastive Decoding (CD) has emerged as an effective inference-time strategy for enhancing open-ended text generation by exploiting the divergence in output probabilities between a large expert language model and a smaller amateur model. Although CD improves coherence and fluency, its dependence on a single amateur restricts its capacity to capture the diverse and multifaceted failure modes of language generation, such as repetition, hallucination, and stylistic drift. This paper proposes Multi-Amateur Contrastive Decoding (MACD), a generalization of the CD framework that employs an ensemble of amateur models to more comprehensively characterize undesirable generation patterns. MACD integrates contrastive signals through both averaging and consensus penalization mechanisms and extends the plausibility constraint to operate effectively in the multi-amateur setting. Furthermore, the framework enables controllable generation by incorporating amateurs with targeted stylistic or content biases. Experimental results across multiple domains, such as news, encyclopedic, and narrative, demonstrate that MACD consistently surpasses conventional decoding methods and the original CD approach in terms of fluency, coherence, diversity, and adaptability, all without requiring additional training or fine-tuning.

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

↑