[論文レビュー] Leveraging Pre-trained Large Language Models to Construct and Utilize World Models for Model-based Task Planning
この論文は、GPT-4を用いて自然 descriptions から明示的な PDDL 世界モデルを構築し、それをフィードバックで修正し、外部プランナーを用いて計画を生成する、モデルベースの計画フレームワークを提案する。
There is a growing interest in applying pre-trained large language models (LLMs) to planning problems. However, methods that use LLMs directly as planners are currently impractical due to several factors, including limited correctness of plans, strong reliance on feedback from interactions with simulators or even the actual environment, and the inefficiency in utilizing human feedback. In this work, we introduce a novel alternative paradigm that constructs an explicit world (domain) model in planning domain definition language (PDDL) and then uses it to plan with sound domain-independent planners. To address the fact that LLMs may not generate a fully functional PDDL model initially, we employ LLMs as an interface between PDDL and sources of corrective feedback, such as PDDL validators and humans. For users who lack a background in PDDL, we show that LLMs can translate PDDL into natural language and effectively encode corrective feedback back to the underlying domain model. Our framework not only enjoys the correctness guarantee offered by the external planners but also reduces human involvement by allowing users to correct domain models at the beginning, rather than inspecting and correcting (through interactive prompting) every generated plan as in previous work. On two IPC domains and a Household domain that is more complicated than commonly used benchmarks such as ALFWorld, we demonstrate that GPT-4 can be leveraged to produce high-quality PDDL models for over 40 actions, and the corrected PDDL models are then used to successfully solve 48 challenging planning tasks. Resources, including the source code, are released at: https://guansuns.github.io/pages/llm-dm.
研究の動機と目的
- LLMをプランナーとして使用するから、LLMを通じて明示的なPDDL世界モデルを抽出する方へ移行する動機付け。
- LLMs が PDDL と自然言語の間で翻訳できるようにして、バリデータや人間による修正フィードバックを可能にする方法を示す。
- PDDLの構築、エラー訂正、ドメインに依存しないプランナーを用いた計画の全体パイプラインを実証する。
- IPCおよび Household ドメインで評価し、PDDLモデルの品質と訂正可能性を評価する。
提案手法
- ドメインコンテキスト、アクション記述、動的に更新される述語リストを用いて、LLM(GPT-4)をプロンプトし、PDDLアクションモデルを生成する。
- 生成されたPDDLを二回のパスで反復的に洗練させる:アクションごとの構築と、全述語集合を用いた第2パス。
- PDDLバリデータ(VAL)と人間のフィードバックを用いて構文・事実エラーを特定し、LLMを介した対話で修正を組み込む。
- PDDLを自然言語に翻訳してユーザー確認を行い、修正フィードバックを収集して再度ドメインモデルへ組み込む。
- 初期状態を自然言語のグラウンディングやビジョン-言語モデルでグラウンドし、ユーザー指示を planning の PDDL 目標へ翻訳する。
- オプション1:LLM取得のPDDLモデルを用いて古典的なドメイン独立プランナー(例:Fast Downward)で解く;オプション2:LLM計画出力とVALフィードバックを用いて計画を反復的に洗練する。
実験結果
リサーチクエスチョン
- RQ1GPT-4 は hundreds of literals and actions のような複雑なドメインに対して、高品質で実行可能なPDDLモデルを生成できるか?
- RQ2 validator や人間の自然言語フィードバックは初期のPDDLモデルをどの程度効果的に修正できるか?
- RQ3LLM由来のPDDLモデルは、家庭用および IPC ドメインで標準プランナーを用いた計画をどの程度成功させられるか?
- RQ4因果/アクション関係の学習におけるLLMsの限界は何か、外部バリデーションは計画の正確さにどのように影響するか?
主な発見
- GPT-4 は 41 アクションに対して 400以上のリテラルを含む高品質なPDDLモデルを生成し、家庭レベルのプロンプトで 59 件の総エラー(うち 事実エラーが多く、構文エラーは 3 件)を生じさせた。
- GPT-4 は自然言語フィードバックを通じて事実エラーと構文エラーを修正でき、家庭ドメインで56の事実エラーを addressing するのに59件のフィードバックメッセージを必要とした。
- 古典的プランナー(Fast Downward)は、LLM取得のPDDLモデルを用いると Household で 95%、Logistics で 100% の計画成功を達成するのに対し、ベーシックなLLMプランナーは性能が低い。
- VALフィードバックを組み込むことで、LLMプランナー単独を用いる場合より計画の正確性が向上するが、いくつかのタスクでは完全なシンボリック計画にまだ及ばない。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。