Learning New Concepts from One Example
What it is. People learn a new letter, tool or word from a single example and can then recognise, draw and even invent new ones. A model that treats each concept as a short program for producing it matches people on these tasks; standard deep networks need far more data.
What it gives you. It explains how adults pick up new symbols, faces and terms so fast, and why learning to learn, building on past concepts, is the real engine of quick learning.
Concepts as recipes
A standard digit dataset holds 10 classes with thousands of examples each. A newer set holds 1,623 characters from 50 alphabets, with only 20 examples each. It mirrors how people learn: many concepts, few examples per concept.
People shown one new character can pick out others like it almost perfectly, draw it in their own hand and invent a fitting new letter. They seem to see a character as strokes in an order, not as a pattern of ink.
A model built the same way represents each character as a small program of strokes and joins, with priors learned from other alphabets. In 20-way one-shot tests it makes under 5% errors, like people. Tuned deep networks of the time made more than twice as many.
Can judges tell?
- New examples Judges shown drawings of a character by people and by the model picked the machine at about chance.
- New characters Asked to invent a letter for an alphabet, the model's inventions were also hard to tell from people's.
- Why it works The model classifies by asking which program most likely produced the image, a far stronger test than surface similarity.
Six ideas
- Concepts as code A concept is a program that can draw, predict and explain.
- Learning as editing Learning means writing and improving that code: faster, more accurate, more general.
- Learning to learn Priors from past alphabets make each new one easier.
- Hard search Finding the right program is hard, because the space of programs has no smooth path to follow.
- Physics from video With force and mass built in, a model estimates hidden friction and mass from 5-second clips, partly like people.
- Right shape A structure-learning model finds a tree for animals, a line for court votes and a cylinder for city distances.
Learning from little
- 1,623 characters in the one-shot dataset
- 50 alphabets represented
- 20 examples of each character
- <5% one-shot errors for people and the program model
- 2x more errors for the best tuned deep network of the time
- ~50% judges spotting the machine in drawing tests, near chance
Form before detail
- Darwin saw that species form a branching tree long before anyone knew how heredity works.
- Newton stated the law of gravity long before the gravitational constant was measured.
- In models, the general form of a domain, such as a tree, is learned from little data.
- The details can be filled in later as evidence grows.
- Children seem to work the same way, holding abstract frames early.
Knowing the shape of a domain makes every new example count more.
In the one-shot model, the right character can be more likely than the wrong one by a factor with hundreds of zeros, yet both look almost alike as ink on paper.
Steps
- Ask someone to draw an invented symbol for you, made of two or three strokes.
- Look at it once for five seconds, then pick it out from five similar symbols.
- Most people succeed easily. You stored how it was drawn, not a copy of the picture.
- Now draw it yourself, then draw a new symbol that could belong to the same invented alphabet.
- You can do both. People learn a concept as a recipe of parts, which lets them create new examples.
Time. 5 minutes
Words to know
- One-shot learning
- Learning a new concept from a single example.
- Program induction
- Inferring a short program, such as a set of strokes and their order, that could have produced an observation.
- Learning to learn
- Using experience with many past concepts to learn new ones faster.
- Blessing of abstraction
- The finding that the general form of a domain can be learned from less data than its details.
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
- 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
- The Physics of Deep Learning
- Machine Learning Essentials
- Reading Content from Neural Populations
