Artificial Intelligence Before the 'AI' hype: AI winters, tiny transist...

Before the 'AI' hype: AI winters, tiny transistors, and the road to Transformers

Before the 'AI' hype: AI winters, tiny transistors, and the road to Transformers

In my previous AI entry, I explored running a language model locally. You download some weights, start an inference engine, and suddenly your computer is producing paragraphs. Slowly, perhaps, but still paragraphs.

It is easy to look at that experience and imagine that artificial intelligence appeared when somebody finally gave a chatbot a friendly interface. The actual story is much stranger, and much longer.

Researchers made gloriously ambitious plans in the 1950s, only to see funding disappear when reality refused to cooperate. Meanwhile, semiconductor engineers quietly improved the tiny switches underneath everything. Eventually, hardware, data, and learning algorithms came together at a scale that earlier researchers could barely afford to experiment with.

So, before opening the hood of a Transformer, I want to take a step back: how did we get a machine capable of training one in the first place?

Two reading companions for the road. This post’s historical backbone owes a great deal to Stuart Russell and Peter Norvig’s Artificial Intelligence: A Modern Approach, especially Chapter 1: the early ambitions, the symbolic and neural traditions, and the boom-and-winter cycles (Russell & Norvig, 2021).

For the stretch from neural-network learning to the deep-learning revival, Yann LeCun, Yoshua Bengio, and Geoffrey Hinton’s Deep Learning is the other recurring guide (LeCun et al., 2015). Rather than make these companions wave from the end of every paragraph, I acknowledge their influence here and keep citations along the way for particular papers, historical documents, and results.

A summer with an ambitious to-do list

The roots reach back before the usual birthday. In 1943, Warren McCulloch and Walter Pitts described a mathematical model of neuron-like units. Rather than miniature biological brains, these were simplified computational elements that suggested how networks could perform logical operations. In 1950, Alan Turing’s Computing Machinery and Intelligence reframed the question of machine intelligence through what became known as the imitation game (Turing, 1950).

Before the mathematics, here is the biological inspiration:

Schematic biological neuron showing branching dendrites, the cell body and nucleus, a myelinated axon with nodes of Ranvier, and synaptic terminals. Signaling typically travels from the dendrites toward the axon terminals.
Figure 1. Anatomy of a biological neuron. Original schematic, not to scale. Select the image to enlarge.

Dendrites typically receive incoming signals, while the cell body (soma) contains the nucleus and integrates those inputs. The axon carries action potentials toward the synaptic terminals, which communicate with other cells. In this myelinated example, the myelin sheath helps speed conduction, and the gaps between its segments are called nodes of Ranvier. Not every neuron has this shape or a myelinated axon.

The artificial neurons we will meet borrow the idea of combining inputs and producing an output, not this entire biological machinery. No tiny axon is hiding inside your processor.

Then came the naming moment. In a proposal dated 1955, John McCarthy, Marvin Minsky, Nathaniel Rochester, and Claude Shannon outlined a summer research project to be held at Dartmouth in 1956. The proposal used the term artificial intelligence and included language, abstraction, learning, and self-improvement in its ambitions (McCarthy et al., 1955).

Those dates are easy to mix up. Although the proposal was written in 1955, the gathering itself took place in 1956. Dartmouth is commonly treated as AI’s founding event, not as the moment somebody first wondered whether machines could think.

Two influential traditions provide a useful thread through this history, even though they do not cover the whole field:

  • Symbolic AI: represent knowledge with symbols and rules, then search or reason over them. Give the machine explicit instructions about how its little world works. This tradition shaped work in knowledge representation, search, and language understanding.
  • Neural approaches: connect simple computational units and adjust their connections from examples. Give the machine a learning procedure rather than a rule for every possible situation. This tradition predates the AI winters; its fortunes changed over time, with renewed interest in multilayer learning and backpropagation in the mid-1980s.

These were not sealed-off camps, and AI has never consisted of only two methods. But the contrast is useful: write down the knowledge versus learn a useful representation from experience.

Frank Rosenblatt’s perceptron work in the late 1950s gave the second approach an influential early example. A simple perceptron makes a decision by combining weighted inputs and applying a threshold. During training, those weights are adjusted so it can learn certain classifications without someone having to hand-write every decision rule.

That sounds familiar because the broad idea is still with us. The scale, architecture, and training methods have changed rather dramatically.

A simple perceptron combines three inputs using learned weights, adds a bias, and applies a threshold to produce a binary output: 1 if the weighted sum plus bias is at least zero, and 0 otherwise.
Figure 2. A simple perceptron: weighted inputs and a bias feed a threshold function that produces a binary decision. Training adjusts the weights and bias. Original schematic. Select the image to enlarge.

By the 1960s, the ambition was also moving off the screen. The Computer History Museum’s account of Shakey, that describes as a robot developed at the Stanford Research Institute between 1966 and 1972 that combined sensing, planning, and movement in rooms containing blocks and ramps. It was a research robot, not a household assistant, but its work advanced visual analysis and route finding (Computer History Museum, n.d.).

Getting a robot across a room turns out to be a rather good way to discover everything your tidy theory forgot about the room.

From promising demonstrations to a very cold reality

Early systems produced genuine achievements in game-playing, theorem proving, and carefully controlled tasks. The trouble was assuming that a program working in a small, tidy world was nearly ready for the large, untidy one outside the laboratory.

Anyone who has taken a research prototype into production can probably feel this paragraph in their bones. Consider a search procedure with ten possible choices at each step. Exploring all sequences of six steps means considering a million possibilities. At twelve steps, it is a trillion. The example is deliberately simple, but the lesson is not: a slightly larger problem can demand vastly more computation.

This is a combinatorial explosion. Faster hardware helps, but a tenfold improvement in your machine does not rescue an algorithm whose workload has grown a millionfold.

Neural approaches had their own difficulties. A single-layer perceptron cannot represent every classification rule. The familiar XOR example, where the answer is true only when two binary inputs differ, cannot be separated with a single straight decision boundary. Marvin Minsky and Seymour Papert explored limitations of perceptron models in their 1969 book Perceptrons: An Introduction to Computational Geometry (Minsky & Papert, 1969). Their findings did not, however, prove that every multilayer neural network was doomed.

Nevertheless, enthusiasm and funding for neural-network research suffered. In Britain, the 1973 Lighthill report criticized the field, including its difficulty overcoming combinatorial explosion, and contributed to severe reductions in support. This is the territory usually described as the first AI winter, broadly associated with the 1970s.

Winter did not mean that nobody made progress. It meant declining confidence and support in important parts of the field. Hardware limitations were real, but so were weak methods, brittle demonstrations, and promises that ran far ahead of results.

There was another boom around expert systems: programs encoding specialist knowledge in rules. These delivered useful applications, including configuring computer orders, but acquiring and maintaining all that knowledge was expensive. Systems could struggle when the world changed or uncertainty did not fit their rules. The commercial enthusiasm of the 1980s gave way to another period of disappointment around the late 1980s and early 1990s.

There is no single worldwide date when AI was switched off and subsequently switched back on. Different approaches, institutions, and countries experienced these cycles differently. And while investors and funders changed their minds, work on learning, probability, and neural networks continued.

Meanwhile, something very small was getting very important

To understand the eventual comeback, we need to leave the AI laboratory for a moment and visit the semiconductor factory. An artificial neuron is a mathematical operation. A transistor is a physical electronic device. They are not the same thing, and a neural network does not normally assign one transistor to each artificial neuron.

Instead, processors built from transistors execute the arithmetic, while memory stores the model’s weights and working data. That distinction makes the hardware story much more interesting than “we finally built enough electronic neurons.”

From individual switches to circuits on a chip

The Computer History Museum traces this breakthrough in 1947: Invention of the Point-Contact Transistor. At Bell Labs in 1947, John Bardeen and Walter Brattain demonstrated the device within the solid-state research effort led by William Shockley. It offered a path beyond the vacuum tubes used in early electronic equipment (Computer History Museum, n.d.).

What does either device actually do? Think of an electrically controlled valve: one signal regulates how much electricity can flow through another part of a circuit. Both vacuum tubes and transistors can amplify signals or serve as switches. In digital circuits, those switches help represent the zeros and ones used in computation.

Comparison of two electrically controlled valves. A vacuum tube uses a heated cathode to release electrons across a vacuum, with a grid controlling their passage to a collecting plate. A MOS transistor uses a gate voltage to control a conducting channel in a solid semiconductor, without a heated cathode or vacuum enclosure.
Figure 3. Same job, different machinery: a vacuum triode controls electrons crossing a vacuum, while a MOS transistor controls conduction inside a solid. The MOS example is a later chip-building design, not the original 1947 transistor. Original simplified schematic, not to scale; power supplies and most wiring are omitted. Select the image to enlarge.

In the vacuum tube, a heater makes the cathode hot enough to release electrons. A voltage on the intervening wire grid controls how many reach the collecting plate. Heating takes energy, produces heat, and requires a warm-up period.

In the MOS transistor shown here, a voltage on the gate changes how readily a conducting path forms between two terminals, called the source and drain. An insulating layer separates the gate from the semiconductor: its electric field controls the path without needing a hot cathode. Transistors still consume power and generate heat, but removing the heater and vacuum enclosure opened the way to much smaller devices, eventually packed by the billions onto chips. MOS transistors came later, however it’s worth to mention that the 1947 breakthrough used a different architecture, namely, the point-contact structure.

What followed was not one miraculous invention but a succession of manufacturing and design advances:

Development Why it mattered for computing
Transistors replacing vacuum tubes A route toward smaller electronic switching devices without the tubes’ heated cathodes.
Integrated circuits, demonstrated and developed in the late 1950s Multiple components and their connections could be built together rather than individually assembled.
Planar silicon manufacturing A practical foundation for making and interconnecting devices on a chip at scale.
MOS transistors, developed in 1959 and demonstrated in 1960 A device structure well suited to dense integrated circuits and, eventually, large memories and processors.

The museum’s 1959: Practical Monolithic Integrated Circuit Concept Patented connects Jack Kilby’s early integrated-circuit demonstration in 1958 with Robert Noyce’s 1959 conception. Noyce used the planar process to make a practical monolithic circuit with connections formed on the chip (Computer History Museum, n.d.).

Another museum account, 1960: Metal Oxide Semiconductor (MOS) Transistor Demonstrated, follows Atalla and Kahng’s MOS transistor work, which supplied another crucial part of the scaling story (Computer History Museum, n.d.). Over the following decades, advances in fabrication, circuit design, and manufacturing economics put increasingly large amounts of computation and memory within reach. This did not automatically produce a good learning algorithm. It did make much larger experiments possible.

What Moore’s law does, and does not, promise

The museum’s 1965: Moore’s Law Predicts the Future of Integrated Circuits follows both the original observation and its later revision. In 1965, Gordon Moore described an approximately annual doubling in the number of components on economically attractive integrated circuits. In 1975, he revised the projected pace to roughly a doubling every two years (Computer History Museum, n.d.).

The important phrase is components on a chip. Moore’s law is not a law of physics promising that every application becomes twice as fast every two years. More transistors can support larger caches, more cores, and specialized arithmetic units. Whether a model trains faster also depends on memory bandwidth, communication, power consumption, software, and how well the computation fits the hardware. If your processor spends its time waiting for data, adding more arithmetic units can be a little like hiring more cooks for a kitchen with one very slow delivery driver.

Better hardware still needed something worth training

It would be tempting to write the rest of the story as: chips improved, therefore deep learning happened.

Training a neural network involves comparing predictions with targets and adjusting parameters to reduce an error measure. For a multilayer network, we need to determine how parameters in earlier layers contributed to the final error.

Backpropagation efficiently computes those derivatives by applying the chain rule backward through the computation. An optimizer then uses the derivatives to update the weights. The two are connected, but they are not the same operation. More technical details in my technical blog here.

Rumelhart, Hinton, and Williams’ 1986 paper helped popularize learning internal representations this way (Rumelhart et al., 1986). But the underlying ideas had been developing for years. The paper’s influence should not be confused with the invention of differentiation or the first backward-gradient calculation.

This made a richer kind of learning practical. Instead of asking a single decision boundary to do everything, multiple layers could learn successive transformations.

For images, an intuitive picture is that some early features respond to local edges, while later combinations capture more complex patterns. That is an explanatory sketch, not a guarantee that every network neatly organizes itself into human-readable concepts.

There were also successes before the famous 2010s boom, including convolutional networks for document recognition in the 1990s. Around 2006, layer-wise pretraining helped renew interest in deeper networks. Later successes drew on other improvements too, including activation functions such as ReLU, regularization, and better training practices.

So the winters did not leave an empty laboratory waiting for a faster chip. They left a complicated body of ideas, some useful results, and several problems still needing solutions.

The unexpected supporting actor: computer graphics

Neural-network training repeatedly performs operations on large arrays of numbers. A layer commonly involves multiplying matrices, adding offsets, and applying nonlinear functions. Training repeats related operations across examples and layers.

A CPU is a flexible generalist. A GPU devotes much of its design to high-throughput parallel work. Not every task suits a GPU, but large, well-organized batches of neural-network arithmetic often do.

Side-by-side CPU and GPU comparison. A CPU emphasizes fewer complex cores for varied tasks and decisions; a GPU emphasizes many arithmetic lanes for similar operations on large arrays. Neural-network layers offer many multiplications and additions that can run in parallel. CPUs also work in parallel, and GPU benefits depend on workload size, memory, data transfers, and software.
Figure 4. A CPU and a GPU divide their resources differently. Large neural-network operations often provide enough similar arithmetic to keep a GPU's many lanes busy, while the CPU runs and coordinates the application. Original conceptual schematic: blocks are not actual core counts or equivalent units, and this is not a performance benchmark. Select the image to enlarge.

Think of the CPU as a small team of versatile problem-solvers, and the GPU as a much larger team organized to carry out similar calculations together. In a neural-network layer, many input values must be multiplied by weights and added together. Much of that work can happen at the same time; matrix operations package it so the GPU can process many pieces in parallel. The same hardware can accelerate related calculations during training, not just the forward prediction.

This is a division of labor, not a contest with one universal winner. CPUs also have multiple cores and instructions that process several numbers at once. They remain useful for varied logic, preparing data, and coordinating computation, and can be the better choice for small workloads. A GPU earns its advantage when there is enough suitable work to offset setup and data-transfer costs, with enough memory capacity and bandwidth to feed the calculations. Some steps still depend on earlier results, so not everything runs at once.

Hardware originally developed for demanding graphics workloads therefore became useful for something rather different: learning from data.

The practical breakthrough was not just the silicon. Programmable GPU environments such as CUDA and optimized numerical software made that parallel hardware usable for research. The deep-learning revival benefited from both more convenient GPU programming and architectures that could exploit it.

Two other ingredients deserve equal billing:

  • Data and benchmarks. Large digital datasets supplied examples to learn from, while shared benchmarks made improvements easier to compare.
  • Memory and software. Training needs storage for weights, intermediate activations, gradients, and other working state. Better memory capacity and bandwidth, numerical libraries, and later frameworks made larger experiments more feasible and repeatable.

The real breakthrough was a combination: algorithms, data, compute, and tools.

And faster experiments have a second-order benefit. When an experiment takes days rather than an impractical length of time, researchers can try more ideas, identify failures sooner, and improve the next model. Compute changes the pace of discovery as well as the size of a network.

AlexNet: a result people could not easily ignore

In 2012, Alex Krizhevsky, Ilya Sutskever, and Geoffrey Hinton published the convolutional-network work now associated with AlexNet. Their network had roughly 60 million parameters, and training took about five to six days on two NVIDIA GTX 580 GPUs, each with 3 GB of memory.

The team’s winning ILSVRC-2012 competition entry achieved a 15.3% top-five test error, compared with 26.2% for the runner-up. Because that entry combined multiple networks, the winning score should not be attributed to a single network. Top-five error asks whether the correct category is missing from the model’s five highest-ranked guesses (Krizhevsky et al., 2012).

AlexNet did not invent neural networks, convolution, GPUs, or image recognition. It showed what their combination could deliver at a scale that made the result difficult to dismiss.

But language does not arrive as a photograph

Recognizing an object in an image and predicting the next word in a sentence are different problems.

Language has order, variable length, and dependencies that can stretch across a sentence. “The analyst who reviewed the reports was concerned” requires relating words that are not adjacent. A model also needs to represent similarities between words without treating every possible sentence as an entirely unrelated object.

Statistical language models already existed. Neural methods did not invent the idea of estimating the probability of text. An influential 2003 paper by Bengio and colleagues learned distributed word representations together with a probabilistic language model. Instead of representing every word as an isolated label, the system learned vectors that could help generalize across related contexts (Bengio et al., 2003). Now we have a useful ingredient: learned numerical representations of language. The next question is how to process the sequence.

Recurrence: read, update, repeat

A recurrent neural network, or RNN, processes a sequence while updating an internal state. Informally: read a word, update a summary, read the next word, and carry on. The difficulty is retaining and learning useful information across many steps. Gradients can become very small or very large, making long-range learning difficult. Long short-term memory, or LSTM, introduced by Hochreiter and Schmidhuber in 1997, was designed to address important aspects of this problem (Hochreiter & Schmidhuber, 1997).

In 2014, Sutskever, Vinyals, and Le demonstrated sequence-to-sequence learning with deep LSTMs: one network encoded an input sequence into a fixed-length representation, and another generated the output sequence (Sutskever et al., 2014). There is an obvious pressure point: asking one fixed-length representation to carry everything important about a long input. It is a little like reading an entire report, closing it, and trying to write an accurate translation using only the notes on one index card.

Attention: perhaps keep the report open

Bahdanau, Cho, and Bengio proposed a neural translation approach in a 2014 preprint, presented at ICLR 2015, that learned to align and translate jointly. Rather than relying exclusively on one fixed-length summary, the decoder could form a context from relevant encoder states as it produced each output word (Bahdanau et al., 2015). This is the attention mechanism that matters for our route through neural machine translation.

It was a major improvement, but recurrent models still had a structural constraint. Their hidden states depend on earlier hidden states, which limits parallel computation across sequence positions. More powerful GPUs do not simply erase that dependency. At this point, our two stories finally meet:

  • Semiconductor engineering and GPU programming made large parallel computations practical.
  • Language modeling and attention supplied a reason to reconsider how a sequence model should organize its computation.

2017: the doorway to Transformers

In 2017, Vaswani and colleagues introduced the Transformer in Attention Is All You Need. Their architecture used attention rather than recurrence or convolution as the core mechanism for relating sequence positions. On machine-translation tasks, the paper demonstrated strong results with a design better suited to parallel training (Vaswani et al., 2017).

That does not mean attention itself was invented in 2017. Nor does it mean that generating text suddenly became completely parallel: autoregressive output still depends on earlier generated tokens. The important shift was architectural. The model could exploit the available hardware differently instead of merely asking the same recurrent computation to run faster.

Looking back, this is what I find most interesting about AI’s history. The ideas did not advance in isolation from the machines, and the machines did not determine the ideas automatically. Progress came from making the two fit, with data, software, and a lot of patient experimentation in between.

The road from Dartmouth to Transformers was not a straight climb. It was a sequence of useful ideas, uncomfortable limits, disappointed expectations, and engineering breakthroughs that eventually reinforced one another.

In the next entry, I’ll explore the Transformer architecture in more detail: how its components fit together, what self-attention actually computes, and why that design changed language modeling.

References

  1. Russell, S., & Norvig, P. (2021). Artificial Intelligence: A Modern Approach (4th ed.). Pearson. https://aima.cs.berkeley.edu/newchap01.pdf
  2. LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep Learning. Nature, 521, 436–444. https://doi.org/10.1038/nature14539
  3. Turing, A. M. (1950). Computing Machinery and Intelligence. Mind, 59(236), 433–460. https://doi.org/10.1093/mind/LIX.236.433
  4. McCarthy, J., Minsky, M. L., Rochester, N., & Shannon, C. E. (1955). A Proposal for the Dartmouth Summer Research Project on Artificial Intelligence. Dartmouth College. https://www-formal.stanford.edu/jmc/history/dartmouth/dartmouth.html
  5. Computer History Museum. Shakey, The World’s First Mobile Intelligent Robot, 1972. https://www.computerhistory.org/revolution/artificial-intelligence-robotics/13/289
  6. Minsky, M., & Papert, S. (1969). Perceptrons: An Introduction to Computational Geometry. MIT Press. https://openlibrary.org/books/OL18676461M
  7. Computer History Museum. 1947: Invention of the Point-Contact Transistor. https://www.computerhistory.org/siliconengine/invention-of-the-point-contact-transistor/
  8. Computer History Museum. 1959: Practical Monolithic Integrated Circuit Concept Patented. https://www.computerhistory.org/siliconengine/practical-monolithic-integrated-circuit-concept-patented/
  9. Computer History Museum. 1960: Metal Oxide Semiconductor (MOS) Transistor Demonstrated. https://www.computerhistory.org/siliconengine/metal-oxide-semiconductor-mos-transistor-demonstrated/
  10. Computer History Museum. 1965: Moore’s Law Predicts the Future of Integrated Circuits. https://www.computerhistory.org/siliconengine/moores-law-predicts-the-future-of-integrated-circuits/
  11. Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1986). Learning Representations by Back-Propagating Errors. Nature, 323, 533–536. https://doi.org/10.1038/323533a0
  12. Krizhevsky, A., Sutskever, I., & Hinton, G. E. (2012). ImageNet Classification with Deep Convolutional Neural Networks. Advances in Neural Information Processing Systems, 25. https://proceedings.neurips.cc/paper/2012/hash/c399862d3b9d6b76c8436e924a68c45b-Abstract.html
  13. Bengio, Y., Ducharme, R., Vincent, P., & Jauvin, C. (2003). A Neural Probabilistic Language Model. Journal of Machine Learning Research, 3, 1137–1155. https://www.jmlr.org/papers/v3/bengio03a.html
  14. Hochreiter, S., & Schmidhuber, J. (1997). Long Short-Term Memory. Neural Computation, 9(8), 1735–1780. https://doi.org/10.1162/neco.1997.9.8.1735
  15. Sutskever, I., Vinyals, O., & Le, Q. V. (2014). Sequence to Sequence Learning with Neural Networks. Advances in Neural Information Processing Systems, 27. https://arxiv.org/abs/1409.3215
  16. Bahdanau, D., Cho, K., & Bengio, Y. (2015). Neural Machine Translation by Jointly Learning to Align and Translate. International Conference on Learning Representations. https://arxiv.org/abs/1409.0473
  17. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention Is All You Need. Advances in Neural Information Processing Systems, 30, 5998–6008. https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html