Skip to main content
QUICK REVIEW

[論文レビュー] Hypothesis Search: Inductive Reasoning with Language Models

Ruocheng Wang, Eric Zelikman|arXiv (Cornell University)|Sep 11, 2023
Topic ModelingComputer Science被引用数 12
ひとこと要約

本論文は、基礎ルールに関する自然言語の仮説を生成させる二段階の仮説駆動パイプラインを提案し、それらをPythonプログラムとして実装して帰納的推論タスクを解決する。コスト管理のため要約や人間による選択でフィルタリングを行う。

ABSTRACT

Inductive reasoning is a core problem-solving capacity: humans can identify underlying principles from a few examples, which robustly generalize to novel scenarios. Recent work evaluates large language models (LLMs) on inductive reasoning tasks by directly prompting them yielding "in context learning." This works well for straightforward inductive tasks but performs poorly on complex tasks such as the Abstraction and Reasoning Corpus (ARC). In this work, we propose to improve the inductive reasoning ability of LLMs by generating explicit hypotheses at multiple levels of abstraction: we prompt the LLM to propose multiple abstract hypotheses about the problem, in natural language, then implement the natural language hypotheses as concrete Python programs. These programs can be verified by running on observed examples and generalized to novel inputs. To reduce the hypothesis search space, we explore steps to filter the set of hypotheses to implement: we either ask the LLM to summarize them into a smaller set of hypotheses or ask human annotators to select a subset. We verify our pipeline's effectiveness on the ARC visual inductive reasoning benchmark, its variant 1D-ARC, string transformation dataset SyGuS, and list transformation dataset List Functions. On a random 100-problem subset of ARC, our automated pipeline using LLM summaries achieves 30% accuracy, outperforming the direct prompting baseline (accuracy of 17%). With the minimal human input of selecting from LLM-generated candidates, performance is boosted to 33%. Our ablations show that both abstract hypothesis generation and concrete program representations benefit LLMs on inductive reasoning tasks.

研究の動機と目的

  • 帰納的推論を中核問題として動機づけ、複雑なタスクにおける文脈内学習の限界を特定する。
  • 自然言語の仮説に続いてプログラム実装を行う二段階の仮説パイプラインを導入する。
  • 生成コストを管理するための仮説削減戦略(LLM の要約と人間の選択)を検討する。
  • ARC、1D-ARC、SyGuS に対してアプローチを評価し、一般化とスケーラビリティを評価する。

提案手法

  • Transformation ルールについて複数の自然言語仮説を生成するために LLM(GPT-4)をプロンプトする。
  • LLM の要約または人間による注釈で仮説数を削減し、プログラム生成コストを制限する。
  • 各仮説ごとに複数の Python プログラムを生成し、訓練例上で実行して正確性を検証する。
  • 失敗をプロンプトへ追記するフィードバック反復を適用してプログラム生成を洗練する。
  • 抽象化とプログラム表現の価値を定量化するために、直接 prompting ベースラインやアブレーションと比較する。

実験結果

リサーチクエスチョン

  • RQ1Explicit な自然言語仮説とそれらのプログラム実装が、ARC 的タスクにおける直接 prompting を超える帰納的推論をもたらすか。
  • RQ2抽象的(自然言語)表現と具体的(プログラム的)表現が、LLM を用いた帰納的推論の性能にどのように寄与するか。
  • RQ3要約や人間選択による仮説フィルタリングが全体の正確性とコストに与える影響は何か。
  • RQ4ARC、1D-ARC、SyGuS のデータセットに対して結果は一般化するか。

主な発見

  • ARC のランダムな 40 タスクのサブセットで、直接 prompting は 12.5% の精度、要約された仮説を用いたパイプラインでは 27.5% を達成。
  • 人間選択された仮説で精度は 37.5% に上昇し、人間作成の仮説を使用した場合と同等の性能を示し、LLM が有用な仮説と実装を生成する強力な能力を示唆。
  • 仮説案内のみの ablation は 17.5% の精度を示し、純粋なプログラム生成を超える仮説指導の価値を示す。
  • 1D-ARC では全パイプラインが 77.8% の精度に達し、直接 prompting の 38.8% を大きく上回る;プログラムのみも改善(58.3%)。
  • SyGuS(89 タスク)では GPT-4 が 8 プログラムと 2 回のフィードバックラウンドで仮説なしの場合 94.3%、仮説案内を用いると 93.2% を観測し、CrossBeam の 74.8%(ドメイン特化 DSL)にもなお競合的。
  • アブレーションは、仮説生成と実行可能な表現の双方が帰納的推論の改善に寄与することを示す。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。