Mind Your Step (by Step): Chain-of-Thought can Reduce Performance on Tasks where Thinking Makes Humans Worse
该论文通过借鉴认知心理学的研究,探讨了在哪些任务中思维链(CoT)提示会降低大型语言模型(LLMs)的性能。
更新于 2024-11-09。作者:Ryan Liu、Jiayi Geng、Addison J. Wu、Ilia Sucholutsky、Tania Lombrozo、Thomas L. Griffiths。
中文摘要
思维链(CoT)提示已成为处理大型语言和多模态模型的一种广泛应用策略。尽管CoT已在许多任务中显示出提高性能的作用,但确定其在哪些设置中有效的努力仍在继续。特别是,关于在哪些设置中CoT会系统性地降低模型性能,仍然是一个悬而未决的问题。在这篇论文中,我们试图通过借鉴认知心理学,研究在人类中(i)言语思考或审慎会损害性能的情况,以及(ii)制约人类性能的约束是否可以推广到语言模型的情况,来确定CoT降低性能的任务特征。三种这样的情况是隐含统计学习、视觉识别和包含异常情况的模式分类。在所有三种设置中进行的大量实验中,我们发现,与零样本的对应版本相比,使用推理时间推理的众多最先进模型在性能上出现了显著的下降(例如,与GPT-4o相比,OpenAI o1-preview的绝对准确率下降了高达36.3%)。我们还确定了三个满足条件(i)但不满足(ii)的任务,并发现尽管在这些任务中言语思考降低了人类性能,但CoT保持了或提高了模型性能。总的来说,我们的结果表明,虽然模型和人类的认知过程之间没有完全的平行关系,但考虑那些思考对人类性能有负面影响的情况,可以帮助我们确定那些对模型有负面影响的设置。通过将关于人类审慎的文献与CoT评估相结合,我们提供了一种新的工具,可以用来理解提示选择和推理时间推理的影响。
英文摘要
Chain-of-thought (CoT) prompting has become a widely used strategy for working with large language and multimodal models. While CoT has been shown to improve performance across many tasks, determining the settings in which it is effective remains an ongoing effort. In particular, it is still an open question in what settings CoT systematically reduces model performance. In this paper, we seek to identify the characteristics of tasks where CoT reduces performance by drawing inspiration from cognitive psychology, looking at cases where (i) verbal thinking or deliberation hurts performance in humans, and (ii) the constraints governing human performance generalize to language models. Three such cases are implicit statistical learning, visual recognition, and classifying with patterns containing exceptions. In extensive experiments across all three settings, we find that a diverse collection of state-of-the-art models exhibit significant drop-offs in performance (e.g., up to 36.3% absolute accuracy for OpenAI o1-preview compared to GPT-4o) when using inference-time reasoning compared to zero-shot counterparts. We also identify three tasks that satisfy condition (i) but not (ii), and find that while verbal thinking reduces human performance in these tasks, CoT retains or increases model performance. Overall, our results show that while there is not an exact parallel between the cognitive processes of models and those of humans, considering cases where thinking has negative consequences for human performance can help us identify settings where it negatively impacts models. By connecting the literature on human deliberation with evaluations of CoT, we offer a new tool that can be used in understanding the impact of prompt choices and inference-time reasoning.
解读
一句话总结
该论文通过借鉴认知心理学的研究,探讨了在哪些任务中思维链(CoT)提示会降低大型语言模型(LLMs)的性能。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:CoT提示虽然被广泛用于提高LLMs在许多任务上的性能,但确定其在哪些情况下有效仍然是一个持续的努力。 • 现有方案不足:目前尚未有明确的模式表明在哪些情况下CoT会系统地降低模型性能。 • 研究目标:识别那些CoT会降低性能的任务特征。
问题2:论文的核心创新点是什么?
• 技术创新:通过借鉴认知心理学,研究了人类在哪些情况下通过语言思考会损害性能,并将这些发现应用于LLMs。 • 方法改进:通过实验验证了在特定任务中CoT对LLMs性能的负面影响。 • 优势:为理解和预测CoT对模型性能的负面影响提供了新的视角。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在涉及隐含统计学习、视觉识别和包含异常模式的分类任务上进行了实验。 • 性能提升:在隐含统计学习任务中,OpenAI o1-preview的性能下降了36.3%;在视觉识别任务中,所有测试的视觉语言模型都出现了性能下降。 • 对比结果:在满足条件(i)但不满足条件(ii)的任务中,CoT并未降低模型性能。
问题4:这个研究的实际应用价值是什么?
• 应用场景:帮助开发者理解何时CoT可能对模型性能产生负面影响,从而在部署模型时做出更好的决策。 • 实施建议:在部署模型时,应考虑任务的特征和模型的限制,以避免不必要的性能下降。 • 局限与展望:该方法可能无法涵盖所有CoT降低性能的情况,但为理解CoT对模型性能的影响提供了有价值的见解。
来源
机器可读索引:llms.txt