liveBook · Manning

Reconstructed image

As explained in Math and Architectures of Deep Learning

The output produced by an autoencoder that approximates the original input after decoding from a latent representation.

A reconstructed image is the decoder’s approximation of an input image after the encoder has compressed it into a lower-dimensional latent representation. Encoding is lossy, so subtle variations may disappear; training instead preserves as much essential visual information as the latent-size budget allows. section 9.1.4 section 14.5

Let x denote the input and x̃ the reconstructed image. Reconstruction loss measures their mismatch, and end-to-end training adjusts the encoder and decoder to reduce it. The ideal output matches the input as closely as the architecture and latent budget permit, but exact equality is generally impossible after information loss. section 14.5 section 14.7.2

Common reconstruction-loss choices include:

  • Binary cross-entropy compares normalized pixel intensities across image positions, treating the input image as the target rather than as a one-hot class vector. section 9.1.4
  • In a variational autoencoder, reconstruction loss is minimized alongside KL divergence, which regularizes the encoder-generated latent distribution. section 14.7.2

Convolutional autoencoder

For a 32×32 image, convolution, ReLU, and max-pooling layers reduce spatial dimensions before a linear layer produces a latent vector. Transposed convolutions then expand that vector into a reconstructed image, ending with a sigmoid output.

How Math and Architectures of Deep Learning covers it

How deep it goes
Defines the decoder output, explains lossy encoding and reconstruction loss, and connects the concept to PyTorch implementations and VAE training.
Examples
Uses convolutional and transposed-convolutional networks, normalized pixel comparisons, MSE training code, and VAE reconstruction.
What it assumes
Assumes familiarity with neural networks while defining encoders, decoders, latent vectors, and unsupervised reconstruction from the input itself.
What you can do after
Understand how to interpret and train reconstructed-image outputs using latent vectors and reconstruction losses.
How it connects
Connects reconstructed images to autoencoders, encoders, decoders, latent representations, reconstruction loss, binary cross-entropy, and variational autoencoders.

Also explained in

Compare how 2 books explain reconstructed image →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Math and Architectures of Deep Learning. The section links point to the parts of the book it draws on.