抽卡解码:通过指令遵循激发多样化生成 Gacha Decoding: Eliciting Diverse Generations Through Instruction Following 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-01
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
该研究提出一种名为“抽卡解码”的推理时方法,旨在让语言模型生成更多样化的内容。传统方法依赖模型自身的随机性,但模型越强反而越保守。新方法将多样性视为指令遵循问题,借助外部随机数工具,让模型按指令生成不同模式。在聊天、写作、图像规划和蛋白质设计等任务中,它比现有方法多样性提升2.4倍,且用十分之一样本就能找到同样多的高质量模式,甚至发现全新模式。
领域自然语言处理 / 文本生成
适合谁读需要一定专业背景(了解语言模型解码和多样性评估)
核心贡献1. 提出将多样性建模为指令遵循问题,利用外部随机数工具实现可扩展的多样化生成。2. 证明随着模型指令遵循能力增强,多样性反而提升,逆转了传统上多样性与模型能力之间的权衡。
关键数据在多个开放领域任务中,多样性指标Vendi比次优方法提升高达2.4倍;达到相同数量高质量模式所需样本减少11.0倍;能发现其他方法无法生成的新模式。
推荐理由如果你关心如何让大模型生成既多样又高质量的内容,这篇论文提供了一个简单却强大的新思路,效果显著且随模型变强而更好。
关键词["多样性生成", "指令遵循", "推理时方法", "语言模型", "外部随机性", "解码策略"]

原文摘要

查看英文原文摘要

We introduce Gacha Decoding, an inference-time method for eliciting diverse language model generations that scales with model capability. Across open-ended domains (in-the-wild chat, creative writing, planning for image generation, and protein design), Gacha Decoding significantly outperforms existing generation diversity approaches at equal quality (up to 2.4x Vendi over the next-best prior approach), reaching the same number of high-quality modes with over an order of magnitude fewer samples (11.0x) and discovering novel modes that no other approach surfaces. Our key insight is to treat diversity as an instruction-following problem: rather than relying on the LM's token entropy, we combine its instruction-following capability with randomness from an external RNG tool to scalably identify and realize distinct modes of the response space. This approach of "planning with dice" enables Gacha to invert the long-observed tension between diversity and model capability. As the underlying LM becomes a better instruction follower, diversity under Gacha Decoding consistently improves--even as its token entropy and diversity under prior approaches decline. Together, our results highlight that instruction following, rather than token entropy alone, can drive generation diversity.