The Physics of Deep Learning
What it is. Tools from statistical physics explain how deep networks learn. They learn structure in order of strength, broad distinctions before fine ones, as children do. Wiring chosen at the edge of chaos lets very deep networks train fast, and most traps in learning are saddles, not dead ends.
What it gives you. It shows why learning often stalls and then suddenly jumps, why children learn categories from general to specific and how theory turned into faster training methods.
Understanding what we built
We know everything about an artificial network: its wiring, its learning rule and all its training data. Yet how it learns was poorly understood. If we cannot explain these systems, explaining the brain will be harder still. Physics offers tools for both.
Children and early network models learn coarse distinctions first, animals versus plants, then finer ones. Theory for simple deep networks shows why: they learn the strongest patterns in the data first, each after a plateau and then a sudden drop in error.
Properties passed down a branching tree, as in evolution, make broad splits stronger than fine ones. So learning must move from general to specific. A network with at least one hidden layer shows these stages; one without does not.
Three advances
- Critical wiring Starting a deep network with rotation-like weights at the right gain keeps signals and errors intact through 100 layers, so training time stays flat with depth.
- Saddles, not traps In high dimensions, flat spots at high error are almost all saddles. True dead ends lie close to the best solution.
- Escaping saddles A modified method that is repelled by saddles broke through plateaus once mistaken for dead ends.
Six findings
- Hidden layers Methods infer the hidden middle layer of the retina from its inputs and outputs alone.
- Fly motion Whole-circuit imaging showed fly motion detection mixes earlier theories rather than following one.
- Grid cells Without the walls to correct them, grid cells would lose their pattern within about a minute.
- Few neurons Recording 100 of millions of neurons is like taking 100 random measures. Theory says how many are needed.
- Plastic synapses Boosting plasticity in the cerebellum helped or harmed learning depending on past experience.
- Changing networks A student project perturbed a trained network's weights, as brains change daily, to test which layers stay stable.
Learning by theory
- 100 layers trained with critical wiring
- 1,000 layers in a network that turns noise into images
- 30 layers of a nonlinear network that trained faster
- 1 min for grid cells to drift without walls
- 100 neurons often recorded from circuits of millions
- 2015 year the noise-to-image method was published
An idea from thermodynamics
- Take real data, such as images, and blur them step by step into pure noise.
- Keep a record of every step.
- Train a deep network to run the film backwards, one step at a time.
- Each step has its own target, so even a thousand layers train without the usual difficulty.
- Feed the network fresh noise and new images emerge. This is the root of today's image generators.
Learning to undo disorder is a way to learn the world.
Children briefly come to believe pine trees have leaves before learning they do not. A network learning from the same kind of data shows the same detour.
Steps
- Recall how a child learns animals: first "animal", then "bird" and "fish", then "robin".
- Think of a skill you learned that stalled for weeks, then improved suddenly.
- Learning in deep networks shows the same plateaus and jumps. The strongest structure in the data is learned first.
- Write down something you once believed in the middle of learning a subject that you later corrected.
- Children briefly believe pine trees have leaves. Networks show the same temporary wrong beliefs, predicted by the theory.
Time. 5 minutes
Words to know
- Learning dynamics
- How what a network has learned changes over training time, including plateaus and jumps.
- Saddle point
- A flat spot in the error landscape that slopes up in some directions and down in others.
- Edge of chaos
- A tuning between order and chaos at which signals pass through many layers without fading or exploding.
- Diffusion model
- A generative model trained to reverse the gradual blurring of data into noise.
Summarized by Irina Medelye · IRA X LAB.
More in Brains, Minds and Machines
- Intelligence: The Science and the Engineering
- Specialised Brain Regions and General Intelligence
- Feedforward and Feedback in Vision
- How the Brain Recognises Objects
- Faces, Primates and the Social Brain
- Place Cells, Replay and Memory in Sleep
- Learning in the Fly Brain
- The Mind as a Model of the World
- What Infants Know About Objects and Agents
- How Infants Understand Communication
- Children as Scientists
- Learning New Concepts from One Example
- How Infants Weigh Effort and Reward
- Where New Ideas Come From
- How Babies Learn to See Hands and Gaze
- Minimal Images: The Atoms of Recognition
- Answering Questions About Images and Text
- Connecting Sentences and Video
- Stories and the Human Mind
- Reading Word Meaning from the Brain
- Reading People at a Glance
- Faces, Thin Slices and the Social Mind
- Thinking About Thoughts: Theory of Mind in the Brain
- How Hearing Works: From the Ear to Sound Textures
- Speech and Music Regions in the Hearing Brain
- How Machines Learn to Recognise Speech
- A Humanoid Robot in a Disaster Challenge
- Self-Driving Cars and Robot Maps
- Layered Control in Animals and Robots
- Robots That Work Alongside People
- A Child-Sized Robot That Learns
- Invariance: Why Deep Networks Recognise
- Random Wiring, Sparse Codes and Deep Networks
- Machine Learning Essentials
- Reading Content from Neural Populations
