# JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models

JARVIS-1：メモリ拡張型マルチモーダル言語モデルによるオープンワールド・マルチタスクエージェント

Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang ほか6名 · arXiv · 2023年11月10日

- **課題** オープンワールドのMinecraftで長期タスクを計画して実行するのは、状況の変化、タスクの複雑さ、継続的な学習という困難があるため、既存のLLMエージェントには難しいです。
- **手法** JARVIS-1は、マルチモーダル言語モデルによる計画者、目標条件付きコントローラ、マルチモーダルメモリを組み合わせています。自己点検と環境フィードバックに基づく再計画で、計画を修正します。
- **結果** ダイヤモンドのツルハシのタスクでは、20分時点でJARVIS-1が6.22%となり、RLでファインチューニングしたVPTの2.5%を上回りました。60分では12.5%と報告されています。ダイヤモンド関連タスクの平均では、DEPSの2.42%に対して8.99%と報告されています。

## 研究課題と既存手法の限界

JARVIS-1は、Minecraftのようにタスク数が事実上無限にあり、状況が変わり続けるオープンワールドで、マルチモーダルな観測と人の指示をもとに長期タスクを計画し、実行するエージェントです。既存の階層型エージェントはLLMを上位の計画者として使いますが、画像や映像のようなマルチモーダル観測を直接扱うのは難しく、複数段階にわたって正確な計画を保つのも困難です。また、経験を積んでも計画能力が継続的に向上しないという限界もあります。

論文は、この問題を状況認識に基づく計画、タスクの複雑さ、生涯学習という3つの課題に分けています。たとえばダイヤモンドのツルハシのタスクには20個を超える下位目標が含まれ、それぞれの目標は正確なオブジェクト名と数量、前提条件を満たす必要があります。1つの条件が外れると後続の目標が実行されないため、計画の誤りは積み重なりやすくなります。

![Figure 2: \| Challenges in open-world environments and how does JA RV I S-1 tackle them. (Left) With situation-aware planning, JA RV I S-1 substantially improve…](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-a4a9fe74ad3d2873e0dc5d7bb532fa3b.png?thumb=512)

**Figure 2** \| Challenges in open-world environments and how does JA RV I S-1 tackle them. (Left) With situation-aware planning, JA RV I S-1 substantially improves the success rate on the challeng- ing ObtainDiamond task, compared to the baseline (GPT) without it. Note: Due to resource con- straints, we can only provide human results of 10-min gameplay;(Middle) As task complexity increases (STONE→IRON→DIAMOND), JA RV I S-1 exhibits more significant advantages thanks to interactive planning; (Right) Success rate gain (indicated by the color depth) on selected tasks (x-axis) given in-context experiences on other tasks (y-axis) retrieved from the multimodal memory. With life-long learning and memory,JA RV I S-1 can utilize prior experiences on relevant tasks for better planning.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

## 構成要素と計画の流れ

JARVIS-1は、計画者の役割を担うマルチモーダル言語モデル（MLM）、目標条件付きコントローラ、マルチモーダルメモリで構成されています。タスクと現在の観測を受け取ると、MLMがまずマルチモーダルクエリを作成し、メモリから関連する計画の経験を探します。次に、検索された参考計画と計画用の指示文をあわせて入力し、K個の短い目標を生成します。コントローラはこれらの目標を順番に実行します。

![Figure 3: \| Architecture of JA RV I S-1 and its self-improving mechanism. (a) JA RV I S-1 comprises a memory- augmented multimodal language model (MLM) that pr…](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-0869a104fa47910da292182ad46c7a52.png?thumb=512)

**Figure 3** \| Architecture of JA RV I S-1 and its self-improving mechanism. (a) JA RV I S-1 comprises a memory- augmented multimodal language model (MLM) that produces plans and a low-level action controller.JA RV I S-1 also utilizes a multimodal memory to store and obtain experiences as references for planning. (b)JA RV I S-1 can strengthen its own planning skills through exploration with its own proposed tasks (self-instruct) and a growing memory that helps with better planning on tasks that has been (partially) visited before.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの5ページ目から図の部分を抽出しています。

計画が成功すると、該当するタスク、計画時点の状況、実行された計画がメモリに保存されます。つまり、同じシステムが実行中に新しい計画の経験を蓄積し、その経験を以降の計画の文脈として再び使います。

## 自己点検と環境フィードバックに基づく再計画

まず観測がテキストに変換されます。論文では、Minecraft Wikiから抽出したオブジェクトのキーワードをもとにGPTが観測を説明する文を作り、MLMが現在の視覚的な観測に合う説明文を選んで計画の文脈に入れると説明されています。バイオームやインベントリのような状況情報は、テンプレートによってテキストになります。

![Table 3: \| The observation space we use in Minecraft](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-2684bcb0c5f87b41652ebe37f8548588.png?thumb=512)

**Table 3** \| The observation space we use in Minecraft.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの23ページ目から図の部分を抽出しています。

初期計画はself-checkで点検されます。モデルは計画の各ステップをシミュレートし、インベントリなどの状態が目標の前提条件を満たしているかを確かめます。実行中に失敗が起きた場合、環境フィードバックをMLMに渡し、self-explainの仕組みが失敗の原因を説明することで、元の計画のどの部分が誤っていたかを見つけます。その後、計画者はこの説明と環境フィードバックをもとに改善された計画を生成します。

![Figure 4: \| Interactive planning inJA RV I S-1. After receiving the current task instruction and observation, JA RV I S-1 will produce an initial plan, which w…](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-4eb31943ccfd9c1f0e89dcc2b622e765.png?thumb=512)

**Figure 4** \| Interactive planning inJA RV I S-1. After receiving the current task instruction and observation, JA RV I S-1 will produce an initial plan, which will go throughself-check to get possible bugs (marked in red) fixed. Further, in case any error (also marked in red) occurs during the execution of the refined plan,JA RV I S-1 will try to reason about the next move from the environmental feedback viaself-explain. Interleaving self-check and self-explain significantly boosts the correctness and robustness ofJA RV I S-1 planning.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの6ページ目から図の部分を抽出しています。

## マルチモーダルメモリと検索拡張型の計画

メモリはキーと値の構造です。キーはタスクと観測または状況の組み合わせで、値は実行に成功した計画です。同じタスクでも観測が違えば異なる計画が保存されうるため、検索では現在のタスクと現在の状況を一緒に考慮する必要があります。

クエリは2段階で作成されます。まずMLMに与えられたタスクを逆向きに分解し、必要な下位タスクをテキストのクエリにします。次に、現在の視覚的な観測をクエリに加えて、マルチモーダルクエリを作ります。検索では、CLIPテキストエンコーダでクエリとメモリ項目のタスクキーを比較し、閾値以上の候補を選びます。その後、視覚状態の埋め込みの類似度で候補を並べ替えます。論文はこれをp(z\|x) ∝ CLIP\_v(s\_z)ᵀ CLIP\_v(s\_x)と書き、上位k個の計画を参考プロンプトとして使います。この検索拡張は、式(1)のようにメモリ項目zを条件とした計画生成の形で説明されています。

ここでは、メモリはモデルのパラメータを更新せず、文脈としてのみ使われます。著者らは、この方法を勾配更新なしに経験を活用する文脈内の生涯学習と説明しています。

## self-instructによる探索とメモリの蓄積

メモリは最初から埋まっているわけではありません。論文では、self-instructによって、MLMが現在の能力を考慮してタスクプールから探索タスクを選び、エージェントがそのタスクを実行しながら経験をメモリに蓄積する学習段階が説明されています。複数の環境で実行を並列化し、経験を共有メモリに集めるため、メモリが一定の容量に達するまでラウンドを繰り返します。

この過程はゲームプレイ全体にまで続くことがあります。論文は、探索の過程で経験が多く蓄積されるほど、OBTAIN DIAMOND PICKAXEのような難しいタスクでより良い参考計画が見つかるようになると説明しています。

![Figure 7: \| Success rate by memory size for different items. We evaluated the performance ofJA RV I S-1 at different memory sizes (representing different learn…](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-17d01f6e8ad3390bc605e7031f2cf3d7.png?thumb=512)

**Figure 7** \| Success rate by memory size for different items. We evaluated the performance ofJA RV I S-1 at different memory sizes (representing different learning stages) by measuring the success rate (% Episodes) of completingkeyitemsontheMinecrafttechnologytree. Asthelearningprogressed, weobservedanimprovement in completion rates for all items, with an increasing number of successful trajectories being included in memory. After 4 epochs of learning,JA RV I S-1 had accumulated a total of 425 successful trajectories in its memory.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの13ページ目から図の部分を抽出しています。

## 主な比較結果

ダイヤモンドのツルハシのタスクでは、JARVIS-1の成功率は20分時点で6.22%と報告されています。これはRLでファインチューニングされたVPTの2.5%と比較した値です。ゲーム時間を60分に延ばすと成功率は12.5%に上がり、同じ60分の設定でVPTの値は3%と報告されています。したがって、20分の比較と60分の結果は、異なる時間予算で得られた値として読む必要があります。

![Table 2: \| Results of JA RV I S-1 and baselines on Minecraft. The detailed task instructions, settings and results can be found in the Appendix](https://refivu.com/papers/cf00e122-bac5-4b1b-869d-88ddc3860800/figures/figure-a465a4d92e9b95162b1273e7b523963e.png?thumb=512)

**Table 2** \| Results of JA RV I S-1 and baselines on Minecraft. The detailed task instructions, settings and results can be found in the Appendix.

[出典](https://arxiv.org/abs/2311.05997v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang · JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models · 論文の図を引用 · 元のPDFの11ページ目から図の部分を抽出しています。

ダイヤモンド関連タスク全体の平均では、JARVIS-1が8.99%、DEPSが2.42%と報告されています。著者らは、DEPSがダイヤモンド獲得確率を約0.59%と報告していたことも示しており、これはDEPS側の報告値に当たります。論文は、JARVIS-1は再計画を2~3回程度行うと正しい実行計画に到達する一方、DEPSは6回以上必要だと説明しています。

この結果はMinecraftの評価設定で得られたものです。論文が報告している最大で約5倍の向上は、主にダイヤモンドのツルハシのタスクの比較に当たります。

## メモリ検索方式の比較

検索方式の比較実験では、テキストメモリのみを使う方法、テキストによる推論と検索を組み合わせた方法、視覚情報を含むマルチモーダルな推論と検索を組み合わせた方法を、残りの設定を同じにして比べています。論文は、検索の前に推論を行うと検索精度が高くなると報告しています。また、視覚的な観測やインベントリ、位置のような記号的な情報を含む状態ベースの検索が、テキスト埋め込みだけを使う検索より優れていると説明しています。

この比較は検索方法の違いを示していますが、メモリそのものがないベースラインとの比較は、別のアブレーション実験の結果として読む必要があります。

## 限界と適用範囲

ダイヤモンド関連タスクのボトルネックは、計画が短い指示を生成した後、コントローラがその指示を常に完璧に実行できないことにある、と論文は説明しています。そのため、計画をより実行可能にする方向や、コントローラの指示実行能力を高める方向が残されています。

また、主要な結果は、Minecraftのサバイバルモード、選ばれたMinecraft Universeのタスク、特定の時間予算と複数シードの平均に基づいています。時間予算やタスク集合が異なる比較を、同じ条件に広げて解釈してはいけません。

## 論文情報

- **著者**: Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2023年11月10日
- **登録日**: 2026年11月6日
- **更新日**: 2023年11月30日
- **バージョン**: v3
- **arXiv**: 2311.05997
- **カテゴリ**: cs.AI
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2311.05997v3) · [PDF ↗](https://arxiv.org/pdf/2311.05997v3)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

Achieving human-like planning and control with multimodal observations in an open world is a key milestone for more functional generalist agents. Existing approaches can handle certain long-horizon tasks in an open world. However, they still struggle when the number of open-world tasks could potentially be infinite and lack the capability to progressively enhance task completion as game time progresses. We introduce JARVIS-1, an open-world agent that can perceive multimodal input (visual observations and human instructions), generate sophisticated plans, and perform embodied control, all within the popular yet challenging open-world Minecraft universe. Specifically, we develop JARVIS-1 on top of pre-trained multimodal language models, which map visual observations and textual instructions to plans. The plans will be ultimately dispatched to the goal-conditioned controllers. We outfit JARVIS-1 with a multimodal memory, which facilitates planning using both pre-trained knowledge and its actual game survival experiences. JARVIS-1 is the existing most general agent in Minecraft, capable of completing over 200 different tasks using control and observation space similar to humans. These tasks range from short-horizon tasks, e.g., "chopping trees" to long-horizon tasks, e.g., "obtaining a diamond pickaxe". JARVIS-1 performs exceptionally well in short-horizon tasks, achieving nearly perfect performance. In the classic long-term task of $\\texttt{ObtainDiamondPickaxe}$, JARVIS-1 surpasses the reliability of current state-of-the-art agents by 5 times and can successfully complete longer-horizon and more challenging tasks. The project page is available at https://craftjarvis.org/JARVIS-1

## この論文を引用

Zihao Wang, Shaofei Cai, Anji Liu, Yonggang Jin, Jinbing Hou, Bowei Zhang, Haowei Lin, Zhaofeng He, Zilong Zheng, Yaodong Yang, Xiaojian Ma, Yitao Liang (2023). JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models. arXiv:2311.05997v3. https://arxiv.org/abs/2311.05997v3

**BibTeX**

```
@misc{wang2023jarvis,
  title = {{JARVIS-1: Open-World Multi-task Agents with Memory-Augmented Multimodal Language Models}},
  author = {Zihao Wang and Shaofei Cai and Anji Liu and Yonggang Jin and Jinbing Hou and Bowei Zhang and Haowei Lin and Zhaofeng He and Zilong Zheng and Yaodong Yang and Xiaojian Ma and Yitao Liang},
  year = {2023},
  eprint = {2311.05997},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.05997v3}
}
```

## この論文の用語

- [success rate](https://refivu.com/ja/terms/0964df1dc5eb-success-rate)
- [CLIP](https://refivu.com/ja/terms/b5b5b48d5f4e-clip)
- [検索拡張生成](https://refivu.com/ja/terms/745578495b18-retrieval-augmented-generation)
- [self-instruct](https://refivu.com/ja/terms/599304dadef6-self-instruct)
- [key-value memory](https://refivu.com/ja/terms/6704123e581d-key-value-memory)
- [Minecraft](https://refivu.com/ja/terms/a17fe6d4b27c-minecraft)
- [self-check](https://refivu.com/ja/terms/cb947fea9fc4-self-check)

## ほかの論文解説

- [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://refivu.com/ja/papers/a16f8bfe-f6f1-4e2b-a409-c76d2ed97fc3-instructblip-towards-general-purpose-vision-language-models.md)
- [PandaLM: An Automatic Evaluation Benchmark for LLM Instruction Tuning Optimization](https://refivu.com/ja/papers/2832dfcd-bd57-482f-9d55-f5bae8d2c8d2-pandalm-an-automatic-evaluation-benchmark-for-llm.md)
- [Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Models](https://refivu.com/ja/papers/733bb47f-1989-4658-a978-6131bad900ad-self-distilled-reasoner-on-policy-self-distillation-for.md)
- [CAMR: Compatibility-Aware Memory Replay for Continual Learning in Large Language Models](https://refivu.com/ja/papers/24445413-cb2e-4d23-a34a-5020794de1e7-camr-compatibility-aware-memory-replay-for-continual.md)
- [PaLM-E: An Embodied Multimodal Language Model](https://refivu.com/ja/papers/c14507e3-43e7-434d-adc8-94f0d2c42b5f-palm-e-an-embodied-multimodal-language-model.md)
- [Large Language Models are Zero-Shot Reasoners](https://refivu.com/ja/papers/6b8a675c-a686-4e78-8256-301472d5cac2-large-language-models-are-zero-shot-reasoners.md)
- [Explaining a Series of Models by Propagating Shapley Values](https://refivu.com/ja/papers/156a125e-30ec-4bbb-8d1f-a941c551d78c-explaining-a-series-of-models-by-propagating-shapley.md)
- [The Heidelberg spiking datasets for the systematic evaluation of spiking neural networks](https://refivu.com/ja/papers/7d72dab0-39a2-41ec-8bd7-e822a01c939b-the-heidelberg-spiking-datasets-for-the-systematic.md)
- [A Review and Comparative Study on Probabilistic Object Detection in Autonomous Driving](https://refivu.com/ja/papers/a821d485-d9f8-4b31-a6dd-8d37dd242cd9-a-review-and-comparative-study-on-probabilistic-object.md)
- [Vertical Federated Learning: Concepts, Advances and Challenges](https://refivu.com/ja/papers/39bcdd63-2fa5-4368-9a59-dc29f3d92aa4-vertical-federated-learning-concepts-advances-and-challenges.md)
- [Precise and Dexterous Robotic Manipulation via Human-in-the-Loop Reinforcement Learning](https://refivu.com/ja/papers/f8ac2bf8-18ae-41b1-9229-515501c8d0d8-precise-and-dexterous-robotic-manipulation-via-human-in.md)
- [DL-Droid: Deep learning based android malware detection using real devices](https://refivu.com/ja/papers/e8c4fb2d-bb8d-43c7-b570-745e501ed499-dl-droid-deep-learning-based-android-malware-detection.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/cf00e122-bac5-4b1b-869d-88ddc3860800-jarvis-1-open-world-multi-task-agents-with)
