Affordable Generative Agents

Yangbin Yu, Qin Zhang, Junyou Li, Qiang Fu, Deheng Ye
2/3/2024
cs.AIcs.HC

Official code: AffordableGenerativeAgents/Affordable-Generative-Agents (58 stars, Apache-2.0, last commit 2024-08-28).

Abstract

The emergence of large language models (LLMs) has significantly advanced the simulation of believable interactive agents. However, the substantial cost on maintaining the prolonged agent interactions poses challenge over the deployment of believable LLM-based agents. Therefore, in this paper, we develop Affordable Generative Agents (AGA), a framework for enabling the generation of believable and low-cost interactions on both agent-environment and inter-agents levels. Specifically, for agent-environment interactions, we substitute repetitive LLM inferences with learned policies; while for inter-agent interactions, we model the social relationships between agents and compress auxiliary dialogue information. Extensive experiments on multiple environments show the effectiveness and efficiency of our proposed framework. Also, we delve into the mechanisms of emergent believable behaviors lying in LLM agents, demonstrating that agents can only generate finite behaviors in fixed environments, based upon which, we understand ways to facilitate emergent interaction behaviors. Our code is publicly available at: https://github.com/AffordableGenerativeAgents/Affordable-Generative-Agents.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
587CSS, HTMLJan 29, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{yu2024affordable,
  title  = {Affordable Generative Agents},
  author = {Yangbin Yu and Qin Zhang and Junyou Li and Qiang Fu and Deheng Ye},
  year   = {2024},
  eprint = {2402.02053},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.02053v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.02053.svg)](https://codeofpaper.com/paper/2402.02053)

Discussion