4 ms·
If the advent of language models wasn't correlating with reduced attention spans and (ironicially) a motivation to read, one would expect text adventures to thr
by raffael_de 1y ago
If the advent of language models wasn't correlating with reduced attention spans and (ironicially) a motivation to read, one would expect text adventures to thrive.
> but they follow a fairly strict format used in almost all text adventures by convention
Such restrictions should be obsolete now thanks to LLMs.
- kqr 1y agoLLMs are not as great for text adventures as they might seem. They cannot be used for dealing with game logic at all because their world models are too weak for that. They could maybe be used as glorified parsers (i.e. read human intent and convert to a command) but I have yet to see a good implementation of that. They could also be used to embellish details which are insignificant and the author has not spent time on, but (a) what's the point? and (b) what the author chooses to leave unimplemented or generic is actually an important signal to the player.
- raffael_de 1y agoLLMs are absolutely fantastic for text adventures. You are straw manning by assuming the idea is to just feed some world description into the context and then chat with the model.
- kryptiskt 1y agoHow would you ensure that an LLM "gets" a puzzle mechanic and that reasonable attempts at it will be rewarded with progress, while not letting players sweet talk it into into disregarding the puzzle?
- raffael_de 1y agoHow about maintaining the state outside of the model's context for example in some SQLite database? The purpose of the language model would be as a language interface to a statically defined set of (SQL) commands/statements. And so on - there would be more problem's to be solved, of course, and sweet talking may always remain a possibility just as cheating is in any other game as well.
- kqr 1y agoThe current crop of LLMs are not able to consistently/logically update the state in the SQLite database based on player actions. They will update it when they are not supposed to, update it to the wrong value, and fail to update it entirely when they are supposed to.
- mathieudombrock 1y agoI tried this. It sounds good on paper but the LLM will just "forget" to use it's tools. Either it will decline to query the database and just make stuff up, or it will decline to update the database when it should. The further along the game play gets the more out of sync the game word gets from the external state. I'm sure there is a clever solution but I never found it.
- raffael_de 1y agoyou're making the mistake to assume that leaving the structure of the communication and game play to the LLM is the only option. the LLM just is a tool serving a specific purpose in the game play. the LLM cannot forget to query if the query/state-management task is simply an imperative step in a loop. it's not left to the LLM to remember it.
- SubiculumCode 1y agoDo you have some recommendations? I've only had poor experiences with these things that essentially can't hold the line between letting players 'do what they want and the world responds' versus players 'making the world do what they want and the world obeys"
- SubiculumCode 1y agoYeah, LLMs would need to be wildly constrained to a world model. I remember in some LLM text game that was supposed to be medieval dungeon crawl, I just declared that I pulled a shotgun from my bag and blasted the goblins, and it just rolled with it instead of saying 'no.'
- devilbunny 1y ago> what the author chooses to leave unimplemented or generic is actually an important signal to the player. For computer games, yes, because you can get stuck with no apparent way out. As an aid for TTRPGs where a human GM is present and can steer the PCs out of blind alleys, it could make a very nice aid to world building. “Give me fifty random characters with backstory for a Pathfinder 2e game” is exactly the sort of thing we should use AI for. It doesn’t really matter. It’s flavor. So if the AI messes up… who cares?
- deleted 1y ago[deleted]