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

CRITIC:大型语言模型可通过工具交互式批判实现自我修正

CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing

Microsoft Research Asia(微软亚洲研究院);Microsoft Azure AI(微软 Azure 人工智能);Tsinghua University(清华大学)

Zhibin Gou, Zhihong Shao, Yeyun Gong, Yelong Shen, Yujiu Yang, Nan Duan, Weizhu Chen

AI总结:

本文提出CRITIC框架,使大型语言模型能像人类一样借助外部工具验证并逐步修正自身输出,在问答、程序合成和毒性降低等任务上持续提升模型性能。

摘要:

大型语言模型(LLMs)近期的进展令人瞩目。然而,这些模型有时会表现出不一致性和问题行为,例如虚构事实、生成有缺陷的代码,或产生冒犯性和有毒内容。与这些模型不同,人类通常会利用外部工具来交叉检查和改进其初始内容,例如使用搜索引擎进行事实核查,或使用代码解释器进行调试。受这一观察启发,我们提出了一个名为CRITIC的框架,使本质上属于“黑箱”的LLMs能够以类似于人类与工具交互的方式,验证并逐步修正其自身的输出。具体而言,从初始输出开始,CRITIC与适当的工具进行交互以评估文本的某些方面,然后根据在此验证过程中获得的反馈来修订输出。涉及自由形式问答、数学程序合成和毒性降低的综合评估表明,CRITIC持续提升了LLMs的性能。同时,我们的研究强调了外部反馈在促进LLMs持续自我改进中的关键重要性。

英文摘要:

Recent developments in large language models (LLMs) have been impressive. However, these models sometimes show inconsistencies and problematic behavior, such as hallucinating facts, generating flawed code, or creating offensive and toxic content. Unlike these models, humans typically utilize external tools to cross-check and refine their initial content, like using a search engine for fact-checking, or a code interpreter for debugging. Inspired by this observation, we introduce a framework called CRITIC that allows LLMs, which are essentially "black boxes" to validate and progressively amend their own outputs in a manner similar to human interaction with tools. More specifically, starting with an initial output, CRITIC interacts with appropriate tools to evaluate certain aspects of the text, and then revises the output based on the feedback obtained during this validation process. Comprehensive evaluations involving free-form question answering, mathematical program synthesis, and toxicity reduction demonstrate that CRITIC consistently enhances the performance of LLMs. Meanwhile, our research highlights the crucial importance of external feedback in promoting the ongoing self-improvement of LLMs.

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

↑