Ever heard of Autoencoders?

The first time I saw a Neural Network with more output neurons than in the hidden layers, I couldn't figure how it would work?!

#DeepLearning #MachineLearning
Here's a little something about them: ๐Ÿงต๐Ÿ‘‡

Autoencoders are unsupervised neural networks whose architecture you can picture as two funnels connect from the narrow ends.

These networks are primary focus for compression tasks of data in Machine Learning.
We feed them the data so that they can learn the most important features, a smaller representation while keep the integrity of the data.

Later when someone needs, can just take that small representation and recreate the original, just like a zip file.๐Ÿ“ฅ
Being unsupervised, they require no labels.
Our inputs and outputs are same and a simple euclidean distance can be used as a loss function for measuring the reconstruction.

Of course, we wouldn't expect a perfect reconstruction.
We can think of an autoencoder having two components, encoder and decoder, represented by the below equations:

We are just trying to minimize the L here. All the backpropagation rules still hold.
Advantages over PCA:

โ–ซ๏ธ Can learn non-linear transformations, with non-linear activation functions and multiple layers.

โ–ซ๏ธ Doesn't have to learn only from dense layers, can learn from convolutional layers too, better for images, videos right?
โ–ซ๏ธ More efficient to learn several layers with auto-encoders rather than one huge transformation with PCA

โ–ซ๏ธ Can make use of pre-trained layers from another model to apply transfer learning to enhance the encoder /decoder
Some Common Applications:

๐Ÿ”ธ Image Colouring
๐Ÿ”ธ Feature Variation
๐Ÿ”ธ Dimensionality Reduction
๐Ÿ”ธ Denoising Image
๐Ÿ”ธ Watermark Removal
Some famous types of autoencoders:

๐Ÿ”น Convolution Autoencoders
๐Ÿ”น Sparse Autoencoders
๐Ÿ”น Deep Autoencoders
๐Ÿ”น Contractive Autoencoders
Here's the first implementation that I did for dimensionality reduction a couple years, minimal code.
๐Ÿ”—https://t.co/AfAdbA6zMi

More from Machine learning

You May Also Like

This is NONSENSE. The people who take photos with their books on instagram are known to be voracious readers who graciously take time to review books and recommend them to their followers. Part of their medium is to take elaborate, beautiful photos of books. Die mad, Guardian.


THEY DO READ THEM, YOU JUDGY, RACOON-PICKED TRASH BIN


If you come for Bookstagram, i will fight you.

In appreciation, here are some of my favourite bookstagrams of my books: (photos by lit_nerd37, mybookacademy, bookswrotemystory, and scorpio_books)