Skip to main content
QUICK REVIEW

[論文レビュー] Beyond Chain-of-Thought, Effective Graph-of-Thought Reasoning in Language Models

Yao Yao, Zuchao Li|arXiv (Cornell University)|May 26, 2023
Topic ModelingComputer Science被引用数 17
ひとこと要約

Graph-of-Thought (GoT) 推論を導入する、LLMの推論を非線形グラフベースのアプローチで強化し、思考グラフをテキストと視覚情報と統合して、少ないパラメータでGSM8KとScienceQAにおいて最先端の結果を達成します。

ABSTRACT

With the widespread use of language models (LMs) in NLP tasks, researchers have discovered the potential of Chain-of-thought (CoT) to assist LMs in accomplishing complex reasoning tasks by generating intermediate steps. However, human thought processes are often non-linear, rather than simply sequential chains of thoughts. Therefore, we propose Graph-of-Thought (GoT) reasoning, which models human thought processes not only as a chain but also as a graph. By representing thought units as nodes and connections between them as edges, our approach captures the non-sequential nature of human thinking and allows for a more realistic modeling of thought processes. GoT adopts a two-stage framework with an additional GoT encoder for thought graph representation and fuses the graph representation with the original input representation through a gated fusion mechanism. We evaluate GoT's performance on a text-only reasoning task (AQUA-RAT) and a multimodal reasoning task (ScienceQA). Our model achieves significant improvement over the strong CoT baseline on the AQUA-RAT test set and boosts accuracy from 85.19% to 87.59% using the T5-base model over the state-of-the-art Multimodal-CoT on the ScienceQA test set.

研究の動機と目的

  • 人間の推論を線形連鎖ではなく非線形グラフとしてモデル化する動機づけ。
  • ECCベースのグラフ構築を提案し、密で推論可能な思考グラフを作成。
  • グラフ注意ネットワークとゲート付き融合を用いたGoTエンコーダを開発し、グラフ・テキスト・視覚特徴を統合。
  • テキストのみおよびマルチモーダルタスクでの2段階推論(根拠生成→解答)を実証。
  • GoTの効果とパラメータ効率を、CoTおよびMultimodal-CoTベースラインと比較して示す。

提案手法

  • Extract-Cluster-Coreference (ECC) によって思考グラフを構築し、推論三つ組からノードとエッジを生成。
  • Transformerでテキストを、Graph Attention Network (GAT)でグラフを、必要に応じて視覚エンコーダで視覚をエンコード。
  • テキストと視覚およびグラフノードを整列させるためにクロスアテンションを使用し、ゲート付き融合で融合表現を生成。
  • 二段階フレームワークを適用:根拠生成→最終解答生成。第二段階で予測された根拠を使用。
  • GSM8KとScienceQAでT5ベースのUnifiedQAモデル(ベースと大)を、GoTの二段階設定とゲート付き融合でファインチューニング。
  • 任意のマルチモーダル拡張は、テキスト・視覚・GoT表現を単一ヘッド注意の整列とゲート融合機構で統合。
Figure 1: An example of GoT reasoning. Vision features are optional and are only required in multimodal reasoning task.
Figure 1: An example of GoT reasoning. Vision features are optional and are only required in multimodal reasoning task.

実験結果

リサーチクエスチョン

  • RQ1Graph-of-Thoughtは、LLMにおける連鎖的推論より非連続的推論をよりよく捉えられるか?
  • RQ2推論グラフをテキスト(および視覚)と統合することで、テキストのみおよびマルチモーダルの数学/科学タスクの性能が向上するか?
  • RQ3GoTは大規模なMultimodal-CoTベースラインと比較してパラメータ効率が高く、SOTAを達成できるか?
  • RQ4GoTは画像補助タスクを含む異なる科目や問題種別でどのように性能を発揮するか?
  • RQ5ECCベースのグラフ構築と多頭GoTエンコードが最終推論精度に与える影響は何か?

主な発見

  • GoTはGSM8Kのエンドツーエンド精度をCoTベースラインよりGoT-baseで3.41%、GoT-largeで5.08%向上させる。
  • GoTはScienceQAの精度をGoT-baseで91.54%、GoT-largeで92.77%達成し、類似または少ないパラメータ数のMultimodal-CoTベースラインを上回る。
  • GSM8Kでは、GoT-baseが66.11%、GoT-largeが82.18%に達し、UnifiedQAベースラインに対してパラメータを抑えつつ顕著な向上を示す。
  • ScienceQAでは、GoT(ベース)で91.68%、(large)で92.77%を達成し、大規模なMultimodal-CoTに近づくか超え、より大きなモデルと競合。
  • アブレーション研究は、多頭GoTエンコーダの必要性と、現実的な思考グラフが乱雑なグラフより有効であることを確認;GoTは拡張されたMultimodal-CoTより3.00%上回る。
Figure 2: Graph-of-Thought framework overview
Figure 2: Graph-of-Thought framework overview

この論文を読む

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

Nubintでこの論文を読む

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