We study the problem of example-based procedural texture synthesis using highly compact models. Given a sample image, we use differentiable programming to train a generative process, parameterised by a recurrent Neural Cellular Automata (NCA) rule. Contrary to the common belief that neural networks should be significantly over-parameterised, we demonstrate that our model architecture and training procedure allows for representing complex texture patterns using just a few hundred learned parameters, making their expressivity comparable to hand-engineered procedural texture generating programs. The smallest models from the proposed $μ$NCA family scale down to 68 parameters. When using quantisation to one byte per parameter, proposed models can be shrunk to a size range between 588 and 68 bytes. Implementation of a texture generator that uses these parameters to produce images is possible with just a few lines of GLSL or C code.
Med-NCA: Robust and Lightweight Segmentation with Neural Cellular Automata
Darmstadt University of Technology(达姆施塔特工业大学)
在使用深度学习执行医学图像分割时,访问适当的基础设施至关重要。这一要求使得在资源有限的情况下,如农村地区和危机期间的初级保健设施,很难运行最先进的细分模型。最近新兴的神经元胞自动机(NCA)领域已经表明,局部相互作用的单细胞模型可以在低分辨率输入的图像生成或分割等任务中取得有竞争力的结果。然而,它们受到高VRAM要求和难以达到高分辨率图像的收敛的限制。为了克服这些限制,我们提出了Med-NCA,一个用于高分辨率图像分割的端到端NCA训练管道。我们的方法遵循两个步骤的过程。全局知识首先在缩小的图像中的细胞之间进行通信。之后,执行基于块的分割。我们提出的Med-NCA在海马和前列腺分割方面分别比经典的UNet好2%和3%,同时也小了500倍。我们还表明,Med-NCA是通过设计不变的图像尺度,形状和平移,经历只有轻微的性能下降,即使有很强的转变,是强大的MRI采集伪影。Med-NCA甚至可以在Raspberry Pi B+上实现高分辨率医学图像分割,Raspberry Pi B+可以说是能够运行PyTorch的最小设备,并且可以由标准电源供电。
Google Paradigms of Intelligence Team(谷歌智能范式团队);School of Computer Science, McGill University(麦吉尔大学计算机科学学院);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);University of Geneva(日内瓦大学);Department of Neurology and Neurosurgery, McGill University(麦吉尔大学神经病学与神经外科系);Montreal Neurological Institute, McGill University(麦吉尔大学蒙特利尔神经研究所);Learning in Machines and Brains Program, CIFAR(CIFAR机器与大脑学习项目)