arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.11984cs.CLcs.AIcs.LG
收藏

通过信息论理解大语言模型中的思维链

Understanding Chain-of-Thought in LLMs through Information Theory

University of California, Santa Cruz(加州大学圣克鲁兹分校)

Jean-Francois Ton, Muhammad Faaiz Taufiq, Yang Liu

AI总结:

本文提出一种基于信息论的思维链推理评估框架,通过量化每步信息增益识别大语言模型失败模式,无需标注数据,在玩具算术、GSM8K和PRM800k上优于现有结果导向方法。

摘要:

大语言模型(LLMs)通过使用思维链(Chain-of-Thought, CoT)推理,在复杂推理任务中展现了令人印象深刻的性能,使模型能够将问题分解为可管理的子任务。然而,现有的CoT评估技术要么需要标注的CoT数据,要么在准确评估中间推理步骤方面存在不足,导致较高的误报率。在本文中,我们通过信息论的视角形式化了大语言模型中的CoT推理。具体而言,我们的框架量化了每个推理步骤的“信息增益”,从而能够在无需昂贵标注数据集的情况下识别大语言模型中的失败模式。我们通过在玩具算术、GSM8K和PRM800k数据集上的大量实验证明了我们方法的有效性,在这些实验中,该方法通过提供对模型在单个子任务上性能的更准确洞察,显著优于现有的基于结果的方法。

英文摘要:

Large Language Models (LLMs) have shown impressive performance in complex reasoning tasks through the use of Chain-of-Thought (CoT) reasoning, allowing models to break down problems into manageable sub-tasks. However, existing CoT evaluation techniques either require annotated CoT data or fall short in accurately assessing intermediate reasoning steps, leading to high rates of false positives. In this paper, we formalize CoT reasoning in LLMs through an information-theoretic lens. Specifically, our framework quantifies the `information-gain' at each reasoning step, enabling the identification of failure modes in LLMs without the need for expensive annotated datasets. We demonstrate the efficacy of our approach through extensive experiments on toy arithmetic, GSM8K and PRM800k datasets, where it significantly outperforms existing outcome-based methods by providing more accurate insights into model performance on individual subtasks.

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

↑