Lune

ICLR2025Top-tier venue

CAX: Cellular Automata Accelerated in JAX

Maxence Faldor, Antoine Cully

Abstract

Cellular automata have become a cornerstone for investigating emergence and self-organization across diverse scientific disciplines. However, the absence of a hardware-accelerated cellular automata library limits the exploration of new research directions, hinders collaboration, and impedes reproducibility. In this work, we introduce CAX (Cellular Automata Accelerated in JAX), a high-performance and flexible open-source library designed to accelerate cellular automata research. CAX delivers cutting-edge performance through hardware acceleration while maintaining flexibility through its modular architecture, intuitive API, and support for both discrete and continuous cellular automata in arbitrary dimensions. We demonstrate CAX's performance and flexibility through a wide range of benchmarks and applications. From classic models like elementary cellular automata and Conway's Game of Life to advanced applications such as growing neural cellular automata and self-classifying MNIST digits, CAX speeds up simulations up to 2,000 times faster. Furthermore, we demonstrate CAX's potential to accelerate research by presenting a collection of three novel cellular automata experiments, each implemented in just a few lines of code thanks to the library's modular architecture. Notably, we show that a simple one-dimensional cellular automaton can outperform GPT-4 on the 1D-ARC challenge.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Attention-based Neural Cellular Automata cites Variational Neural Cellular Automata
  • Attention-based Neural Cellular Automata cites Learning Graph Cellular Automata
  • Variational Neural Cellular Automata cites Learning Graph Cellular Automata
  • Procedural Generation Of Algorithm Discovery Tasks in Machine Learning cites Attention-based Neural Cellular Automata
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Procedural Generation Of Algorithm Discovery Tasks in Machine LearningAlexander D. Goldie, Zilin Wang, Adrian Hayler, Deepak Nathani et al.ICML 2026 · 2 citations

Builds on4

  1. Learning Graph Cellular AutomataDaniele Grattarola, Lorenzo Livi, Cesare AlippiNeurIPS 2021 · 54 citations
  2. Variational Neural Cellular AutomataRasmus Berg Palm, Miguel González Duque, Shyam Sudhakaran, Sebastian RisiICLR 2022 · 35 citations
  3. Attention-based Neural Cellular AutomataMattie Tesfaldet, Derek Nowrouzezahrai, Chris PalNeurIPS 2022 · 33 citations
  4. DyNCA: Real-Time Dynamic Texture Synthesis Using Neural Cellular AutomataEhsan Pajouheshgar, Yitao Xu, Tong Zhang, Sabine SüsstrunkCVPR 2023

Related papers

  1. Octax: Accelerated CHIP-8 Arcade Environments for Reinforcement Learning in JAXWaris Radji, Thomas Michel, Hector PiteauICLR 2026 · 5 citations
  2. How to Train Neural Field Representations: A Comprehensive Study and BenchmarkSamuele Papa, Riccardo Valperga, David M. Knigge, Miltiadis Kofinas et al.CVPR 2024 · 4 citations
  3. Craftax: A Lightning-Fast Benchmark for Open-Ended Reinforcement LearningMichael T. Matthews, Michael Beukman, Benjamin Ellis, Mikayel Samvelyan et al.ICML 2024 · 71 citations
  4. JAX MD: A Framework for Differentiable PhysicsSamuel S. Schoenholz, Ekin Dogus CubukNeurIPS 2020 · 195 citations
  5. Convergence of Array DBMS and Cellular Automata: A Road Traffic Simulation CaseRamon Antonio Rodriges ZalipynisSIGMOD 2021 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines