
ChatGPT-powered AIs given long-term memory capabilities and personal motivations could role-play characters in a simulated town more believably than human crowd workers.
鈥淭his idea of creating believable agents that actually exhibit this behaviour 鈥 that give the illusion of realism 鈥 was something that we as an academic field wanted and have been talking about for the last four decades,鈥 says at Stanford University in California.
Park and his colleagues from Stanford and Google developed and tested AI agents powered by ChatGPT, a chatbot based on a series of large language models developed by the company OpenAI. Such large language models, a category of generative AI, can produce AI-written text that is far from error-free but can still be passable enough to mimic human writing in many cases.
Advertisement
The researchers equipped such generative AI agents with a long-term memory module containing past experiences 鈥 such as conversations with other agents 鈥 and a reflection module that synthesised memories into higher-level knowledge about the agent鈥檚 own self to guide future behaviour. They also gave the agents a planning component to use such knowledge in developing high-level plans and specific actions.
They put 25 of the AI agents into a simulated town called Smallville, where the AI agents followed routines and demonstrated emergent behaviours. When one AI agent was given the motivation to organise a Valentine鈥檚 Day party at the local cafe, its actions spurred other agents to spread party invitations, ask each other out on dates and then all show up for the party at the right time.
Such AIs also generally delivered more believable performances 鈥 as rated by 100 human evaluators 鈥 than human crowd workers who were asked to role-play the same simulation characters. Such performances involved answering interview questions in character about past experiences, reacting to unexpected events and reflecting on past performances to improve future actions.
But developing believable game characters powered by large language models is still challenging 鈥渂ecause they bullshit [or] hallucinate so much鈥, says at New York University. 鈥淭hey may refer to things that don鈥檛 exist in the game, say things they shouldn鈥檛 do.鈥
This became clear when an AI agent named Yuriko referred to a neighbour, named Adam Smith, as the 18th-century economist of the same name. Other agents embellished facts with made-up information or showed imperfect memories of their experiences.
There have been other attempts to build agents based on large language models, such as the AutoGPT project based on OpenAI鈥檚 GPT-4. 鈥淲e鈥檙e probably going to see some weird and amazing things in that space,鈥 says Togelius. 鈥淗owever, it is not at all clear when and for what these agents will be useful.鈥
Park and his colleagues suggested that generative AI agents might help test new features in social media or virtual reality platforms 鈥 although they warned that AIs should not completely substitute for getting actual human feedback. They also recommended that any such AI agents should always explicitly disclose that they are AIs to avoid misleading humans and should have audit logs of all interactions to identify possible misuse.
The generative AI agent project has nothing to do with ideas of creating artificial general intelligence, says Park. Instead, it is solely focused on creating AI agents that can appear human enough for observers to suspend disbelief in something like a game setting.
鈥淚 don鈥檛 think people would look at Disney characters in a movie and think they are conscious,鈥 says Park. 鈥淭hat鈥檚 sort of where we are.鈥
arXiv