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

程序辅助推理器(更)了解自身所知

Program-Aided Reasoners (better) Know What They Know

Language Technologies Institute, Carnegie Mellon University(卡内基梅隆大学语言技术研究所)

Anubha Kabra, Sanketh Rangreji, Yash Mathur, Aman Madaan, Emmy Liu, Graham Neubig

AI总结:

本文比较程序辅助语言模型(PAL)与文本思维链(COT)的校准性能,发现PAL在多数数据集和模型上更准确且校准更好,并通过温度缩放进一步验证了其优势。

摘要:

先前的研究表明,程序辅助推理(将大型语言模型(LLMs)与用Python等编程语言编写的程序相结合)能够显著提高各种推理任务的准确性。然而,虽然准确性至关重要,但此类推理器“了解自身所知”也同样重要,这可以通过模型的校准程度来量化。在本文中,我们比较了程序辅助语言模型(PAL)和基于文本的思维链(COT)提示技术在5个数据集和2种模型类型(LLaMA模型和OpenAI模型)上的校准情况。我们的结果表明,PAL在75%的实例中带来了校准的改善。我们的分析揭示,产生较低生成多样性的提示风格也具有更校准的结果,因此我们还尝试使用温度缩放来诱导较低的生成多样性,并发现对于某些温度,PAL不仅更准确,而且比COT更校准。总体而言,我们证明在大多数情况下,程序辅助推理器比基于文本的推理器更了解自身所知。

英文摘要:

Prior work shows that program-aided reasoning, in which large language models (LLMs) are combined with programs written in programming languages such as Python, can significantly improve accuracy on various reasoning tasks. However, while accuracy is essential, it is also important for such reasoners to "know what they know", which can be quantified through the calibration of the model. In this paper, we compare the calibration of Program Aided Language Models (PAL) and text-based Chain-of-thought (COT) prompting techniques over 5 datasets and 2 model types: LLaMA models and OpenAI models. Our results indicate that PAL leads to improved calibration in 75% of the instances. Our analysis uncovers that prompting styles that produce lesser diversity in generations also have more calibrated results, and thus we also experiment with inducing lower generation diversity using temperature scaling and find that for certain temperatures, PAL is not only more accurate but is also more calibrated than COT. Overall, we demonstrate that, in the majority of cases, program-aided reasoners better know what they know than text-based counterparts.

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

↑