All models

Diff-NCA

A denoising diffusion model whose denoiser is a small neural cellular automaton using only local communication.

Diffusion and generative · 2,183 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,183 operations (148 KB) and is drawn when you ask.

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
337.6K
Operations
2,183
Framework
PyTorch
Recurrent
Yes
Published
2024
Cited by
2 (as of 29 October 2026)
Authors
John Kalkhof, Arlene Kühn, Yannik Frisch, Anirban Mukhopadhyay
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m16093
Graph hash
b5f9c42b1020eb6d94bc0fd8f97e73a34359ee79be948827753fcef9e4fecc84
Skeleton hash
eb14599748cc85c0df04f20077f444a8d1397ea8cd5ac0a46f4d73b803ec5918
Architecture hash
0152411170bb5b1b5ac9ea4921882047abd0db4d048fc0d65dbac4bb276d559f
Diagram SHA-256
b233bc2aa56616e64aa22e9af6e68808a29e3aca74abfc1386b384c6925a46ce
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

Diff-NCA is a denoising diffusion model (DDM) built on a neural cellular automaton (NCA) in place of the usual UNet backbone. An NCA is a one-cell model replicated in each cell of an image, where it communicates only with its direct neighbors. The paper's motivation is that large UNet-based DDMs are hard to use on limited hardware and on gigapixel images, while local communication makes NCAs adaptable to different image sizes.

In the update rule, local communication is a 3 × 3 convolution, followed by a 1 × 1 convolution to a hidden vector of depth 512 and another back to the channel size. Each cell has 96 channels: three for the input image, three for the predicted noise and 90 empty channels that store information between steps. Position and timestep information enters through multiplicative conditioning. Diff-NCA predicts the noise by iterating this rule over the image, extending its perceptive range by 1 per step.

Run on its own, Diff-NCA gives a diffusion process in image space only and so considers only local features. The same paper adds FourierDiff-NCA, which extends it by first gathering global information in Fourier space. The paper reports that a 331k parameter Diff-NCA can generate 512 × 512 pathology slices, well above its training size of 64 × 64.

Key idea. The paper replaces the UNet denoiser of a diffusion model with a neural cellular automaton, and reports a 331k parameter Diff-NCA generating 512 × 512 pathology slices.

  • Diff-NCA
  • neural cellular automata
  • NCA
  • NCA diffusion
  • denoising diffusion model
  • image generation
  • frequency-time diffusion
  • pathology image synthesis
  • parameter-efficient diffusion

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{kalkhof2024frequencytimediffusionneuralcellular,
      title={Frequency-Time Diffusion with Neural Cellular Automata}, 
      author={John Kalkhof and Arlene Kühn and Yannik Frisch and Anirban Mukhopadhyay},
      year={2024},
      eprint={2401.06291},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2401.06291}, 
}