liveBook · Manning

Autoencoder

As explained in Deep Learning with R, Third Edition

An autoencoder is a neural-network model that learns to encode inputs into representations and decode those representations back into approximations of the inputs.

An autoencoder is a neural network that maps an input to a latent representation and decodes it into an output with the original dimensions. It learns reconstruction by using each input image as its own target. Constraining the latent code to be low-dimensional or sparse encourages compression, although classical autoencoders often produce poorly structured representations. section 17.1.2

Figure 17.3 An autoencoder: mapping an input x to a compressed representation and then decoding it back as x’
figure

Follow the encoder–latent space–decoder path from input x to reconstructed output x′. section 17.1.2

Autoencoders support several image-processing roles:

  • Denoising autoencoders receive a slightly noisy image and reconstruct a cleaned-up version. section 17.2
  • Super-resolution models extend denoising to low-resolution images, producing higher-resolution outputs by guessing plausible missing detail. section 17.2
  • Variational autoencoders add Bayesian inference and structure the latent representation as a probability distribution, supporting controlled generation and image editing. section 17.1.2

Cleaning a low-quality image

Feed a low-quality JPEG into an autoencoder and train it to produce a cleaner version. The result may look sharper, but super-resolution can hallucinate details absent from the input, so it should not be treated as forensic recovery. section 17.2

How Deep Learning with R, Third Edition covers it

How deep it goes
Explains encoder–decoder reconstruction, latent constraints, denoising, and probabilistic extensions without deriving their mathematics.
Examples
Uses image reconstruction, low-quality JPEG denoising, smartphone super-resolution, and repeated denoising from pure noise.
What you can do after
Evaluate/understand how encoder–decoder models reconstruct images and why denoising and super-resolution can invent plausible detail.
How it connects
Connects autoencoders to latent space, variational autoencoders, denoising, image super-resolution, and diffusion models.

Also explained in

Compare how 12 books explain autoencoder →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.