SlideShare a Scribd company logo
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Agenda
❖ Why do we need Autoencoders?
❖ What are Autoencoders?
❖ Properties of Autoencoders
❖ Autoencoders Training & Architecture
❖ Types of Autoencoders
❖ Applications of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Multidimensional Data
Data represented best
Slow performance, High Precision
Low Dimensional Data
Reduced Precision
High Performance
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
PCA vs Autoencoders
Non-linear Transformations
Non-linear activation function
and multiple layers
Convolutional Layers
An autoencoder doesn’t have to
learn dense layers
Higher Efficiency
More efficient to learn several
layers with an autoencoder
Multiple Transformations
It gives a representation as the
output of each layer
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Why Autoencoders?
Original Image Autoencoder PCA
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Introduction to Autoencoders
An autoencoder neural network is an
unsupervised Machine learning
algorithm that applies
backpropagation, setting the target
values to be equal to the inputs.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Autoencoders
Key Facts about Autoencoders
➢ It is an unsupervised ML algorithm similar to
PCA
➢ It minimizes the same objective function as
PCA
➢It is a neural network
➢The neural network’s target output is its input
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Autoencoders
Code02
Encoderr01
Decoder03
Components of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Autoencoders
Encoderr01
This is the part of the network
that compresses the input into
a latent space representation.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Autoencoders
Code02
This is the part of the network
represents the compressed
input that is fed to the decoder
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Autoencoders
Decoder03
This part aims to reconstruct
the input from the latent space
representation
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Properties of Autoencoders
Data-specific
Autoencoders are only able to
meaningfully compress data similar to
what they have been trained on
02
01
03 Lossy
The output of the autoencoder will not
be exactly the same as the input, it will
be a close but degraded representation
Unsupervised
Autoencoders are considered an
unsupervised learning technique since
they don’t need explicit labels to train on
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Training Autoencoders
Number of
Layers
Code Size
Loss Function
Number of
node per
layers
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Training Autoencoders
Smaller size results in more compression
The autoencoder can have many layers
Mean squared error or binary cross entropy
Stacked autoencoders look like a sandwich
Code Size
Number of Layers
Loss Function
Number of node per layers
Number of
Layers
Code Size
Loss Function
Number of
node per
layers
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Architecture of Autoencoders
Bottleneck approach is an approach to for deciding
which aspects of observed data are relevant
information and what aspects can be thrown away
➢Compactness of representation, measured as the
compressibility
➢Representation retains about some behaviourally
relevant variables
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
In the neural net world, the
encoder is a neural network
that outputs a
representation z of data x.
Encoder
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Decoder
In deep learning, the decoder
is a neural net that learns to
reconstruct the data x given a
representation z.
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Loss Function
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Reconstruction Loss
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Regularizer
Architecture of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow .
Types of Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Convolution Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Convolution Autoencoders
Convolution Autoencoders use the convolution
operator to learn to encode the input in a set of simple
signals and then try to reconstruct the input from
them.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
In the image domain where the signals are finite, this formula becomes:
Convolution Autoencoders
In the 2D discrete space, the convolution operation is defined as:
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
2
3
Use Case of CAE:
Image Reconstruction
Image Colorization
Advanced Applications
learns to remove noise or reconstruct missing parts.
Noisy Version is converted to clean version
the network fills the gaps in the image.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
2
3
Use Case of CAE:
Image Reconstruction
Image Colorization
Advanced Applications
➢ maps circles and squares from an image to the same image but with Colors
➢ Purple is formed sometimes because of blend of colors, where network
hesitates between circle or square.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
22
3
Use Case of CAE:
Image Reconstruction
Image Colorization
Advanced Applications
Latent space clusteringFully image colorization
Generating higher resolution
images
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Sparse Autoencoders
Sparse autoencoders offer us an alternative method
for introducing an information bottleneck
without requiring a reduction in the number of
nodes at our hidden layers
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Sparse Autoencoders
L1 Regularization
KL Divergence
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Sparse Autoencoders
L1 Regularization
KL Divergence
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Deep Autoencoders
A deep autoencoder is composed of two,
symmetrical deep-belief networks-
• First four or five shallow layers
representing the encoding half of the net
• second set of four or five layers that
make up the decoding half.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Deep Autoencoders
The first layer of the Deep
Autoencoder learns first-
order features in the raw
input such as edges in an
image
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Deep Autoencoders
The second layer learns
second-order features
corresponding to patterns
in the appearance of first-
order features
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
2
3
Use Case: Deep
Autoencoders
Image Search
Data Compression
Topic Modeling
& Information
Retrieval
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
2
3
Use Case: Deep
Autoencoders
Image Search
Data Compression
Topic Modeling
& Information
Retrieval
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
2
3
Use Case: Deep
Autoencoders
Image Search
Data Compression
Topic Modeling
& Information
Retrieval
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved.
1
22
3
Use Case: Deep
Autoencoders
Image Search
Data Compression
Topic Modeling
& Information
Retrieval Original Image
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Contractive Autoencoders
A contractive autoencoder is an
unsupervised deep learning technique
that helps a neural network encode
unlabeled training data.
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Contractive Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
Contractive Autoencoders
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow .
Applications of Autoencoder
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
DimensionalityReduction
Image ColoringDenoisingImages
WatermarkRemoval
FeatureVariation
ImageColoring
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
DimensionalityReduction
Feature VariationDenoisingImages
WatermarkRemoval
FeatureVariation
ImageColoring
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
DimensionalityReduction
Dimensionality ReductionDenoisingImages
WatermarkRemoval
FeatureVariation
ImageColoring
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
DimensionalityReduction
Denoising Images
DenoisingImages
WatermarkRemoval
FeatureVariation
ImageColoring
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
DimensionalityReduction
Watermark Removal
DenoisingImages
WatermarkRemoval
FeatureVariation
ImageColoring
AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow

More Related Content

PPT
Intro to Deep learning - Autoencoders
PDF
Introduction to Autoencoders
PDF
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
PPTX
UNIT-4.pptx
PDF
Loss functions (DLAI D4L2 2017 UPC Deep Learning for Artificial Intelligence)
PPTX
Autoencoder
PDF
Autoencoders
PDF
Deep Belief Networks
Intro to Deep learning - Autoencoders
Introduction to Autoencoders
Loss Functions for Deep Learning - Javier Ruiz Hidalgo - UPC Barcelona 2018
UNIT-4.pptx
Loss functions (DLAI D4L2 2017 UPC Deep Learning for Artificial Intelligence)
Autoencoder
Autoencoders
Deep Belief Networks

What's hot (20)

PDF
Deep Learning - Convolutional Neural Networks
PPTX
Autoencoders in Deep Learning
ODP
Simple Introduction to AutoEncoder
PDF
Autoencoder
PPTX
K Nearest Neighbor Algorithm
PPTX
Deep learning
PPTX
Transformers AI PPT.pptx
PPTX
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
PDF
Convolutional Neural Network Models - Deep Learning
PPTX
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
PDF
Introduction to Deep learning
PDF
Convolutional Neural Networks (CNN)
PPTX
Convolutional Neural Network and Its Applications
PPT
Back propagation
PDF
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
PPTX
Image classification using cnn
PPTX
CNN Tutorial
PDF
Mobilenetv1 v2 slide
PDF
Introduction to Recurrent Neural Network
PDF
Convolutional neural network
Deep Learning - Convolutional Neural Networks
Autoencoders in Deep Learning
Simple Introduction to AutoEncoder
Autoencoder
K Nearest Neighbor Algorithm
Deep learning
Transformers AI PPT.pptx
Recurrent Neural Network (RNN) | RNN LSTM Tutorial | Deep Learning Course | S...
Convolutional Neural Network Models - Deep Learning
What Is Deep Learning? | Introduction to Deep Learning | Deep Learning Tutori...
Introduction to Deep learning
Convolutional Neural Networks (CNN)
Convolutional Neural Network and Its Applications
Back propagation
Recurrent Neural Networks (RNN) | RNN LSTM | Deep Learning Tutorial | Tensorf...
Image classification using cnn
CNN Tutorial
Mobilenetv1 v2 slide
Introduction to Recurrent Neural Network
Convolutional neural network
Ad

Similar to Autoencoders Tutorial | Autoencoders In Deep Learning | Tensorflow Training | Edureka (20)

PDF
UNIT-4.pdf
PDF
UNIT-4.pdf
PPTX
Autoencoders for image_classification
PPTX
Introduction to Autoencoders: Types and Applications
PDF
Autoencoder in Deep Learning and its types
PPTX
DL-unite4-Autoencoders.pptx..............
PPTX
Lec16 - Autoencoders.pptx
PPTX
Deep learning from a novice perspective
PPTX
Piotr Mirowski - Review Autoencoders (Deep Learning) - CIUUK14
PDF
Deep Learning Primer - a brief introduction
PPTX
AUTO ENCODERS (Deep Learning fundamentals)
PPT
deeplearning
PDF
Python for Image Understanding: Deep Learning with Convolutional Neural Nets
PPTX
Autoencoders in Computer Vision: A Deep Learning Approach for Image Denoising...
PPTX
A Comprehensive Overview of Encoder and Decoder Architectures in Deep Learnin...
PDF
CBIR by deep learning
PDF
UNIT 2: Artificial Neural Networks (ANN)
PPTX
A simple presentation for deep learning.
PDF
AI 로봇 아티스트의 비밀(창원대학교 정보통신공학과 특강)
DOCX
Deep learning vxcvbfsdfaegsr gsgfgsdg sd gdgd gdgd gse
UNIT-4.pdf
UNIT-4.pdf
Autoencoders for image_classification
Introduction to Autoencoders: Types and Applications
Autoencoder in Deep Learning and its types
DL-unite4-Autoencoders.pptx..............
Lec16 - Autoencoders.pptx
Deep learning from a novice perspective
Piotr Mirowski - Review Autoencoders (Deep Learning) - CIUUK14
Deep Learning Primer - a brief introduction
AUTO ENCODERS (Deep Learning fundamentals)
deeplearning
Python for Image Understanding: Deep Learning with Convolutional Neural Nets
Autoencoders in Computer Vision: A Deep Learning Approach for Image Denoising...
A Comprehensive Overview of Encoder and Decoder Architectures in Deep Learnin...
CBIR by deep learning
UNIT 2: Artificial Neural Networks (ANN)
A simple presentation for deep learning.
AI 로봇 아티스트의 비밀(창원대학교 정보통신공학과 특강)
Deep learning vxcvbfsdfaegsr gsgfgsdg sd gdgd gdgd gse
Ad

More from Edureka! (20)

PDF
What to learn during the 21 days Lockdown | Edureka
PDF
Top 10 Dying Programming Languages in 2020 | Edureka
PDF
Top 5 Trending Business Intelligence Tools | Edureka
PDF
Tableau Tutorial for Data Science | Edureka
PDF
Python Programming Tutorial | Edureka
PDF
Top 5 PMP Certifications | Edureka
PDF
Top Maven Interview Questions in 2020 | Edureka
PDF
Linux Mint Tutorial | Edureka
PDF
How to Deploy Java Web App in AWS| Edureka
PDF
Importance of Digital Marketing | Edureka
PDF
RPA in 2020 | Edureka
PDF
Email Notifications in Jenkins | Edureka
PDF
EA Algorithm in Machine Learning | Edureka
PDF
Cognitive AI Tutorial | Edureka
PDF
AWS Cloud Practitioner Tutorial | Edureka
PDF
Blue Prism Top Interview Questions | Edureka
PDF
Big Data on AWS Tutorial | Edureka
PDF
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
PDF
Kubernetes Installation on Ubuntu | Edureka
PDF
Introduction to DevOps | Edureka
What to learn during the 21 days Lockdown | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Tableau Tutorial for Data Science | Edureka
Python Programming Tutorial | Edureka
Top 5 PMP Certifications | Edureka
Top Maven Interview Questions in 2020 | Edureka
Linux Mint Tutorial | Edureka
How to Deploy Java Web App in AWS| Edureka
Importance of Digital Marketing | Edureka
RPA in 2020 | Edureka
Email Notifications in Jenkins | Edureka
EA Algorithm in Machine Learning | Edureka
Cognitive AI Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Blue Prism Top Interview Questions | Edureka
Big Data on AWS Tutorial | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Kubernetes Installation on Ubuntu | Edureka
Introduction to DevOps | Edureka

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Machine learning based COVID-19 study performance prediction
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Cloud computing and distributed systems.
Unlocking AI with Model Context Protocol (MCP)
Building Integrated photovoltaic BIPV_UPV.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
Machine learning based COVID-19 study performance prediction
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Review of recent advances in non-invasive hemoglobin estimation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
CIFDAQ's Market Insight: SEC Turns Pro Crypto

Autoencoders Tutorial | Autoencoders In Deep Learning | Tensorflow Training | Edureka

  • 1. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow
  • 2. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Agenda ❖ Why do we need Autoencoders? ❖ What are Autoencoders? ❖ Properties of Autoencoders ❖ Autoencoders Training & Architecture ❖ Types of Autoencoders ❖ Applications of Autoencoders
  • 3. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Multidimensional Data Data represented best Slow performance, High Precision Low Dimensional Data Reduced Precision High Performance
  • 4. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow PCA vs Autoencoders Non-linear Transformations Non-linear activation function and multiple layers Convolutional Layers An autoencoder doesn’t have to learn dense layers Higher Efficiency More efficient to learn several layers with an autoencoder Multiple Transformations It gives a representation as the output of each layer
  • 5. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Why Autoencoders? Original Image Autoencoder PCA
  • 6. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Introduction to Autoencoders An autoencoder neural network is an unsupervised Machine learning algorithm that applies backpropagation, setting the target values to be equal to the inputs.
  • 7. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Autoencoders Key Facts about Autoencoders ➢ It is an unsupervised ML algorithm similar to PCA ➢ It minimizes the same objective function as PCA ➢It is a neural network ➢The neural network’s target output is its input
  • 8. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Autoencoders Code02 Encoderr01 Decoder03 Components of Autoencoders
  • 9. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Autoencoders Encoderr01 This is the part of the network that compresses the input into a latent space representation.
  • 10. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Autoencoders Code02 This is the part of the network represents the compressed input that is fed to the decoder
  • 11. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Autoencoders Decoder03 This part aims to reconstruct the input from the latent space representation
  • 12. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Properties of Autoencoders Data-specific Autoencoders are only able to meaningfully compress data similar to what they have been trained on 02 01 03 Lossy The output of the autoencoder will not be exactly the same as the input, it will be a close but degraded representation Unsupervised Autoencoders are considered an unsupervised learning technique since they don’t need explicit labels to train on
  • 13. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Training Autoencoders Number of Layers Code Size Loss Function Number of node per layers
  • 14. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Training Autoencoders Smaller size results in more compression The autoencoder can have many layers Mean squared error or binary cross entropy Stacked autoencoders look like a sandwich Code Size Number of Layers Loss Function Number of node per layers Number of Layers Code Size Loss Function Number of node per layers
  • 15. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Architecture of Autoencoders
  • 16. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Architecture of Autoencoders
  • 17. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Architecture of Autoencoders Bottleneck approach is an approach to for deciding which aspects of observed data are relevant information and what aspects can be thrown away ➢Compactness of representation, measured as the compressibility ➢Representation retains about some behaviourally relevant variables
  • 18. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Architecture of Autoencoders
  • 19. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow In the neural net world, the encoder is a neural network that outputs a representation z of data x. Encoder Architecture of Autoencoders
  • 20. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Decoder In deep learning, the decoder is a neural net that learns to reconstruct the data x given a representation z. Architecture of Autoencoders
  • 21. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Loss Function Architecture of Autoencoders
  • 22. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Reconstruction Loss Architecture of Autoencoders
  • 23. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Regularizer Architecture of Autoencoders
  • 24. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow . Types of Autoencoders
  • 25. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Convolution Autoencoders
  • 26. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Convolution Autoencoders Convolution Autoencoders use the convolution operator to learn to encode the input in a set of simple signals and then try to reconstruct the input from them.
  • 27. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow In the image domain where the signals are finite, this formula becomes: Convolution Autoencoders In the 2D discrete space, the convolution operation is defined as:
  • 28. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 2 3 Use Case of CAE: Image Reconstruction Image Colorization Advanced Applications learns to remove noise or reconstruct missing parts. Noisy Version is converted to clean version the network fills the gaps in the image.
  • 29. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 2 3 Use Case of CAE: Image Reconstruction Image Colorization Advanced Applications ➢ maps circles and squares from an image to the same image but with Colors ➢ Purple is formed sometimes because of blend of colors, where network hesitates between circle or square.
  • 30. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 22 3 Use Case of CAE: Image Reconstruction Image Colorization Advanced Applications Latent space clusteringFully image colorization Generating higher resolution images
  • 31. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Sparse Autoencoders Sparse autoencoders offer us an alternative method for introducing an information bottleneck without requiring a reduction in the number of nodes at our hidden layers
  • 32. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Sparse Autoencoders L1 Regularization KL Divergence
  • 33. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Sparse Autoencoders L1 Regularization KL Divergence
  • 34. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Deep Autoencoders A deep autoencoder is composed of two, symmetrical deep-belief networks- • First four or five shallow layers representing the encoding half of the net • second set of four or five layers that make up the decoding half.
  • 35. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Deep Autoencoders The first layer of the Deep Autoencoder learns first- order features in the raw input such as edges in an image
  • 36. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Deep Autoencoders The second layer learns second-order features corresponding to patterns in the appearance of first- order features
  • 37. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 2 3 Use Case: Deep Autoencoders Image Search Data Compression Topic Modeling & Information Retrieval
  • 38. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 2 3 Use Case: Deep Autoencoders Image Search Data Compression Topic Modeling & Information Retrieval
  • 39. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 2 3 Use Case: Deep Autoencoders Image Search Data Compression Topic Modeling & Information Retrieval
  • 40. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflowCopyright © 2017, edureka and/or its affiliates. All rights reserved. 1 22 3 Use Case: Deep Autoencoders Image Search Data Compression Topic Modeling & Information Retrieval Original Image
  • 41. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Contractive Autoencoders A contractive autoencoder is an unsupervised deep learning technique that helps a neural network encode unlabeled training data.
  • 42. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Contractive Autoencoders
  • 43. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow Contractive Autoencoders
  • 44. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow . Applications of Autoencoder
  • 45. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow DimensionalityReduction Image ColoringDenoisingImages WatermarkRemoval FeatureVariation ImageColoring
  • 46. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow DimensionalityReduction Feature VariationDenoisingImages WatermarkRemoval FeatureVariation ImageColoring
  • 47. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow DimensionalityReduction Dimensionality ReductionDenoisingImages WatermarkRemoval FeatureVariation ImageColoring
  • 48. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow DimensionalityReduction Denoising Images DenoisingImages WatermarkRemoval FeatureVariation ImageColoring
  • 49. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow DimensionalityReduction Watermark Removal DenoisingImages WatermarkRemoval FeatureVariation ImageColoring
  • 50. AI & DEEP LEARNING with TENSORFLOW www.edureka.co/ai-deep-learning-with-tensorflow