保形核采样
Conformal Nucleus Sampling
AI总结:
本研究针对top-$p$核采样的概率含义匹配问题,引入保形预测将参数p校准为下一词分布熵的函数,发现OPT模型过度自信且校准效果与模型规模呈中等逆缩放关系。
摘要:
语言模型通过逐次采样下一个词来生成文本。基于核采样(top-$p$)的解码流程会从累积概率超过概率$p$的最小词集合中进行选择。本研究评估了top-$p$集合在不同语言语境下是否与其概率含义真正匹配。我们采用保形预测(一种根据期望置信水平构建最小预测集的校准流程),将参数$p$校准为下一个词分布熵的函数。研究发现OPT模型存在过度自信的问题,且校准效果与模型规模呈中等程度的逆缩放关系。
英文摘要:
Language models generate text based on successively sampling the next word. A decoding procedure based on nucleus (top-$p$) sampling chooses from the smallest possible set of words whose cumulative probability exceeds the probability $p$. In this work, we assess whether a top-$p$ set is indeed aligned with its probabilistic meaning in various linguistic contexts. We employ conformal prediction, a calibration procedure that focuses on the construction of minimal prediction sets according to a desired confidence level, to calibrate the parameter $p$ as a function of the entropy of the next word distribution. We find that OPT models are overconfident, and that calibration shows a moderate inverse scaling with model size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。