History of Artificial Intelligence


History of Artificial Intelligence

Corey
Artificial intelligence is everywhere today. It drives cars, helps clean houses, is used by some people as therapy, and even recommends videos through algorithms based on neural networks. Many experts describe the recent surge as part of a fifth industrial revolution, but the path to modern AI was far from straightforward.

Simon
Right. The story begins in the 1950s, after World War II, when digital computers were becoming useful for much more than codebreaking. They could calculate missile trajectories, run simulations, and play simple games. But there was a major limitation: for each new task, engineers often had to design a separate machine.

Corey
And these were not small machines that you could casually reprogram. Computers filled entire rooms, so creating a custom system for even a simple problem required enormous effort. That made researchers wonder whether a computer could learn to solve different tasks instead of being manually built for each one.

Simon
One important researcher was Frank Rosenblatt, a 29-year-old psychologist interested in understanding how the brain works. Earlier, in 1943, Warren McCulloch and Walter Pitts had proposed a digital model inspired by a biological neuron. Their work provided the basic idea for an artificial neuron.

Corey
A biological neuron receives electrical signals through branches called dendrites. Those signals reach the cell body, and if the combined signal is strong enough, the neuron fires a pulse onward. Otherwise, it stays silent. The McCulloch-Pitts model simplified that process into numbers.

Simon
In the digital version, each input has a numerical value and is multiplied by a weight. The weighted inputs are added together, and if the total exceeds a threshold, the neuron outputs one. If it does not, the neuron outputs zero. So the model behaves like a tiny yes-or-no decision maker.

Corey
But there was still a serious problem. Once the neuron was built, its weights were fixed, and someone had to set them by hand. Rosenblatt's key idea was to let the machine adjust those weights by itself.

Simon
Imagine asking the neuron to classify points as being above or below a line. At first, the weights and a new parameter called the bias are random. The neuron processes a point, compares its output with the correct answer, and checks whether it made a mistake.

Corey
If the neuron gets the point right, the weights can remain unchanged. If it predicts one when the expected answer is zero, or zero when the expected answer is one, the neuron calculates an error: the expected output minus the predicted output.

Simon
Then it updates each weight using the learning rate multiplied by the input and by that error. The bias is updated using the learning rate and the error, but without multiplying by an input. The learning rate controls how large each adjustment is.

Corey
By repeating this process across many examples, the decision boundary gradually moves into a better position. The neuron may get many examples wrong at first, but its updates bring it closer to the correct boundary. Eventually, for a linearly separable problem, it can converge on weights that classify every point correctly.

Simon
In 1957, Rosenblatt combined multiple such neurons with sensors and thresholds to create the Mark I perceptron. It was essentially the first trainable AI model. It could learn to recognize shapes and patterns with very little human intervention, which was astonishing for the late 1950s.

Corey
The excitement became enormous. The New York Times described the Navy's machine as learning by doing and suggested that it might eventually walk, talk, see, write, reproduce itself, and become conscious. Rosenblatt also predicted that machines with human-like qualities might soon emerge.

Simon
That optimism attracted substantial funding, including support from the United States government. But in 1969, Marvin Minsky and Seymour Papert published a book called Perceptrons that exposed a fundamental weakness.

Corey
A single perceptron can only solve problems that are linearly separable. That means one straight line, or in higher dimensions one flat boundary, must be able to separate the categories. Classifying points above and below a line works, but classifying points inside and outside a circle does not.

Simon
The problem was not just that one particular example was difficult. Minsky and Papert showed that a single perceptron could not handle any problem where no single straight boundary separates the classes. That dramatically changed the perception of Rosenblatt's invention: it was no longer seen as a machine capable of solving almost anything.

Corey
Funding and interest quickly declined, and neural-network research largely stalled for nearly fifteen years in what is now called the first AI winter. Rosenblatt himself died in a boating accident in 1971 at the age of 43, without seeing the later revival of his ideas.

Simon
But the apparent dead end had actually been addressed earlier. In 1965, the Ukrainian researcher Alexey Ivakhnenko built on Rosenblatt's work by stacking neurons into multiple connected layers. In a 1971 paper, he described what is considered one of the earliest deep neural networks.

Corey
The basic idea is intuitive. Instead of using just one neuron, we organize many neurons into layers. Each neuron sends its output forward to neurons in the next layer. That layered structure is the source of the familiar neural-network diagrams.

Simon
The crucial addition is a nonlinear activation function. After calculating a weighted sum, a neuron applies this function before passing its result onward. Modern networks commonly use the rectified linear unit, or ReLU, although other nonlinear functions can also be used.

Corey
Nonlinearity allows the network to represent boundaries that a single straight line cannot. That is how a multilayer network can approach problems such as deciding whether a point is inside or outside a circle. But the extra layers and nonlinear functions create a new challenge: Rosenblatt's simple learning rule is no longer enough.

Simon
Ivakhnenko proposed a technique called the group method of data handling, but his ideas received little attention at the time. Interest in neural networks was already low, and his work was being done in the Soviet Union. It was not until the mid-1980s that David Rumelhart, Geoffrey Hinton, and Ronald Williams helped popularize backpropagation.

Corey
Backpropagation became one of the most important algorithms in computing because it efficiently calculates how every weight should change. Let's use the circle problem again. A simple multilayer perceptron might have an input layer, a hidden layer, and an output layer with two neurons.

Simon
The two output neurons represent the two possible classes. If the first output is larger, the network predicts that the point is inside the circle. If the second is larger, it predicts outside. The expected output might be one-zero for inside and zero-one for outside.

Corey
The network begins with randomly initialized weights and biases. During a forward pass, each layer calculates weighted sums, applies its activation function, and sends the results to the next layer. In the output layer, a function called softmax converts the outputs into probabilities that add up to one.

Simon
Next, the network needs to measure how wrong its prediction was. That measurement is the loss function. With squared-error loss, we subtract the expected value from the network's output, square the difference so positive and negative errors cannot cancel, and add the squared differences together.

Corey
We can think of the entire neural network as a mathematical function. Given an input and its ground truth, it produces a loss. Training means changing the weights and biases so that this loss becomes as close to zero as possible.

Simon
One way to do that is stochastic gradient descent, proposed by Shun-ichi Amari in 1967. Picture the loss as a landscape and the current weights as your position on it. The derivative tells you the slope, and subtracting the derivative moves you downhill toward a lower loss.

Corey
The learning rate determines the size of each step. If it is too large, the updates can overshoot the minimum or move toward a less optimal solution. If it is too small, the network may eventually reach a good point, but training can take an extremely long time.

Simon
For a neural network, there is not just one variable and one derivative. There are many weights, so we need a gradient: all of the partial derivatives of the loss with respect to all of those weights. Backpropagation is the efficient method for computing that gradient.

Corey
The key insight is that the derivative for a weight can be broken into useful pieces. One part asks how the loss changes with respect to that weight. Another part is the output from the previous neuron, which was already calculated during the forward pass. The remaining central part describes how strongly the current neuron contributes to the error.

Simon
That central quantity is called the neuron's delta. For an output neuron, it combines the prediction error with the derivative of the activation function. Once the delta is known, the weight update is essentially a multiplication involving that delta and the previous neuron's output. The bias uses the delta directly as its update factor.

Corey
For a neuron in an earlier layer, its delta is found by taking the deltas from the layer to its right, multiplying each by the connecting weight, adding them together, and multiplying by the derivative of its activation function. This is like reversing the weighted-sum process from the forward pass.

Simon
That is why the method is called backpropagation. The error information begins at the output neurons and moves backward through the network, layer by layer. Reusing these intermediate calculations avoids a huge amount of redundant work.

Corey
Backpropagation made multilayer networks practical in principle and removed the old nonlinearity barrier. In 1987, Terry Sejnowski's NetTalk demonstrated this potential by learning to turn written English into speech sounds after training on about 10,000 words.

Simon
And in 1989, Dean Pomerleau created ALVINN, a neural network designed for autonomous driving. So neural networks were already performing tasks that look surprisingly modern, even though the technology was still far from today's systems.

Corey
The obstacle was computational power. Complex problems require large networks and enormous amounts of training computation. Computers in the 1980s and 1990s were not powerful enough to make many of these networks useful in practice.

Simon
As a result, funding was cut again, attention moved elsewhere, and progress slowed from the early 1990s into the 2000s. This period is often called the second AI winter. The ideas existed, but the hardware and available computation were not yet sufficient for their full potential.

Corey
Then, in 2012, a young researcher named Alex Krizhevsky revived an idea introduced in 1989 by Yann LeCun and used it to win one of the world's toughest AI competitions. That breakthrough reignited interest in deep learning.

Simon
And that was the spark for the modern deep-learning revolution, transforming AI, science, industry, and everyday life. The larger lesson is that today's AI did not appear suddenly: it grew from neuron models, learning rules, multilayer networks, backpropagation, better computation, and breakthroughs that arrived decades apart.

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