arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2508.02583cs.AIcs.LG
收藏

CAMA: 通过因果知识增强大语言模型的数学推理

CAMA: Enhancing Mathematical Reasoning in Large Language Models with Causal Knowledge

Huawei Noah’s Ark Lab France(华为诺亚实验室(法国));Guangdong University of Technology Peng Cheng Laboratory(广东工业大学鹏城实验室);Huawei Noah’s Ark Lab China(华为诺亚实验室(中国))

Lei Zan, Keli Zhang, Ruichu Cai, Lujia Pan

AI总结:

CAMA通过构建数学因果图并结合因果知识,提升大语言模型在数学推理任务中的性能。

摘要:

大语言模型(LLMs)在广泛的任务上展现了强大的性能,但它们仍然在复杂的数学推理上遇到困难,这一挑战从根本上源于深层次的结构依赖性。为了解决这一挑战,我们提出了CAMA(因果数学家),一个两阶段的因果框架,使LLMs能够获得显式、可重用的数学结构。在学习阶段,CAMA首先构建数学因果图(MCG),通过结合LLM先验知识和因果发现算法应用于问题-解答对的语料库,来构建高层次的解决方案策略表示。所得MCG编码了关键知识点及其因果依赖性。为了更好地使图与下游推理任务对齐,CAMA通过迭代反馈从选定的问题-解答对子集中进一步细化MCG。在推理阶段,给定一个新问题,CAMA动态提取MCG中的任务相关子图,条件是问题内容和LLM的中间推理轨迹。这个子图,编码了最相关知识点及其因果依赖性,然后被注入回LLM以引导其推理过程。在现实数据集上的实验证明,CAMA显著提高了LLM在挑战性数学问题上的性能。此外,我们的实验表明,结构化的指导始终优于无结构的替代方案,并且引入不对称的因果关系比使用对称关联单独更有效。

英文摘要:

Large Language Models (LLMs) have demonstrated strong performance across a wide range of tasks, yet they still struggle with complex mathematical reasoning, a challenge fundamentally rooted in deep structural dependencies. To address this challenge, we propose \textbf{CA}usal \textbf{MA}thematician (\textbf{CAMA}), a two-stage causal framework that equips LLMs with explicit, reusable mathematical structure. In the learning stage, CAMA first constructs the \textbf{M}athematical \textbf{C}ausal \textbf{G}raph (\textbf{MCG}), a high-level representation of solution strategies, by combining LLM priors with causal discovery algorithms applied to a corpus of question-solution pairs. The resulting MCG encodes essential knowledge points and their causal dependencies. To better align the graph with downstream reasoning tasks, CAMA further refines the MCG through iterative feedback derived from a selected subset of the question-solution pairs. In the reasoning stage, given a new question, CAMA dynamically extracts a task-relevant subgraph from the MCG, conditioned on both the question content and the LLM's intermediate reasoning trace. This subgraph, which encodes the most pertinent knowledge points and their causal dependencies, is then injected back into the LLM to guide its reasoning process. Empirical results on real-world datasets show that CAMA significantly improves LLM performance on challenging mathematical problems. Furthermore, our experiments demonstrate that structured guidance consistently outperforms unstructured alternatives, and that incorporating asymmetric causal relationships yields greater improvements than using symmetric associations alone.

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

↑