History of Artificial Intelligence
From Perceptrons to Deep Learning: A History of Neural Networks
1. The Rise and Importance of Artificial Intelligence
Artificial intelligence (AI) refers to computer systems designed to perform tasks that normally require human intelligence, such as recognizing patterns, making decisions, understanding language, driving vehicles, and learning from experience.
AI is now integrated into many aspects of daily life:
Autonomous and assisted driving systems use AI to interpret their surroundings.
Robotic devices can clean homes and perform other household tasks.
Some people use AI-based systems for conversational support or therapy.
Recommendation algorithms on video, shopping, and social-media platforms often rely on neural networks.
AI systems are used for speech recognition, image classification, translation, medical analysis, and scientific research.
The rapid development of AI during the last decade has been described as a new industrial revolution because modern AI has begun transforming science, industry, transportation, communication, and everyday life.
However, the history of AI has not been a continuous success story. Neural networks experienced periods of intense excitement followed by severe disappointment. These periods of reduced funding and research activity are called AI winters.
2. Digital Computers and the Need for Flexible Machines
During the 1950s, after World War II, digital computers were becoming increasingly important. Early computers had originally been developed for tasks such as codebreaking, military communication, and scientific calculation.
Computers were soon used for:
Calculating missile trajectories
Running scientific simulations
Exploring mathematical problems
Playing simple games
Processing large quantities of numerical information
Despite their power, early computers had a major limitation: they were generally designed for specific tasks. Solving a new problem often required designing or reconfiguring an entire machine.
This limitation was especially serious because computers in the 1950s were physically enormous, often filling entire rooms. A flexible machine that could learn how to perform different tasks would therefore be much more useful than a separate custom-built computer for every problem.
This search for flexibility helped motivate research into machines modeled after the human brain.
3. The Biological Neuron
In the 1940s, Warren McCulloch and Walter Pitts developed a simplified mathematical model inspired by the biological neuron.
Structure and operation of a biological neuron
A biological neuron generally works as follows:
Dendrites receive electrical signals from other neurons.
The signals travel toward the cell body.
The neuron combines the incoming signals.
If the combined signal is strong enough, the neuron fires.
The fired signal travels onward to other neurons.
If the total signal is insufficient, the neuron remains inactive.
The key idea is that a neuron does not respond equally to every input. Some incoming signals may be more influential than others, and the neuron fires only when the combined influence reaches a sufficient level.
The digital neuron model
The McCulloch–Pitts model represented each input with a numerical value. Each input was multiplied by a weight, which represented the importance of that input.
For inputs x1,x2,…,xn and weights w1,w2,…,wn, the neuron calculates a weighted sum:
A threshold determines whether the neuron activates:
The value 1 represents an active or firing neuron, while 0 represents an inactive neuron.
Limitation of the original model
The weights had to be selected manually. Once a neuron had been constructed, its behavior was fixed unless a person changed the weights.
This meant that the model reproduced the structure of a neuron but not its ability to learn. A useful artificial system would need to adjust its own weights based on experience.
4. Rosenblatt’s Perceptron
In the 1950s, psychologist Frank Rosenblatt developed the perceptron, one of the earliest trainable AI models.
The perceptron extended the basic artificial neuron by adding:
Weights, which determine the importance of inputs
A bias, which shifts the activation threshold
A learning rate, which controls how much the weights change during learning
The perceptron’s weighted sum can be written as:
where:
xi is an input
wi is the weight associated with that input
b is the bias
z is the total activation before the threshold decision
The perceptron then applies a threshold function to produce an output of 0 or 1.
5. How a Perceptron Learns
A perceptron can learn a simple classification task, such as deciding whether a point lies above or below a line.
Classification example
Suppose each point has coordinates and belongs to one of two categories:
Points on one side of a line should produce an output of 1.
Points on the other side should produce an output of 0.
The perceptron begins with randomly chosen weights and bias values.
For each training example, it performs the following process:
Calculate the weighted sum of the inputs.
Add the bias.
Apply the threshold function.
Compare the predicted output with the expected output.
Adjust the weights and bias if the prediction is incorrect.
Error calculation
The error is calculated as the difference between the expected output and the predicted output:
This error indicates whether the perceptron has:
Overshot, producing an output that is too large
Undershot, producing an output that is too small
Predicted correctly, producing an error of zero
Weight update rule
The weights are updated using the learning rate:
The bias is updated similarly, except it is not multiplied by an input:
where η is the learning rate.
The learning rate determines how strongly each mistake affects the next version of the perceptron.
A small learning rate produces small corrections.
A large learning rate produces larger corrections.
Repeated updates gradually move the decision boundary toward a better position.
Convergence
At first, a perceptron may classify many examples incorrectly. After repeated exposure to training examples, it adjusts its weights and bias.
For a linearly separable problem, the perceptron can eventually converge on a decision boundary that correctly separates the classes. Once the appropriate weights are found, the perceptron can classify every point in the training problem correctly.
6. The Mark I Perceptron and Early AI Optimism
In 1957, Rosenblatt combined perceptron units with sensors and threshold mechanisms to construct the Mark I Perceptron.
The machine could learn to recognize certain shapes and patterns with relatively little direct human programming. This was revolutionary because it suggested that machines might learn from examples rather than requiring every rule to be written manually.
The perceptron generated enormous enthusiasm. Some observers believed that increasingly sophisticated versions might eventually be able to:
Walk
Talk
See
Write
Reproduce themselves
Become conscious
The early optimism reflected a widespread belief that the perceptron might be a general-purpose learning machine capable of solving almost any problem.
The United States government provided substantial funding for this research, increasing both the resources available and the expectations placed on neural networks.
7. The Perceptron’s Critical Limitation
In 1969, Marvin Minsky and Seymour Papert published a major analysis of perceptrons. They demonstrated that a single-layer perceptron could solve only problems that were linearly separable.
Linear separability
A classification problem is linearly separable if a single straight line can divide the categories in two dimensions. In higher dimensions, the equivalent boundary is a plane or hyperplane.
For example, a perceptron can classify points according to whether they lie on one side or the other of a line.
The circle problem
Consider a task in which:
Points inside a circle belong to one class.
Points outside the circle belong to another class.
No single straight line can separate every point inside the circle from every point outside it. The boundary must be curved.
Therefore, the problem is not linearly separable, and a single perceptron cannot solve it.
A single perceptron can represent only a linear decision boundary. It cannot solve classification tasks that require fundamentally nonlinear boundaries.
Consequences
Minsky and Papert’s work changed perceptions of neural networks:
The perceptron could not solve every possible problem.
Its usefulness was limited to a relatively narrow class of tasks.
Research funding declined.
Government support was reduced.
Neural-network research became less popular.
This began the first AI winter, during which neural-network research largely stalled for approximately 15 years.
Frank Rosenblatt died in a boating accident in 1971 at the age of 43, before later developments demonstrated how his original ideas could be extended.
8. Early Multilayer Neural Networks
The limitation identified by Minsky and Papert applied to a single-layer perceptron. It did not mean that neural networks with multiple layers were incapable of solving nonlinear problems.
Ukrainian researcher Alexey Ivakhnenko developed important early multilayer neural-network ideas in the 1960s and 1970s. He built upon Rosenblatt’s work by stacking neurons into multiple connected layers.
Structure of a multilayer network
A multilayer neural network typically includes:
An input layer, which receives the data
One or more hidden layers, which transform the data internally
An output layer, which produces the final prediction
Each neuron in one layer sends its output to neurons in the next layer. The resulting interconnected structure is the familiar neural-network diagram.
Nonlinear activation functions
After calculating the weighted sum, each neuron applies an activation function:
The activation function determines the neuron’s output.
A nonlinear activation function is essential. If every layer used only linear operations, then a network with many layers would still behave like one large linear transformation. It would not be able to represent curved or complex decision boundaries.
A common modern activation function is the rectified linear unit (ReLU):
ReLU outputs zero for negative values and preserves positive values.
Why multiple layers solve nonlinear problems
Each layer transforms the representation of the input. Early layers may detect simple patterns, while later layers combine those patterns into increasingly complex structures.
For example:
An early layer might detect basic geometric features.
A middle layer might combine those features into shapes.
A later layer might use the shapes to classify an object.
This layered transformation allows a multilayer network to model nonlinear relationships that a single perceptron cannot represent.
The training challenge
Adding hidden layers and nonlinear activation functions creates a major training problem. Rosenblatt’s original perceptron learning rule is not sufficient for efficiently adjusting all the weights in a multilayer network.
Ivakhnenko proposed a technique called the Group Method of Data Handling, but the importance of his work was not widely recognized at the time. Limited interest in neural networks and the isolation of Soviet research contributed to the lack of immediate attention.
9. Backpropagation
During the 1980s, David Rumelhart, Geoffrey Hinton, and Ronald Williams helped popularize backpropagation, an efficient method for training multilayer neural networks.
Backpropagation became one of the foundational algorithms of modern AI because it allows a network to determine how each weight contributed to the final error.
10. Forward Pass Through a Multilayer Network
Consider a simple multilayer perceptron designed to classify whether a point lies inside or outside a circle.
The network contains:
An input layer containing the coordinates or features of the point
A hidden layer
An output layer containing two neurons
The output neurons represent the two possible classes:
Inside the circle: expected output (1,0)
Outside the circle: expected output (0,1)
The larger output determines the predicted class.
Steps in a forward pass
Inputs enter the input layer.
Each neuron computes a weighted sum and bias.
The hidden layer applies an activation function such as ReLU.
The hidden-layer outputs are passed to the output layer.
The output layer calculates its own weighted sums.
The output layer applies a probability-producing activation function.
For a neuron in a layer, the calculation is generally:
followed by:
where:
ai is an activation from the previous layer
wji is the weight connecting the previous neuron to the current neuron
bj is the current neuron’s bias
zj is the weighted sum
aj is the resulting activation
Softmax output
The output layer often uses softmax, which converts raw output values into probabilities:
The resulting probabilities add up to 1. This makes the network’s confidence in each class easier to interpret and provides a smooth output that can be used during training.
11. Loss Functions
A neural network’s weights and biases are initially random. The network must therefore measure how far its prediction is from the correct answer.
A loss function assigns a numerical value to the network’s error.
A low loss means the prediction is close to the expected answer.
A high loss means the prediction is far from the expected answer.
Training aims to minimize the loss.
One simple loss function is squared error loss:
where:
y^i is the network’s predicted output
yi is the expected or ground-truth output
L is the total loss
The difference is squared so that:
Negative and positive errors cannot cancel each other.
Larger errors receive greater emphasis.
The result is always nonnegative.
A neural network can be viewed mathematically as a function that maps inputs, expected outputs, and parameters to a loss:
where:
X represents the input
Y represents the ground truth
θ represents all weights and biases
L represents the resulting loss
The objective of training is to find parameter values θ that make L as small as possible.
12. Gradient Descent
Training requires changing the weights and biases in the direction that reduces the loss. Gradient descent is the general optimization method used for this purpose.
A simple one-variable example
Imagine a loss function f(x) with a minimum. The current value of x represents the current model parameters.
The derivative f′(x) gives the slope:
If f′(x)<0, the function slopes downward as x increases.
If f′(x)>0, the function slopes upward as x increases.
If f′(x)=0, the point may be a minimum, maximum, or flat region.
The update rule is:
The derivative is subtracted because the goal is to move downhill toward lower loss.
The learning rate
The learning rate η controls the size of each update.
Learning rate too large: The updates may overshoot the minimum, oscillate, or converge to a poor solution.
Learning rate too small: The model may eventually reach a good solution, but training can become extremely slow.
Appropriate learning rate: The model moves steadily toward a low-loss region.
Selecting an effective learning rate is therefore central to successful training.
Stochastic gradient descent
The source identifies stochastic gradient descent as an approach for minimizing a loss function. Instead of calculating updates using every training example at once, stochastic methods can use individual examples or small batches, making training more practical for large datasets.
13. Gradients in Neural Networks
A neural network has many parameters rather than just one variable. Each weight can affect the final loss, so training requires the derivative of the loss with respect to every weight.
These partial derivatives together form the gradient:
The gradient indicates how the loss changes when each parameter changes slightly.
The general parameter update is:
Although a neural network may contain millions or billions of parameters, the principle remains the same: adjust every parameter in the direction that reduces the loss.
14. How Backpropagation Computes Gradients
Backpropagation efficiently computes the gradient by applying the chain rule of calculus through the network.
It begins at the output layer, where the prediction error is known, and works backward through the hidden layers.
Gradient for a weight
For a weight connecting neuron j in one layer to neuron i in the next layer, the derivative of the loss with respect to that weight can be expressed conceptually as:
where:
δi is the error signal, or delta, for the receiving neuron
aj is the activation produced by the neuron in the previous layer
This relationship is important because the same delta appears for every weight entering a particular neuron. Once the delta is calculated, it can be reused for all incoming connections.
The delta term
For an output neuron, the delta combines:
The derivative of the loss with respect to the neuron’s output
The derivative of the activation function
Conceptually:
For squared error, the loss-related term is based on the difference between the predicted and expected outputs:
The activation derivative determines how strongly the neuron’s pre-activation influenced its output.
The weighted sum zi and the activation ai were already calculated during the forward pass, so they can be stored and reused during backpropagation.
Bias updates
Because a bias is added directly to a neuron’s weighted sum, its gradient is the neuron’s delta:
Thus, once the delta is known:
A weight update uses the delta multiplied by the preceding activation.
A bias update uses the delta directly.
Propagating deltas to hidden layers
For a hidden neuron, its delta depends on the deltas of neurons in the layer ahead of it:
This means the hidden neuron’s error signal is determined by:
The deltas of connected neurons in the next layer
The weights connecting the hidden neuron to those neurons
The derivative of the hidden neuron’s activation function
The calculation resembles the forward weighted sum, but it proceeds in the reverse direction.
Why it is called backpropagation
Backpropagation is named for the direction in which error information moves:
The network performs a forward pass to produce an output.
The loss is calculated.
Deltas are calculated at the output neurons.
Those deltas are propagated backward through the network.
The gradients are used to update all weights and biases.
This method avoids recalculating the same information repeatedly. Its efficiency makes it possible to train multilayer networks with many parameters.
15. Early Demonstrations of Multilayer Networks
Once backpropagation made multilayer training practical, neural networks began solving tasks that single perceptrons could not handle.
NETtalk
In 1987, Terry Sejnowski and Charles Rosenberg developed NETtalk, a neural network that learned to convert written English into speech sounds.
The system was trained using approximately 10,000 words. Its speech was imperfect, but the demonstration showed that neural networks could learn relationships between written language and pronunciation.
This was significant because the network was not given a complete pronunciation rule for every word. Instead, it learned patterns from examples.
ALVINN
In 1989, Dean Pomerleau developed ALVINN, a neural network designed for autonomous driving.
The system used sensory information to help control a vehicle. It demonstrated that neural networks could be applied to real-world perception and navigation tasks long before autonomous driving became a major commercial research area.
Together, systems such as NETtalk and ALVINN showed that neural networks could be used for:
Language and speech
Pattern recognition
Autonomous navigation
Sensor interpretation
Real-world decision-making
16. The Second AI Winter
Despite these successes, neural networks still faced severe practical limitations during the 1980s and 1990s.
Computational demands
Complex problems require networks with:
Many layers
Large numbers of neurons
Numerous weights and biases
Large training datasets
Extensive computation
The computers available during the 1980s and 1990s were not powerful enough to train large neural networks efficiently.
As a result:
Training took too long.
Large experiments were expensive.
Neural networks were often impractical outside demonstrations.
Researchers and funders shifted attention to other methods.
This decline in interest marked the beginning of the second AI winter, which extended from roughly the early 1990s into the 2000s.
The central problem was not that neural networks were theoretically incapable. Rather, the available hardware, datasets, and computational resources were insufficient for their potential to be fully realized.
17. The Revival of Deep Learning
In 2012, Alex Krizhevsky, working with collaborators, used a deep convolutional neural network to achieve a major breakthrough in a highly competitive image-recognition challenge. The system, commonly known as AlexNet, was built on ideas associated with Yann LeCun and earlier convolutional-network research.
This achievement demonstrated that neural networks could outperform established computer-vision techniques when provided with:
Large training datasets
Powerful graphics-processing hardware
Deep network architectures
Effective activation functions
Efficient optimization methods
Backpropagation-based training
The breakthrough helped launch the modern deep learning revolution.
Why the timing mattered
Neural networks had existed for decades, but several conditions finally aligned:
Computers became dramatically more powerful.
Graphics processing units accelerated mathematical operations.
Digital datasets became much larger.
Storage became cheaper.
Better training algorithms and architectures were developed.
Researchers gained access to large labeled datasets.
The resulting systems could train networks far larger and more capable than those available during earlier periods.
18. Overall Development of Neural Networks
The historical progression can be summarized as follows:
McCulloch–Pitts neuron: Established a mathematical model inspired by biological neurons.
Rosenblatt perceptron: Added trainable weights, bias, and learning rules.
Perceptron limitation: Demonstrated that a single layer cannot solve nonlinearly separable problems.
Early multilayer research: Showed that stacking neurons could represent more complex functions.
Nonlinear activation functions: Allowed networks to form curved and highly complex decision boundaries.
Backpropagation: Provided an efficient method for calculating gradients through multiple layers.
Early applications: Demonstrated neural networks in speech synthesis and autonomous driving.
Second AI winter: Limited computing power made complex networks impractical.
Deep-learning revival: Larger datasets, better hardware, and improved methods made large neural networks highly effective.
Modern AI is built on the combination of multilayer architectures, nonlinear activation functions, loss functions, gradient-based optimization, and backpropagation.
The most important conceptual transition was from manually programmed machines to systems that adjust internal parameters from examples. Neural networks became powerful not because the basic neuron changed fundamentally, but because researchers learned how to combine many neurons, train them efficiently, and provide enough data and computation for them to discover complex patterns.

Ask anything
We've read this whole study set, so questions about it get the best answers.