Log inStart free
LESSON 5.19 · 6 STAGES · 2 CONTROLS · 2 CHECKSPRO · PREVIEW

Autoencoders

Watch a network squeeze points into one number, then flag the points it cannot rebuild.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 2 controls and 2 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 5.19 · AUTOENCODER BAY24 NORMAL POINTS · 2 NUMBERS EACH
01
Stage 1 of 6 · Normal data
An autoencoder trains on 24 normal points. Each point is 2 numbers, x₁ and x₂.
Explain it simply

Each teal dot is one normal point, made of two numbers. Together the dots trace a bowl. Nobody labels them, and no odd point is among them. The network will learn this bowl shape and nothing else.

24 teal dots on a plane form a bowl-shaped arc. A network with 2 inputs, 6 units, a code of 1, 6 units and 2 outputs.

point x, code zweights, threshold τcopy x̂error e, flagged
x₁x₂−2−112−0.50.51.01.5x₁x₂zx̂₁x̂₂normal dataencoderdecodercodex = (x₁, x₂) 24 normal pointsx₁x₂−2−112−0.50.51.01.5x₁x₂zx̂₁x̂₂normal dataencoderdecodercodex = (x₁, x₂) 24 normal points
Toy: 24 normal points, 6 new points, a 2-6-1-6-2 network
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
x=(x1, x2)\sy{x}{data}{\mathbf{x}} = (x_1,\ x_2)
N=24,x(1)=(−1.97, 1.65)N = 24,\quad \mathbf{x}^{(1)} = (-1.97,\ 1.65)

Each point is a pair of 2 numbers.

Common mix-ups

MYTHA bigger code always makes a better anomaly detector.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
2 CHECKS · PRO
Q01With a code of 2 numbers, does the training loss go up or down?

Make your guess, then test it in the diagram. All 2 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 2 live controls
  • 2 mix-up cards and 2 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.