This Machine Learning concept is the current idea: keep the same invariant visible across Intuition, Math, Code, Interactive Demo.
Machine Learning
CNN Architecture Families
CNN architecture families are a sequence of design motifs for local features, depth, multi-scale computation, residual optimization, feature reuse, and modern ConvNet blocks.
Concept Structure
CNN Architecture Families
Start with the picture, metaphor, or geometric mechanism.
Make the objects explicit and connect them with notation.
Mirror the equations with runnable implementation details.
Manipulate the mechanism and watch the idea respond.
Learner Contract
What this page should let you do.
2 prerequisites listed; refresh them before leaning on the math or code.
Explain the mechanism, trace the main notation, and test one prediction in the live demo.
Read the intuition before the notation; the math should name a mechanism you already felt.
Follow this edge after making one prediction here; the next page should reuse the result, not restart the route.
Claim/source review status
Substantive review recorded
2/2 claims have bounded review metadata; still check caveats and source scope.Metadata-derived; review may be AI-assisted. Not a human certification.01
Intuition
Build the mental picture first so the rest of the page has something to attach to.
You are here because CNN names can blur into a model zoo: LeNet, AlexNet, VGG, GoogLeNet, ResNet, DenseNet, ConvNeXt. The useful question is not "which name came next?" It is: what bottleneck was the architecture trying to repair, and what reusable motif did it introduce?
A convolution layer already gives the core idea: local filters share parameters across spatial positions. Architecture families decide how to compose those local filters. Should the network get depth from many small filters, spend compute on several receptive-field sizes at once, add an identity route through a block, concatenate old features instead of overwriting them, or modernize the ConvNet block with depthwise spatial mixing and wider channel mixing?
Treat the history as a route through mechanisms:
- LeNet: make local convolution and subsampling practical for document recognition.
- AlexNet: scale deep ReLU CNNs to large natural-image classification with data augmentation, dropout, and GPU-era training.
- VGG: make depth easy to reason about by repeating small filters.
- Inception/GoogLeNet: compute several spatial scales in parallel, using convolutions to reduce channel cost.
- ResNet: make very deep networks trainable by adding an identity shortcut around a residual function.
- DenseNet: reuse earlier features by concatenating them into later layers.
- ConvNeXt: revisit ConvNets with modern block design, large depthwise kernels, normalization, activation placement, and training conventions.
That route matters because architecture choices are not cosmetic. They decide which paths information and gradients can take, where parameters are spent, how many channels flow into a block, and which inductive bias remains after scaling. This page is a mechanism map for supervised vision backbones. It is not a leaderboard, an exact reproduction guide, a detection or segmentation survey, or a claim that one family dominates every vision workload.
02
Math
Translate the story into symbols, assumptions, and a derivation you can inspect.
Start with a plain stack of blocks. Let be the activation entering layer or block . A plain CNN block can be written as
where may include convolution, normalization, activation, pooling, or downsampling. The architecture question is the shape of and whether the block has extra routes around or into it.
Small Kernel Depth
VGG's central move is to replace one large spatial filter with repeated small filters. In the stride-1, no-dilation, appropriate-padding simplification, two filters have the same nominal receptive-field width as one filter. If input and output channel counts are both , one convolution uses
weights. Two convolutions have an effective receptive field and use
weights, while also inserting an extra nonlinearity between them. Three convolutions similarly cover a receptive field with weights instead of .
This simplified count assumes equal channel width and ignores bias, normalization, and boundary effects. Its point is the design pressure: spend depth and nonlinearities more carefully than a single large dense spatial filter.
Multi-Scale Branches
An Inception-style block applies several branches to the same input and concatenates their channel outputs:
A direct convolution from channels to channels costs
weights. A reduction to channels followed by that spatial convolution costs
When , the branch can inspect a larger spatial scale without paying the full dense channel cost. The caveat is that branch widths, reductions, and pooling choices are design decisions, not a theorem that any multi-branch block is automatically better.
Residual And Dense Routes
A residual block writes
when the shapes match. The identity term gives the block a direct route: if initially behaves like a small correction, the network can represent a near-identity mapping and learn changes around it. For backpropagation, the local derivative contains an identity contribution:
This does not make all optimization easy, but it explains why the shortcut is not merely a wiring flourish. It changes the paths through which activations and gradients can move.
This is the shape-preserving identity-shortcut case. Projection shortcuts, downsampling, post-add activations, and normalization change the local Jacobian story, so the identity derivative is a useful first model rather than the whole ResNet training theory.
DenseNet makes a different choice. Each layer consumes a concatenation of earlier feature maps:
If every layer adds new channels and the initial block has channels, then layer sees roughly
input channels. Counting layer as reading the initial state and all earlier layer outputs, the incoming dense links over layers sum to , so the dense directed connections among feature states grow like
That is the feature-reuse tradeoff: later layers can read earlier features directly, but concatenated state must be managed carefully.
ConvNeXt revisits this family with modern ConvNet blocks. A simplified depthwise spatial convolution costs weights because each channel has its own spatial filter, while a dense convolution costs . Pointwise layers then mix channels. Depthwise-separable arithmetic explains one component ConvNeXt adopts; it is not a claim that depthwise convolution is ConvNeXt-specific. Again, this is a simplified parameter story; the real architecture also depends on stage widths, downsampling, normalization, activation placement, training recipes, and data scale.
03
Code
Keep the implementation aligned with the notation so the algorithm is legible.
def conv_params(k, cin, cout):
return k * k * cin * cout
C = 64
vgg_5 = conv_params(5, C, C)
vgg_two_3 = 2 * conv_params(3, C, C)
vgg_7 = conv_params(7, C, C)
vgg_three_3 = 3 * conv_params(3, C, C)
cin = 192
naive = conv_params(3, cin, 128) + conv_params(5, cin, 32)
reduced = cin * 96 + conv_params(3, 96, 128) + cin * 16 + conv_params(5, 16, 32)
L, C0, growth = 5, 32, 12
dense_connections = L * (L + 1) // 2
channels_seen_by_layer_5 = C0 + growth * (L - 1)
C = 96
dense_7x7 = conv_params(7, C, C)
depthwise_7x7 = 7 * 7 * C
pointwise_expand_contract = C * (4 * C) + (4 * C) * C
print("two 3x3 vs one 5x5:", vgg_two_3, vgg_5, round(vgg_two_3 / vgg_5, 2))
print("three 3x3 vs one 7x7:", vgg_three_3, vgg_7, round(vgg_three_3 / vgg_7, 2))
print("inception reduction:", reduced, "instead of", naive, round(reduced / naive, 2))
print("dense connections:", dense_connections)
print("channels into layer 5:", channels_seen_by_layer_5)
print("7x7 depthwise + pointwise:", depthwise_7x7 + pointwise_expand_contract, "vs dense", dense_7x7)
This script is not training a CNN. It checks the arithmetic that makes the architecture motifs worth studying: small-kernel depth, Inception-style channel reduction, DenseNet feature accumulation, and ConvNeXt-style separation of spatial and channel mixing.
04
Interactive Demo
Use direct manipulation to connect the explanation to a moving system.
Use the lab as an architecture diagnosis exercise. Pick the bottleneck first, then predict the motif that repairs it:
- Regular depth: can repeated small filters get a larger receptive field with fewer weights than one large filter?
- Multi-scale budget: can the network inspect and evidence without paying the full channel cost?
- Very deep optimization: can a block preserve an identity route while learning a correction?
- Feature reuse: can later layers read earlier feature maps directly instead of hoping every useful feature is rewritten forward?
- Modern ConvNet block: can spatial mixing be separated from channel mixing to make larger kernels more affordable?
Before reveal, the selected family, parameter arithmetic, route diagram, and caveat stay locked. After reveal, compare the predicted motif with the source-backed family and the small numeric witness. The demo is a teaching map for architecture mechanisms, not a benchmark or implementation recipe.
Live Concept Demo
Explore CNN Architecture Families
The stage is code-native and interactive. Use it to test the explanation against the mechanism.
Manipulate one control and predict the visible change.
Commit to what CNN Architecture Families should make visible before reading the result.
After The First Pass
Turn the concept into an inspected object.
Once the invariant is visible in the intuition, math, code, and demo, use these panels to inspect the mechanism visually, check source support, practice the idea, and attach a grounded research question.
Mechanism Storyboard
See the idea move before the page explains it
CNN architecture families are a sequence of design motifs for local features, depth, multi-scale computation, residual optimization, feature reuse, and modern ConvNet blocks.
Start with the picture, metaphor, or geometric mechanism.
Before reading further, choose the kind of change CNN Architecture Families should make visible.
Visual Inquiry
Make the image answer a mathematical question
CNN architecture families are a sequence of design motifs for local features, depth, multi-scale computation, residual optimization, feature reuse, and modern ConvNet blocks.
Which visible object should carry the first intuition?
Pick the cue that should make CNN Architecture Families easier to reason about before the page gives the answer.
Source Grounding
Canonical references for the mechanism on this page.
Source for convolutional layers, local connectivity, parameter sharing, and case-study architecture families.
Open sourceSource for the LeNet-style convolution and subsampling hierarchy in document recognition.
Open sourceSource for the AlexNet-era jump in ImageNet-scale CNN training with ReLU, dropout, data augmentation, and GPU execution.
Open sourceSource for the VGG design choice of very deep networks built from small 3x3 convolution filters.
Open sourceSource for Inception/GoogLeNet multi-scale branches and 1x1 dimensionality reduction.
Open sourceSource for residual blocks, identity shortcuts, and the degradation problem in very deep networks.
Open sourceClaim Review
CNN architecture families are a sequence of design motifs for local features, depth, multi-scale computation, residual optimization, feature reuse, and modern ConvNet blocks.
Claims without a substantive review badge still need exact source-support review.
cs231n-convolutional-networks, lecun-1998-gradient-based-document-recognition, krizhevsky-2012-alexnet, simonyan-2014-vgg, szegedy-2014-inception, he-2015-resnet
Use equations, runnable code, and demos to check whether the source support is operational.
The sources support the page's early-family mechanism map: local convolution/subsampling, scaled ReLU CNN training, repeated 3x3 depth, and Inception branch/reduction arithmetic.
Sources: CS231n: Convolutional Neural Networks, Gradient-Based Learning Applied to Document Recognition, ImageNet Classification with Deep Convolutional Neural Networks, Very Deep Convolutional Networks for Large-Scale Image Recognition, Going Deeper with ConvolutionsThis is a teaching map, not a benchmark ranking, exact architecture reproduction, hardware recipe, or detection/segmentation survey.A bounded review summary is present; still check caveats and exact reference scope.Checked CS231n, LeNet, AlexNet, VGG, and Inception sources for local convolution/subsampling, ImageNet-era ReLU CNN scaling, small-filter depth, and branch-plus-reduction framing. GPT Pro critique is pending.
Reviewer: codex-local-primary-source-audit; reviewed 2026-07-03The sources support the residual-addition, dense-concatenation, and ConvNeXt modernization claims used in the Math, Code, and demo sections.
Sources: CS231n: Convolutional Neural Networks, Deep Residual Learning for Image Recognition, huang-2016-densenet, liu-2022-convnextResiduals, dense links, and ConvNeXt blocks are mechanisms, not standalone guarantees of accuracy, trainability, memory efficiency, or transformer replacement.A bounded review summary is present; still check caveats and exact reference scope.Checked ResNet, DenseNet, ConvNeXt, and CS231n support for identity shortcuts, dense feature concatenation, and modernized ConvNet block design. GPT Pro critique is pending.
Reviewer: codex-local-primary-source-audit; reviewed 2026-07-03Source support candidates
course-notes 2026CS231n: Convolutional Neural NetworksSource for convolutional layers, local connectivity, parameter sharing, and case-study architecture families.
paper 1998Gradient-Based Learning Applied to Document RecognitionSource for the LeNet-style convolution and subsampling hierarchy in document recognition.
paper 2012ImageNet Classification with Deep Convolutional Neural NetworksSource for the AlexNet-era jump in ImageNet-scale CNN training with ReLU, dropout, data augmentation, and GPU execution.
paper 2014Very Deep Convolutional Networks for Large-Scale Image RecognitionSource for the VGG design choice of very deep networks built from small 3x3 convolution filters.
Practice Loop
Try the idea before it explains itself
CNN architecture families are a sequence of design motifs for local features, depth, multi-scale computation, residual optimization, feature reuse, and modern ConvNet blocks.
Before touching the demo, predict one visible change that should happen in CNN Architecture Families.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
Reveal when your model needs a nudge.
A concrete answer is on the canvas.
The answer names why the claim should hold.
It touches the page context or a neighboring idea.
Research Room
Attach the question to a claim, equation, code, or demo
Pick the concept, equation, source, runnable code, claim, misconception, or demo state before asking for help. The handoff keeps that page item in context.Open the draft below to save one note and next action in this browser.
CNN Architecture Families
What is the smallest example that makes CNN Architecture Families click without losing the math?
Local action draftNo local draft saved yetExpand only when ready to capture one local next action
This draft stays in this browser, attached to the selected learning item.
- References to inspect: attached references on this page.
- Definition, prerequisite, and contrast concept links
- The equation or runnable code that makes the concept operational
- One demo state that shows the invariant instead of a slogan
- The learner can state the mechanism in their own words
- The learner can name the prerequisite that would repair confusion
- The learner can predict how the mechanism changes under one perturbation
I am working in Continuous Function's research reading room. Object: concept - CNN Architecture Families Selected item key: recorded for copy. Context: Machine Learning Page anchor: recorded for copy. Open question: What is the smallest example that makes CNN Architecture Families click without losing the math? Evidence to inspect: - References to inspect: attached references on this page. - Definition, prerequisite, and contrast concept links - The equation or runnable code that makes the concept operational - One demo state that shows the invariant instead of a slogan What would resolve this: - The learner can state the mechanism in their own words - The learner can name the prerequisite that would repair confusion - The learner can predict how the mechanism changes under one perturbation Answer as a careful research tutor: stay source-grounded, separate verified evidence from assumptions, name the relevant math objects, and end with one next action.
concept/concept-notebook/machine-learning/cnn-architectures
concept:machine-learning/cnn-architectures