Chapter 9 of 13 · 11 min

Vision and Viewpoint

From edge detectors to capsules: how machines learn to see structure.

Goal of this chapterAfter this chapter you will understand Hinton's account of computer vision, convolutional nets, pose, part-whole structure, and routing by agreement.
Watch this chapterGeoffrey Hinton's key moments on vision and viewpoint, back to back
3 moments · 2 min
1 / 3
“The deep in learning just means it's a neural net that has multiple layers.”
StarTalk podcast interview, 2023 · 41:38

The lesson

Hinton explains vision in neural networks as a hierarchy of detectors. Early layers respond to simple local patterns such as edges, and deeper layers combine those into more meaningful structures and objects; that is what “deep” means in practice: multiple layers building increasingly abstract features12. This matters because vision is not programmed as a list of rules; the system learns useful detectors by adjusting connection strengths through training, which lets it generalize beyond memorized examples.

This layered approach became especially powerful when it was paired with enough data and compute. In Hinton’s account of the ImageNet era, large labeled datasets and larger models let neural nets outperform older hand-designed vision systems, shifting the field toward learned representations instead of manually specified algorithms4. His broader lesson is pragmatic: successful vision models were not just elegant ideas, but models that actually worked at scale56.

But Hinton argues that standard convolutional nets have an important weakness: they handle translation well, yet they do not naturally represent viewpoint and pose. The biggest variation in images often comes from changes in viewpoint, and if a model throws away too much positional information, it can recognize a pattern without really representing how its parts are arranged7. That is why simply detecting features is not enough for robust visual understanding.

His alternative is capsules: something between a single neuron and a full layer, where a small group of neurons represents an entity together with properties such as its presence and pose8. Instead of pooling away spatial detail, capsules try to preserve coordinate-like information so the system can model how parts transform when viewpoint changes. This is aimed at a more structured form of recognition, where seeing an object means representing both what is there and how it is arranged.

Routing by agreement is the mechanism Hinton proposes for building wholes from parts. Lower-level parts send votes about what higher-level object could be present and in what pose, and when those votes agree, the system routes activity to that shared interpretation; Hinton argues this should help with viewpoint changes, segmentation, and learning from less data9. The deeper idea is that vision should not just stack detectors, but infer coherent part-whole structure.

4 principles from Geoffrey Hinton

1

Build vision from simple features to structured objects

Start with local, easy-to-detect patterns such as edges, then compose them into shapes and object hypotheses across layers. When analyzing a model, ask what each level is adding rather than treating recognition as a single step.

“The deep in learning just means it's a neural net that has multiple layers.”
StarTalk podcast interview, 2023
2

Preserve pose instead of discarding it

If viewpoint is a major source of variation, a vision system should represent how an object or part is oriented and positioned, not just whether a feature exists. When a model struggles with rotations or novel viewpoints, check whether it has thrown away the very information needed to explain those changes.

“…the biggest source of variation in images is from changing viewpoints…”
NeurIPS keynote, 2017
3

Represent parts and wholes explicitly

Recognition improves when a model can express how smaller components fit together into larger objects. Apply this by looking for architectures or representations that encode relationships among parts, rather than only feature presence.

“So I think this routing by agreement is going to be crucial for getting neural nets to generalize much better from limited data. I think it’d be very good at dealing with changes in viewpoint, very good at doing segmentation, and I’m hoping it’ll be much more statistically efficient than what we currently do in neural nets, which is if you want to deal with changes in viewpoint, you just give it a whole bunch of changes in viewpoint and train it on them all.”
Heroes of Deep Learning interview, 2017answer page →
4

Use agreement among parts to form object hypotheses

Routing by agreement means lower-level features should support a higher-level interpretation only when their predictions line up. This is a useful design idea whenever you need robustness to clutter, segmentation, or limited data.

“So I think this routing by agreement is going to be crucial for getting neural nets to generalize much better from limited data. I think it’d be very good at dealing with changes in viewpoint, very good at doing segmentation, and I’m hoping it’ll be much more statistically efficient than what we currently do in neural nets, which is if you want to deal with changes in viewpoint, you just give it a whole bunch of changes in viewpoint and train it on them all.”
Heroes of Deep Learning interview, 2017answer page →

In his own words

The quotes behind the lesson, word for word from the transcripts. Numbers match the lesson above.

1
“The deep in learning just means it's a neural net that has multiple layers.”
StarTalk podcast interview, 2023
2
“GEOFFREY HINTON: So if you wanted to detect a little piece of vertical edge in a particular place in the image, let's suppose you look at a little column of three pixels and, next to them, another column of three pixels. And if the ones on the left are bright and the ones on the right are dark, you want to say, yes, there's an edge here. So you have to ask, how would I make a neuron that did that? JON STEWART: Oh, my god. OK. All right, I'm going to jump ahead. All right, so the first thing you do is you have to teach the network what vision is.”
The Weekly Show with Jon Stewart podcast, 2023answer page →
4
“Had a policy not to referee papers on neural nets at one point. Just send them back, don't referee them, it's a waste of time, it shouldn't be in PAM. And Yann LaCun sent a paper to a conference where he had a neural net that was better at identifying, at doing segmentation of pedestrians than the state of the art. And it was rejected. And it was one of the reasons it was rejected was one of the referees said, "This tells us nothing about vision." 'Cause they had this view of how computer vision works, which is you study the nature of the problem of vision, you formulate an algorithm that'll solve it, you figure out how to implement that algorithm, and then you publish a paper. In fact, it doesn't work to it…”
Radical AI founders event, University of Toronto, 2021answer page →
5
“I wanted to have an actual model that worked.”
Radical AI founders event, University of Toronto, 2021
6
“…bigger model, more data, more compute…”
Radical Talks at NeurIPS, San Diego, 2021
7
“…the biggest source of variation in images is from changing viewpoints…”
NeurIPS keynote, 2017
8
“…we should actually have something between a layer and a neuron…”
NeurIPS keynote, 2017
9
“So I think this routing by agreement is going to be crucial for getting neural nets to generalize much better from limited data. I think it’d be very good at dealing with changes in viewpoint, very good at doing segmentation, and I’m hoping it’ll be much more statistically efficient than what we currently do in neural nets, which is if you want to deal with changes in viewpoint, you just give it a whole bunch of changes in viewpoint and train it on them all.”
Heroes of Deep Learning interview, 2017answer page →

Reflect

  1. Think of a vision task you know well. Where does success depend on recognizing the same object across changes in viewpoint, orientation, or part arrangement?
  2. In your own work, when are you relying on a model to detect features, and when do you need it to represent relationships among parts?
  3. Have you seen a system that works mainly by seeing many variations in the data? How might an explicit pose or part-whole representation reduce that burden?

Check your understanding

1. Why does Hinton think standard convnets are limited for some vision problems?
2. What is a capsule in Hinton’s account?
3. What is routing by agreement supposed to do?

Go deeper

Search every transcript
Open the full search page →