arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.00050cs.AIcs.CLcs.CYcs.HCcs.LGstat.ME
收藏

因果推理与大语言模型:为因果关系开辟新前沿

Causal Reasoning and Large Language Models: Opening a New Frontier for Causality

Microsoft Research(微软研究院);University of Chicago(芝加哥大学)

Emre Kıcıman, Robert Ness, Amit Sharma, Chenhao Tan

AI总结:

本研究通过行为测试评估大语言模型的因果推理能力,发现GPT-3.5和GPT-4在因果发现、反事实推理等任务上显著优于现有方法,并指出其可辅助专家进行因果分析,但存在不可预测的失败模式。

摘要:

大语言模型(LLMs)的因果能力是一个引发重大争论的话题,这对于LLMs在医学、科学、法律和政策等具有社会影响力的领域中的应用具有关键意义。我们对LLMs进行了一项“行为”研究,以评估其在生成因果论证方面的能力。在广泛的任务中,我们发现LLMs能够以高概率生成与正确因果论证相对应的文本,超越了现有最佳方法。基于GPT-3.5和GPT-4的算法在成对因果发现任务(准确率97%,提升13个百分点)、反事实推理任务(准确率92%,提升20个百分点)以及事件因果关系(在短文场景中判断必要和充分原因的准确率为86%)上均优于现有算法。我们跨任务进行了稳健性检验,并表明这些能力不能仅用数据集记忆来解释,尤其是因为LLMs能够泛化到训练截止日期之后创建的新数据集。尽管如此,LLMs表现出不可预测的失败模式,我们讨论了可能改进的错误类型以及基于LLM的回答的根本局限性。总体而言,通过处理文本元数据,LLMs带来了迄今被认为仅人类具备的能力,例如利用收集到的知识生成因果图或从自然语言中识别背景因果上下文。因此,人类领域专家可以使用LLMs来节省建立因果分析的工作量,这是因果方法广泛采用的最大障碍之一。鉴于LLMs忽略实际数据,我们的结果也指向了一个富有成效的研究方向,即开发将LLMs与现有因果技术相结合的算法。代码和数据集可在https://github.com/py-why/pywhy-llm获取。

英文摘要:

The causal capabilities of large language models (LLMs) are a matter of significant debate, with critical implications for the use of LLMs in societally impactful domains such as medicine, science, law, and policy. We conduct a "behavorial" study of LLMs to benchmark their capability in generating causal arguments. Across a wide range of tasks, we find that LLMs can generate text corresponding to correct causal arguments with high probability, surpassing the best-performing existing methods. Algorithms based on GPT-3.5 and 4 outperform existing algorithms on a pairwise causal discovery task (97%, 13 points gain), counterfactual reasoning task (92%, 20 points gain) and event causality (86% accuracy in determining necessary and sufficient causes in vignettes). We perform robustness checks across tasks and show that the capabilities cannot be explained by dataset memorization alone, especially since LLMs generalize to novel datasets that were created after the training cutoff date. That said, LLMs exhibit unpredictable failure modes, and we discuss the kinds of errors that may be improved and what are the fundamental limits of LLM-based answers. Overall, by operating on the text metadata, LLMs bring capabilities so far understood to be restricted to humans, such as using collected knowledge to generate causal graphs or identifying background causal context from natural language. As a result, LLMs may be used by human domain experts to save effort in setting up a causal analysis, one of the biggest impediments to the widespread adoption of causal methods. Given that LLMs ignore the actual data, our results also point to a fruitful research direction of developing algorithms that combine LLMs with existing causal techniques. Code and datasets are available at https://github.com/py-why/pywhy-llm.

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

↑