DeepLLM Quiz
Neural Network Architectures

Designing a deep convolutional network: depth, channels and where the parameters go

10 questions on large image benchmarks, top-1 and top-5 error, stacking small filters, doubling channels as maps shrink and the distribution of parameters.

  • 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 layer's output is 112 by 112 with 128 channels. Max pooling with a 2 by 2 window and stride 2 follows, and the next convolutional layer doubles the number of channels to 256. How does the number of values in the representation change?

    • It doubles
    • It halves
    • It stays the same

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

When people first look at a diagram of a successful image-recognition network, it looks like a long, intimidating list of layers. But the better designs follow simple rules, and the rules are easy to learn. Use small filters everywhere. Every so often, halve the height and width of the feature maps. Whenever you do, double the number of channels. Finish with a few fully connected layers that look at everything at once. This quiz walks through that recipe, and through the history that made it matter: a very large image benchmark, a very hard test, and a few ingredients that made deep networks suddenly work.

You will start with the benchmark itself, a collection of millions of labelled photographs in a thousand categories, and think about what it implies for how a result should be measured. With so many classes, random guessing is hopeless, and the usual scoring asks whether the right answer appears among a model's top few guesses. You will see why such a large collection mattered alongside good architecture, and which ingredients helped one early design make a dramatic leap. You will also see why humans can be beaten on such a test.

Then the quiz turns to the design recipe. It asks how the number of values in the representation changes as the maps shrink and the channels double, and why designers want that number to fall gradually. It asks why a stack of small filters beats a single large filter that sees the same region, and where, in a complete network, the learnable parameters accumulate, which turns out not to be where the connections are. The questions use friendly round numbers so that you can check them in your head.

Common misunderstandings include thinking that bigger filters are always better, assuming that most of the parameters of a convolutional network sit in its convolutional layers, and imagining that the person building a network must also derive its gradients. Modern frameworks need only the forward computation, because the derivatives come from automatic differentiation. There is a lesson here that reaches beyond images. Successful architectures are often surprisingly regular, built from one repeated pattern with a few simple rules for how its size changes from stage to stage. Regularity reduces the number of choices that have to be explored, which matters because every candidate design is expensive to train, and comparing many of them on held-out data is rarely affordable. It also makes designs easier to describe, to reproduce and to improve. Learning to see the repeated pattern in a diagram is therefore a skill that pays off whenever you meet a new network. Another lesson is about the relation between connections and parameters. Because convolutional layers reuse their weights, a network can have an enormous number of connections and a modest number of independent parameters, and the layers that dominate the computation need not be the ones that dominate the memory needed to store the model. Keeping the two counts apart is essential when judging what a design will cost, both to train and to deploy.

The quiz suits learners who have met the building blocks of convolutional networks and want to see them assembled, and practitioners who read architecture diagrams. It needs only simple arithmetic. 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. Each answer is followed by an explanation, with the arithmetic shown where it is needed.

›Do I need to know any particular network?

No. The questions describe design principles in general terms and do not rely on the names of specific models. If you know what a convolutional layer, a pooling layer and a fully connected layer are, you have all the background required.

›Why did a large image benchmark matter so much?

It was much larger than earlier data sets, with millions of hand-labelled images and a thousand categories, instead of a few dozen. Progress on it showed that large-scale data, together with models whose design builds in suitable inductive biases, is what makes deep learning succeed. The many categories also made the task hard, because chance performance is very poor.

›What are top-1 and top-5 error?

A classifier outputs a ranked list of predicted classes for each image. An image counts as correctly classified under top-1 if the true class is at the head of the list, and under top-5 if it is among the five highest-ranked classes. The top-5 figure is more forgiving, which is useful when many classes look alike.

›Why do designers stack small filters?

A stack of small filters can see as large a region of the image as one big filter, because receptive fields grow with depth. But it needs fewer parameters, and it acts as an inductive bias, since the large filter it replaces must be composed of smaller ones. A uniform use of small filters also reduces the number of design choices to make.

›Why are channels doubled when feature maps are shrunk?

Shrinking maps by pooling reduces the number of values in the representation. Doubling the channels at the same time offsets the reduction, so the number of variables at each stage does not fall too quickly as the signal moves through the network. The pattern lets the network extract richer features as the spatial detail is compressed.

›Where are most of the parameters in a network of this type?

In the first of the fully connected layers at the end. It connects every unit of the last pooled feature map to every unit of a large layer. The convolutional layers have more connections, but their weights are shared, so they contain far fewer independent parameters.

More quizzes