Support the missionKeep the lab open and growing

Invariance: Why Deep Networks Recognize

What it is. One theory says that the main job of the visual stream is to build a stable signature of each object. The signature stays the same as the object moves, grows or turns, yet still tells objects apart. Simple and complex cells, stacked in layers, compute exactly this, and so do deep networks.

What it gives you. It explains why recognition needs few examples once invariance is in place and why the first visual cells look as they do. It also explains why deep networks work so well.

The first tenth of a second

Cells high in the visual stream become selective about 80 to 90 ms after an image appears. Signals take about 40 ms to reach V1 and about 10 ms per later area, which leaves little time for loops. So the first glimpse is mostly a one-way sweep.

Layered models of simple and complex cells, built to match recordings, do well at flashing tasks: is there an animal or not? They reach about 80% correct, like people, and the images hard for people are hard for them. Deep networks are larger versions of the same plan.

The theory says why they work. One object makes thousands of images. With a code that ignores those changes, a simple classifier trained on one or two examples reached about 90%. On raw pixels, the same classifier stayed at chance.

Three steps

Six points

Vision by numbers

A student project

  1. Attention raises early visual responses by about 10%.
  2. A simple question: what happens to that boost further up the layers?
  3. Normalization and thresholds can shrink or grow it along the way.
  4. If the effect high up is larger than the model predicts, feedback from other areas is likely at work.
  5. Small models make such questions testable.

A theory earns its keep by turning vague questions into measurable ones.

A human brain holds about 86 billion neurons, as many as roughly 86,000 honeybee brains put together.

Steps

  1. Look at a friend's face from the front, then from the side, then from closer.
  2. Ask yourself what stays the same across the three views.
  3. Not the image: almost every pixel changes. What stays is a signature your brain computed from the image.
  4. Now picture a baby turning a toy in its hands for a minute.
  5. In the theory, the baby stores that "movie". Comparing any new object with the stored frames gives numbers that do not change when the new object turns.

Time. 5 minutes

Words to know

Invariant signature
A set of numbers computed from an image that stays the same when the object moves, scales or turns.
Pooling
Combining responses over many positions or views, as complex cells do, to gain tolerance.
Sample complexity
How many labeled examples a learner needs to reach a given accuracy.
Gabor filter
A small striped pattern detector, the best fit to early visual cells.

Download the study notes (PDF · 6 pages).

Summarized by Irina Medelye · IRA X LAB.

More in Brains, Minds and Machines