LifeGPT: topology-agnostic generative pretrained transformer model for cellular automata

Conway’s Game of Life (Life), a famous cellular automata (CA) algorithm, exhibits complex, initial condition-sensitive dynamics. Modeling Life without knowing the system’s topology presents a challenge, motivating the development of algorithms capable of generalizing across grid configurations and boundary conditions. We introduce LifeGPT, a decoder-only generative pretrained transformer (GPT) model with rotary positional embedding (RoPE) and forgetful causal masking (FCM), capable of computing a single-timestep global state transition in Life on a toroidal grid without prior knowledge of grid size or boundary conditions. LifeGPT is topology-agnostic, achieving near-perfect accuracy in capturing the deterministic rules of Life given sufficiently diverse training data. We show recursive simulation of Life is possible using LifeGPT within an autoregressive loop. LifeGPT can also be trained on grids of varying sizes while retaining near-perfect accuracy. Finally, we propose future research, like using LifeGPT-like models to infer CA rulesets from real-world data, which could advance predictive modeling.

Authors

Institutions

Publication Details

Journal
npj Artificial Intelligence
Published
2025-09-01
DOI
https://doi.org/10.1038/s44387-025-00014-w
Citations
1
Primary Topic
Cellular Automata and Applications
Type
article
Field-Weighted Citation Impact
1.50

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LifeGPT: topology-agnostic generative pretrained transformer model for cellular automata

Markus J. Buehler, Jaime Berkovich
1 citations
npj Artificial Intelligence
Cellular Automata and Applications
1.50
article

LifeGPT: topology-agnostic generative pretrained transformer model for cellular automata

Markus J. Buehler, Jaime Berkovich
article en
1 citations

Abstract

Conway’s Game of Life (Life), a famous cellular automata (CA) algorithm, exhibits complex, initial condition-sensitive dynamics. Modeling Life without knowing the system’s topology presents a challenge, motivating the development of algorithms capable of generalizing across grid configurations and boundary conditions. We introduce LifeGPT, a decoder-only generative pretrained transformer (GPT) model with rotary positional embedding (RoPE) and forgetful causal masking (FCM), capable of computing a single-timestep global state transition in Life on a toroidal grid without prior knowledge of grid size or boundary conditions. LifeGPT is topology-agnostic, achieving near-perfect accuracy in capturing the deterministic rules of Life given sufficiently diverse training data. We show recursive simulation of Life is possible using LifeGPT within an autoregressive loop. LifeGPT can also be trained on grids of varying sizes while retaining near-perfect accuracy. Finally, we propose future research, like using LifeGPT-like models to infer CA rulesets from real-world data, which could advance predictive modeling.

npj Artificial IntelligenceVol. 1(1)
Massachusetts Institute of Technology (US)
U.S. Department of Defense, U.S. Department of Energy, U.S. Department of Agriculture, National Institutes of Health, Strategic Environmental Research and Development Program, National Defense Science and Engineering Graduate, Army Research Office
Openalex Percentile: Top 14%
Cellular Automata and Applications
1.50
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.