Skip to main content
QUICK REVIEW

[論文レビュー] Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrapping

Lucas Lehnert, Sainbayar Sukhbaatar|arXiv (Cornell University)|Feb 21, 2024
Artificial Intelligence in GamesComputer Science被引用数 6
ひとこと要約

本論文は、A*探索を模倣し、その後改善する Transformer モデルを訓練し、A* 実行履歴を訓練データとしてログすることで、Searchformer を生み出し、迷路と Sokoban の領域で、より少ない探索ステップかつ高い最適性を実現する計画タスクを解決し、従来の A* を上回る。

ABSTRACT

While Transformers have enabled tremendous progress in various application settings, such architectures still trail behind traditional symbolic planners for solving complex decision making tasks. In this work, we demonstrate how to train Transformers to solve complex planning tasks. This is accomplished by training an encoder-decoder Transformer model to predict the search dynamics of the $A^*$ search algorithm. We fine tune this model to obtain a Searchformer, a Transformer model that optimally solves previously unseen Sokoban puzzles 93.7% of the time, while using up to 26.8% fewer search steps than the $A^*$ implementation that was used for training initially. In our training method, $A^*$'s search dynamics are expressed as a token sequence outlining when task states are added and removed into the search tree during symbolic planning. Searchformer significantly outperforms baselines that predict the optimal plan directly with a 5-10$ imes$ smaller model size and a 10$ imes$ smaller training dataset. Lastly, we demonstrate how Searchformer scales to larger and more complex decision making tasks with improved percentage of solved tasks and shortened search dynamics.

研究の動機と目的

  • 従来の象徴的探索を超えた改善された計画の必要性を喚起する。
  • 探索ダイナミクスを活用して、Transformer に A* を模倣させ、さらに上回らせる方法を提案する。
  • データ効率の高い訓練スキームが未見タスクに対して堅牢な計画性を生むことを示す。

提案手法

  • 探索ダイナミクスのブートストラップを導入する。まず Transformer を訓練して A* の実行履歴を模倣させ、次により少ない探索ステップで最適な計画を見つけるよう微調整する。
  • A* 探索ダイナミクスをトークン列(プロンプト、トレース、プラン)としてエンコードし、これらのシーケンスを予測する Encoder-Decoder Transformer(RoPE 強化)を訓練する。
  • 迷路ナビゲーションと Sokoban のランダムに作成したタスクに対して A* を実行して、決定論的および非決定論的な A* 変種を含む合成データセットを生成する。
  • 2 つの訓練バリアントを作成する。search-augmented sequences (<prompt><trace><plan>) と solution-only sequences (<prompt><plan>)。
  • エキスパート反復に類似した微調整(ブートストラップ)を適用して、探索ダイナミクスを段階的に短縮しつつ最適なプランを保持し、A* より少なく探索するモデルを生み出す。
  • exact-match、any-optimal-64、SWC 指標を用いて評価し、A* に対する平均探索ダイナミクス長と ILR (Improved Length Ratio) を測定する。

実験結果

リサーチクエスチョン

  • RQ1Transformer モデルは合成トレースから A* プランナーの探索ダイナミクスを模倣できるか。
  • RQ2探索ダイナミクスでの訓練は、迷路と Sokoban のタスクで従来の A* より少ない探索ステップでより良い計画につながるか。
  • RQ3反復的ブートストラップ(Searchformer)で、最適性を維持しつつ探索トレースの長さをさらに短縮できるか。
  • RQ4モデルサイズ、データレジーム(低データ対高データ)、タスク難易度が、solution-only と search-augmented 訓練の性能にどのように影響するか。

主な発見

  • Searchformer は Sokoban のテストタスクの 93.7% を解く。平均で A* より探索ダイナミクスが 26.8% 短い。
  • 探索補強モデルは低データ領域で solution-only モデルを上回り、難しいタスクへ拡張する際のスケーリングも優れている。
  • パラメータ数が少ない探索補強モデルは、特に訓練データが限られている場合、はるかに大規模な solution-only モデルを上回ることが多い。
  • 探索ダイナミクスのブートストラップは、3段階の改善ステップでトレースの平均長を短縮し、最適なプランを維持しつつより短いシーケンスへ収束する。
  • A* の実行履歴を含めることでデータ効率の良い学習を可能にし、最終プランのみを予測する場合と比較して計画性能を向上させる。

この論文を読む

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

Nubintでこの論文を読む

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