After installing ChatGPT in the game's NPCs, they started planning parties on their own.
With the advent of image generation AI and chat AI, interest in AI is increasing, and the game industry is also moving to utilize AI, such as the development of
Generative Agents: Interactive Simulacra of Human Behavior
https://doi.org/10.48550/arXiv.2304.03442
In order to build a system in which NPCs act spontaneously, the research team developed a unique system using ChatGPT model data and entered prompts to determine personality and friendships for 25 NPCs. For example, an NPC named John Lynn entered the following prompt:
John Lin is a pharmacy shopkeeper at the Willow Market and Pharmacy who loves to help people. He is always looking for ways to make the process of getting medication easier for his customers;
John Lin is living with his wife, Mei Lin, who is a college professor, and son, Eddy Lin, who is a student studying music theory; John Lin loves his family very much; John Lin has known the old couple next-door, Sam Moore and Jennifer Moore, for a few years; John Lin thinks Sam Moore is a kind and nice man; John Lin knows his neighbor, Yuriko Yamamoto, well; John Lin knows of his neighbors, Tamara Taylor and Carmen Ortiz, but has not met them before;
John Lin and Tom Moreno are colleagues at The Willows Market and Pharmacy;
John Lin and Tom Moreno are friends and like to discuss local politics together; John Lin knows the Moreno family somewhat well — the husband Tom Moreno and the wife Jane Moreno.
・Japanese translation
John Lynn is a clerk at Willow Pharmacy and loves to help people. He's always looking for ways to ease the process of getting drugs for his customers.
John Lin lives with his wife Mei Lin, a university professor, and his son Eddie Lin, a music theory student. John Lynn loves his family very much. John Lynn has known the elderly couple next door, Sam and Jennifer Moore, for several years. I think of Sam Moore as a kind and nice person. John Lin knows Yuriko Yamamoto, who lives next door. I know Tamara Taylor and Carmen Ortiz but have never met them.
John Lynn and Tom Moreno are colleagues who work at Willow Pharmacy Store.
John Lynn and Tom Moreno are friends and like to discuss local politics together. John Lynn knows something about the Moreno family (husband Tom Moreno and wife Jane Moreno).
Then, each NPC was placed in a ``RPG village''-like location like the one below, so that it could act spontaneously according to the actions of other NPCs.
However, the above system encounters the problem that ``There is a limit to the amount of data (number of tokens) that ChatGPT can process at once''. Therefore, the research team created a ``memory stream'' that recorded all the actions of each NPC, and built a mechanism to select ``past actions necessary for judging current actions'' from the contents of the memory stream and input them to ChatGPT. As a result, each NPC can now perform actions based on their previous experience.
As a result of operating the completed system, NPCs ``communicate information with each other and spread it throughout the village'', ``refer to past interactions after some time has passed'', ``plan an event and recruit participants''. showed unexpected behavior. For example, an NPC suggested ``Let's hold a Valentine's Day party,'' and as a result, the whole village talked about the Valentine's Day party for two days. It is said that actions such as 'decorate' were confirmed.
The research team has created a demo page that reproduces the behavior of each NPC and publishes it at the following link. However, the actions that take place on the demo page are pre-simulated, not real-time.
Reverie
https://reverie.herokuapp.com/arXiv_Demo/
Related Posts:
in Web Service, Posted by log1o_hf