Skip navigation
Introducing LifeGPT, showing that LLMs can simulate complex, Turing-complete systems like Conway's…
0:00 / 9:59

Introducing LifeGPT, showing that LLMs can simulate complex, Turing-complete systems like Conway's…

Markus J. Buehler

@ProfBuehlerMIT28K followers

Visit on X
794 likesDownloadOriginal post

114,645 views

Introducing LifeGPT, showing that LLMs can simulate complex, Turing-complete systems like Conway's Game of Life with near-perfect accuracy—no prior topology needed.🌐This unlocks new potential for AI in modeling self-organizing systems in biology, materials science, & beyond.🔬🤖 #AI #LifeGPT. Cellular Automata (CA), like Conway's Game of Life ("Life"), are computationally irreducible, meaning their evolution is difficult to predict without an a-priori understanding of the rules of the game, including the topology on which it is played. LifeGPT is a topology-agnostic generative model that learns the rules of Life without prior knowledge of its grid structure or boundary conditions, from only a tiny number of game states. The success in simulating Life suggests promising avenues for scientific discovery, particularly in bridging the gap between AI, artificial life, and real-world biological systems, for both forward and inverse problems. The potential for universal computation within generative AI, including LLMs, through approaches like LifeGPT, represents an exciting area for future research, especially when combined with reinforcement learning. Model Convergence: LifeGPT exhibits rapid convergence during training, achieving high accuracy in predicting next-game-states. We attribute the non-zero cross-entropy loss to the lack of causal relationships within randomly generated ICs. Accuracy & Temperature: LifeGPT achieves near-perfect accuracy, particularly at lower sampling temperatures, but can be continually tuned towards higher creativity to discover patterns that the original ruleset would not be able to produce. This finding highlights the trade-off between model creativity (higher temperature) and accuracy in deterministic predictions, with high relevance to model real-world dynamical systems for which no closed-form rulesets exist. Zero/Few-Shot Learning: Trained on a small fraction of possible initial conditions, LifeGPT demonstrates strong zero/few-shot learning, accurately simulating Life for unseen initial conditions. However, rare prediction errors highlight that LifeGPT approximates rather than perfectly replicates the Life algorithm. Autoregressive Autoregressor: A recursive implementation of LifeGPT demonstrates the model's ability to simulate Life over multiple timesteps. LifeGPT is topology-agnostic with respect to its training data and our results show that a GPT model is capable of capturing the deterministic rules of a Turing-complete system with near-perfect accuracy, given sufficiently diverse training data. The work showcases the possibility for future models to synthesize stochastic generative capabilities with deterministic computational capabilities. Link to code, paper, etc. below. Podcast generated using #NotebookLM. LAMM@MIT DMSE at MIT

10 Comments

Comments from the original post on X (Twitter)

  • Markus J. Buehler's profile picture

    @ProfBuehlerMIT

    Paper📰: Jaime Berkovich, Markus J. Buehler, LifeGPT: Topology-Agnostic Generative Pretrained Transformer Model for Cellular Automata, 2024 Code: Weights 🤗:

    34 likes

  • Khlorghaal.so.1 🟦's profile picture

    @khlorghaal

    the abstract had me really skeptical about its utility, but potential ability to infer rules to form a system is extremely useful. an immediate application would be lossy data compression

    8 likes

  • RNLG's profile picture

    @OsuRnlg

    congrats, you've used a Mill(a computer) to carve a spoon (a LLM) to carve a spoon (a program) to finally then eat your soup with. And badly, at that.

    5 likes

  • snats's profile picture

    @snats_xyz

    i know this is most likely the case but could you in theory demonstrate with this that they are turing complete?

    3 likes

  • 🐕🐠🦆 SOPHIE 🐌🦉🧸🎀🥇🧟‍♀️🐾☕️☃️💥🔭🧙‍♀️🔥⚡️✨'s profile picture

    @sophiecomputer

    to claim conway's game of life is "complex" is an exaggeration. the resulting emergent structures are complex, but they exist on a meta level. the ruleset itself is extraordinarily simple and easy to simulate, which doesnt make an LLM that learns it all that impressive

    3 likes

  • John Shedletsky's profile picture

    @Shedletsky

    Why did you write a paper about this?

    3 likes

  • Niamato Inc's profile picture

    @Niamatomobility

    Absolutely thrilled by the groundbreaking work by Professor @ProfBuehlerMIT and Prof Jaime Berkovich on LifeGPT! The model’s ability to simulate the Game of Life on a toroidal grid with such precision is a testament to your innovation and expertise. Excited to see where this leads in both AI and biological research!

    2 likes

  • Markus J. Buehler's profile picture

    @ProfBuehlerMIT

    Thank you @Niamatomobility !

  • Mike Young's profile picture

    @mikeyoung44

    We have a summary up on @aimodelsfyi here (lmk your feedback!)

    2 likes

  • James's profile picture

    @AwokeKnowing

    but that's like teaching an LLM to predict output of NAND gates based on input. sure you can compute that way but it's ultra inefficient. of course an LLM should be able to reason about such a thing, but if it needs to simulate something it should write code like the rest of us

    2 likes