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

一致性预测何时可能是正确预测?

When is the consistent prediction likely to be a correct prediction?

University of California San Diego(加利福尼亚大学圣迭戈分校);Halıcıoğlu Data Science Institute, University of California San Diego(加利福尼亚大学圣迭戈分校哈利乔格鲁数据科学学院)

Alex Nguyen, Dheeraj Mekala, Chengyu Dong, Jingbo Shang

AI总结:

该研究质疑自一致性方法中“最一致答案更正确”的观点,发现更长推理文本对应的一致性答案准确率更高,基于此在零样本设置下用Mixtral-8x7B模型达到了零样本CoT自一致性性能的86%,并指出需设计基于输出长度的解码策略。

摘要:

自一致性(Self-consistency,Wang等人,2023)认为,通过大语言模型(LLM)得到的最一致的答案更有可能是正确的。本文对这一观点提出质疑,并给出了更细致的修正结论。我们的观察表明,通过更多计算(即更长的推理文本)得到的一致性答案,而非所有输出中简单的最一致答案,更有可能是正确的。这主要是因为我们证明,LLM无需自定义提示词,仅在生成更长响应时就能自主产生思维链(CoT)风格的推理,由此得到的一致性预测准确率更高。在零样本设置下,通过对Mixtral-8x7B模型进行多次采样并考虑更长响应,我们在GSM8K和MultiArith数据集上达到了其通过零样本CoT提示获得的自一致性性能的86%。最后,我们证明LLM生成更长响应的概率相当低,凸显了基于输出长度的解码策略的必要性。

英文摘要:

Self-consistency (Wang et al., 2023) suggests that the most consistent answer obtained through large language models (LLMs) is more likely to be correct. In this paper, we challenge this argument and propose a nuanced correction. Our observations indicate that consistent answers derived through more computation i.e. longer reasoning texts, rather than simply the most consistent answer across all outputs, are more likely to be correct. This is predominantly because we demonstrate that LLMs can autonomously produce chain-of-thought (CoT) style reasoning with no custom prompts merely while generating longer responses, which lead to consistent predictions that are more accurate. In the zero-shot setting, by sampling Mixtral-8x7B model multiple times and considering longer responses, we achieve 86% of its self-consistency performance obtained through zero-shot CoT prompting on the GSM8K and MultiArith datasets. Finally, we demonstrate that the probability of LLMs generating a longer response is quite low, highlighting the need for decoding strategies conditioned on output length.

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

↑