liveBook · Manning

Decoder

As explained in Data Without Labels

A decoder is a neural-network component that transforms an encoded representation back toward the original input form.

A decoder is a neural-network component that receives compressed information from a bottleneck, decompresses it, and reconstructs the input or its encoded form for comparison with the original. section 9.4

Within an autoencoder, the decoder follows a constrained reconstruction workflow:

  • Receive the bottleneck representation, which retains only the most important information. section 9.5
  • Expand the compressed representation back toward the input dimensionality, commonly using a mirror image of the encoder architecture. section 9.5
  • Produce an output with the same dimensionality as the input so reconstruction error can be measured. section 9.5
  • Use binary cross-entropy for inputs in the [0,1] range and mean squared error otherwise. section 9.5
Figure 9.1 Structure of an autoencoder with an encoder, a bottleneck, and a decoder
figure

Shows the decoder’s position after the encoder and bottleneck in an autoencoder reconstruction pipeline. section 9.4

How Data Without Labels covers it

How deep it goes
Explains the decoder’s role, architecture, dimensionality, and loss selection but does not detail individual layer code.
Examples
Uses an autoencoder architecture figure and a basic Keras encoding-and-decoding implementation.
What it assumes
Requires an encoder, bottleneck, decoding method, loss function, and input variables with useful relationships.
What you can do after
Build it from scratch as the reconstruction half of a basic autoencoder and select an appropriate reconstruction loss.
How it connects
Connects the decoder to autoencoders, encoders, bottlenecks, reconstruction, and loss functions.

Also explained in

Compare how 5 books explain decoder →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.