1.1 The Power of Chips, Revealed by the AI Era

We live in the age of AI.

AI answers our questions, creates text and images, and helps cars and robots move in ways that fit their surroundings. AlphaGo’s victory over Lee Sedol at Go in 2016 was a landmark moment for AI. Then OpenAI’s ChatGPT arrived in 2022, followed by AI assistants such as Anthropic’s Claude and Google’s Gemini, and now anyone can talk naturally with an AI and get help from it. Before we knew it, AI had made its way into our work and daily lives. Yet in the end, all of this is carried out by a computer. What is it, inside that computer, that actually does the work?

These capabilities were, in fact, goals researchers had been pursuing for decades: computers that converse with people (the 1960s), robots that assess a situation and act on it (the early 1970s), and cars that drive themselves (the late 1970s). Some succeeded in limited settings, but making them perform at the expected level amid the complexity of the real world was not easy.

Of the many approaches toward these goals, the one that became the foundation of today’s genuinely useful AI is the artificial neural network. It takes its inspiration from the way countless nerve cells in the human brain connect, exchange information, and make decisions, and it simplifies that process mathematically. A structure built on this approach, in which many mathematical operations are linked together, is called an AI model. Many kinds of AI models have been studied, and even this basic idea has a long history of research behind it.

To have a computer carry out the operations an AI model requires, we need a program that specifies the order in which those operations are performed. We create programs by writing code in languages that are easy for us to understand, and we usually call such programs software. The physical components, such as chips, that turn a program’s instructions into actual computation and action are called hardware. In other words, software decides what to process and how, and hardware actually carries out that work. The code that runs an AI model and the code we write every day both become programs and are executed inside the computer in the same way.

The problem with using AI models in the past was that the hardware of the day could not keep up with the computation the models demanded. As models grew larger to tackle more complex problems, the amount of computation they required rose sharply. The same operations had to be repeated countless times. Space was also needed to hold the numbers the model used and the intermediate results produced along the way. What was required was both the ability to compute quickly and the ability to store and retrieve large amounts of information. Scaling up a model meant computation took far too long, and sometimes it could not run at all for lack of memory. This was also a major obstacle to experimenting with and improving new models. In short, hardware struggled to support what software could do, and that in turn held software back.

What made it possible to break through this limit was the advancement of chip technology. A chip is a small piece of semiconductor material containing tiny electronic circuits. In a computer, chips take on tasks such as computing and remembering information. The small black squares we often see are packages that protect the chip and connect it to the outside world. Figure 1-1 shows what such chips look like. Chips that handle computation have steadily advanced to process more operations at once, and faster. Memory chips, too, have come to hold more information and exchange it more quickly. These advances made it possible to build and run AI models at scales that had previously been out of reach, and those models now power many of the AI tools we use every day.

Advances in chip technology don’t stop at running existing programs faster; they also widen researchers’ opportunities to test larger models and new methods. Shorter experiments speed up the cycle of checking results and trying the next idea, and combined with richer data and accumulated research, software development has gained momentum as well. More powerful chips make new models possible, and those models in turn demand more computing power and memory — so software and hardware have come to drive each other forward.

It is true that advances in chips have brought remarkable changes to the latest AI technology. But the basic way a computer carries out work, and the principles operating inside it, have not changed much. A program written in code specifies the work, and the hardware — the chips — carries it out. That is true whether the computer is running a complex, computation-heavy AI model or simply adding two numbers.

The chip is where the work defined by code turns into real, physical action. Yet from what we see on a computer screen alone, it is hard to tell what is happening underneath. How are the operations that code instructs carried out inside the computer? Where is the necessary information stored, and along what paths does it travel? This book follows those questions into the chips at the heart of a computer. Step by step, we’ll see how the code we write becomes electrical signals at work inside them — the world beneath the code.

A system semiconductor chip
A memory semiconductor chip

Figure 1-1. Chips — the small black square components inside a computer.

Leave a question or comment

Questions, corrections, or thoughts about this section are welcome. Your first comment will appear after review. (Privacy Policy)