Why are large language models so terrible at video games?

(spectrum.ieee.org)

22 points | by sxx0 2 hours ago

16 comments

  • ceheaaf 1 hour ago
    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!)

    • cubefox 2 minutes ago
      The other reason is lack of continual learning, especially for long games like RPGs.
    • croes 2 minutes ago
      LLMs are used for OpenClaw and similar to do tasks for their user.

      Games are a bunch of tasks too.

      So if they fail at game tasks maybe it’s a bad idea to advertise those LLMs as task doing assistants.

    • kqr 4 minutes ago
      But LLMs are terrible at text adventures too. See e.g. https://entropicthoughts.com/updated-llm-benchmark and previous articles referenced in there.

      I have yet to see any sort of harness that lets a frontier LLM interact with a text adventure and make meaningful progress on its own.

  • nottorp 1 hour ago
    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.

    • kingstnap 47 minutes ago
      OpenAI's Dota 2 adventures were super hype back in the days.
      • deyiao 33 minutes ago
        OpenAI Five doesn’t really know how to play games in general — it only knows how to play Dota.
    • kypro 29 minutes ago
      Several years ago I built a simple snake game and wrote a DQN from scratch to learn how to play it.

      I was really proud of it at the time because I had to do a decent amount of reading and research since I wrote all of the NN code from scratch and wanted to add some more advanced algorithm optimisations which I hadn't done in previous projects.

      I suspect a coding agent could spit the entire project out in 20 minutes now, but it was very cool at the time to build a game then watch my computer learn how to play it in real time.

  • dsabanin 1 hour ago
    Why is a language model bad at video games? I think the answer is stated in the question itself.
  • meffmadd 19 minutes ago
    I found LLMs to be surprisingly good at puzzle games like Baba Is You: https://meffmadd.github.io/samplesurium/posts/baba_is_agent/
    • stared 5 minutes ago
      Nice!

      I remember "Baba is Eval" (https://fi-le.net/baba/), released 11 months ago, back when Claude Opus 4 was the strongest model. Back then, I was surprised how poor was it even at the first level.

      I am happy to see an another approach - and indeed, with much stronger results.

  • Zobat 40 minutes ago
    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).
  • suyavuz 18 minutes ago
    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.
    • ehnto 14 minutes ago
      I have been noting this as well. It also had an unfair advantage of having all of open source code to train on, and a bunch of human discussions about code quality and structure. Now as well, the feedback loop of us all using coding agents in real life scenarios.

      Not many industries except perhaps writing have had that advantage, in many ways coding is one of the best case scenarios for LLMs.

  • panarchy 1 hour ago
    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.
  • deyiao 28 minutes ago
    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.

  • ThunderSizzle 1 hour ago
    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.

    • deadbabe 1 hour ago
      GOAP is a better tool.
  • jagged-chisel 47 minutes ago
    Because they’re large language models. Language doesn’t map onto gameplay.

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

  • voidUpdate 1 hour ago
    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
    • nubinetwork 1 hour ago
      I know someone who tried the "aibot plays pokemon" thing...

      From what I saw, even if you frame advance every single frame, they still don't seem to grasp the concept of "I need to hold down this button for a few frames until x happens"...

      There's no concept of time, just a never ending state machine thats constantly changing state.

    • new_account_102 1 hour ago
      [dead]
  • andunie 1 hour ago
    I wonder if they would be good at text-based games.
  • jiehong 1 hour ago
    Video games are made to entertain humans, so does it really matter whether LLMs are good at playing them?
    • pixel_popping 1 hour ago
      It matters a lot because it's a real solution for external bots that plays more "fairly" especially in older games. It also allows to test games autonomously, which is huge if we are talking about automated programming.

      Imagine if you can bring those AI players to CS 1.6.

      • vaylian 1 hour ago
        LLMs are the wrong tool for video games. There have been plenty of successful non-LLM AIs that have been trained with reinforcement learning to play games.

        If you want to implement actual bots inside the game, then you want to use explicit logic instead of inferred logic. It's much more efficient and easier to debug.

        If you want to create Bots for an existing game, which doesn't have its own pre-programmed bots, then you should look at other types of AI. See https://www.geeksforgeeks.org/deep-learning/reinforcement-le...

      • nubinetwork 1 hour ago
        The headshot/spin bots didn't need ai, all they had to do was ask the server where you were standing, and teleported to your location.
  • danaris 2 hours ago
    > 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.

    • pingou 1 hour ago
      Yet LLMs can play chess and have a "mental" representation of the chessboard.

      If LLMs get better but do not progress at playing games when not specifically trained on it it seems to point to a generalisation failure, a limitation that would prevent LLMs to ever achieve AGI, I do not know if that is weird but it seems that for now nobody really knows if they can achieve AGI or not. Perhaps some emergent behavior will arise after more scaling.

      To me it's only totally unsurprising if you are 100% certain that LLMs will never reach AGI (like LeCun thinks for example).

      • IX-103 44 minutes ago
        Chess games are in their training set, other games are not.
        • ehnto 17 minutes ago
          Chess is representable entirely in text as well, and generally speaking the LLM concept of "picking the next best token" fits pretty well for "picking the next best move" where a move is a text token
          • roxolotl 14 minutes ago
            That representation is also old, incredibly well documented, and used to describe how to reason about chess. There are of course text guides to other games in training data but they rely upon depictions of what’s happening that aren’t purely text so the game harness is always going to have to make novel decisions about represent the game as text.
    • roxolotl 1 hour ago
      Yea it’s wild watching so many smart people convince themselves that LLMs are general purpose AIs. Don’t get me wrong they are incredibly powerful tools. However being surprised that text models cannot play video games particularly well is like being surprised weather models cannot.
  • cultofmetatron 1 hour ago
    cough JEPA cough
  • sxx0 55 minutes ago
    [dead]