A decoder reconstructs or generates output from an intermediate representation. In image systems, it turns compressed patterns—such as facial expressions, angles, and skin tones—back into an image. section 4.2
Within an autoencoder, the decoder:
- Receives latent features produced by an encoder. section 4.2
- Reconstructs an image from patterns representing the original image’s characteristics. section 4.2
- Can be trained to map features such as eyes, noses, mouths, and lighting into a different face. section 4.2
Face-swapping
A shared encoder extracts latent features from Face A and Face B. A decoder trained for Face B then reconstructs Face A’s features as a realistic blend resembling Face B. section 4.2
Diagram of deepfake creation using one encoder and two decoders. section 4.2




