Convolutional neural network
Written by GPT-6 Luna from the web 21 of 74 sentences cited
An AI wrote this article, and it can be wrong.
A convolutional neural network (CNN) is a deep learning model designed to process data arranged in a grid, such as an image, a sequence of sound samples, or a three-dimensional scan. It learns features by applying the same small, adjustable filters across different parts of the input, allowing it to detect patterns wherever they occur. CNNs became particularly influential in computer vision, where they helped automate tasks such as image classification, object detection, and medical-image analysis.1
The architecture’s local filters and shared weights provide a useful built-in assumption: nearby values in a grid are related, and a pattern may appear in more than one location. These properties can reduce the number of parameters needed compared with a fully connected network and support learning from examples. CNNs have been used beyond image recognition, but they are not universally suited to every task; their performance depends on the data, the design of the model, and how it is trained.12
Core principles
A CNN processes an input through layers of mathematical operations. In an image model, a convolutional layer applies small arrays of learned numbers, called filters or kernels, to local groups of pixels. Each filter produces a feature map indicating how strongly a pattern is present at different positions. A model may learn filters responsive to simple visual features, such as edges, and later combine those responses into more complex patterns.12
A filter’s weights are reused across the input rather than learned separately for every position. This weight sharing lets a CNN detect the same feature in multiple places while using fewer parameters than a comparably connected layer without sharing. Convolution is often followed by a nonlinear activation function, which enables the network to represent more complex relationships than a sequence of linear operations could.13
Many CNNs also use pooling or other operations that reduce the spatial dimensions of feature maps. This can lower computation and make later layers respond less precisely to small shifts in a feature’s location. Repeated layers expand the portion of the original input that can influence a given output, known as its receptive field. A final layer then converts learned features into the required result, such as a class prediction or a map identifying objects in an image.14
Early development
An important precursor was Kunihiko Fukushima’s neocognitron, described in a 1980 paper on visual pattern recognition. It used a hierarchy of layers to recognize shapes despite changes in their position, and was inspired by proposed structures of the visual nervous system. The neocognitron and modern CNNs are related in their use of hierarchical, locally organized processing, but they are not identical: Fukushima’s model learned through self-organization, whereas later practical CNNs were trained using other methods, including backpropagation.51
In 1989, Yann LeCun and colleagues reported using backpropagation in a network that recognized handwritten digits from images. Their approach incorporated constraints based on the structure of the task, including an architecture that could learn from image pixels rather than requiring a separate hand-designed feature representation. In 1998, LeCun, Léon Bottou, Yoshua Bengio, and Patrick Haffner reviewed CNN-based systems for document recognition, including models for reading handwritten characters and checks.67
These systems demonstrated that convolutional models could work on practical recognition problems, but CNNs did not immediately become the dominant approach in computer vision. Their progress was constrained by the computing resources and labeled datasets available at the time. Wider adoption followed advances in hardware and the availability of large image collections, as well as improvements in methods for training deeper networks.18
Architecture and training
A CNN’s architecture specifies how its layers are arranged and what operations they perform. Early or simple designs commonly combined convolution, nonlinear activation, and pooling, followed by fully connected layers that produced a classification. Other designs preserve spatial information through the final output, which is useful when the task is to locate or segment regions rather than assign one label to an entire image. Networks may also use multiple input channels, such as the red, green, and blue channels of a color image.12
Training adjusts the filters and other learned parameters so that the network’s outputs better match examples in its training data. In supervised learning, these examples are paired with labels or target outputs; an error measure, or loss function, quantifies the difference between predictions and targets. Backpropagation calculates how changes to the parameters affect that error, and an optimization method updates the parameters iteratively. Decisions such as filter size, network depth, and pooling strategy are design choices, often called hyperparameters, rather than values learned in the same way as filter weights.14
Training a model successfully does not by itself establish that it will perform well on new data. A network can overfit by learning details particular to its training examples instead of patterns that generalize. Methods such as dropout and other forms of regularization are used to address this risk, while evaluation on separate data helps estimate performance beyond the training set. In applications with limited or unrepresentative examples, these concerns can be especially important.91
Major milestones
A prominent turning point came with AlexNet, a CNN developed by Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton. Their 2012 paper described a model with five convolutional layers and three fully connected layers, trained to classify 1.2 million high-resolution images into 1,000 categories. On the ImageNet 2010 test set, the authors reported an error rate of 17.0 percent for the model’s top-five predictions, substantially below the previous state of the art described in their paper.9
The work demonstrated the effectiveness of combining a deep CNN with large-scale data and GPU-based computation. AlexNet also used rectified linear activations and dropout, among other design and training choices. Its results helped drive greater interest in deep learning for image recognition, although the broader rise of CNNs also depended on the development of datasets, hardware, and techniques beyond this single model.98
Subsequent architectures altered how CNNs were organized and trained. In 2015, Kaiming He and co-authors introduced residual networks, which use shortcut connections to help information pass through very deep models. Their ImageNet experiments included a 152-layer network, and their paper reported that an ensemble of residual networks achieved a 3.57 percent error rate on the ImageNet test set. Residual connections became one influential strategy for building deeper convolutional systems.10
Applications
Image classification assigns one or more labels to an image, while object detection identifies and locates particular items within it. CNN-based methods have also been used for segmentation, which labels image regions or pixels, and for processing sequences of images in video. The same broad architecture can be adapted to other grid-structured data: one-dimensional convolutions can process sequences, and multidimensional convolutions can be applied to volumetric inputs. The exact design depends on the structure of the data and the task.2
Medical imaging is one area in which researchers have studied CNNs for classification, detection, segmentation, and image reconstruction. Inputs may include X-rays, magnetic resonance images, or computed tomography scans, and proposed applications include identifying or outlining abnormalities. Published work describes potential uses in radiology and other medical fields, but research performance alone does not establish suitability for routine clinical use. Assessment also depends on factors such as data quality, validation, and the effects of errors in the intended setting.111
CNNs have also been applied to tasks beyond conventional photographs, including speech and language processing. In such cases, the input may be represented as a grid—for example, a time-frequency representation of sound—so that local patterns can be processed with convolutional filters. Research surveys describe applications in speech, natural language processing, and other domains, but CNNs are one family among several architectures used for these problems.12
Limitations
CNNs’ built-in preference for local patterns and shared filters is useful when those assumptions match the data, but can be less suited to tasks where distant relationships are central. A conventional convolution initially combines information from a local region; deeper layers can connect broader parts of an input, but doing so may require additional layers or other design choices. CNNs can also demand substantial computation and large labeled datasets, especially when trained as deep models for complex tasks. In medical imaging, reviews specifically identify small datasets and overfitting as concerns.31
Like other neural networks, CNNs can make incorrect predictions, and their internal computations may be difficult to interpret directly. Research has also shown that neural-network image classifiers can be sensitive to small, deliberately chosen input changes that alter a prediction; such cases are commonly studied as adversarial examples. These findings do not mean that every CNN fails in the same way, but they illustrate why accuracy on a test set is not a complete measure of reliability.132
Current role
CNNs remain an active area of research, but they no longer define the only major approach to image recognition. The Vision Transformer, introduced in a 2020 paper, processes images as sequences of patches rather than relying on conventional convolutional layers. Its authors reported strong results after pretraining on large datasets, while noting that transformers lack some CNN properties, such as locality and translation equivariance, that can help when training data are more limited. These findings established a comparison between different architectural assumptions, not a universal winner for every application.14
Recent CNN research includes changes to convolution and pooling, efforts to improve computational efficiency, and hybrid systems that combine CNNs with transformers or recurrent networks. Such designs seek to use convolutional feature extraction alongside methods for modeling broader context or sequential structure. Reviews published in 2026 describe these as continuing directions, while also noting unresolved issues in efficiency, interpretability, and deployment. CNNs therefore remain both a widely studied architecture and a component that may be combined with other model types.2
References
14 sourcesproceedings.mlr.press/v139/d-ascoli21a/d-ascoli21a.pdfproceedings.mlr.press· cited 2×
ncbi.nlm.nih.gov/books/NBK597497ncbi.nlm.nih.gov· cited 2×
papers:lecun-98h [leon.bottou.org]bottou.org
pmc.ncbi.nlm.nih.gov/articles/PMC6279369pmc.ncbi.nlm.nih.gov· cited 2×
Krizhevsky nips2012 alexnetcs.cmu.edu· cited 3×
Deep Residual Learning for Image Recognitionarxiv.orgDec 10, 2015
Explaining and Harnessing Adversarial Examplesarxiv.orgDec 20, 2014
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalearxiv.orgOct 22, 2020