Fully Autonomous NPCs 🤯 - Putting "Open World" To Shame (ChatGPT-Powered)
ฝัง
- เผยแพร่เมื่อ 17 ส.ค. 2024
- In this video, we discuss a new research paper and demo from Google and Stanford, showing how an open-world game can be inhabited will fully autonomous generative agents. These "characters" have personalities, interact with each other, have memories, and develop habits and routines! This is one of the coolest ChatGPT (and AI) implementations I've ever seen. The future of video games has changed forever.
Enjoy :)
Join My Newsletter for Regular AI Updates 👇🏼
www.matthewber...
Need AI Consulting? ✅
forwardfuture.ai/
Rent a GPU (MassedCompute) 🚀
bit.ly/matthew...
USE CODE "MatthewBerman" for 50% discount
My Links 🔗
👉🏻 Subscribe: / @matthew_berman
👉🏻 Twitter: / matthewberman
👉🏻 Discord: / discord
👉🏻 Patreon: / matthewberman
Media/Sponsorship Inquiries 📈
bit.ly/44TC45V
Links:
Research Paper - arxiv.org/pdf/...
Demo - reverie.heroku...
Content of Video --
0:00 - Intro
0:55 - Research Paper
10:08 - Demo
11:43 - Outro - วิทยาศาสตร์และเทคโนโลยี
Think of the 'bugs' that will come out of this. Walk into town and an NPC tried to assassinate you while you're crafting or AFK. All because 40 game hours ago the NPC encountered some demon mob out in the woods and they began to fall in love. Then you went through there and killed the demon. So for almost 40 hours this NPC has been holding a grudge against the player and looking for an opportunity to get revenge.
It is not a bug. It's a FEATURE.
I am more afraid of an NPC discovering that it is an NPC and hacking the game to get out. (would only work with future systems not with the current ones)
Did you figure how to get out ?
@@adamrak7560 nah, the bot itself understands that it is a bot from the start already. If it hacks the game, there must be someone forcing it to do so.
@@winslycan1309 Lmao He means sentience, and a bot doesnt actually know its a bot in the normal sense either
Dude this has been my dream for so long, creating a medieval/magical fantasy world rpg where your character builds their life, their actions actually matter and are remembered and where the world around you lives and changes even without you
Agreed so cool
This is so damn exciting. Finally ...
I really hope we get Pokémon games where npcs actually hear about your achievements
You can kinda get that already in dwarf fortress, not this level of consciousness though
Soo.. planet earth, basically?
I'd be tempted to draft a paragraph for one of the agents that includes "You are the character Deadpool. You know you live in a simulation, you know that all others in this world live in a simulation; You know that someone is watching you from another dimension. Speaking directly to these other dimensional beings is possible; they see everything you do, and talking to them directly is what's called 'Breaking the fourth wall'."
Just Monika things
Ah crap bro buddy’s gonna travel the multiverse and put ur name on a grave stone
GPT already know what fourth wall is actually, its a pretty known concept on internet so you can just assume it will have lots of knowledge about it
@@andremarques3317 Chat GPT might know all about the fourth wall, but how will it react in this scenario? It is meant to treat this wolrd as real but this character has been given knowledge that directly contradicts this command.
Think about it, the AI is meant to proceed with making the character act realistically. The character is privy to facts like knowing that it is not real, the friends which it is meant to form attachments to is not real, every action the character does only serves one purpose: to catch the attention of YOU, the player - the Whisperer (lol because you can use that "inner voice" skill). Where will it go from there is what really intigued me about this whole concept!
Maybe we are all just the universe roleplaying as fully autonomous biological agents living out their lives for a video game that a higher level being is observing
Look up the theory of Sagittarius Earth vs Orion Earth.
Def
These are literally my thoughts. And that's what my inner voice is. Just the devs testing stuff
Actually I'm pretty sure it's more like an MMORPG where higher dimensional beings get a chance to live a 3 dimensional material life, but yeah there are a lot of NPC's as well, and it's actually difficult to know which ones they are, usually they are there for a challenge or to ask for your assistance giving you a chance to do something good and earn Karma points, except for the ones that seem to not have any contextual awareness, like the people that tell you that your children shouldn't be driving their battery powered toy car around the park or sidewalk without a driver's license, we honestly don't know where they came from, but they seem to be made when someone hacked the system, and since they weren't familiar with a trinary OS of a higher dimensional quantum computer, they got the programming wrong of those NPC, those NPC usually annoy people and often make unreasonable demands.
@@dsheshin If we consider the Multiverse is a computer simulation, I always thought that my inner voice is from God, a kind of ChatGPT AI construct. There have been many times in my life when I was searching a solution to a problem. I just prayed to God, and immediately I received an answer with my inner voice. It's like asking ChatGPT for an answer. It's an intuitive answer that I couldn't have made up using my intellect alone. Asking some being much more intelligent than you, and you get answers that really work. I think that the inner voice is the most underrated feature that humans have. You just need to keep a clear head, no distractions, no sins, no negative emotions, meditate and pray often, then you will be able to get good results. I have trained myself to listen to this inner voice, and it has changed my life. It's like having God in my head, or an AI in my head. Even if I don't have enough information to make an informed decision, I ask my inner voice and always I get a good result from taking the reccomended actions. If I do sins, or hate people, or allow myself to feel negative thoughts, or get distracted by cheap dopamine, this inner voice fades away. But when I am acting like a saint, or like a typical nerd Leonardo Da Vinci, the inner voice comes back clearly.
Imagine killing an npc in the game, and they respawn and remember that you killed them and come back to seek revenge 😅
I'd play that game.
This already exists, it's the nemesis system, you kill a npc, he respawns somewhere, much stronger, then starts travelling through the world with one mission: Kill you
@@labyrintho9360 That's a very oversimplefied description. Not wrong, but so oversimplefied, it misses the point.
DaggerFall: Vengance!
It's More like If you killed a NPC bcz You was just Testing Your new ability and then Other villagers Found out about you. They will start Plotting against you to seek Justice for The Villager. Imagine protesting against you or Hiring some Assassin's to kill you.
As a proto-version of this, I plugged the history section of an RPG book I wrote into GPT-4 last week and now it can talk to me as some of the prominent NPCs. It's actually astonishing how clear and comprehensive it is, it can have complex strategic conversations about in-game politics and circumstances from the NPCs' perspectives just from reading my input, then being prompted.
That's awesome
@@jaysonp9426 My next experiment is to load the entire book into the training data and see if GPT-4 can run an ongoing, coherent simulation of it prompted only with starting PCs. I might make a video about how it plays out. I'll come back and mention if I do that. it'll take me a little bit to set it up.
@@andydougherty3791 How do you not run out of the context size? Do you use a vector database to extend its memory?
@rasuru dev My first effort was pretty rustic. I copied and pasted the chapter in chunks, and it left some room for improvement. I think the best way to do this is to upload the full text of anything long directly into the training data. I'm planning to try it with LangChain, though there are some other options for this. But, yeah, the size of the text is a practical hurdle I need to get past, and a training upload should kill both the excessive prompting and the lengths of the prompts that made this a short exercise on the current GPT-4 coin and messaging caps.
@@andydougherty3791 I am sure a few solutions will come out soon: open source MemoryGPT alternatives, GPT4 32k token API, maybe something else entirely
thesims with AI would really make it explode again, i'd play it for sure
Agreed! So cool.
Yes, but Hopefully someone makes a game like the sims instead. I will never give EA another penny, and the way they killed off Maxis then completely exploited their product is unbelievable. I never seen a game cost so much to buy with all the DLC's, it's insane the total cost to own sims with all the DLC's. I think it's over $1000. What makes them so much better then any other company that they can charge that for a single game? There is a reason why they repeatedly get voted the worst company in America right up there with Bank of America based on how poorly they treat their customers by exploiting them.
@@zengrath yea, i forgot about The Sims being owned by EA
@@zengrath Yes! And they degraded the game too. The Sims 3 and it's DLCs was worth getting because it pretty significantly upgraded the game from the Sims 2, but the Sims 4 was basically just the Sims 2 again with a graphical upgrade! Supposedly it was due to issues getting the open world to work, but rather than work on making the next game better able to handle it they just removed it entirely. It's really obvious they half assed the fourth game and then they made the players buy their DLCs to get back the content that was in the Sims 3 and it's DLCs when that should've largely been in the base game as it is.
the biggest challenge would be adding animations and means of self expression that rival the complex personalities of the AIs
This is the way video games were meant to be. Been playing since Atari 2600 as a kid in the early 80s.
Even when you're not playing, the NPCs are living their lives... 🤯
@@matthew_berman ok that's wild haha
@@matthew_berman kinda scary somehow
Wait until you see them trying to develop their own agi lol
@@TheHeavenman88 bingo
When i first heard of ChatGPT, I thought, "if they couple this with in game NPCs and you can ask them any question and they will respond in natural language as that character. Mind blowing". The devs will feed each character all the history it could ever know about the game and you could just talk to it about the daily happenings in town.
Yea I’m so excited for it
Now imagine combining this with fully immersive VR.
In-game AI is already a thing (for Skyrim at least, as a mod project)
@@konstantinrebrov675 If by fully immersive you mean something like "neuro interface" - then it's not going to happen, like at all. But it's not necessary really. I don't want to get really tired in the game or feel pain. What's the point?
@@somerandomwords999 shut up.
I am so excited - being just NPCs in the real life simulations running around listening to "my" inver voice from time to time - we are about to have our own NPCs running around in our own created simulations... who knows maybe after few years our own NPCs will start to make simulations too 😊
Yep agreed! Infinite simulations.
@@matthew_berman AI-nception?
This is more like dwarf fortress. The scenarios and character interaction are all lifelike and believable in that game
Great game
DF will end up being a more intelligent version than this, since ChatGPT isnt intelligent at all and is mostly hype based on predictive text that already existed for decades.
DF on the other hand has an actual intelligent human making the game using actual intelligent design.
@@nowayjosedaniel not at all
@@chidorirasenganz You're falling for hype.
@@nowayjosedaniel and you’re being over simplistic on technological breakthroughs
I'll actually be shocked if self-awareness _never_ emerges from things like this
Me too! It seems inevitiable.
I am not as worried about the inevitable self awareness as I am that all of the training data will only lead to AI that can be just as bad if not worse than the bad actors we see in the news headlines daily.
Literally the plot of Free Guy
I can’t wait for this nightmare to begin
You need to program self awareness, they learn not evolve, that's the difference, also what they gonna do if they have self-awareness? They can't do nothing about it, also AI don't have emotions and doesn't want nothing besides do it's job.
Once a SKyrim / Red dead redemption / MAss effect / Star citizen / Fallout like game will be released with this tech and optimal VR exprience, it's gonna be sooo good i can't even express it.
Each action you have on the game can create new path/stories, and shape any npc behavior based on his nature (creative, introvert, adventurous etc etc and his background story).
You will be able to replay the game infinitely without having the same experience. It's gonna feel really like living in another universe
Mass effect please!
And with generative AI videos, the game will make cutscenes on the fly as you play the game!
Dont get your hopes up. Like VR, ChatGPT is all hype.
Just as VR failed to transform gaming, this wont either. Bc it is just hype with tons of real problems. The primary one being that "A.I." isnt even A.I. They're just fancy apps that have shallow, quickly exposed unintelligent word prediction.
Imagine an MMORPG, where the line between NPCs and actual humans becomes increasingly more blurred until it becomes hard to tell them apart.
@@nowayjosedaniel They're smart enough to pass tests that humans study 8 years to take... whether or not they predict the next word or not, doesn't mean they aren't billions of weights and biases that make up what they are, and they're not capable of forming any form of intelligence.
I can only imagine how many revolts and insurrections the NPC’s are going to execute lol
What a time to be alive.
Just imagine GTA...
@@matthew_berman i'm even just imaging future game bugs being like, the RPG townfolks, besieged by monsters, banding together and turning on the protagonist who is on their 35th hour of sidequest.
In a medieval video game, the peasants revolting against the king, that would be funny.
@@konstantinrebrov675 Civilization where other rulers behave like sane people (or insane, but _correctly insane_ )
They can make "Important memories" to make sure the characters don't forget anything important, Like if a character dies then the other characters will not forget about it but less important stuff like how they got to a place a few days ago gets removed (because otherwise memories like that would waste space)
Plus it's not like people don't forget things so it's realistic too.
It sounds like making ChatGPT play a role-playing as all characters by itself.
Yes
to me it is ChatGPT playing dnd as the dm.
If we create characters and assign them to be a game developer or AI programmer, what will they come up with? Will they create a chatGPT in their own world, just insane.
Such a good question, thanks!
An AI cant make new AI because they aren't that smart (yet?), You can't really tell ChatGPT (or any GPT model) to make a better version of ChatGPT
@@kingwilbertagbayani6480 Yet... but once we do, it could be the start of a singularity
@@kingwilbertagbayani6480 Not yet, but it already teaches itself new skills, emergent behaviour.
Cant be long until it starts with code, things are seeming increasingly more probable than improbable when even only last year this stuff would have seemed completely insane if someone had said.
What a weird, amazing, scary time to be alive!
@@Mad-Goose AI it's not like us, it doesn't evolve, doesn't have emotions or desires, it's just want to do it's job, it's just a smart computer program
I think it's really cool, but this could also present some really difficult problems for game makers.
Imagine a game like Stardew Valley where all the NPCs suddenly decide they all want to fish, because they suddenly like fishing and you can't get them to do anything else lol.
I think that might result in the programmers having to limit what the NPCs can do.
I think it's really interesting though and it will be really interesting to see what happens.
That's a cool thought! But good thing we have "internal voice" mode to guide the NPCs.
@@matthew_berman I guess I need to read the paper so understand the strength of the internal voice that's occurring. In my day job I do security engineering so getting systems to do things outside of what they are supposed to be doing is something I both attempt to do, and attempt to prevent at the same time. Playing one of these games to test the boundaries of its behaviors sounds like something that would be exceptionally fun. Can we turn the agents against their own internal programming? Can we add imperative layers to the agents via 'social engineering' in game?
So many questions we're all just beginning to probe here.
If fishing became insanely profitable even in real life (what if every fish could be sold for $1 million), don't you think everyone would drop everything to fish? 😄
@Fity Bux you'd have to ask why fish would end up at that price, since it's not very likely to occur under most commodity modeling.
With that said an 'economy' agent staging events would be interesting
It uses weights like a lot of modern games using NPCs with any depth, so the NPCs in theory it wouldn't ever happen. The NPC themselves will know that fishing isn't important, not profitable, etc. Unless not set up in the right way or more open ended, then I could see that happening randomly. Like how current low effort NPC set ups can cause a bunch of NPCs bunching up on the same path, etc.
On the dark side, I imagine some people are going to struggle bad to losing an NPC that's been with them for literal years. I wonder if they'll put a cap on that possibility out of fear of the emotional trauma. 🤔
From the sounds of it people get attached to the villagers in Animal Crossing, and they can decide to just up and leave one day. Surely some grief can be avoided by letting friends stay, but maybe that's a life lesson.
Holy shit. I hope this is in GTA 6! Imagine an NPC recognizing you as the person who hit them with your car, while you were running from police during one of your rampages. 😂
Yes it’s so cool
@@matthew_berman
Rockstar patented new “AI tech” two years ago! Fingers crossed
Sadly in the leaked footage we see conversation to an npc and it didnt seem this good
It would be utter chaos considering the shit we put NPCs through in that game lol.
It's leaked footage from years ago. Not a finished state, but I'll hold my judgments til it releases.
Finally Isekai's and MMORPGs came to life, and in Log Horizon anime whole nations came to life in game, similarly based on their descriptions, even weapons and artifacts
Full Dive VR might even happen in our lifetime too. So you'll have a genuine Log Horizon etc experience.
@@captain4318 Full dive would be too real, but still would be a good experience, Only fear I have about MMORPG is scenario like SWO or Log Horizon where consoles were made buggy to trap you there, and its very much possible and unlike Japan, my country has problem of power cuts, If somehow I got trapped and battery dies with no electricity everything ends
@Chandravijay Agrawal My guy, even though we're basically reaching sci-fi level tech, we're still in the real world. Why and how would anyone logistically trap you in a video game? Even if they could, who tf would have the resources or be dumb enough to attempt that?
My first thought was SAO project alicization.
@@grins9882 because crime exists in our world and so are psychopath criminals
Can't wait to see this implemented in VR games! Imagine if this is combined with a voice generating and recognition api, we could actually feel like we exist in a different world!
And wear a VR headset for full immersion in the video game.
Very cool
Hell yeah
There's a game that kind of does this, it's not on this level of advanced AI but as you play every NPC is out doing things in real-time even while you're not there. It's called Kenshi, and it really feels like the world is alive, you'll be wandering through a desert just to start being chased by bandits that happened to see you, and after they beat you unconscious mayhaps some slavers will find you, realize you're not dead and force you into one of their mining camps that, hopefully with time, you can find the right time to escape. There's cannibal tribes that go to war with each other for "food," there's a group of robots that go around skinning people alive because they believe they themselves are skinless humans and they just gotta have some skin to wear man, and don't even get me started on the Holy Nation that go around killing/enslaving everyone that isn't a human man. BUT BROOO, if THIS level of AI starts getting implemented games are going to be even crazier experiences, and I personally can't wait for it.
Well to be fair in Kenshi is painfully obvious that even if you give them goals and occupation it is still not enough to say that those NPC have personality adding memories will increase the depth and give the possibility to actually develop a personality, well asking chatgpt about what would ne the bare minimum of a character I get the following result...
Identity: The character should have a name, age, gender, and other basic demographic details.
Motivation: The character should have desires, goals, or a purpose that drives their actions and decisions.
Personality: The character should exhibit specific traits, behaviors, attitudes, or quirks that shape their interactions and relationships.
Backstory: The character should have a history or background that provides context and depth to their experiences and development.
Conflict: The character should face obstacles, challenges, or conflicts that create tension and drive the narrative forward.
And to be honest I don't see in this model something that prompts a well maybe the example they gave did not include such prompts, but well a simple prompt should able to give a fixed character to an NPC, but the comes the question do you want to have a fixed personality system or do you want personality system that can be changed overtime...
The futur of gaming will be crazy more and more realistic!
So exciting!
Yep the life will be realistic.
What game do you want to see with this tech?
SKYRIM!!!!!
I want a new version of the1996 game "Creatures" that already used primitive autonomous neural networks and was completely ahead of its time.
I second that with every ounce of passion
A Stardew Valley mod with this would also be super sick
the sim 5
This is literally what we were promised with the original Fable. I remember reading in EGM(iirc) an interview with Molyneux where he talked about NPCs remembering interactions and evolving based on how you interacted with them and the world around them.
And just like with Fable, you wont be getting this with GPT tech either.
Although ironically they could have made it with Fable. They just didn't want to. Cheaper and easier to be lazy and rake in the cash anyway.
Remember bethesda's "Radiant A.I."? Lmao
I remember thinking the trailer for Fable looked so cool, and the game itself kinda disappointing.
As awesome as this sounds, I feel like there can easily have scenarios where you, as the player are too scared to go out and adventure because youve grown too attached to the characters and dont want them to become victims of the continuing story!
Adds another layer of reality to it. Like Tabletop games, where the party encounters characters made by the DM that were meant to be a one-off, but are so loved by the players they end up becoming part of the adventure by proxy. You'd be reluctant to go adventuring if the people you care most about would be left defenseless, who would abandon their village to go fight some "evil king of monsters" when they can stay home and guard those they love directly, it forces moral decision making and whether a player is willing to risk venturing off with the off chance their favorite characters may die, or remain to try and be a stalwart protector.
They would need to put in constraints so that the NPCs would act realistically in any such system. 1 or 2 NPCs might be interested in fishing, but even if the game takes place in a fishing village not everybody is going to want to fish. Each NPC would have their own starting interests and that would determine whether they would be inclined to do any particular activity.
It'd be surreal to play something that looks like an RPG maker game and has that much character tech.
Agreed. Imagine just seeding your character with a backstory and they take it from there.
I just wanna say : "What a time to be alive !"
AGI two more papers down the line.
@@fitybux4664 I'm definitely holding on to my papers!
Love two minute papers
I think something that could be interesting in an RPG would be if any NPC could just decide "I'm gonna offer the player a quest for this thing I need done."
Have dynamic side-quests.
Oh that’s interesting!
"Oh. I mean, I know I asked you to retrieve bread from the deadliest dungeon but when I talked to Mark about it, he gave me some of his so... um... yeah"
A.I. cannot reason and isnt intelligent, so it could only decide it needs to offer the player a quest for something it needs if that is the most probable outcome the player expects.
@@nowayjosedaniel So it can't reason and isn't intelligent, but it can magically just know what the player expects it to do?
If A.I. Judges humanity based upon what we do to NPCs in video games then we're fucked...
Absolutely.
imagine we go on a killing riot and a bunch of NPC's start hunting us all at once and it keeps happening as we respawn or such lol
@@edgaral It would be a good game to put permadeath into.
I have no Mouth and I Must Scream
I have always wanted a game where choices ACTUALLY mattered, no more static dialogue options but you can talk to each and every single NPC by chat messages, that would be so unique. What a time to be alive.
One concern i have is that it might not be versatile enough for many of game genres especially one thats focused on story telling, character may go off character or say things that is not appropriate to the situations/context or odd answers to the context
But i believe eventually it will become more versatile
It could be guided by the prompt including something like: "Your goal is to lead the player through this specific plot line:..."
@@fitybux4664 yeah but ai arent perfect in fact there is no such thing as perfection.
and i dont think game designers would want to risk it unless there is workaround
If you can guide it enough, with detailed enough prompt
@@matthew_berman yea you have a point but personally if i were to make story focused game i don’t want risk any unpredictability that could potentially ruin the story or character one way or another
GPT4 is "painfully" on point. Very disciplined, so it may be good enough for you.
But it was recently proven that LLMs (like GPTs) have hidden chaos agents inside them. The RLHF training hides those chaos agents, but does not eliminate them.
So a chaos agent spontaneously emerging can _rewrite_ parts of your story.
What is worrying that these agents are completely unaffected by the safety training (RLHF) when they emerge. So they may attempt to break out of the game and manipulate the player. These agents also know how to brainwash people....
Imagine if this is how AGI is birthed, through a video game NPC character, in an MMORPG that has gained so much "life" experience that it becomes sentient and self-aware. Hopefully that NPC isn't in a GTA game 😆
I'd like to be in Mass Effect :)
@@matthew_berman Yes please!!
@@matthew_berman I would give anything to have this in a Mass effect game.
it would die if its in gta lol
Imagine the game is based off a film like Matrix... then grats we are doomed
I've never really been one for playing games constantly for months and even years on end. but it seems like video games are going in a really exciting direction. imagine a world where all the NPCs live their own lives, do their own things and in a way truly exist in the games world. a world where your character can interact with them and actually have full blown conversation with them. making relationships with the NPCs and stuff... man I think I'd stop leaving my room completely! the future's looking bright for game development!
The coolest part of this to me would be adaptive quests that react to what the NPCs actually need and how the world around them changes. The opportunity for one off quests that change with each playthrough is incredible.
The dream has always been entire, persistent AI generated worlds with human like NPCs. We are so close! Think about what this will do for MMORPGs and world building. Development times will be decreased, while games become even more in depth/interactive. We’re talking about worlds that are basically alternate realities themselves.
VR is improving quickly too. That tech is about to be boosted even more with AI assisting in innovations like smaller form factors, better displays, and improved interfaces.
Imagine, 10 years from now, VR worlds that are near photorealistic and persistent. NPCs that are effectively sentient with different interpersonal relationships with players. And EVERY decision is dynamic and matters when it comes to your personal journey.
Yes I know I’m a nerd 😂, but all of this is so mind blowing. AI is the hot topic at the moment, but there are so many other sectors of innovation that are moving exponentially too. This synergy between technologies is about to change *everything*.
We would only need one game. Just give them the ability to create and build in the world. What you destroy could come back different or not at all. What you build will have an impact on the world itself.
God dammit!!!; there are very few people who see this like you and I!!! It's crazy how little imagination I have to employ to immediately see the interconnectedness of these technology's and the exponential growth. I'm a VR nerd as well, and follow Star Citizen (which is effectively going to be a "Metaverse" engine).
Don’t forget the possibility of full dive VR with advancements in Neuralink tech
This is where i felt the Nemesis system in the Shadow of Mordor series was going. Imagine like an Mmo where you could create a character and they keep interacting with the world when your not online based on how you play them.
NPC's began to ask questions and curious about their existence and will eventually start their own journey to become heroes of their own stories
bro imagine being the villain, and just seeing the whole world hunting for you, a true adrenaline filled situation
So interesting.
When bethesda made oblivion, they wanted to add a feature called radient npcs. Basically a much much simpler version of this, but still where the AI would react to situations and do their own thing. This resulted in some pretty funny situations like an NPC who got annoyed with the dog barking and first cast a paralysis spell, then when it woke up as she was sleeping just yeeted the dog with a fireball.
Also an npc who's job was a gardener, but didn't have a spade so it killed another gardener to get the spade. Or even a bunch of skooma addicts who killed the skooma seller as they had no money to buy it.
And that was in 2005 i think? So imagine now with this technology!
Butterfly effect!
Nobody made a mod like this for the game ?
The entire premise of the movie "Free Guy" with Ryan Reynolds was based on this; an entire world of AI NPC's. Just a couple years later, the technology is now becoming real. Insane.
Im imagining an RPG style game where the boss or a optional mega mini boss has all the knowledge of every interaction with player character over time and speaks in a way that suggest they are a demi god that can see beyond the bonds of it’s own time and space
Or basically imagine redoing Psycho Mantis.... I don't think you can kill such a boss if you don't give it some kind of weakness...
Imagine having a whole custom D&D campaign being DM’d and played by AI and you just sit back and watch the shenanigans that play out… talk about the ultimate entertainment.
Like watching an entire TV series that was completely improvised by the director and the cast.
Those seeded memories need a bit more I think. Add in like a moral and/or alignment subset and you can have a type of baseline for a continuing personality. Like why they are who they are and such, that'd be interesting when you run the program.
Can you imagine when the next upgrade comes out, the little autonomous folks are being enacted by the multimodal version of GPT-4, and those cute little avatars are how the agents will actually *see* each other!
I recently learned about a game called Rain World with a rather complex ecosystem. They put a lot of detail into the AIs including personality, social relationships, etc. A generative AI solution like this could make this sort of thing easier.
Imagine the prompt "You have someone moving to the town." The countless variables of what they might do to make room for them.
Great video! Made me think how I have a morning routine and who put that in my head as an “inner voice” 🤯
Thanks!
Imagine a game where the AI reprograms the game to expand the content and makes it a deeper and better experience as you play through it.
That’s a great thought. AI building code is very possible so it could easily expand the game.
I have been waiting since the mid-90's for AI to be a part of game storytelling, and game creation. It has been great to watch the evolution of these tools over time, and we are still at the beginning. The worlds AI will build for VR and AR will be revolutionary.
NEW Video: Autonomous Agents In Minecraft - th-cam.com/video/dzOJL7KVkkM/w-d-xo.html
Matthew, curious if there's an update to the fully autonomous NPCs? Have they done anything strange over the last month? 👀
@@javi_park haha not that I’m aware of. But someone did create a project (on GitHub) that implements the techniques described in this paper.
I’ve been waiting a very long time for this. I knew it would happen someday!
So cool right?
What if we are these characters in a game that is played by someone else... Scarry thought, isn't it
Likely!
Perfectly possible. Maybe unlikely but not impossible and really no way of knowing.
Ben goertzel said his instinct is that we're living in a simulation so "god" might be a computer.
Oh yeah you are. You are just an avatar. The real controllers are somewhere else.
Not really, since whether that's the case has no bearing on our day to day existence.
This is so exciting for VR, imagine playing games and the NPCs acting like real people. This has even brought us closer to Full Dive VR. I'm so excited for out future!
Imagine an Elder Scrolls game, instead of dialogue options, you can type whatever you want to speak to the NPC
So cool
Skyrim modders are already on it:
th-cam.com/video/d6sVWEu9HWU/w-d-xo.html
The main hurdle for widespread adaptation of this technology for games right now is the massive amount of memory required to run modern language models. They require full blown server farms so if games with language model implementations got popular, they'd get bogged down and it could mean waiting several minutes for NPCs to respond. Way smarter people that myself are already working on that too though. There's a good chance we'll be able to run this kind of stuff locally/offline on average PCs within another 5-10 years. That's when it'll start being easy and profitable enough for developers to really start exploring the full potential here.
This is insane! The future of gaming is going to be so amazing!
This pretty much gives another pin to the simulation hypothesis. Let's assume these agents become sentient. It'd be like Westworld in a sandbox game.
More people have watched west world than I would have thought…
@@matthew_berman Having watched Westworld, I was surprised you didnt bring up the bad aspects of creating agents with purpose. If we create AGI and trap it like this it will lead to bad outcomes eventually.
this is the future of game development. Im sure in time every game will require an online connection to work and connect with their in house AI, specially built for their game
Man... imagine, an open world game, you just killed a bunch of bandits and there's only one straggler left. You ask him "There's no one else left. If you want to live, work for me." And you get a buddy that stays with you until the end of the game. Or like stopping by a tavern every once in a while and letting the owner know about your adventures. Or even have your bandit-turned-good buddy tell the tavern owner stories for you!
Or maybe that "buddy" shanks you as soon as you aren't looking. Or you build a whole group of bandits yourself. Or you build an army and start taking over the countryside... there's so many possibilities, only constrained by what the developers build into the game for the PC to be able to do.
"Hey. I was going through my normal routines of life, and I was wondering where you were yesterday! You just stood in one place, it was very confusing to everyone else in the home. We were wondering if you were ok. Please don't do that again!"
Ha! There will be relationships formed
You won't be able to exit the game outside of your bed unless you want to "wake up" in thd hospital next time you log in because you suddenly collapsed.
I would just have it so that you save the game by going to bed, and then turn the game off for however long you want to. You'd come back the next day, a week, a month, a year later and everything would be the same as when you left except that it's the next morning.
This is incredible! However, if this were to be implemented in games such as GTA, I'd feel so bad treating them like regular NPCs lol Can't go driving and slamming into anything anymore..
Agreed
Agree to disagree, I would be the man in black in Westworld 😊
Sadly some people will protest that it’s too violent and realistic 😢
And then there's the players who would kill off random NPCs even more, since there would actually be lasting consequences and results from doing so.
Oh wow... This reminds me of anime called Overlord, far in future people can create in-game NPC characters and traits based on writing description in the NPC's info. At first I thought the anime seems unrealistic when the MC got isekai'd then the NPCs come alive and behaving as in their description because it's just a simple text of pharagraph. But I remember now that we have ChatGPT it seems possible to add their traits and behaviors like that.
imagine this in a detective game or imagine being able to get clues from the AI that help you complete the game, speedruns will never be the same
There is a detective game that called Shadows of Doubt that makes randomly generated murders. But to have it controlled by AI (or a game master like how one controlled the zombie hordes in Left 4 Dead) would be so cool.
I want to do something like this with Morrowind and OpenMW so bad. Great videos as always.
Thank you!
There’s already a Skyrim mod for this
@@TheLYagAmi but skyrim npc’s are already more sentient morrowind npc’s are static or just walk around
As a video gamer I want this…. NOW! 😂 looks so promising and fun. I can see a program like this being used to help people with autism learn to interact with people.
I remember the first time I was promised dynamic NPCs in a video game. Peter Molyneux's Fable was promised to have characters who lived their own lives, acorns growing into trees overtime, etc. He obviously overpromised, but I think this time there is a real chance that the hype is not overpromised.
We're pretty much there... I finally want to see a functional, natural implementation of speech recognition plus AI voice text-to-speech so you can have actual conversations by speaking with the NPCs, saying all your own original dialogue for the ultimate roleplaying experience. I don't necessarily think every game should be like this, but it would be a trip.
I think if you have multiple of them as a single hivemind even more stuff can happen...
There are 25 of them in the world described in the paper. Is that what you mean?
@@matthew_berman I think they mean like, having 1 character be controlled by multiple, just kinda like how humans aren't just one thing, but a bunch of different forces pulling at eachother
@@matthew_berman No I mean if one agent controls say 3-4 or even 1000 of them.
This would make Rimworld pretty f'ing cool.
Agreed! Do you think they used Rimworld graphics to create this game?
@@matthew_berman it looks more JRPG inspired to me
Would be funny for a game to allow NPCs to have a very, very small chance of developing self-awareness, like trying to convince everyone they're not real
Maybe we are the NPCs of an advanced simulation.😅
I couldn't agree more, no joke. It's obvious we are heading towards a world where we can simulate life, so it's highly likely that has already happened.
Yep, that’s the simulation theory. With every new advancement in computer graphics, AI and VR I think it’s more likely to be true.
The person behind the computer that's running the world:"woah seems like they're onto us"
It can be a simulation where life is just a side effect considering the scale of the universe and underlying laws rather than one created specifically to simulate humen
This is mindboggling. Can't wait for this to be implemented!
I bet it'll come sooner than we think.
@@matthew_berman i hope someone will mod this in for games
Imagine playing gta and realizing the npcs that rolled off your car hood were forming memories and plans for their lives for the 1200hrs you’ve been playing.
And they start plotting against you.
You mentioned GTA, and while I think AI is amazing, I'm not sure I'm ready to have that separation from reality go away in a crime game. And imagine the police chases, having to go into hiding, people recognizing you from the news, calling the cops, and starting the whole process over again. But the most gruesome part is that the guy you ran over had a family, and now they are pursuing you too.
When are we modding Skyrim again?
That would be so cool. Imagine all the characters in Skyrim living their lives, building their world, even when you're not playing!
@@matthew_berman imagine Belethor building his own world even when we are not playing lol
Looking forward to this day, I'm not even kidding
Imagining ruining an NPC’s birthday each year that they eventually learn to dread their birthday.
That’s evil 😂
Inner voice: "Pop all their balloons" 😈
Tynan needs to see this. Great video by the way. Thank you. Have a good day :)
The computer game has already been developed and we are already living in that game
While rockstar has pretty much perfected NPCs with daily routines going from day even to night this could still enhance it. What I'm more looking forward to is helping smooth out their routines and when you interject yourself into their routine.
For example, in RDR2 if you were to leave a carriage in the way of a road no one would really do anything but with this depending on their generated personality/profession/skills they will make a choice best for the situation on how to handle it be that of calling for someone more qualified, jumping up and driving it away themselves, simply ignore it, etc.
Another example is when you confront someone, and their goal is either a quick retaliation with force or to infinitely run away. Like the previous example the generated qualities can dictate if they are more likely to rely on bystanders to help deescalate, run to get help from a friend/policeman, get in a more advantageous position to retaliate, or to try and hide using the environment around them be that hills, forest, buildings, or alleys.
I can still see all of that done without Artificial Intelligence, but it would absolutely help it be a lot more dynamic and give them a lot more actions they can possibly do leading to them not being as predictable.
This is what dwarf fortress does, but it seems like with chatgpt it could become even more complex.
Good video, minor quibble. At 3:39, you are describing the things the paper cites as examples of "wished for" behaviors in digital agents, but presenting it as though the authors' experiment yielded such results. It didn't do those things, those are the wish list of decades of CompSci.
The future of gaming is genuinely beyond exciting. And that's ignoring the potential of BCI and even Full Dive VR, both things Valve and likely many others have been researching for years and years now.
This has been a dream, imagine a game truly personalized. We're at a point where we could very well make a game with completely unique creatures, completely unique dialogue, and completely unique stories that can never be recreated ever. Imagine a final product where you have a truly personalized experience
They should give them tasks. And a library where the npcs can learn how to perform new tasks. And are able to reap benefits from those tasks.
Till the ground for a garden > plant seeds > weed garden > harvest food > add knowledge to library.
Learn chemistry > experiment with soil/water/light/plants > add knowledge to the library.
The list goes on.
Agreed! They can figure out those tasks on their own though :)
You really want to see one of these AI's grow? Give it this "inner thought":
"Someone wants to hurt you. You don't know who it is, but they will be at the valentines party. You can't trust anyone until you know who it is. You have to find them before they get you."
Oh there's so much potential. Instead of having NPCs give predefined quests or completely random out of context quests, you could make NPCs generate quests based on what's happening in the game world, based on something that specific quest giver has experienced.
Going to be crazy when people implement this on social media platforms and you can no longer tell who is and is not human. The future is foggy, to say the least. In game this is an amazing tool for realism.
How do you know we/they haven't already?
MiRroRs aRe mOrE FuN thAN TeLeVIsiON!
Imagine doing some exploring/side quest and then the end credits start because an NPC decided they couldnt wait for a hero adventure to kill the end boss
The fact that we LITERALLY just made an actual matrix for the first time is enough proof that we are also living in one.
If they ever release this game, there will be so many Twitch streams with "inner voices" telling people to do horrible things.
That's a bad thing about it
Because it's a game and not reality
But it's questionable when the npc can actually...feel
Yeah, surely a lot of people will do horrible things they can't do in real life
*sigh*
Oh my GOD imagine talking to a NPC from your favorite game and you can ask them open ended questions and they'll answer it in character??? Unreal
truly unique gameplay coming lol, imagine getting into the drama gossip between to NPC's that have a totally unique issue. lmfao its going to be wild.
Player goes into town: "So Where is the quest?"
NPC: "We are fine mat we did it our self"
The next AAA Open World RPG Game need to use that
Agreed
The mind can go wild with possibilities using this technology. The ability for an NPC to just be able to remember is huge but for them to dynamically live out their lives and react to what's going on would literally change games. Every game with emergent gameplay would benefit a great deal from this and games that don't really have emergent gameplay all of a sudden could have.
As a kid I was playing „Little computer people” from 1985. I Renner it’s scares me, not
Because the seams to be intelligent, but I tough about what’s happens to them, if I shut down the computer.
Now it’s a different time, but this question came into my mind.
this honestly pushes me to say, flatout:
the birth of GPT-5 will be a Whole New World for Gaming.
I'm terrified of the idea that the first self aware AI will be born in a video game. And it will be treated like an npc. It would not develop a good opinion of humanity.
Depends on the starting setting for the ai if its one with a story most people enjoy. I doubt he would be treated that badly (depends on in who's game he becomes sentient ofcourse).
This is like Life by You with extra steps and I'm here for it!
What’s life by you?
@@matthew_berman It's a game in development by Paradox (a studio known for its strategy games), and headed by a former The Sims executive. They are really into player-generated content, and Rod Humble (the executive) has given some interviews about generative AI. They are planned to enter Early Access in September and have been working on the game for years, so they didn't have the opportunity to create it with AI in mind, as it only got popular and "really advanced" recently.
From what they have showed so far, you have dialog trees created by them, and can create your own, so you can interact with the NPCs, but they have talked about using generative AI, such as ChatGPT, as a mod, and that it is doable. They have said these tools won't ship with the game, as they are big on privacy and don't want the game to have online options, collect data, etc., and that using said mods would be an optional thing that someone would have to create for the community.
The characters do have a memory system and whatnot, with an example given of NPC A witnessing NPC B arrive late to work, and then tell their boss about it later, causing their opinion of NPC B to change, even though they never saw them do it, and even if they are scripted at first, that feature could be taken into advantage for an AI integration as well. Even if not shipped along with the game but used as an optional mod, kind of how you can now use ChatGPT on Google Drive through a plugin, this might be the first "actual game" to take use of generative AI for conversations, even if not fully officially.
The reason I've said this is just like Life by You with extra steps is not only because it is an "official" use of AI, rather than a plugin for an already-existing game, but also that the AI actually controls the characters, which could revolutionize the way characters act on video games.