Heng's Blog

What is Autoencoder#

An autoencoder is a type of algorithm with the primary
purpose of learning an “informative” representation of the data that
can be used for different applications by learning to reconstruct a set
of input observations well enough.

https://arxiv.org/abs/2003.05991 ↗

There are three main components in the autoencoders: encoder. latent feature representation and a decoder.

The encoder and decoder are simply functions, while with the name latent feature representation, one typically intends a tensor of real numbers

https://arxiv.org/pdf/2201.03898 ↗

If Decoder and Encoder are linear model, the autoencoder will achieve same latent presentation of PCA.

to prove:http://toe.lt/1a ↗.

https://arxiv.org/abs/1804.10253 ↗

encoder-decoder architecture

The mission of autoencoder is to learn the functions A:Rn→Rp\mathit{A}:\mathbb{R}^{\mathit{n}}\to\mathbb{R}^{\mathit{p}} (encoder) and B:Rp→Rn\mathit{B}:\mathbb{R}^{\mathit{p}}\to\mathbb{R}^{\mathit{n}} (decoder) that satisfy

arg⁡min⁡A,B E[Δ(x,B∘A(x)],\arg\min_{\mathit{A},\mathit{B}}\,\mathit{E}[\Delta(\mathbf{x},\mathit{B}\circ\mathit{A}(\mathbf{x})],

M\mathit{M}
where E\mathit{E} is the expectation over the distribution of x\mathit{x} , and Δ\Delta is the reconstruction loss function, which measures the distance between the output of the decoder and the intput. The latter is usually set to be the ℓ2\ell_{2} -norm.

Easiest way to realize a autoencoder#

Autoencoder
https://heng-blog.pages.dev/blog/archived-autoencoder
Author 杨苏恒
Published at November 13, 2024