Skip to main content
QUICK REVIEW

[論文レビュー] CLadder: Assessing Causal Reasoning in Language Models

Helmers, Flora, Devijver, Emilie|arXiv (Cornell University)|Dec 7, 2023
Natural Language Processing Techniques被引用数 8
ひとこと要約

この論文は、LLM の形式的因果推論を評価する 10k 質問データセット CLadder を紹介し、因果推論ステップと出力を一致させるプロンプト戦略 CausalCoT を提示して推論精度を向上させる。

ABSTRACT

The ability to perform causal reasoning is widely considered a core feature of intelligence. In this work, we investigate whether large language models (LLMs) can coherently reason about causality. Much of the existing work in natural language processing (NLP) focuses on evaluating commonsense causal reasoning in LLMs, thus failing to assess whether a model can perform causal inference in accordance with a set of well-defined formal rules. To address this, we propose a new NLP task, causal inference in natural language, inspired by the "causal inference engine" postulated by Judea Pearl et al. We compose a large dataset, CLadder, with 10K samples: based on a collection of causal graphs and queries (associational, interventional, and counterfactual), we obtain symbolic questions and ground-truth answers, through an oracle causal inference engine. These are then translated into natural language. We evaluate multiple LLMs on our dataset, and we introduce and evaluate a bespoke chain-of-thought prompting strategy, CausalCoT. We show that our task is highly challenging for LLMs, and we conduct an in-depth analysis to gain deeper insights into the causal reasoning abilities of LLMs. Our data is open-sourced at https://huggingface.co/datasets/causalNLP/cladder, and our code can be found at https://github.com/causalNLP/cladder.

研究の動機と目的

  • Pearl の因果推論フレームワークに基づく形式的因果推論をLLMが実行できるかを評価する。
  • 因果回答と説明の ground-truth を伴う大規模で多様なデータセット CLadder を提供する(関連付け、介入、反事実クエリを含む)。
  • LLM から健全な因果推論を引き出すプロンプティング戦略(CausalCoT)を提供する。
  • 現在のLLMにおける因果推論の限界を特定するため、モデルの性能と誤りパターンを調査する。

提案手法

  • 因果推論エンジン(CI Engine)による identifiability 保証付きの記号的因果グラフに grounded な ground-truth クエリを作成する。
  • 記号的クエリを物語とテンプレートに口述化して自然言語質問と対になる説明を 10K 作成する。
  • グラフ抽出、クエリの形式化、 estimand の導出、評価をガイドする多段階の chain-of-thought プロンプティングプロトコル CausalCoT を開発する。
  • CausalCoT の有無で GPT-4、GPT-3 系、LLaMa/Alpaca など幅広いLLMをすべての ladder rung で評価する。
  • rung ごとの性能、常識性 alignment(常識的/Nonsense/反常識的)、段階的推論品質を分析する。
  • データ品質チェックとアブレーションを提供し、データ汚染効果と文脈学習の利点を特定する。

実験結果

リサーチクエスチョン

  • RQ1LLM は因果推論エンジン経由で導出された回答でも形式的因果推論(Rung 1–3)を実行できるか。
  • RQ2 rung の複雑さとグラフ構造の違いが LL.M の性能にどう影響するか。
  • RQ3因果性指向の prompting 戦略(CausalCoT)は vanilla prompting と比べて LLM の精度を向上させるか。
  • RQ4常識性 alignment やデータ汚染が因果タスクの推論にどの程度影響するか。
  • RQ5現行LLM にとって推論過程のどのサブスキルが最も脆弱か。

主な発見

ModelOverall Acc.Acc. by Rung 1Acc. by Rung 2Acc. by Rung 3Comm.Nonsens.Anti-C.
Random49.2750.2848.4049.1249.0149.6949.12
LLaMa44.0348.2329.4652.6645.1444.2242.67
Alpaca44.6652.0329.5351.1344.8644.4044.77
GPT-3 Non-Instr. (davinci)49.9250.0049.7550.0049.0649.9750.72
GPT-3 Instr. (text-davinci-001)51.4051.3052.6350.4754.3150.1350.05
GPT-3 Instr. (text-davinci-002)53.1550.8556.9651.9055.3352.4751.81
GPT-3 Instr. (text-davinci-003)56.2651.1162.9754.9656.8354.7957.49
GPT-3.552.1851.8054.7850.3254.0950.6852.09
GPT-462.0363.0162.8260.5562.2763.0960.47
+ CausalCoT70.4083.3567.4762.0569.2571.5870.12
  • CausalCoT は全体で 70.40% の平均精度を達成し、CLadder で vanilla GPT-4 を 8.37 点上回った。
  • Rung 1 で最高の正解率を示し、質問が難しくなるにつれて Rung 3 で正解率が低下した。
  • CausalCoT は anti-常識的データの性能を 9.65 ポイント改善し、未見または非記憶化パターンへの頑健性を示唆した。
  • グラフ抽出(ステップ①)は比較的強力(ノード/エッジの高い F1)だが、形式的因果推論を要するステップ(②、③、⑤)はより困難。
  • 指示調整済みモデルは非指示調整モデルより優れるが、形式的因果推論には依然苦戦。
  • インコンテキスト学習は特定のクエリタイプ(条件付き確率や NIE など)에서 exemplars の恩恵を受けやすい。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。