不要抛弃你的光束:通过光束搜索改进大语言模型中的基于一致性不确定性的方法
Don't Throw Away Your Beams: Improving Consistency-based Uncertainties in LLMs via Beam Search
AI总结:
本文提出通过光束搜索改进大语言模型中的基于一致性的不确定性量化方法,减少方差并提升性能,实验证明其在六个问答数据集上达到最先进的性能。
摘要:
基于一致性的方法已成为大语言模型中不确定性量化(UQ)的有效方法。这些方法通常依赖于通过多项式采样获得的多个生成,测量其一致性水平。然而,在短格式问答中,多项式采样容易由于尖峰分布产生重复,其随机性引入了不确定性估计在不同运行中的显著方差。我们引入了一种新的方法家族,利用光束搜索生成一致性UQ的候选,相比多项式采样,实现了更好的性能和更小的方差。我们还提供了光束集概率质量的理论下限,表明在该下限下,光束搜索的误差比多项式采样更小。我们实验证明了我们的方法在六个问答数据集上的表现,发现其对多项式采样的一致性改进导致了最先进的UQ性能。
英文摘要:
Consistency-based methods have emerged as an effective approach to uncertainty quantification (UQ) in large language models. These methods typically rely on several generations obtained via multinomial sampling, measuring their agreement level. However, in short-form QA, multinomial sampling is prone to producing duplicates due to peaked distributions, and its stochasticity introduces considerable variance in uncertainty estimates across runs. We introduce a new family of methods that employ beam search to generate candidates for consistency-based UQ, yielding improved performance and reduced variance compared to multinomial sampling. We also provide a theoretical lower bound on the beam set probability mass under which beam search achieves a smaller error than multinomial sampling. We empirically evaluate our approach on six QA datasets and find that its consistent improvements over multinomial sampling lead to state-of-the-art UQ performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。