Visualizing the connections in neural networks across a variety of modalities

November 13, 2026

Click each image to go to a higher-resolution image for full effect.

ResNet20 · CIFAR-10 · Image classification into 10 categories

Bundled connections across the layers and residual branches of CIFAR-10 ResNet20

MNIST MLP · Image classification into 10 digits

The input, two hidden layers, and output of an MNIST multilayer perceptron

MobileNetV2 — Image classification into 1,000 categories

MobileNetV2 spatial connectivity with depthwise convolution and residual branches

TinyStories 1M · Text to Text

TinyStories 1M transformer connections arranged by computational stage

TinyStories 8M · Text to Text

TinyStories 8M transformer connections arranged by computational stage

EnCodec · 24 kHz · Audio to Audio

EnCodec audio codec connectivity across its encoder and decoder stages

MusicGen Small · Text to Audio

MusicGen Small text conditioning and audio-token generation connections

What is this?

These images are generated from open model weights. The X axis represents computational stages, including layers and other computational operations like residual additions. The Y axis represents the index of the neuron in each stage. The lines are bundles of connections between neurons in each stage (grouped together for clarity), with brightness based on the total absolute weights of the connections represented by the line.

I made this for fun, curiosity, and to appreciate the aesthetic beauty of these marvellous machines. While these representations are highly simplified (displaying weights with hundreds of dimensions onto a 2-dimensional plane, for one), I like to think of them as fingerprints of the models that, combined with much other study, could help us intuit neural networks' structures.

Source

The code to generate these is at https://github.com/naclonts/neural-net-visual/. Try pulling other models and riffing on it!

Credit

I was inspired to play around with this by Julian Rogawski's nn_vis library, which generates 3D models representing neural networks.

The rendering relies on Datashader's network bundling code. (Datashader is a sick library btw - check out the homepage.)

Model cards on HuggingFace:

MusicGen connectivity arranged in a luminous radial network, with subtle perimeter labels

Another fun view of MusicGen small.


Profile picture

Written by Nathan Clonts. I'm a software engineer, a student of intelligences artificial and organic, and a human. Find me on LinkedIn or GitHub.

Road Goes Ever On
© 2026 Nathan Clonts