{"id":9572,"date":"2026-07-27T12:30:27","date_gmt":"2026-07-27T10:30:27","guid":{"rendered":"https:\/\/www.kubicek.ai\/?post_type=lexicon&#038;p=9572"},"modified":"2026-07-27T13:32:40","modified_gmt":"2026-07-27T11:32:40","slug":"autoencoder","status":"publish","type":"lexicon","link":"https:\/\/www.kubicek.ai\/en\/lexicon\/autoencoder\/","title":{"rendered":"Autoencoder"},"content":{"rendered":"<p class=\"wp-block-paragraph\">An <strong>autoencoder<\/strong> is a neural network trained without annotations to reconstruct its own input at the output. It consists of two parts: the encoder compresses the input into a low-dimensional representation in latent space, and the decoder attempts to restore the original data from it. The loss function is the reconstruction error, for example mean squared deviation. The trick lies in the bottleneck in the middle: because the latent vector is much smaller than the input, the network cannot simply copy the data and is forced to discover its internal structure and discard noise and redundancy. An autoencoder is thus a non-linear counterpart to dimensionality reduction \u2013 with linear layers and squared loss its solution approaches principal component analysis, and with non-linearities it substantially surpasses it. Practical uses include denoising (a denoising autoencoder learns to restore a clean signal from a corrupted input), anomaly detection based on high reconstruction error, compression and pre-training. Its generative extension, the variational autoencoder, additionally organises the latent space so that it can be sampled from.<\/p>\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<p class=\"wp-block-paragraph\">Imagine an editor who has to condense every article into a single text message \u2013 and a second colleague who has to rewrite the article from that message. They train together until the new version barely differs from the original. To pull it off, the first cannot copy sentences; he has to capture the essence. And the second has to learn how to expand an essence into text. The by-product of this game is that text message \u2013 an extremely economical description of what the article is about. And when you suddenly slip them a text of a kind they have never seen, the reconstruction fails \u2013 by which you have also detected an anomaly.<\/p>\n","protected":false},"featured_media":0,"template":"","class_list":["post-9572","lexicon","type-lexicon","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.kubicek.ai\/en\/wp-json\/wp\/v2\/lexicon\/9572","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kubicek.ai\/en\/wp-json\/wp\/v2\/lexicon"}],"about":[{"href":"https:\/\/www.kubicek.ai\/en\/wp-json\/wp\/v2\/types\/lexicon"}],"wp:attachment":[{"href":"https:\/\/www.kubicek.ai\/en\/wp-json\/wp\/v2\/media?parent=9572"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}