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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 17c6e384-82d5-4de0-962f-5220825a02aeCited by top-tier papers1
Ask how each one uses itBuilds on4
- Learning Graph Cellular AutomataDaniele Grattarola, Lorenzo Livi, Cesare AlippiNeurIPS 2021 · 54 citations
- Variational Neural Cellular AutomataRasmus Berg Palm, Miguel González Duque, Shyam Sudhakaran, Sebastian RisiICLR 2022 · 35 citations
- Attention-based Neural Cellular AutomataMattie Tesfaldet, Derek Nowrouzezahrai, Chris PalNeurIPS 2022 · 33 citations
- DyNCA: Real-Time Dynamic Texture Synthesis Using Neural Cellular AutomataEhsan Pajouheshgar, Yitao Xu, Tong Zhang, Sabine SüsstrunkCVPR 2023
Related papers
- Octax: Accelerated CHIP-8 Arcade Environments for Reinforcement Learning in JAXWaris Radji, Thomas Michel, Hector PiteauICLR 2026 · 5 citations
- 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
- Craftax: A Lightning-Fast Benchmark for Open-Ended Reinforcement LearningMichael T. Matthews, Michael Beukman, Benjamin Ellis, Mikayel Samvelyan et al.ICML 2024 · 71 citations
- JAX MD: A Framework for Differentiable PhysicsSamuel S. Schoenholz, Ekin Dogus CubukNeurIPS 2020 · 195 citations
- Convergence of Array DBMS and Cellular Automata: A Road Traffic Simulation CaseRamon Antonio Rodriges ZalipynisSIGMOD 2021 · 6 citations
