DeepLLM Quiz
Neural Network Architectures

Pooling and growing receptive fields in convolutional networks

10 questions on max pooling, average pooling, invariance to small shifts, down-sampling, cross-channel pooling and how receptive fields grow with depth.

  • 10 questions
  • Stopwatch
  • Instant feedback

Shown publicly with your score. Don’t use your full real name.

Sample questions

Play now ↑

Answers stay hidden. Start the quiz to play them.

  1. Sample 1

    A 2 by 2 block of a feature map contains the values 2, 8, 3 and 5. What do max pooling and average pooling output for that block?

    • 8 for max pooling and 4.5 for average pooling
    • 2 for max pooling and 8 for average pooling
    • 18 for both

How it works

  • One question per screen. An answer is final once sent.
  • You see right away whether you were right, with a short explanation.
  • The stopwatch runs: on equal scores, the faster player ranks first.
  • Only your best attempt counts, so replaying is never risky.

About this quiz

If you ask whether a photograph contains a face, you do not care whether the left eye is at position 41 or position 42. You care that the eye is there and roughly where it is relative to the nose. A convolutional layer is the opposite: it reports exactly where each feature occurs, and moves its report if the feature moves. To turn that precise map into something tolerant of small shifts, networks use pooling, a simple operation that summarises a small neighbourhood of a feature map in a single number. It is one of the humblest parts of a convolutional network, and one of the most instructive.

This quiz looks at pooling from several angles. You will see what the most popular version, max pooling, keeps and what it discards, and how it compares with taking an average. You will see why pooling has no learnable parameters at all, and how it reduces the size of a feature map. You will calculate the shape of the output for a given feature map and also the result of pooling a small block of numbers. You will see how pooling across channels can be used to build tolerance to changes other than shifts, and how a clever choice of pooling stride lets a network accept images of different sizes.

The second half of the quiz is about depth. When several convolutional layers are stacked, each unit sees only a small patch of the layer below, but that patch is made of units that each saw a patch of the layer before, and so on. The region of the original image that can influence a unit therefore grows with depth. The questions ask you to work out how large it becomes, and to think about where the learnable parameters of a complete network sit when fully connected layers are added at the end.

Misconceptions to watch for: that pooling is learned, that it keeps the average of what it sees, that it must reduce the number of channels, and that deeper units have the same view of the image as shallow ones. Another is to assume that the choice of the number of layers, filters and strides can be settled by a tidy rule, when in practice it is explored at great computational cost. Thinking about receptive fields is also a handy diagnostic for real projects. If the objects you want to recognise are large compared with what a network's units can see, the design may need more depth, larger strides or more pooling. If they are tiny, too much down-sampling may erase them before they can be detected. Matching the growth of the receptive field to the scale of the structure in the data is one of the quiet decisions behind every successful vision model.

The quiz suits learners who understand a single convolutional layer and want to see how layers combine, and practitioners tuning architectures. There are 10 questions, each with an explanation, and it takes about four minutes.

Questions and answers

›How long does the quiz take?

About 3 to 4 minutes for 10 questions, at roughly 20 seconds each. An explanation follows every answer, so the quiz serves as a short lesson on pooling and depth.

›Do I need to know convolutions first?

Yes, at least in outline. You should know what a feature map is and how a filter is applied. The quiz on filters and feature maps covers that, and the questions here recall the essentials while introducing everything specific to pooling.

›What is pooling?

It is an operation applied to a feature map in which each output unit takes input from a small receptive field and produces a single value by a fixed rule. There is a choice of window size and stride, as for convolution, but the rule has no learnable parameters. Pooling is usually applied to each channel separately.

›What is the difference between max and average pooling?

Max pooling outputs the largest value in each window, which preserves whether a feature was present and how strongly, while discarding exactly where in the window it was. Average pooling outputs the mean of the values in the window. Both introduce some local invariance to translation, and both reduce the size of the feature map.

›Why does pooling help with classification?

Classifying a whole image should not depend on small shifts of individual features. The relative positions of features matter, such as eyes above a nose, but slight displacements do not change the answer. Pooling discards fine positional detail and so makes the representation less sensitive to such displacements, while down-sampling also reduces the cost of later layers.

›Can pooling build invariances other than translation?

Yes, if it is applied across channels. If several channels have learned to detect the same feature at different orientations, then taking the maximum across those channels responds to the feature whatever its orientation, which gives approximate invariance to rotation. The network can learn such invariances because the channels are learned.

›What is an effective receptive field?

It is the region of the original image that can influence a unit in a deeper layer. Each unit sees a small patch of the layer below, but because that patch is composed of units that themselves see patches, the region grows as layers are stacked. Deep units therefore respond to large parts of the image even though every individual filter is small.

›Where do most of the parameters sit in a complete convolutional network?

Often in the fully connected layers that are placed at the end to combine information from the whole image. The convolutional layers may have more connections, but since their weights are shared, they have far fewer independent parameters. The last convolutional layer is small thanks to pooling, so the fully connected layers are manageable.

More quizzes