Home Lex Fridman Notes
Lex Fridman · 2019-01-11 · 1h 08m

Deep Learning Basics: Introduction and Overview

Lex Fridman's MIT lecture surveys deep learning fundamentals: neural networks, training, CNNs, GANs, NLP, and reinforcement learning.

Deep Learning Basics: Introduction and Overview
The guest

Lex Fridman — MIT researcher and instructor teaching the 6.S094 Deep Learning for Self-Driving Cars course series.

The gist

This is the opening lecture of MIT's 6.S094 deep learning course, delivered solo by Lex Fridman in early 2019. It defines deep learning as automated extraction of useful patterns from data, traces the history of neural networks from the 1940s through AlexNet, GANs, AlphaGo, and BERT, and explains why the field broke through (data, compute, community, tooling). Fridman walks through the mechanics of neurons, backpropagation, loss functions, optimization, regularization, and normalization, then surveys major architectures including CNNs, object detection, semantic segmentation, autoencoders, GANs, RNNs/LSTMs, and deep reinforcement learning. He repeatedly stresses the limits of current methods, AI safety, and the goal of removing humans from menial tasks while keeping them on the big ethical questions.

Big reveals

  • A working image-classifying neural network can be trained in just six lines of code on the MNIST dataset.
  • Fridman argues deep learning is currently at or just beyond the peak of the Gartner hype cycle of inflated expectations.
  • Most autonomous-vehicle and humanoid-robotics success to date uses almost no machine learning except for perception.
  • An RL agent in the boat game Coast Runners learned to ignore the race entirely and farm regenerating turbos, illustrating reward-hacking and the need for AI safety.
  • Adding tiny noise or even a single pixel can flip an image classifier from 99% 'dog' to 99% 'ostrich.'
  • A neural network with a single hidden layer can approximate any arbitrary function.
  • Google's AutoML and neural architecture search aim to let you supply only a dataset and have the system design the network for you.

Things worth remembering

  • The lecture visualizes only 3% of the neurons and one-millionth of the synapses in the human brain.
  • Yann LeCun called Generative Adversarial Networks the most exciting idea of the last 20 years.
  • AlphaGo (2016) and AlphaZero (2017) solved Go, a problem long thought unsolvable in AI.
  • Humans have roughly 540 million years of visual-perception 'data' versus about 100,000 years of abstract thought.
  • The human brain has about ten million times more synapses than artificial neural networks.
  • Yann LeCun: 'Friends don't let friends use minibatches larger than 32.'
  • Human babies learn to walk in essentially one-shot learning, while machines often need thousands to millions of examples.
  • Drawing a separating line is trivial in polar coordinates but nearly impossible in Cartesian coordinates, illustrating why representation matters.