2025-10-31 · 专家 · 自然语言处理 · 机器学习

The End of Manual Decoding: Towards Truly End-to-End Language Models

本文提出了一种名为AutoDeco的新型语言模型架构,通过动态预测解码参数,实现了真正的“端到端”生成,并展示了其在多个基准测试中的优越性能。

更新于 2025-10-31。作者:Zhichao Wang、Dongyang Ma、Xinting Huang、Deng Cai、Tian Lan、Jiahao Xu、Haitao Mi、Xiaoying Tang、Yan Wang。

中文摘要

“端到端”标签对于大型语言模型来说是一种误称。在实践中,它们依赖于一个非可微的解码过程,这需要手动调整像温度和top-p这样的超参数,这个过程相当繁琐。本文介绍了一种名为AutoDeco的新型架构,它通过学习控制自己的解码策略,实现了真正的“端到端”生成。我们在标准的Transformer模型中加入了轻量级头部,在每个步骤中,它们动态地预测与下一个token的logits相关的上下文特定的温度和top-p值。这种方法将解码转化为一个参数化的、token级别的过程,允许模型在单次正向传播中自我调节其采样策略。通过对八个基准的大量实验,我们证明了AutoDeco不仅显著优于默认解码策略,而且还实现了与“破解测试集”得出的基准相当的性能——这是任何静态方法的实际上限。关键的是,我们发现了一种基于指令的解码控制的新兴能力:模型学会理解自然语言命令(例如,“用低随机性生成”),并根据token逐个调整其预测的温度和top-p值,开辟了一个可控制和交互式的大型语言模型解码的新范式。

英文摘要

The "end-to-end" label for LLMs is a misnomer. In practice, they depend on a non-differentiable decoding process that requires laborious, hand-tuning of hyperparameters like temperature and top-p. This paper introduces AutoDeco, a novel architecture that enables truly "end-to-end" generation by learning to control its own decoding strategy. We augment the standard transformer with lightweight heads that, at each step, dynamically predict context-specific temperature and top-p values alongside the next-token logits. This approach transforms decoding into a parametric, token-level process, allowing the model to self-regulate its sampling strategy within a single forward pass. Through extensive experiments on eight benchmarks, we demonstrate that AutoDeco not only significantly outperforms default decoding strategies but also achieves performance comparable to an oracle-tuned baseline derived from "hacking the test set"-a practical upper bound for any static method. Crucially, we uncover an emergent capability for instruction-based decoding control: the model learns to interpret natural language commands (e.g., "generate with low randomness") and adjusts its predicted temperature and top-p on a token-by-token basis, opening a new paradigm for steerable and interactive LLM decoding.

解读

一句话总结

本文提出了一种名为AutoDeco的新型语言模型架构,通过动态预测解码参数,实现了真正的“端到端”生成,并展示了其在多个基准测试中的优越性能。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt