← New search

Other meanings of Autoencoder

Machine learning

Autoencoder

An autoencoder is a type of artificial neural network used for unsupervised learning: it converts an input into a typically lower-dimensional representation and then reconstructs the original input from that representation. Training minimizes a reconstruction error, encouraging the network to retain information judged useful by the chosen architecture and objective.

1980s
Origins
Neural-network reconstruction models emerged from early connectionist research
2 parts
Core structure
Encoder plus decoder
1 objective
Basic training signal
Reconstruct the input as accurately as practical
1

Structure and operating principle

An autoencoder learns an encoder–decoder mapping whose output approximates its input. The encoder transforms an input x into a latent representation z, and the decoder maps z back to a reconstruction, commonly written as . Training adjusts the network’s parameters to minimize a reconstruction loss such as mean-squared error for continuous data or cross-entropy for normalized binary data.1

A narrow latent layer creates a bottleneck, so the model cannot simply copy every input through unchanged. The resulting representation may capture regularities such as shapes, textures, or correlated measurements, but it is not automatically interpretable or optimal for every downstream task. Unlike ordinary supervised learning, the target is usually the input itself; this makes the method a form of representation learning and, in modern terminology, often a self-supervised method.

2

Variants and training objectives

Autoencoder variants alter the training constraint or the probabilistic interpretation rather than abandoning the encoder–decoder design. A denoising autoencoder receives a corrupted version of an example but is trained to reconstruct the clean example, which can encourage representations that are stable under small perturbations.2 A sparse autoencoder adds a penalty or constraint so that only a small number of latent units are active, while a contractive autoencoder penalizes sensitivity of the representation to input changes.

A variational autoencoder, introduced as a generative latent-variable model, learns a probability distribution over latent codes and uses a reconstruction term together with a regularization term that shapes that distribution.3 This makes sampling and interpolation possible, although generated outputs may be blurrier than those from some adversarial or diffusion-based models.

3

Applications and limitations

Autoencoders are used for dimensionality reduction, feature extraction, denoising, data compression, image reconstruction, and anomaly detection. In anomaly detection, a model trained mainly on normal examples may produce larger reconstruction errors for unusual cases; the threshold, training distribution, and measurement choice determine whether that signal is useful. They have also been applied to speech, medical signals, cybersecurity telemetry, and scientific measurements.

Reconstruction quality does not guarantee that the latent code preserves the information a particular application needs. A powerful decoder can reconstruct inputs while the code remains difficult to interpret, and an overcomplete model with weak regularization may learn an almost identity mapping. Performance can also degrade under distribution shift, missing data, adversarial perturbations, or anomalies that resemble the training population. These limitations make validation against task-specific baselines essential.

4

Lesser-known aspects

Some of the most useful autoencoders are deliberately imperfect copying machines. Denoising objectives, sparsity penalties, noise injection, and contractive penalties impose different notions of what should count as a stable or informative feature; the choice can matter more than the bottleneck size.2

The field also includes convolutional autoencoders for images, recurrent and sequence-to-sequence forms for ordered data, and graph autoencoders for relational structures. Early work on neural dimensionality reduction showed that nonlinear autoencoders could learn compact codes, while later research connected their representations to probabilistic generative modeling.13 A latent space is therefore not a universal coordinate system: changing the loss, architecture, preprocessing, or random seed can change its geometry and interpretation.

Glossary

Encoder
The network component that maps an input to a latent representation.
Decoder
The network component that maps a latent representation back toward the input space.
Latent representation
An internal code intended to summarize or transform the observed input.
Reconstruction loss
A numerical measure of disagreement between an input and the output reconstructed from its code.
Variational autoencoder
A probabilistic autoencoder that learns a structured distribution of latent variables and can generate samples.

Autoencoders are defined by their reconstruction-based encoder–decoder objective; particular architectures and losses determine what their latent representations learn.