arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14859cs.CLcs.AI
收藏

对数概率是基础与指令微调语言模型中语义合理性的可靠估计

Log Probabilities Are a Reliable Estimate of Semantic Plausibility in Base and Instruction-Tuned Language Models

Massachusetts Institute of Technology(麻省理工学院);The Hong Kong Polytechnic University(香港理工大学);University of Pisa(比萨大学);Georgia Tech University(佐治亚理工学院)

Carina Kauf, Emmanuele Chersoni, Alessandro Lenci, Evelina Fedorenko, Anna A. Ivanova

AI总结:

本文通过单句最小对和上下文场景实验证明,在基础与指令微调语言模型中,对数概率比零样本提示能更可靠地度量语义合理性,且指令微调通常不改变其敏感性。

摘要:

语义合理性(例如知道“演员赢得了奖项”比“演员赢得了战役”更可能)可作为一般世界知识的有效代理。语言模型(LMs)通过学习文本中的分布模式来捕获大量世界知识,这些知识可通过它们分配给合理与不合理输出的对数概率(LogProbs)来获取。新一代指令微调语言模型现在还可以通过提示提供对合理性的显式估计。在此,我们评估了LogProbs和基本提示在测量语义合理性方面的有效性,既在单句最小对(实验1)中,也在短上下文依赖场景(实验2)中。我们发现:(i) 在基础语言模型和指令微调语言模型中,LogProbs都比直接零样本提示提供了更可靠的语义合理性度量,后者产生不一致且通常较差的结果;(ii) 指令微调通常不会改变LogProbs对语义合理性的敏感性(尽管有时会降低它);(iii) 在不同模型中,上下文大多以预期方式调节LogProbs,这通过三个新的上下文敏感合理性指标及其与显式人类合理性判断的匹配来衡量。我们得出结论,即使在基于提示的评估时代,LogProbs在基础语言模型和指令微调语言模型中都是语义合理性的有用度量。

英文摘要:

Semantic plausibility (e.g. knowing that "the actor won the award" is more likely than "the actor won the battle") serves as an effective proxy for general world knowledge. Language models (LMs) capture vast amounts of world knowledge by learning distributional patterns in text, accessible via log probabilities (LogProbs) they assign to plausible vs. implausible outputs. The new generation of instruction-tuned LMs can now also provide explicit estimates of plausibility via prompting. Here, we evaluate the effectiveness of LogProbs and basic prompting to measure semantic plausibility, both in single-sentence minimal pairs (Experiment 1) and short context-dependent scenarios (Experiment 2). We find that (i) in both base and instruction-tuned LMs, LogProbs offers a more reliable measure of semantic plausibility than direct zero-shot prompting, which yields inconsistent and often poor results; (ii) instruction-tuning generally does not alter the sensitivity of LogProbs to semantic plausibility (although sometimes decreases it); (iii) across models, context mostly modulates LogProbs in expected ways, as measured by three novel metrics of context-sensitive plausibility and their match to explicit human plausibility judgments. We conclude that, even in the era of prompt-based evaluations, LogProbs constitute a useful metric of semantic plausibility, both in base and instruction-tuned LMs.

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

↑