{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "\n", "# Data Analysis and Machine Learning: Autoencoders\n", "\n", " \n", "**Morten Hjorth-Jensen**, Department of Physics, University of Oslo and Department of Physics and Astronomy and National Superconducting Cyclotron Laboratory, Michigan State University\n", "\n", "Date: **Jan 1, 2019**\n", "\n", "Copyright 1999-2019, Morten Hjorth-Jensen. Released under CC Attribution-NonCommercial 4.0 license\n", "\n", "\n", "\n", "\n", "## Autoencoders: Overarching view\n", "\n", "Autoencoders are artificial neural networks capable of learning\n", "efficient representations of the input data (these representations are called codings) without\n", "any supervision (i.e., the training set is unlabeled). These codings\n", "typically have a much lower dimensionality than the input data, making\n", "autoencoders useful for dimensionality reduction. \n", "\n", "More importantly, autoencoders act as powerful feature detectors, and\n", "they can be used for unsupervised pretraining of deep neural networks.\n", "\n", "Lastly, they are capable of randomly generating new data that looks\n", "very similar to the training data; this is called a generative\n", "model. For example, you could train an autoencoder on pictures of\n", "faces, and it would then be able to generate new faces. Surprisingly,\n", "autoencoders work by simply learning to copy their inputs to their\n", "outputs. This may sound like a trivial task, but we will see that\n", "constraining the network in various ways can make it rather\n", "difficult. For example, you can limit the size of the internal\n", "representation, or you can add noise to the inputs and train the\n", "network to recover the original inputs. These constraints prevent the\n", "autoencoder from trivially copying the inputs directly to the outputs,\n", "which forces it to learn efficient ways of representing the data. In\n", "short, the codings are byproducts of the autoencoder’s attempt to\n", "learn the identity function under some constraints.\n", "\n", "## Simple examples of Autoencoders" ] } ], "metadata": {}, "nbformat": 4, "nbformat_minor": 2 }