Retrieval-Augmented Code Generation for Situated Action Generation: A Case Study on Minecraft
On the map: Retrieval-augmented generation → RAG for code
Abstract (arXiv)
In the Minecraft Collaborative Building Task, two players collaborate: an Architect (A) provides instructions to a Builder (B) to assemble a specified structure using 3D blocks. In this work, we investigate the use of large language models (LLMs) to predict the sequence of actions taken by the Builder. Leveraging LLMs' in-context learning abilities, we use few-shot prompting techniques, that significantly improve performance over baseline methods. Additionally, we present a detailed analysis of the gaps in performance for future work
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in RAG for code, one of 15 directions in Retrieval-augmented generation. Builds on 21 of its 46 references that are in the map. First posted on arXiv 25 Jun 2024.
Builds on
21 of 46 references.
References · 21
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2022Do As I Can, Not As I Say: Grounding Language in Robotic Affordancescited by 2,348
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023PaLM-E: An Embodied Multimodal Language Modelcited by 2,071
- 2023The Rise and Potential of Large Language Model Based Agents: A Surveycited by 1,439
- 2022Code as Policies: Language Model Programs for Embodied Controlcited by 1,210
- 2022Language Models as Zero-Shot Planners: Extracting Actionable Knowledge for Embodied Agentscited by 1,035
9 more
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2020Stanza: A Python Natural Language Processing Toolkit for Many Human Languagescited by 723
- 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
- 2023ChatGPT for Robotics: Design Principles and Model Abilitiescited by 299
- 2022Learning to Execute Actions or Ask Clarification Questionscited by 30
- 2023Transforming Human-Centered AI Collaboration: Redefining Embodied Agents Capabilities through Interactive Grounded Language Instructionscited by 13
- 2024Your Co-Workers Matter: Evaluating Collaborative Capabilities of Language Models in Blocks Worldcited by 9
- 2024Large Language Models as Minecraft Agentscited by 7
- 2023Symbolic Planning and Code Generation for Grounded Dialoguecited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 2; 2026: 1.
4 papers.
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approachescited by 23
- 2024A LLM Benchmark based on the Minecraft Builder Dialog Agent Taskcited by 4
- 2025GuessBench: Sensemaking Multimodal Creativity in the Wildcited by 1
- 2026MineCEraft: Evaluating Language Models as Construction Engineers in the World of Minecraftcited by 0
- 2026MineCEraft: Evaluating Language Models as Construction Engineers in the World of Minecraft28 Aug 2026
- 2025Retrieval-Augmented Code Generation: A Survey with Focus on Repository-Level Approaches6 Oct 2025
- 2025GuessBench: Sensemaking Multimodal Creativity in the Wild1 Jun 2025
- 2024A LLM Benchmark based on the Minecraft Builder Dialog Agent Task17 Jul 2024
Similar, not cited
Close in wording, no citation either way
- 2025BAP v2: An Enhanced Task Framework for Instruction Following in Minecraft Dialogues
- 2024Improving Agent Interactions in Virtual Environments with Language Models
- 2024APT: Architectural Planning and Text-to-Blueprint Construction Using Large Language Models for Open-World Agents
- 2023See and Think: Embodied Agent in Virtual Environment
- 2025From Entity-Centric to Goal-Oriented Graphs: Enhancing LLM Knowledge Retrieval in Minecraft
- 2025Collaborating Action by Action: A Multi-agent LLM Framework for Embodied Reasoning
- 2025JARVIS-VLA: Post-Training Large-Scale Vision Language Models to Play Visual Games with Keyboards and Mouse
- 2023STEVE-1: A Generative Model for Text-to-Behavior in Minecraft