Skip to main content
Independent Digital Museum of Artificial IntelligenceELEL

MTN-0132 · Room 4 · 4.13

Variational Autoencoders: exploring latent space

How can a machine describe an image with a few numbers and create variations? A VAE learns a probabilistic route from data into a latent space and back.

Open the interactive · 3D · Room 4

Actual outputs of a small experimental VAE model trained for the Museum of AI on UCI digits. Not historical images or output of the page’s interactive experiment.
Experimental digital artifact · Actual outputs of a small experimental VAE model trained for the Museum of AI on UCI digits. Not historical images or output of the page’s interactive experiment.
Museum of AI (2026) · UCI: E. Alpaydin & C. Kaynak · CC BY 4.0 · Data source and licence · CC BY 4.0

Supplementary educational illustration

A table holding a 7×7 grid of tiles, each with a glowing relief spot in a different position.
Original educational simulation · museum installation as a digital 3D rendering49 decoder outputs of the Museum’s small VAE for points z₁ and z₂ from −1.8 to 1.8. Each tile is a 12×12 image; columns grow taller and brighter with pixel value. The gradual drift of the spot shows how the latent space is organised.Original image by the Museum of AI, rendered in Blender from code written with AI assistance. It is not a historical photograph, a physical object or a copy of any specific equipment.Museum of AI, 2026 · CC BY-SA 4.0
Actual outputs from the Museum’s small trained VAE with fixed weights.
Actual outputs from the Museum’s small trained VAE with fixed weights. · Museum of AI · CC BY-SA 4.0
Variational Autoencoders: exploring latent space
Documentation and sources, Museum of AI · 2026

An image as a distribution

Diederik Kingma and Max Welling submitted Auto-Encoding Variational Bayes in December 2013, before its ICLR 2014 publication. The encoder estimates a distribution of possible codes for each input rather than a single fixed code. The decoder learns to turn samples from that space back into data.

Why noise appears

Here μ and σ define a diagonal Gaussian distribution. Draw ε from N(0,I), then compute z = μ + σ ε. This reparameterisation lets gradients pass through the stochastic computation during training. It is not a random distortion added to the finished image.

What was trained here

The museum’s small neural VAE was trained on 4,096 original synthetic 12 × 12 images of bright spots. It has two latent coordinates and balances reconstruction error against a KL penalty towards N(0,I). It is an educational beta-VAE with fixed observation variance, not the original historical architecture. Its weights stay fixed in the browser. Inspect the encoder’s estimates, override μ and σ, and compare two samples.

Possibilities and limits

The balance between reconstruction and organisation of the space affects output quality. Smoothness supports interpolation but does not guarantee that each coordinate has a simple human meaning. These spots let us examine the method without confusing the experiment with photorealistic synthesis.

Try the model

Model loaded.

Documentation and sources

Diederik P. Kingma · Max Welling · 2013–2014 · MTN-0132

  1. Kingma & Welling · Auto-Encoding Variational Bayes (2013/2014)

In the classroom

Museum suggestion for computing, probability and critical literacy. Compare two seeds, record the parameters and explain the mechanism behind the output. Older students can examine losses and the relationship between data and models.

In the classroom

Related exhibits

Room 6

Provenance and rights

Text, code, synthetic data, model weights, diagrams and sound patterns: original Museum of AI work, 2026, CC BY-SA 4.0. Research sources are linked, not reproduced. The existing three.js library is used under MIT.

CC BY-SA 4.0 · 2026-12-03