What is Autoencoder?
In Turkish: Otomatik kodlayıcı · Topic: Models and training
A neural network that learns to compress its input into a small representation and then rebuild something close to the original from that representation.
How does it work?
The network has two parts: an encoder squeezes the input down to a narrow “bottleneck” layer, and a decoder rebuilds the input from that summary. Training aims to make the reconstruction as close to the original as possible, and no labels are needed because the target is the input itself. Since the bottleneck is narrow, the network is forced to keep only the most important information. The resulting summary is a compact representation of the data that can be reused for other tasks.
Why does it matter?
Autoencoders are used for dimensionality reduction, denoising, anomaly detection and pretraining. The core idea behind many generative models also comes from here: compress data into a small latent representation and generate from it.
Example
An autoencoder trained only on images of flawless products in a factory reconstructs a defective item poorly, and the high reconstruction error becomes a sign of the defect.
FAQ
Is an autoencoder just a compression tool like zip?
The idea is similar but not the same. An autoencoder only works well on the kind of data it was trained on and is usually lossy; its real value is that the learned summary can be used for other tasks.
Does an autoencoder need labeled data?
No. Because the model tries to reproduce its input, the target is the input itself, so it can be trained on unlabeled data.