Game Agent Driven by Free-Form Text Command: Using LLM-based Code Generation and Behavior Branch
<|reference_start|>Game Agent Driven by Free-Form Text Command: Using LLM-based Code Generation and Behavior Branch: Several attempts have been made to implement text command control for game agents. However, current technologies are limited to processing predefined format commands. This paper proposes a pioneering text command control system for a game agent that can understand natural language commands expressed in free-form. The proposed system uses a large language model (LLM) for code generation to interpret and transform natural language commands into behavior branch, a proposed knowledge expression based on behavior trees, which facilitates execution by the game agent. This study conducted empirical validation within a game environment that simulates a Pok\'emon game and involved multiple participants. The results confirmed the system's ability to understand and carry out natural language commands, representing a noteworthy in the realm of real-time language interactive game agents.   Notice for the use of this material. The copyright of this material is retained by the Japanese Society for Artificial Intelligence (JSAI). This material is published here with the agreement of JSAI. Please be complied with Copyright Law of Japan if any users wish to reproduce, make derivative work, distribute or make available to the public any part or whole thereof. All Rights Reserved, Copyright (C) The Japanese Society for Artificial Intelligence.<|reference_end|>
@article{ito2024game,
    title={Game Agent Driven by Free-Form Text Command: Using LLM-based Code
  Generation and Behavior Branch},
    author={Ray Ito, Junichiro Takahashi},
    journal={arXiv preprint arXiv:2402.07442},
    year={2024},
    archivePrefix={arXiv},
    eprint={2402.07442},
    primaryClass={cs.AI}
}