liveBook · Manning

Decoder

A decoder is a component that maps encoded data or representations to decoded values, reconstructed data, or generated output.

How 5 Manning books explain it

Graph Neural Networks in Action

A model component that maps a latent representation back into a reconstruction of the input or its target structure.

How it is used
Maps latent graph representations to predicted edges, reconstructed molecular graphs, or future node trajectories.
How deep it goes
Works through inner-product edge scoring and GRU-based decoding, with an implementation of adjacency and feature outputs for small graphs.
Examples
Uses Amazon Products edge prediction, molecular graph generation with QED prediction, and sensor-pose trajectory forecasting.
What you can do after
Build it from scratch for inner-product link scoring or GRU trajectory prediction, and apply PyTorch Geometric’s VGAE decoder for sampled latent embeddings.

Read how Graph Neural Networks in Action explains decoder →

Outlier Detection in Python

A decoder is a model component that transforms a learned representation back into an output representation or reconstruction.

How it is used
Uses reconstruction to detect records or images that do not follow the dominant patterns learned by an autoencoder.
How deep it goes
Defines the decoder architecture and reconstruction role, but defers detailed layer design and training theory.
Examples
Uses tabular autoencoders, CIFAR10 images, boat reconstruction, and deliberately noise-perturbed images.
What you can do after
Build an autoencoder decoder that reconstructs inputs and supports reconstruction-error-based outlier scoring.

Read how Outlier Detection in Python explains decoder →

Evolutionary Deep Learning: Genetic algorithms and neural networks

A decoder is a model component that maps an encoded representation back to an output, typically reconstructing the original input.

How it is used
Reconstructs images from latent representations as the output half of a convolutional autoencoder.
How deep it goes
Explains convolution and UpSampling layer order, output channels, and model compilation, but leaves detailed training code unexplored.
Examples
Uses a Fashion-MNIST convolutional autoencoder with three convolution-UpSampling stages and a single-channel output.
What you can do after
Build it from scratch in Keras by chaining convolutional, UpSampling, and output layers into an autoencoder.

Read how Evolutionary Deep Learning: Genetic algorithms and neural networks explains decoder →

Introduction to Generative AI, Second Edition

A decoder is a model component that reconstructs or generates output data from an intermediate representation.

How it is used
Reconstructs images from compressed latent features within autoencoders and supports face-swapping systems.
How deep it goes
Explains the decoder’s role and face-swapping mechanism without implementation details.
Examples
Uses facial features, Face A, Face B, and a single-encoder two-decoder deepfake diagram.
What you can do after
Understand how decoders transform latent image features into reconstructed or blended faces.

Read how Introduction to Generative AI, Second Edition explains decoder →

Data Without Labels

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

How it is used
Reconstructs inputs after autoencoder compression for dimensionality reduction, data compression, and related applications.
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 you can do after
Build it from scratch as the reconstruction half of a basic autoencoder and select an appropriate reconstruction loss.

Read how Data Without Labels explains decoder →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.