CAX:在JAX中加速的元胞自动机
CAX: Cellular Automata Accelerated in JAX
AI总结:
本文提出CAX,一个基于JAX的高性能开源元胞自动机库,通过硬件加速和模块化设计实现最高2000倍加速,并展示其在多个实验中的研究加速能力。
摘要:
元胞自动机已成为跨多个科学学科研究涌现与自组织现象的基石。然而,缺乏硬件加速的元胞自动机库限制了新研究方向的探索,阻碍了合作,并妨碍了可复现性。在这项工作中,我们介绍了CAX(Cellular Automata Accelerated in JAX),一个高性能且灵活的开源库,旨在加速元胞自动机研究。CAX通过硬件加速提供前沿性能,同时通过其模块化架构、直观的API以及对任意维度中离散和连续元胞自动机的支持来保持灵活性。我们通过广泛的基准测试和应用展示了CAX的性能和灵活性。从初等元胞自动机和康威生命游戏等经典模型,到生长神经元胞自动机和自分类MNIST数字等高级应用,CAX将模拟速度提升了高达2,000倍。此外,我们通过展示三个新颖的元胞自动机实验集合来证明CAX加速研究的潜力,得益于该库的模块化架构,每个实验仅需几行代码即可实现。值得注意的是,我们展示了一个简单的一维元胞自动机能够在1D-ARC挑战上超越GPT-4。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。