NEW
Also known as: Residual Network
Deep neural network architecture using skip connections to learn residual functions and enable very deep training.
DESCRIPTION
ResNet introduces identity shortcut connections that let layers learn residual mappings relative to their inputs. This design alleviates vanishing gradients and enables training of very deep CNNs (e.g., 50–152 layers). Residual blocks, sometimes with bottlenecks, and batch normalization are standard components. ResNet variants underpin many computer vision tasks and serve as transfer learning backbones. The approach inspired architectures like DenseNet and Highway Networks, and generalizes beyond vision to sequence and speech models.
ALTERNATIVE DEFINITIONS
He, Zhang, Ren, Sun
We present a residual learning framework to ease the training of networks that are substantially deeper than those used previously.
Introduces residual learning as a framework for deep training stability.
Wikipedia
Deep residual networks (ResNets) are artificial neural networks (ANNs) that utilize skip connections, or shortcuts to jump over some layers.
Highlights the defining skip connections of ResNets.
Keras
ResNet models are deep convolutional neural networks with residual (shortcut) connections.
Concise practical definition for model implementations.
RELATED TERMS
Residual Block Residual Connection Convolutional Neural Network Vanishing Gradient Batch Normalization Fine-Tuning ImageNet
COMPETING TERMS
VGG Network Inception Network DenseNet
KNOWLEDGE AREAS
TARGET AUDIENCE
AI Engineer Data Scientist MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Residual neural network
- arXiv - Original ResNet paper
- Keras - ResNet implementations
- PyTorch - Torchvision ResNet models
- Stanford CS231n - CNN architecture notes
TOP QUESTIONS
Why did ResNet become so influential?
ResNet’s skip connections solved training instability in very deep networks, enabling superior accuracy on ImageNet and beyond. It became a standard backbone for transfer learning.
Category: Relevancy
What is a residual block in ResNet?
A residual block adds the input to the output of stacked layers (identity or projection), letting the network learn residual functions.
Category: Example
How does ResNet mitigate vanishing gradients?
Skip connections provide shortcut paths for gradients, improving signal flow during backpropagation and easing optimization.
Category: Example
Which ResNet variants are commonly used?
ResNet-50, ResNet-101, and ResNet-152 are common. Deeper models improve accuracy but increase compute.
Category: Example
When should I prefer DenseNet over ResNet?
Use DenseNet when parameter efficiency and feature reuse are priorities. ResNet is simpler and widely supported for general tasks.
Category: Opinion
What are common mistakes when training ResNet?
Incorrect input preprocessing, improper learning rate schedules, or mismatched batch normalization behavior between train/inference degrade performance.
Category: Mistakes
How do I adapt ResNet for transfer learning?
Freeze early layers, replace the classifier head, and fine-tune with a smaller learning rate on your dataset.
Category: Best practice
Is ResNet only for images?
No. Residual connections are a general technique used in NLP, speech, and tabular models too.
Category: Misunderstanding
What training tricks complement ResNet?
Use data augmentation, cosine learning rate schedules, label smoothing, and mixed precision to improve accuracy and speed.
Category: Best practice