Loading slide

A Network That Learns

  1. 01A Network That Learns
  2. 02Stacking neurons
  3. 03Quick recall
  4. 04What stacking does
  5. 05Hidden layers
  6. 06The problem of credit
  7. 07Backpropagation
  8. 08Sharing the blame
  9. 09The search problem
  10. 10Fog on a hill
  11. 11Gradient descent
  12. 12Just to be clear
  13. 13What the hidden layer learns
  14. 14What the hidden layer discovers
  15. 15Did it actually learn?
  16. 16Generalization
  17. 17Limits in the 1990s
  18. 18Reinforce your understanding
  19. 19Question: Backpropagation
  20. 20Question: What the hidden layer learns
  21. 21Question: Memorizing vs. generalizing
  22. 22Quiz: answer
  23. 23The method existed. What was missing was scale.
  24. 24Want to go deeper?
16 / 23
BackNext

Generalization

A student who memorizes every practice exam question will fail the real test if the questions change slightly. What you want is a student who actually understood the material: one who can handle questions they've never seen before.

Networks face exactly the same challenge. The ability to handle new examples is called generalization, and it is the central aim of training.

The way you test for it is straightforward.

Say you're training a network to recognize cats and dogs, and you have 10,000 labeled photos. Before training begins, you set 2,000 of them aside and hide them. The network trains on the other 8,000.

Once training is done, you show it those 2,000 photos for the very first time. If it gets them right, it generalized. If it only does well on the 8,000 it trained on, it memorized.

By the 1990s, researchers understood all of this. The theory was solid. So why didn't it take off?

Citations(2)↓
  1. 1. developers.google.com
  2. 2. developers.google.com