arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.17338cs.CLcs.AIcs.LG
收藏

从Logits推断:探索免解码生成式候选选择的最佳实践

Inferring from Logits: Exploring Best Practices for Decoding-Free Generative Candidate Selection

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Rensselaer Polytechnic Institute(伦斯勒理工学院)

Mingyu Derek Ma, Yanna Ding, Zijie Huang, Jianxi Gao, Yizhou Sun, Wei Wang

AI总结:

本文系统评估了多种免解码候选选择方法在多项选择QA和临床决策等任务中结合不同基础语言模型的表现,为未来模型设计提供了实验依据和见解。

摘要:

生成式语言模型依赖自回归解码逐个token地生成输出序列。许多任务(如偏好优化)要求模型通过从候选池中选择候选作为预测,直接产生由多个token组成的任务级输出。使用普通的token级解码机制从候选中确定任务级预测,受限于耗时的解码过程和离散token选择导致的梯度中断。现有研究一直使用免解码候选选择方法,从词汇表上的初始输出logits中获取候选概率。尽管这些估计方法被广泛使用,但它们并未得到系统评估,尤其是在端到端任务上。我们针对一系列全面的任务,对全面的免解码候选选择方法集合进行了评估,包括5个具有小候选池的多项选择QA任务,以及4个具有大量候选的临床决策任务(部分包含10k+选项)。我们评估了这些估计方法与涵盖不同架构、规模和训练范式的广泛基础LM的搭配表现。我们分析得出的结果和见解将为未来的模型设计提供指导。

英文摘要:

Generative Language Models rely on autoregressive decoding to produce the output sequence token by token. Many tasks such as preference optimization, require the model to produce task-level output consisting of multiple tokens directly by selecting candidates from a pool as predictions. Determining a task-level prediction from candidates using the ordinary token-level decoding mechanism is constrained by time-consuming decoding and interrupted gradients by discrete token selection. Existing works have been using decoding-free candidate selection methods to obtain candidate probability from initial output logits over vocabulary. Though these estimation methods are widely used, they are not systematically evaluated, especially on end tasks. We introduce an evaluation of a comprehensive collection of decoding-free candidate selection approaches on a comprehensive set of tasks, including five multiple-choice QA tasks with a small candidate pool and four clinical decision tasks with a massive amount of candidates, some with 10k+ options. We evaluate the estimation methods paired with a wide spectrum of foundation LMs covering different architectures, sizes and training paradigms. The results and insights from our analysis inform the future model design.

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

↑