Teaching Autoencoders with Body Language: Squeeze and Rebuild

ProfTomYeh · x · 2026-07-30

A professor uses a vivid physical metaphor to explain autoencoders: students stretch their arms wide holding an imaginary heavy textbook, then bring their hands together to their neck (the bottleneck). Forced to squeeze all info onto a tiny palm cheat sheet, this demonstrates encoding.

In the exam, students stretch arms back out, trying to reconstruct the book from palm notes. This is the decoder. The gap between the original and the reconstruction is the loss the network minimizes.

The post also details the math steps:

Original post →

More from Research

Research channel →