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

CausalBN-Bench:大型语言模型因果学习能力的综合基准

CausalBN-Bench: A Comprehensive Benchmark for Causal Learning Capability of LLMs

The Hong Kong Polytechnic University(香港理工大学);College of Computer Science, Chongqing University(重庆大学计算机学院)

Yu Zhou, Xingyu Wu, Jibin Wu, Liang Feng, Kay Chen Tan

AI总结:

CausalBN-Bench基准通过三个难度任务评估19个LLM的因果学习能力,发现其在大型网络上落后于传统算法,但擅长链式结构,且通过语义关联理解因果。

摘要:

理解因果关系的能力显著影响大型语言模型(LLM)在输出解释和反事实推理方面的能力,因为因果关系揭示了底层的数据分布。然而,目前缺乏一个全面的基准限制了LLM因果学习能力的评估。为填补这一空白,本文基于因果研究社区的数据开发了CausalBN-Bench,使LLM与传统因果学习算法能够进行比较评估。为了进行全面研究,我们提供了三个难度不同的任务,包括相关性、因果骨架和因果识别。对19个领先LLM的评估显示,虽然闭源LLM在简单因果关系上展现出潜力,但在更大规模的网络(>50个节点)上,它们明显落后于传统算法。具体而言,LLM在处理对撞结构时存在困难,但在链式结构上表现出色,尤其是在类似于思维链技术的长链因果关系中。这支持了当前的提示方法,同时为增强LLM的因果推理能力指明了方向。此外,CausalBN-Bench将背景知识和训练数据纳入提示中,以在评估过程中充分释放LLM的文本理解能力,其研究结果表明,LLM通过语义关联来理解因果关系,这种关联与不同实体相关,而非直接来自上下文信息或数值分布。

英文摘要:

The ability to understand causality significantly impacts the competence of large language models (LLMs) in output explanation and counterfactual reasoning, as causality reveals the underlying data distribution. However, the lack of a comprehensive benchmark currently limits the evaluation of LLMs' causal learning capabilities. To fill this gap, this paper develops CausalBN-Bench based on data from the causal research community, enabling comparative evaluations of LLMs against traditional causal learning algorithms. To provide a comprehensive investigation, we offer three tasks of varying difficulties, including correlation, causal skeleton, and causality identification. Evaluations of 19 leading LLMs reveal that, while closed-source LLMs show potential for simple causal relationships, they significantly lag behind traditional algorithms on larger-scale networks ($>50$ nodes). Specifically, LLMs struggle with collider structures but excel at chain structures, especially at long-chain causality analogous to Chain-of-Thought techniques. This supports the current prompt approaches while suggesting directions to enhance LLMs' causal reasoning capability. Furthermore, CausalBN-Bench incorporates background knowledge and training data into prompts to thoroughly unlock LLMs' text-comprehension ability during evaluation, whose findings indicate that, LLM understand causality through semantic associations with distinct entities, rather than directly from contextual information or numerical distributions.

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

↑