Support the missionKeep the lab open and growing

Invariance: Why Deep Networks Recognise

What it is. One theory holds that the main job of the visual stream is to build a signature of each object that stays the same as it moves, grows or turns, while still telling 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, why the first visual cells look the way they do and why deep networks work as well as they do.

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. Given a code that ignores those changes, a simple classifier trained on one or two examples reached about 90%, while the same classifier on raw pixels 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. Normalisation 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 labelled examples a learner needs to reach a given accuracy.
Gabor filter
A small striped pattern detector, the best fit to early visual cells.

Summarized by Irina Medelye · IRA X LAB.

More in Brains, Minds and Machines