Unit VI
Unit VI
Auto-Encoders
Encoder:
• The encoder is a neural network with one or more hidden layers.
• It receives noisy input data instead of the original input and generates an
encoding in a low-dimensional space.
• There are several ways to generate a corrupted input. The most common being
adding a Gaussian noise or randomly masking some of the inputs.
Decoder:
• Similar to encoders, decoders are implemented as neural networks with one or
more hidden layers.
• It takes the encoding generated by the encoder as input and reconstructs the
original data.
• When calculating the Loss function it compares the output values with the
original input, not with the corrupted input.
P Jyothi,Asst. Prof., CSE Dept.
Auto-Encoders Introduction conti..
Autoencoders:
Autoencoders present an efficient way to learn a
representation of your data, which helps with tasks such as
dimensionality reduction or feature extraction. You can even
train an autoencoder to identify and remove noise from
your data.
Applications of DAE
• Image Denoising: DAEs are widely employed for cleaning and
enhancing images by removing noise.
• Audio Denoising: DAEs can be applied to denoise audio signals, making
them valuable in speech-enhancement tasks.
• Sensor Data Processing: DAEs are valuable in processing sensor data,
removing noise, and extracting relevant information from sensor
readings.
• Data Compression: Autoencoders, including DAEs, can be utilized for
data compression by learning compact representations of input data.
• Feature Learning: DAEs are effective in unsupervised feature learning,
capturing relevant features in the data without explicit labels.
Advantages
1. This type of autoencoder can extract important features and reduce the
noise or the useless features.
2. Denoising autoencoders can be used as a form of data augmentation, the
restored images can be used as augmented data thus generating additional
training samples.
Disadvantages
1. Selecting the right type and level of noise to introduce can be challenging
and may require domain knowledge.
2. Denoising process can result into loss of some information that is needed
from the original input. This loss can impact accuracy of the output.
Advantages
1. The sparsity constraint in sparse autoencoders helps in filtering out noise and
irrelevant features during the encoding process.
2. These autoencoders often learn important and meaningful features due to their
emphasis on sparse activations.
Disadvantages
1. The choice of hyperparameters play a significant role in the performance of this
autoencoder. Different inputs should result in the activation of different nodes
of the network.
2. The application of sparsity constraint increases computational complexity