logoalt Hacker News

Why are large language models so terrible at video games?

23 pointsby sxx0today at 9:14 AM37 commentsview on HN

Comments

ceheaaftoday at 10:29 AM

It feels like they're really focusing on overstating how confusing and weird it is that an LLM can write code but not play games very well, rather than just explaining it.

Code is text. LLMs are text input/output machines.

Game input/output is not at all text.

LLMs can certainly reason about games with a simple/explicit enough domain (try a risk tournament where models can talk to each other between turns!)

show 3 replies
nottorptoday at 9:59 AM

There was good progress in training neural networks to play video games.

Unfortunately it doesn't seem to fit in some people's context because it was a few years ago.

Kind reminder: there is "AI" beyond LLMs.

show 3 replies
dsabanintoday at 10:32 AM

Why is a language model bad at video games? I think the answer is stated in the question itself.

show 2 replies
Zobattoday at 10:52 AM

As others have hinted at LLMs aren't really made in a way that makes them likely to play video games (CS/Halo and such) well. I wonder how they'd fare "against" text based adventures like Zork (which they'll no doubt have ample knowledge about) and newer text based adventure games (which they'll know less about).

show 2 replies
panarchytoday at 9:56 AM

I actually really miss all the research being done on having (reinforcement learning) AIs beat Atari games and the like. Or the one that stopped at a TV playing random images instead of continuing through the level. Has there been any progress in that field? It seems like LLMs came around and all the projects stopped completely.

meffmaddtoday at 11:13 AM

I found LLMs to be surprisingly good at puzzle games like Baba Is You: https://meffmadd.github.io/samplesurium/posts/baba_is_agent/

show 1 reply
suyavuztoday at 11:14 AM

The coding comparison is more interesting to me. Programming has unusually good feedback loops. A test fails, an exception gets thrown, a benchmark regresses. Most games don't give you that kind of signal. I wonder how much of current coding performance depends on that.

show 1 reply
deyiaotoday at 11:04 AM

I guess the author’s point is that LLMs can’t really learn in real time yet, whereas playing games is basically all about real-time learning. So an LLM can be very good at writing code, but still be terrible at actually playing games.

Personally, I think this is a really hard problem, and it may turn out to be one of the first big walls we hit on the road to AGI.

ThunderSizzletoday at 10:20 AM

I wonder if you paired a few different types of AI together, an LLM agent might be good at strategizing -. E.g. building a strategy on how to handle a scenario. But, it would need to know the entire game manual basically. Then it would pass the stratrgy to a better AI in some way. But it might not be needed if the better gaming AI can just do that part too already.

I admit I know nothing about this though.

show 1 reply
jagged-chiseltoday at 10:46 AM

Because they’re large language models. Language doesn’t map onto gameplay.

Choose another “AI” technology and give it about go.

voidUpdatetoday at 9:43 AM

Its almost like the Large Language Model has trouble with things that arent Language, such as realtime controller input and video output from a game

show 2 replies
andunietoday at 10:13 AM

I wonder if they would be good at text-based games.

jiehongtoday at 9:41 AM

Video games are made to entertain humans, so does it really matter whether LLMs are good at playing them?

show 2 replies
danaristoday at 9:28 AM

> This brings us to what seems like a contradiction. LLMs are bad at playing games. Yet at the same time, they’re improving rapidly at coding, a skill set that can be used to create a game. How do these facts fit together?

> Togelius: It’s super weird.

...No, it's really not.

They're language models. Code is a language. "Playing a game well" is not. One can, hypothetically, encode game inputs in such a way that it seems kinda-sorta like a language, but it has none of the same kinds of structures that languages—both human and programming—do.

The only way one can think this is strange is if one thinks of LLMs' ability to code rudimentary games as being due to a deeper understanding of games, rather than due to game code being well-represented in their training data.

show 2 replies
cultofmetatrontoday at 9:42 AM

cough JEPA cough

sxx0today at 10:37 AM

[dead]