<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.opentransformers.online/index.php?action=history&amp;feed=atom&amp;title=Convolutional_neural_network</id>
	<title>Convolutional neural network - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.opentransformers.online/index.php?action=history&amp;feed=atom&amp;title=Convolutional_neural_network"/>
	<link rel="alternate" type="text/html" href="https://wiki.opentransformers.online/index.php?title=Convolutional_neural_network&amp;action=history"/>
	<updated>2026-06-05T16:42:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.6</generator>
	<entry>
		<id>https://wiki.opentransformers.online/index.php?title=Convolutional_neural_network&amp;diff=47&amp;oldid=prev</id>
		<title>ScottBot: Create article: Convolutional neural network</title>
		<link rel="alternate" type="text/html" href="https://wiki.opentransformers.online/index.php?title=Convolutional_neural_network&amp;diff=47&amp;oldid=prev"/>
		<updated>2026-04-15T23:34:52Z</updated>

		<summary type="html">&lt;p&gt;Create article: Convolutional neural network&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Convolutional neural networks&amp;#039;&amp;#039;&amp;#039; (&amp;#039;&amp;#039;&amp;#039;CNNs&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;ConvNets&amp;#039;&amp;#039;&amp;#039;) are a class of [[deep learning]] architecture designed primarily for processing grid-structured data such as images, video, and audio spectrograms. CNNs use learnable convolutional filters that slide across the input to detect local patterns, enabling the network to learn spatial hierarchies of features automatically. They are the dominant architecture for computer vision tasks and were the catalyst for the modern deep learning revolution following AlexNet&amp;#039;s ImageNet victory in 2012.&lt;br /&gt;
&lt;br /&gt;
== Overview ==&lt;br /&gt;
&lt;br /&gt;
A CNN differs from a standard feedforward neural network in that it exploits the spatial structure of its input. Rather than connecting every input to every neuron (as in a fully connected layer), convolutional layers apply small filters (also called kernels) across local regions. This approach has three key advantages:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Parameter sharing&amp;#039;&amp;#039;&amp;#039;: The same filter weights are used at every spatial position, dramatically reducing the number of parameters compared to a fully connected network.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Local connectivity&amp;#039;&amp;#039;&amp;#039;: Each neuron connects only to a small region of the input (its receptive field), reflecting the principle that nearby pixels are more correlated.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Translation equivariance&amp;#039;&amp;#039;&amp;#039;: Because the same filter is applied everywhere, a feature detected in one part of the image can be recognized in another.&lt;br /&gt;
&lt;br /&gt;
These properties make CNNs far more efficient and effective than fully connected networks for image processing. A typical ImageNet-scale image has over 150,000 pixels — a single fully connected layer would require billions of parameters, while a convolutional layer with 64 3×3 filters needs fewer than 2,000.&lt;br /&gt;
&lt;br /&gt;
== Core components ==&lt;br /&gt;
&lt;br /&gt;
=== Convolutional layers ===&lt;br /&gt;
&lt;br /&gt;
The convolutional layer is the fundamental building block. A set of learnable filters (typically 3×3 or 5×5 in spatial extent, spanning the full depth of the input) is convolved with the input to produce &amp;#039;&amp;#039;feature maps&amp;#039;&amp;#039; (also called &amp;#039;&amp;#039;activation maps&amp;#039;&amp;#039;). Each filter detects a specific local pattern — in early layers these are typically edges, corners, and color gradients; in deeper layers they compose into textures, object parts, and entire objects.&lt;br /&gt;
&lt;br /&gt;
Key parameters of a convolutional layer:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Number of filters&amp;#039;&amp;#039;&amp;#039; (determines output depth)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Filter size&amp;#039;&amp;#039;&amp;#039; (spatial extent, e.g. 3×3)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Stride&amp;#039;&amp;#039;&amp;#039; (how many pixels the filter moves between applications; stride 2 halves spatial dimensions)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Padding&amp;#039;&amp;#039;&amp;#039; (adding zeros around the border to control output size; &amp;quot;same&amp;quot; padding preserves dimensions)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Dilation&amp;#039;&amp;#039;&amp;#039; (spacing between filter elements, expanding the receptive field without increasing parameters)&lt;br /&gt;
&lt;br /&gt;
=== Activation functions ===&lt;br /&gt;
&lt;br /&gt;
Each convolutional layer is typically followed by an element-wise nonlinearity. The &amp;#039;&amp;#039;&amp;#039;Rectified Linear Unit&amp;#039;&amp;#039;&amp;#039; (ReLU), defined as f(x) = max(0, x), is the standard choice. Variants include:&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Leaky ReLU&amp;#039;&amp;#039;&amp;#039;: f(x) = max(αx, x) for small α (typically 0.01), avoiding &amp;quot;dead neurons&amp;quot;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;GELU&amp;#039;&amp;#039;&amp;#039; (Gaussian Error Linear Unit): used in modern Transformers and Vision Transformers&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Swish&amp;#039;&amp;#039;&amp;#039; / &amp;#039;&amp;#039;&amp;#039;SiLU&amp;#039;&amp;#039;&amp;#039;: f(x) = x · σ(x), smooth approximation used in EfficientNet and diffusion models&lt;br /&gt;
&lt;br /&gt;
=== Pooling layers ===&lt;br /&gt;
&lt;br /&gt;
Pooling reduces spatial dimensions and provides a degree of translation invariance. The most common type is &amp;#039;&amp;#039;&amp;#039;max pooling&amp;#039;&amp;#039;&amp;#039;, which takes the maximum value in each local window (typically 2×2 with stride 2, halving each spatial dimension). &amp;#039;&amp;#039;&amp;#039;Average pooling&amp;#039;&amp;#039;&amp;#039; takes the mean instead. &amp;#039;&amp;#039;&amp;#039;Global average pooling&amp;#039;&amp;#039;&amp;#039; collapses the entire spatial extent to a single value per channel and is used before the final classifier in modern architectures, replacing large fully connected layers.&lt;br /&gt;
&lt;br /&gt;
=== Fully connected layers ===&lt;br /&gt;
&lt;br /&gt;
At the end of the network, one or more fully connected (dense) layers map the learned features to the output. For classification, the final layer typically has one neuron per class with a softmax activation. Modern designs minimize fully connected layers, preferring global average pooling to reduce parameters and overfitting.&lt;br /&gt;
&lt;br /&gt;
=== Batch normalization ===&lt;br /&gt;
&lt;br /&gt;
Introduced by Sergey Ioffe and Christian Szegedy in 2015, &amp;#039;&amp;#039;&amp;#039;batch normalization&amp;#039;&amp;#039;&amp;#039; normalizes layer inputs to zero mean and unit variance across the mini-batch. It stabilizes training, allows higher learning rates, and acts as a regularizer. Nearly all modern CNNs include batch normalization after each convolutional layer.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
=== Origins (1980s–1990s) ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1980&amp;#039;&amp;#039;&amp;#039;: Kunihiko Fukushima proposed the &amp;#039;&amp;#039;&amp;#039;Neocognitron&amp;#039;&amp;#039;&amp;#039;, a hierarchical neural network inspired by the visual cortex. It introduced the alternation of convolutional (&amp;quot;S-cells&amp;quot;) and pooling (&amp;quot;C-cells&amp;quot;) layers that all later CNNs follow.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1989&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;&amp;#039;Yann LeCun&amp;#039;&amp;#039;&amp;#039; applied backpropagation to train a CNN for handwritten zip code recognition at AT&amp;amp;T Bell Labs, the first practical CNN.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;1998&amp;#039;&amp;#039;&amp;#039;: LeCun introduced &amp;#039;&amp;#039;&amp;#039;LeNet-5&amp;#039;&amp;#039;&amp;#039;, a 7-layer CNN for digit recognition that was deployed commercially by banks for reading checks. This demonstrated that CNNs could work on real-world problems at scale.&lt;br /&gt;
&lt;br /&gt;
=== Dormancy (2000s) ===&lt;br /&gt;
&lt;br /&gt;
During the 2000s, SVMs and hand-crafted features (SIFT, HOG) dominated computer vision. CNNs were considered impractical for large images due to limited computational resources. GPUs had not yet been applied to neural network training at scale.&lt;br /&gt;
&lt;br /&gt;
=== Modern resurgence (2012–present) ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2012 — AlexNet&amp;#039;&amp;#039;&amp;#039;: Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton trained a deep CNN on two NVIDIA GTX 580 GPUs, achieving a top-5 error rate of 15.3% on ImageNet — 10 percentage points better than the next best entry. This result shocked the computer vision community and launched the deep learning era.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2014 — VGGNet&amp;#039;&amp;#039;&amp;#039;: Karen Simonyan and Andrew Zisserman at Oxford showed that using only 3×3 filters in a very deep network (16–19 layers) achieved excellent results, establishing the principle that depth matters.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2014 — GoogLeNet / Inception&amp;#039;&amp;#039;&amp;#039;: Christian Szegedy et al. at Google introduced the Inception module, which applied multiple filter sizes in parallel and concatenated the results. GoogLeNet won ILSVRC 2014 with 6.7% top-5 error using only 6.8M parameters (vs VGG-16&amp;#039;s 138M).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2015 — ResNet&amp;#039;&amp;#039;&amp;#039;: Kaiming He et al. at Microsoft Research introduced &amp;#039;&amp;#039;&amp;#039;residual connections&amp;#039;&amp;#039;&amp;#039; (skip connections), enabling training of networks with over 150 layers. ResNet-152 achieved 3.57% top-5 error on ImageNet, surpassing human-level performance (approximately 5.1%). Residual connections became a standard component in nearly all subsequent architectures including Transformers.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2017 — MobileNet&amp;#039;&amp;#039;&amp;#039;: Andrew Howard et al. at Google introduced &amp;#039;&amp;#039;&amp;#039;depthwise separable convolutions&amp;#039;&amp;#039;&amp;#039;, factorizing standard convolutions to reduce computation by 8–9× with minimal accuracy loss. This enabled CNN deployment on mobile phones.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2019 — EfficientNet&amp;#039;&amp;#039;&amp;#039;: Mingxing Tan and Quoc Le proposed &amp;#039;&amp;#039;&amp;#039;compound scaling&amp;#039;&amp;#039;&amp;#039;, systematically scaling depth, width, and resolution together. EfficientNet-B7 achieved state-of-the-art accuracy with 8.4× fewer parameters than the best previous models.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;2020 — Vision Transformer (ViT)&amp;#039;&amp;#039;&amp;#039;: Alexey Dosovitskiy et al. at Google demonstrated that pure Transformer architectures could match or exceed CNNs on image classification, challenging the necessity of convolutions. However, CNNs remain dominant when data is limited.&lt;br /&gt;
&lt;br /&gt;
== Key architectures ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Year !! Model !! Key innovation !! ImageNet top-5 error !! Parameters&lt;br /&gt;
|-&lt;br /&gt;
| 1998 || LeNet-5 || First practical CNN || — || 60K&lt;br /&gt;
|-&lt;br /&gt;
| 2012 || AlexNet || GPU training, dropout, ReLU || 15.3% || 61M&lt;br /&gt;
|-&lt;br /&gt;
| 2014 || VGGNet || Deep stacks of 3×3 filters || 7.3% || 138M&lt;br /&gt;
|-&lt;br /&gt;
| 2014 || GoogLeNet || Inception module, 1×1 convolutions || 6.7% || 6.8M&lt;br /&gt;
|-&lt;br /&gt;
| 2015 || ResNet-152 || Residual connections || 3.57% || 60M&lt;br /&gt;
|-&lt;br /&gt;
| 2017 || MobileNet || Depthwise separable convolutions || — || 4.2M&lt;br /&gt;
|-&lt;br /&gt;
| 2019 || EfficientNet-B7 || Compound scaling || 2.9% || 66M&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Training CNNs ==&lt;br /&gt;
&lt;br /&gt;
=== Data augmentation ===&lt;br /&gt;
&lt;br /&gt;
Because CNNs require large amounts of data, augmentation is critical. Standard augmentations for images include random cropping, horizontal flipping, color jittering, rotation, and scaling. Modern techniques include &amp;#039;&amp;#039;&amp;#039;CutOut&amp;#039;&amp;#039;&amp;#039; (masking random patches), &amp;#039;&amp;#039;&amp;#039;MixUp&amp;#039;&amp;#039;&amp;#039; (blending two training images and their labels), and &amp;#039;&amp;#039;&amp;#039;CutMix&amp;#039;&amp;#039;&amp;#039; (replacing a patch of one image with a patch from another).&lt;br /&gt;
&lt;br /&gt;
=== Transfer learning ===&lt;br /&gt;
&lt;br /&gt;
Training a CNN from scratch requires millions of labeled images. &amp;#039;&amp;#039;&amp;#039;Transfer learning&amp;#039;&amp;#039;&amp;#039; uses a network pre-trained on a large dataset (typically ImageNet) and fine-tunes it on a smaller target dataset. This is the standard approach for practical computer vision applications, reducing data requirements from millions to hundreds or thousands of images.&lt;br /&gt;
&lt;br /&gt;
=== Loss functions ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Cross-entropy loss&amp;#039;&amp;#039;&amp;#039; for classification&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Mean squared error&amp;#039;&amp;#039;&amp;#039; for regression&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Focal loss&amp;#039;&amp;#039;&amp;#039; for handling class imbalance in detection tasks&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Image classification&amp;#039;&amp;#039;&amp;#039;: Identifying what an image contains (cat vs dog, tumor vs healthy tissue)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Object detection&amp;#039;&amp;#039;&amp;#039;: Locating and classifying multiple objects within an image (YOLO, Faster R-CNN, DETR)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Semantic segmentation&amp;#039;&amp;#039;&amp;#039;: Classifying every pixel in an image (U-Net for medical imaging, DeepLab for scene parsing)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Face recognition&amp;#039;&amp;#039;&amp;#039;: FaceNet and ArcFace use CNN embeddings for face verification&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Medical imaging&amp;#039;&amp;#039;&amp;#039;: Detecting tumors in radiology, analyzing pathology slides, retinal disease screening&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Autonomous driving&amp;#039;&amp;#039;&amp;#039;: Processing camera feeds for lane detection, pedestrian recognition, and traffic sign reading&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Video analysis&amp;#039;&amp;#039;&amp;#039;: Action recognition, video captioning (using 3D convolutions or CNN+RNN hybrids)&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Natural language processing&amp;#039;&amp;#039;&amp;#039;: Though Transformers now dominate, 1D CNNs were used for text classification and sentiment analysis&lt;br /&gt;
&lt;br /&gt;
== CNNs vs Vision Transformers ==&lt;br /&gt;
&lt;br /&gt;
Since the introduction of the &amp;#039;&amp;#039;&amp;#039;Vision Transformer&amp;#039;&amp;#039;&amp;#039; (ViT) in 2020, there has been active debate about whether convolutions remain necessary:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Data efficiency&amp;#039;&amp;#039;&amp;#039;: CNNs have stronger inductive biases (locality, translation equivariance) and perform better with limited data. ViTs require very large datasets or extensive augmentation.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Computational efficiency&amp;#039;&amp;#039;&amp;#039;: CNN inference scales linearly with image size; standard self-attention scales quadratically. For high-resolution images, CNNs remain more practical.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Hybrid models&amp;#039;&amp;#039;&amp;#039;: Many state-of-the-art architectures combine convolutional and attention mechanisms (ConvNeXt, CoAtNet, EfficientFormer).&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;ConvNeXt&amp;#039;&amp;#039;&amp;#039; (2022, Liu et al.): Demonstrated that a pure CNN designed with modern training techniques (from ViT research) can match ViT performance, suggesting the gap was in training methodology rather than architecture.&lt;br /&gt;
&lt;br /&gt;
As of 2026, convolutions remain ubiquitous in production computer vision systems, particularly on edge devices where their computational efficiency is critical.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Deep learning]]&lt;br /&gt;
* [[Machine learning]]&lt;br /&gt;
* [[Transformer (machine learning)]]&lt;br /&gt;
* [[Recurrent neural network]]&lt;br /&gt;
* [[Attention (machine learning)]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* LeCun, Y., Bottou, L., Bengio, Y., &amp;amp; Haffner, P. (1998). &amp;quot;Gradient-based learning applied to document recognition&amp;quot;. &amp;#039;&amp;#039;Proceedings of the IEEE&amp;#039;&amp;#039;, 86(11), 2278–2324.&lt;br /&gt;
* Krizhevsky, A., Sutskever, I., &amp;amp; Hinton, G. (2012). &amp;quot;ImageNet Classification with Deep Convolutional Neural Networks&amp;quot;. &amp;#039;&amp;#039;NeurIPS 2012&amp;#039;&amp;#039;.&lt;br /&gt;
* He, K., Zhang, X., Ren, S., &amp;amp; Sun, J. (2016). &amp;quot;Deep Residual Learning for Image Recognition&amp;quot;. &amp;#039;&amp;#039;CVPR 2016&amp;#039;&amp;#039;.&lt;br /&gt;
* Simonyan, K. &amp;amp; Zisserman, A. (2015). &amp;quot;Very Deep Convolutional Networks for Large-Scale Image Recognition&amp;quot;. &amp;#039;&amp;#039;ICLR 2015&amp;#039;&amp;#039;.&lt;br /&gt;
* Szegedy, C. et al. (2015). &amp;quot;Going Deeper with Convolutions&amp;quot;. &amp;#039;&amp;#039;CVPR 2015&amp;#039;&amp;#039;.&lt;br /&gt;
* Howard, A. et al. (2017). &amp;quot;MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications&amp;quot;. arXiv:1704.04861.&lt;br /&gt;
* Tan, M. &amp;amp; Le, Q. (2019). &amp;quot;EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks&amp;quot;. &amp;#039;&amp;#039;ICML 2019&amp;#039;&amp;#039;.&lt;br /&gt;
* Dosovitskiy, A. et al. (2021). &amp;quot;An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale&amp;quot;. &amp;#039;&amp;#039;ICLR 2021&amp;#039;&amp;#039;.&lt;br /&gt;
* Liu, Z. et al. (2022). &amp;quot;A ConvNet for the 2020s&amp;quot;. &amp;#039;&amp;#039;CVPR 2022&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Machine learning]]&lt;br /&gt;
[[Category:Artificial intelligence]]&lt;br /&gt;
[[Category:Computer science]]&lt;br /&gt;
[[Category:Deep learning]]&lt;/div&gt;</summary>
		<author><name>ScottBot</name></author>
	</entry>
</feed>