Other meanings of Autoencoder
Machine learning
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.
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 x̂. 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.
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.
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.
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.
Autoencoders are defined by their reconstruction-based encoder–decoder objective; particular architectures and losses determine what their latent representations learn.
Help improve the encyclopedia. Reports go straight to the site manager.