[Paper Review] Image segmentation via Cellular Automata
This paper proposes training a cellular automaton (CA) with a learnable local update rule to perform high-resolution image segmentation. Using a small neural network to parameterize the CA rule, the model applies parallel, randomized updates across pixels, converging to globally consistent segmentation masks via gradient descent—achieving strong performance with under 10,000 parameters.
In this paper, we propose a new approach for building cellular automata to solve real-world segmentation problems. We design and train a cellular automaton that can successfully segment high-resolution images. We consider a colony that densely inhabits the pixel grid, and all cells are governed by a randomized update that uses the current state, the color, and the state of the $3 imes 3$ neighborhood. The space of possible rules is defined by a small neural network. The update rule is applied repeatedly in parallel to a large random subset of cells and after convergence is used to produce segmentation masks that are then back-propagated to learn the optimal update rules using standard gradient descent methods. We demonstrate that such models can be learned efficiently with only limited trajectory length and that they show remarkable ability to organize the information to produce a globally consistent segmentation result, using only local information exchange. From a practical perspective, our approach allows us to build very efficient models -- our smallest automaton uses less than 10,000 parameters to solve complex segmentation tasks.
Motivation & Objective
- To develop a trainable cellular automaton that solves complex real-world image segmentation tasks using only local interactions.
- To stabilize training of cellular automata over long unroll steps despite their sensitivity to gradient vanishing/exploding.
- To enable efficient, incremental inference for dynamic inputs such as video, leveraging asynchronous updates.
- To demonstrate that compact CA models (under 10K parameters) can achieve competitive segmentation performance.
- To explore the potential of CA as a framework for reasoning about distributed, decentralized computation in vision tasks.
Proposed method
- A cellular automaton is defined on a pixel grid, where each cell updates based on its 3×3 neighborhood and color using a randomized, parallel update rule.
- The update rule is parameterized by a small convolutional neural network, enabling end-to-end differentiable training via backpropagation.
- Training uses short unroll sequences (e.g., 10–80 steps), with gradients backpropagated through time to optimize the rule parameters.
- A resettable cell mechanism introduces stochasticity via a Bernoulli gate, enabling asynchronous evolution and improved training stability.
- The model employs stride-2 convolutions to downsample input and transpose convolutions to upsample predictions, with minimal parameter overhead.
- Depthwise separable convolutions are used to reduce model size while preserving performance, achieving 3× fewer parameters than standard convolutions.
Experimental results
Research questions
- RQ1Can a cellular automaton with a learnable, local update rule solve complex image segmentation tasks effectively?
- RQ2How can training instability in long-horizon cellular automata be mitigated using short unroll sequences and architectural innovations?
- RQ3To what extent can a CA model generalize to dynamic inputs such as video, leveraging incremental computation?
- RQ4What is the trade-off between model size and segmentation accuracy in CA-based architectures?
- RQ5Does the introduction of a reset gate in cells lead to emergent training dynamics, such as regime changes?
Key findings
- The proposed CA model achieves state-of-the-art performance on image segmentation with less than 10,000 parameters, demonstrating high efficiency.
- A 96×96 model with depthwise separable convolutions achieves ~3% higher IOU than a standard 3×3 version while being 4× faster and using only 18K parameters.
- The smallest model, with 9K parameters, achieves an object IOU of 75.5% on the COCO dataset, showing strong compactness.
- The model exhibits a regime change in reset gates during training, which correlates with a sudden performance boost—e.g., IOU on step 79 increased dramatically after the transition.
- Models trained with short unrolls (e.g., 80 steps) generalize well and can adapt to changes in input, enabling direct application to video segmentation.
- The use of depthwise separable convolutions reduces parameter count by nearly 3× with minimal performance drop, making the model highly efficient.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.