←back to thread

868 points vuciv | 1 comments | | HN request time: 0.211s | source
Show context
dolebirchwood ◴[] No.45193344[source]
This is awesome. LLM-powered NPCs is one thing I'm most excited about in the future of gaming. Characters repeating the same scripted dialog over and over again is one of the biggest immersion breakers.
replies(13): >>45193383 #>>45193385 #>>45193639 #>>45194269 #>>45194412 #>>45195160 #>>45196348 #>>45196414 #>>45196479 #>>45196822 #>>45197099 #>>45197922 #>>45199103 #
jerf ◴[] No.45199103[source]
There's a number of little games and a major mod for Skyrim that implements this. I've spent a bit of time playing with the Skyrim mod.

There are some significant issues with it at the moment. One is that you have to train on vast swathes of text to get an LLM, and it's difficult after the fact to remove things after the fact. If you cooperate with the AI and stay "in Skyrim" with what you say to them it works out OK, but if you don't cooperate it becomes clear that Skyrim NPCs know something about Taylor Swift and Fox News, just to name two examples. LLMs in their current form basically can't solve this.

The LLMs are also prone to writing checks the game can't cash. It's neat that the NPCs started talking about a perfectly plausible dungeon adventure they went on in a location that doesn't exist, but "felt" perfectly Skyrim-esque, but there's clearly some non-optimal aspects about that too. And again, this is basically not solvable with LLMs as they are currently constituted.

Really slick experiences with this I think will require a generational change in AI technology. The Mantella mod is fun and all but it would be hard to sell that at scale right now as a gaming experience.

replies(4): >>45199360 #>>45199505 #>>45199575 #>>45201084 #
1. jhatemyjob ◴[] No.45199505[source]
It's solvable it's just a lot of work. You need to have guardrails, i.e. multiple sanity-check passes (maybe there are other techniques, but I found this to be most effective)

One concrete example I'm sure these Skyrim mods aren't using is: enums in structured outputs [1] with a finite list of locations/characters/topics/etc that are allowed to be discussed. The AI is not allowed to respond with anything that is not in the enum. So you can give it a list of all the locations in the game in a huge array and it would be forced to pick one.

[1] https://platform.openai.com/docs/guides/structured-outputs#a...