Chapter 4 — Sub-chapter 4.6

Famous CNN Architectures

From LeNet-5's humble five layers to ResNet's 152-layer towers — a guided tour of the landmark architectures that redefined computer vision and now power civil engineering inspection systems worldwide.

45 min read 2 interactive demos 4 quiz questions

Standing on the Shoulders of Giants

Every modern AI-powered bridge inspection camera, autonomous drone surveyor, and concrete crack classifier descends from a small family of breakthrough architectures. Understanding these milestones is not an exercise in history — it is the key to choosing the right backbone for your own civil engineering models.

In the previous sub-chapter you learned how to train a CNN. Now we ask: which CNN should you train? The answer depends on your task, your data, your computing budget, and whether the model must run on a desktop GPU or an embedded sensor on a bridge. This sub-chapter introduces eight landmark architectures, explains the single key innovation each contributed, and maps them onto civil engineering use cases.

The history of CNNs is a story of overcoming obstacles. Each generation of researchers faced a fundamental limitation — too few pixels, too little data, vanishing gradients, excessive computation — and responded with an architectural innovation that changed the field forever. Knowing these innovations lets you read modern papers fluently and select pretrained models with confidence.

Prerequisites

This sub-chapter assumes you are familiar with convolutional layers, pooling, activation functions, and fully connected layers (Sub-chapter 4.4) and the basics of training (Sub-chapter 4.5). We will refer to concepts such as feature maps, filter sizes, and gradient flow throughout.

LeNet-5 (1998) — Where It All Began

Yann LeCun's LeNet-5 was designed to read handwritten digits on checks for the United States Postal Service. With just five trainable layers — two convolutional and three fully connected — it was tiny by modern standards, yet it proved that learned convolutional filters outperform hand-crafted feature extractors for visual pattern recognition.

Key Innovation: End-to-End Learned Features

Before LeNet-5, engineers designed image features manually (edges, corners, texture histograms) and fed them to a classifier. LeNet-5 showed that a single differentiable pipeline — from raw pixels to class probabilities — could learn its own features via backpropagation. This paradigm shift is the foundation of every architecture that follows.

Architecture at a Glance

Layer Type Output Shape Parameters
Input — 32 × 32 × 1 0
C1 Conv 5×5 28 × 28 × 6 156
S2 Avg Pool 2×2 14 × 14 × 6 12
C3 Conv 5×5 10 × 10 × 16 1,516
S4 Avg Pool 2×2 5 × 5 × 16 32
F5–F7 Fully Connected 120 → 84 → 10 ~59 K

With roughly 60,000 parameters, LeNet-5 could train on a single 1990s workstation in minutes. Compare that to the billions of parameters in today's largest models and you appreciate how far the field has traveled — yet the principles LeCun established remain unchanged.

Civil Engineering Analogy

LeNet-5 is like the first steel-frame building. The Home Insurance Building in Chicago (1885) was only ten stories tall — modest by today's standards — but it proved the concept that a steel skeleton could support a structure. Every modern skyscraper follows the same principle. Similarly, LeNet-5 proved that learned convolutional filters work, and every subsequent CNN builds on that foundation.

AlexNet (2012) — The ImageNet Breakthrough

For more than a decade after LeNet-5, most computer vision researchers relied on hand-crafted features such as SIFT and HOG. That changed dramatically in 2012 when Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton submitted AlexNet to the ImageNet Large Scale Visual Recognition Challenge (ILSVRC) and reduced the top-5 error rate from 26% to 16% — a margin so large it shocked the community.

Key Innovation: GPU Training + ReLU + Dropout

AlexNet was the first major CNN trained on GPUs (two NVIDIA GTX 580s), making deep networks feasible at scale. It also replaced the sigmoid activation with ReLU (Rectified Linear Unit), which trains 6× faster, and introduced dropout regularization to prevent overfitting. These three ideas became the default toolkit for all subsequent architectures.

Why It Mattered

AlexNet had 60 million parameters spread across five convolutional layers and three fully connected layers — 1,000× more parameters than LeNet-5. It processed 227×227 RGB images and classified them into 1,000 categories. The architectural recipe was straightforward: stack more layers, use bigger filters in early layers (11×11), and let the GPU handle the arithmetic.

The ImageNet victory triggered an avalanche of deep learning research. Within two years, every top entry in ILSVRC was a CNN, and the error rate plummeted below human performance by 2015.

CE Relevance: Transfer Learning Pioneer

AlexNet's pretrained ImageNet weights became the first widely used feature extractor for civil engineering tasks. Researchers at the University of Illinois demonstrated that freezing AlexNet's convolutional layers and retraining only the classifier head on a small dataset of concrete crack images could achieve over 95% accuracy — proving that features learned from everyday objects generalize to structural defects.

VGGNet (2014) — The Power of Depth

The Visual Geometry Group at Oxford asked a simple question: what happens if we make the network deeper while keeping everything else uniform? Their answer, VGG-16 (and the deeper VGG-19), stacked 13–16 convolutional layers using exclusively 3×3 filters, separated by max-pooling layers, followed by three fully connected layers.

Key Innovation: Small Filters, Deep Stacks

VGG showed that two stacked 3×3 convolutional layers have the same receptive field as a single 5×5 layer, but with fewer parameters and an additional nonlinearity between them. Three stacked 3×3 layers replace a 7×7 layer. This insight — smaller filters, more layers — became a design principle adopted by nearly every architecture that followed.

The Trade-off: Simplicity vs. Efficiency

VGG-16 contains 138 million parameters, most concentrated in the three fully connected layers at the top. Training required four NVIDIA Titan GPUs for two to three weeks. Despite this computational cost, the architecture's regularity made it easy to understand and implement, which is why it remains one of the most frequently used backbones in academic research.

Civil Engineering Analogy

VGG is like a multi-story car park with identical floors. Every level has the same layout: same beam spans, same column grid, same slab thickness. The repetition makes design, analysis, and construction straightforward, even if the total amount of concrete and steel is higher than a custom-designed structure with optimized floor plates. VGG trades efficiency for simplicity and predictability.

CE Relevance: Feature-Rich Backbone

VGG's intermediate feature maps are exceptionally good at capturing texture patterns, making it a popular backbone for civil engineering tasks such as surface defect classification (spalling, efflorescence, rebar exposure) and pavement distress recognition. Many published CE studies use VGG-16 with transfer learning as their baseline model.

GoogLeNet / Inception (2014) — Going Wider

While VGG pushed depth, Google's team explored a different axis: width. The question was whether a network could examine each feature map with multiple filter sizes simultaneously and let the training process decide which scale matters most. The result was the Inception module.

Key Innovation: Inception Module + 1×1 Convolutions

An Inception module applies 1×1, 3×3, and 5×5 convolutions in parallel to the same input, then concatenates their outputs along the channel axis. To control computational cost, 1×1 convolutions are inserted before the larger filters to reduce the number of input channels — a technique called bottleneck dimensionality reduction. This single idea cut GoogLeNet's parameter count to just 5 million (27× smaller than VGG) while achieving better accuracy.

How 1×1 Convolutions Work

A 1×1 convolution operates on each spatial position independently, computing a weighted sum across channels. Think of it as a per-pixel fully connected layer that mixes channel information without altering spatial dimensions. By projecting 256 channels down to 64 before applying a 5×5 filter, the Inception module reduces computation by roughly 90%.

Civil Engineering Analogy

An Inception module is like a multi-scale site investigation. When surveying a construction site, you simultaneously collect data at different scales: satellite imagery for regional context (5×5 filters), drone photos for site-level features (3×3 filters), and close-up soil samples for material properties (1×1 filters). Combining all scales into one report gives a richer picture than any single survey method.

Architectural Statistics

Property GoogLeNet VGG-16
Depth (layers) 22 16
Parameters ~5 M ~138 M
FLOPs ~1.5 B ~15.5 B
Top-5 Error (ILSVRC 2014) 6.67% 7.32%

GoogLeNet demonstrated that intelligent architecture design (going wider with bottlenecks) can outperform brute-force depth while using a fraction of the computational resources. Its successors — Inception v2, v3, and v4 — further refined the module with factorized convolutions and batch normalization.

ResNet (2015) — Skip Connections Change Everything

By 2015, researchers knew that deeper networks should be more powerful — but in practice, networks deeper than about 20 layers became harder to train. Accuracy would saturate and then degrade, not because of overfitting, but because gradients vanished or exploded as they traversed dozens of layers during backpropagation.

Key Innovation: Residual (Skip) Connections

Kaiming He and colleagues at Microsoft Research introduced the residual block. Instead of learning a desired mapping $H(x)$ directly, the block learns the residual $F(x) = H(x) - x$ and adds the input back: $H(x) = F(x) + x$. This identity shortcut allows gradients to flow directly through the skip connection, alleviating the vanishing gradient problem and enabling training of networks with 50, 101, or even 152 layers.

Why Skip Connections Work

Consider the worst case: if the residual $F(x)$ learns to be zero, the block simply passes the input through unchanged — an identity mapping. This means adding more layers can never hurt performance, because the network can always fall back to the identity. In practice, the residual branch learns small, useful corrections on top of the identity, making optimization dramatically easier.

Civil Engineering Analogy

A skip connection is like a structural bypass in a water distribution network. If a treatment stage (layer) fails or adds too little value, water (the signal) can flow through the bypass pipe directly to the next junction. The system never loses pressure (gradient magnitude) regardless of how many treatment stages you add in series.

ResNet Variants

Variant Layers Parameters Top-5 Error
ResNet-18 18 ~11.7 M 10.92%
ResNet-34 34 ~21.8 M 8.58%
ResNet-50 50 ~25.6 M 7.13%
ResNet-101 101 ~44.5 M 6.44%
ResNet-152 152 ~60.2 M 5.71%

CE Relevance: The Go-To Backbone

ResNet-50 is arguably the most widely used backbone in civil engineering deep learning. Its combination of high accuracy, reasonable parameter count, and well-understood behavior makes it the default choice for bridge damage detection, pavement crack segmentation, building damage assessment from satellite imagery, and construction site safety monitoring. When in doubt, start with a pretrained ResNet-50.

DenseNet (2017) — Connect Everything

If one skip connection is good, what about connecting every layer to every other layer? That is the idea behind DenseNet (Densely Connected Convolutional Networks). In a dense block, each layer receives the feature maps of all preceding layers as input and passes its own feature maps to all subsequent layers.

Key Innovation: Dense Connectivity + Feature Reuse

By concatenating (not adding) feature maps from all previous layers, DenseNet encourages maximum feature reuse. Each layer needs to produce only a small number of new feature maps (the growth rate, typically 12 or 32), because it already has access to every feature computed earlier. This dramatically reduces the total number of parameters while maintaining strong gradient flow.

DenseNet vs. ResNet

Where ResNet adds the input to the output ($x + F(x)$), DenseNet concatenates all previous outputs ($[x_0, x_1, \ldots, x_{l-1}]$). This means the $l$-th layer in a dense block has $l$ skip connections rather than just one. Despite this explosion in connections, the narrow growth rate keeps the model compact: DenseNet-121 achieves comparable accuracy to ResNet-200 with fewer than half the parameters.

CE Relevance: Fine-Grained Defect Recognition

DenseNet's feature reuse is particularly valuable for civil engineering tasks that require distinguishing subtle defect types (e.g., hairline vs. structural cracks, early vs. advanced corrosion). The dense connectivity ensures that fine-grained low-level textures remain accessible to the final classifier, even in very deep networks.

EfficientNet (2019) — Scaling Done Right

Prior architectures scaled in one dimension at a time: VGG scaled depth, GoogLeNet scaled width, and some models scaled input resolution. EfficientNet, developed by Mingxing Tan and Quoc Le at Google, asked: can we scale all three dimensions simultaneously in a principled way?

Key Innovation: Compound Scaling

EfficientNet introduces a compound scaling coefficient $\phi$ that uniformly scales depth, width, and resolution using fixed ratios determined by a neural architecture search (NAS). Starting from a small baseline (EfficientNet-B0), increasing $\phi$ produces a family of models (B1 through B7) that achieve state-of-the-art accuracy at each computational budget. EfficientNet-B7 reached 84.3% top-1 accuracy on ImageNet — the best at the time — while using 8.4× fewer parameters than the previous leader.

The Scaling Formula

Given a compound coefficient $\phi$:

  • Depth: $d = \alpha^{\phi}$
  • Width: $w = \beta^{\phi}$
  • Resolution: $r = \gamma^{\phi}$

where $\alpha$, $\beta$, $\gamma$ are constants determined by a grid search on the baseline network, subject to the constraint $\alpha \cdot \beta^{2} \cdot \gamma^{2} \approx 2$ so that total FLOPs roughly double with each integer increase in $\phi$.

Civil Engineering Analogy

Compound scaling is like proportional scaling in structural design. When you scale up a building, you cannot simply double the height without also widening the columns and deepening the foundations. EfficientNet's compound coefficient is the structural engineer's scaling law applied to neural network dimensions — depth, width, and resolution must grow together to maintain balance.

CE Relevance: Best Accuracy Per FLOP

For civil engineering teams with limited GPU budgets, EfficientNet offers the best accuracy-to-compute trade-off. EfficientNet-B3 or B4 are popular choices for bridge and tunnel inspection systems where cloud compute is expensive but accuracy requirements are high. The compound scaling principle also guides engineers when customizing architectures for domain-specific tasks.

MobileNet (2017) — AI at the Edge

All previous architectures assumed access to powerful GPUs. MobileNet, developed by Andrew Howard and colleagues at Google, was designed from the ground up for edge deployment — mobile phones, embedded sensors, drones, and IoT devices with limited memory and compute.

Key Innovation: Depthwise Separable Convolutions

A standard convolution applies a 3D filter across all input channels simultaneously. MobileNet splits this into two steps: (1) a depthwise convolution that applies a single filter per input channel (spatial filtering), and (2) a pointwise 1×1 convolution that mixes the channel outputs. This factorization reduces computation by a factor of roughly $1/N + 1/D_K^2$ (where $N$ is the number of output channels and $D_K$ is the kernel size), typically 8–9× fewer FLOPs with minimal accuracy loss.

MobileNet Family

Version Year Key Addition Params
MobileNet v1 2017 Depthwise separable convolutions ~4.2 M
MobileNet v2 2018 Inverted residuals + linear bottlenecks ~3.4 M
MobileNet v3 2019 NAS-optimized + squeeze-and-excite ~5.4 M

CE Relevance: Drones, Sensors, and Real-Time Inspection

MobileNet is the architecture of choice when inference must happen on the device rather than in the cloud. Civil engineering applications include: real-time crack detection on inspection drones that lack internet connectivity, embedded corrosion sensors on bridges that classify images locally to reduce data transmission, and mobile apps that let field engineers photograph a structure and receive an instant damage assessment. If your model must run on a Raspberry Pi, NVIDIA Jetson, or smartphone, MobileNet is your starting point.

Civil Engineering Analogy

MobileNet is like a prefabricated modular building. Traditional construction (full convolutions) is powerful but resource-intensive. Prefab modules (depthwise separable convolutions) break the process into standardized, lightweight components that can be assembled on-site with minimal equipment. The result is faster, cheaper, and nearly as strong — ideal for remote locations or tight budgets.

Which Architecture for Which CE Task?

Selecting the right backbone is an engineering decision that balances accuracy, speed, model size, and deployment constraints. The table below maps common civil engineering tasks to recommended architectures:

CE Task Recommended Architecture Rationale
Concrete crack classification (desktop GPU) ResNet-50 Best balance of accuracy and efficiency; massive pretrained ecosystem
Fine-grained defect typing (spalling, delamination, corrosion) DenseNet-121 Dense connectivity preserves low-level texture cues needed for subtle distinctions
Satellite damage assessment (high-res imagery) EfficientNet-B4 Compound scaling handles large input resolutions efficiently
Real-time drone inspection MobileNet v3 Runs at 30+ FPS on edge devices; small model size fits drone compute
Academic baseline / quick prototyping VGG-16 Simple, well-understood; easy to implement and debug
Multi-scale feature extraction (segmentation backbone) ResNet-101 or Inception v3 Deep features + multi-scale receptive fields for pixel-level prediction
Practical Advice

When starting a new CE deep learning project, follow this decision process: (1) define your deployment target (cloud, desktop GPU, edge device), (2) estimate your dataset size, (3) pick a backbone from the table above, (4) start with pretrained ImageNet weights and fine-tune on your domain data. This approach consistently outperforms training from scratch on small CE datasets.

Grand Comparison Table

The following table summarizes the eight architectures side by side. Notice the trends: parameter counts first exploded (VGG), then shrank via clever design (Inception, MobileNet), and accuracy steadily improved as architectural innovations accumulated.

Architecture Year Depth Params Key Idea
LeNet-5 1998 5 ~60 K End-to-end learned features
AlexNet 2012 8 ~60 M GPU training, ReLU, dropout
VGG-16 2014 16 ~138 M Small filters (3×3), deep stacks
GoogLeNet 2014 22 ~5 M Inception module, 1×1 conv
ResNet-50 2015 50 ~25.6 M Skip / residual connections
DenseNet-121 2017 121 ~8 M Dense connectivity, feature reuse
MobileNet v2 2018 53 ~3.4 M Depthwise separable convolutions
EfficientNet-B0 2019 ~18 ~5.3 M Compound scaling (depth + width + res)

Interactive Demo: Architecture Evolution Timeline

Click on any architecture in the timeline below to reveal its layer structure, parameter count, and key contribution. The vertical axis represents depth (number of layers), and the horizontal axis spans the years from 1998 to 2019.

Interactive Demo: Residual Connection Visualizer

This demo illustrates how skip connections preserve gradient magnitude during backpropagation. Toggle between a plain network (no skip connections) and a residual network to see how the gradient signal behaves as it travels backward through layers. Watch how the gradient shrinks to near-zero in the plain network but remains healthy in the residual version.

Gradient magnitude: 100%

What to Observe

In the plain network, the gradient shrinks by roughly 50% at each layer. After 10 layers, only about 0.1% of the original gradient reaches the first layer — far too small to drive meaningful weight updates. In the residual network, the skip connections provide an additive path that preserves gradient magnitude above 50% even after 10 layers, enabling effective training of very deep architectures.

Civil Engineering Application: Which Architecture for Which Task?

Choosing the right pre-trained model for infrastructure inspection directly impacts accuracy and deployment feasibility:

ResNet for Crack Classification

ResNet-50 (25.6M params) is the most popular backbone for crack classification. Its skip connections let gradients flow through 50 layers without vanishing — critical when fine-tuning on small crack datasets. ResNet-18 (11.7M) is preferred for drone deployment (runs at 60 FPS on Jetson Xavier).

MobileNet for Field Inspection

MobileNetV2 (3.4M params) uses depthwise separable convolutions — 8× fewer operations than VGG. Engineers deploy it on tablets for real-time condition assessment during bridge walks. Accuracy drops only 2-3% vs. ResNet-50, but runs 10× faster on mobile hardware.

VGG for Feature Extraction

VGG-16's uniform 3×3 conv blocks produce rich feature maps for texture analysis. Researchers extract features from VGG's conv5 layer to analyze surface roughness, aggregate distribution, and weathering patterns in concrete — tasks beyond simple crack/no-crack classification.

Knowledge Check

Q1 Which architecture introduced the concept of learning image features directly from raw pixels via backpropagation, replacing hand-crafted feature extractors?
Q2 What is the primary purpose of 1×1 convolutions in the GoogLeNet/Inception architecture?
Q3 A civil engineer needs to deploy a crack detection model on a drone with limited compute. Which architecture family is most appropriate?
Q4 ResNet solves the vanishing gradient problem by:

Key Takeaways

What You Should Remember

  1. LeNet-5 proved that end-to-end learned features via convolution + backpropagation work.
  2. AlexNet brought GPU training, ReLU, and dropout — triggering the modern deep learning era.
  3. VGG showed that deeper networks with small 3×3 filters outperform shallower networks with large filters.
  4. GoogLeNet/Inception introduced multi-scale processing and 1×1 convolutions to control compute.
  5. ResNet solved the vanishing gradient problem with skip connections, enabling 100+ layer networks.
  6. DenseNet maximized feature reuse through dense connectivity with a narrow growth rate.
  7. EfficientNet introduced compound scaling to balance depth, width, and resolution simultaneously.
  8. MobileNet made CNNs practical for edge devices using depthwise separable convolutions.
Mini case study

Picking a backbone for pavement: U-Iowa & Iowa DOT benchmark of VGG, ResNet, EfficientNet & U-Net

“Which famous CNN should we deploy?” is the question every DOT eventually asks. The University of Iowa Institute for Transportation, working with Iowa DOT, ran the same pavement-crack benchmark through four canonical architectures and published the full latency/accuracy/parameter trade-off — the kind of table that lets an engineer pick on evidence instead of taste.

0Architectures benched
0Test patches
0Best mIoU
0Max params (M)

Marketing decks claim every new architecture is “state of the art”. But a DOT cares about three numbers at once — segmentation accuracy (mIoU), parameter count (governs storage on the inspection vehicle), and inference throughput (governs how many lane-miles per day you can survey). No single architecture wins on all three.

“Pick the smallest model whose accuracy lives inside your inter-rater reliability.”

  • Common task — binary crack vs no-crack semantic segmentation on 512×512 LCMS intensity patches; 23,000 patches stratified train/val/test.
  • Architectures — VGG16-FCN, ResNet50-FPN, EfficientNet-B3-FPN, U-Net (from-scratch). All trained 60 epochs, identical augmentation, AdamW, cosine schedule.
  • Reporting — report mIoU, parameter count and FPS on the same RTX A4000 GPU for fair comparison.
Architecture comparison — click any header to sort
ArchitecturemIoUParams (M)FPS (A4000)Best for
VGG16-FCN0.8113822Legacy baseline
ResNet50-FPN0.882654Balanced default
EfficientNet-B3-FPN0.911248Edge deployment
U-Net (from scratch)0.86771Small data / fastest

All models trained on the same 23k LCMS-2 patch split with identical augmentation; FPS measured at 512×512 batch = 1 on RTX A4000.

  • EfficientNet-B3-FPN won on mIoU (0.91) with 12× fewer parameters than VGG16 — the famous “scaling” paper’s premise validated in a CE context.
  • U-Net from scratch was fastest (71 FPS) and small enough (7 M params) to ship to an embedded inspection vehicle.
  • ResNet50-FPN became the default — sits at the “safe” knee point.
  • “Famous” is a starting point, not an answer. Always benchmark on your own data with your own augmentation.
  • Parameter count ≠ latency. EfficientNet’s depthwise convs are bandwidth-bound; the smaller U-Net actually runs faster.
  • Inter-rater reliability bounds usefulness. The human-annotator IoU on this set was ~0.86 — meaning any model above ~0.86 mIoU is statistically indistinguishable from a second human.