Inspired by the brain, but not a copy

When you hear "neural network," you might picture nerve cells, synapses, blinking connections inside a head. That's not entirely wrong, the first researchers in the 1940s and 50s really did draw inspiration from the human brain. But: an artificial neural network is not a copy of the brain. It's a rough mathematical simplification that borrows a few ideas.

The brain has about 86 billion nerve cells, connected to each other in incredibly complex ways. A neural network in a computer has anywhere from a few million to a few hundred billion "artificial neurons," but these are extremely simple compared to real nerve cells. Still, this simplification goes surprisingly far.

Key takeaway

"Neural network" is a metaphor, not a model of the brain. It means: many small computing units working together, organized into layers. That has about as much to do with the biological original as a paper airplane has to do with an actual plane.

What is an artificial neuron?

A neuron in AI is basically a small calculating machine. It receives numbers, either from other neurons or from outside, and outputs a number. That simple. But something interesting happens between input and output: the neuron weighs each input. Some inputs matter a lot to it, others it barely cares about.

Specifically, the neuron does three things:

  1. It takes in all the input values.
  2. It multiplies each input value by a weight. This weight is a number that says how important that input is.
  3. It adds up the weighted values, and based on the result, decides what signal to pass on itself.
Analogy

Picture a neuron like a chairperson on a committee. Several advisors (the inputs) whisper recommendations to them at the same time. Some advisors they listen to very closely (high weight), others they barely register (low weight). In the end, they form an opinion out of all of it and pass their decision along.

Here's the most striking part: a single neuron isn't particularly clever. It literally just does one multiplication, one addition, and one small decision. The magic only emerges once you wire thousands or millions of them together.

Layers, the structure of a network

Neurons are organized into layers. A typical structure looks like this:

Input
Layer 1
Layer 2
Output
A signal travels through the network
Input on the left, processing in the middle, output on the right.
Every circle is a neuron, every line a weight. During learning, these weights get adjusted millions of times until the network produces usable outputs.

Every neuron in a layer is usually connected to every neuron in the next layer. So if you have four neurons in one layer and six in the next, that's 4 × 6 = 24 connections, each with its own weight. In large networks, we're quickly talking about billions of connections.

Example

In an image-recognition AI meant to tell dogs from cats apart, the first layers often do something simple: they detect edges, corners, and brightness transitions. Deeper layers assemble these into shapes. Eyes, ears, a snout. The final layers combine that into "dog" or "cat." That's how the network builds a complex understanding out of simple building blocks.

Weights, what the network learns

We've already mentioned the word weight a few times. Let's quickly clarify what exactly that is and why it matters so much.

A weight is simply a number. One number per connection between two neurons. This number determines how strongly the signal from one neuron influences the next. If the weight is large, a lot of signal flows through; if it's small or zero, almost nothing flows.

And here's the real point: these weights are all a network "knows." When people say "the AI has learned," what that really means is: the billions of weights were adjusted so that the network gives the right answers for known examples. The intelligence, the knowledge, the abilities, all of that doesn't live in some text or database, it lives in these numbers.

Key takeaway

The "brain" of an AI is basically a very, very long list of numbers, the weights. When someone says a model has "70 billion parameters," they roughly mean: there are 70 billion such weights that were set during training.

What the network knows doesn't live in words. It lives in numbers.

Deep learning, when depth makes the difference

You've probably already heard the term deep learning. The "deep" stands for having many layers stacked on top of each other. Early neural networks in the 1980s often had only two or three layers. Today's networks have dozens, hundreds, sometimes thousands.

Why does depth help? Because each layer can assemble something more complex out of the patterns of the previous layer. A shallow architecture can only recognize simple relationships. A deep network can build increasingly abstract patterns step by step, from pixels to edges, from edges to shapes, from shapes to objects, from objects to meaning.

Shallow network

  • Few layers (2 to 3)
  • Recognizes simple patterns
  • Trains quickly
  • Hits its limits quickly
  • Today mostly used for small, clearly defined tasks

Deep network (deep learning)

  • Many layers (dozens to hundreds)
  • Recognizes complex, abstract patterns
  • Needs a lot of data and computing power
  • The foundation of modern AI
  • Behind ChatGPT, image AI, voice AI

The breakthrough of deep learning came around 2012, when a deep network first beat all classical methods by a surprisingly wide margin in a famous image-recognition competition. Since then, deep learning has dominated almost every interesting AI problem.

Why deep networks are better, the idea behind it

Imagine you had to describe a building. If you only have one sentence, you have to stay very rough: "A big house." If you have five sentences, you can mention floors, windows, materials, and color. If you have a full page, you get into the details: architecture, history, atmosphere, neighborhood.

It's similar with layers in a network. Each additional layer allows a finer, more abstract description of the input. With language, for example: the lower layers "understand" letter sequences and individual words. Middle layers recognize sentence structure, grammar, simple meaning. Deeper layers capture style, tone, topics, even argumentative structure.

01

Lower layers

Simple, local patterns. In images: edges and colors. In text: individual words and letters.

02

Middle layers

Compositions. In images: eyes, wheels, characters. In text: sentences, grammar, small phrases.

03

Upper layers

Meaning and context. In images: "dog playing in the garden." In text: topic, tone, intent.

04

Output

The concrete answer. A classification, a prediction, the next word, a generated image.

Careful

We don't precisely know what's really happening in the intermediate layers of a large network. Researchers can identify individual patterns, but the layers as a whole are something of a black box. This is an open research field and one of the reasons AI sometimes fails in surprising ways.

One important insight to close

We now have a picture of a neural network in mind: layers of neurons, connected by weights, that turn inputs into outputs step by step. What we haven't discussed yet is the most exciting question of all: how do the weights get their values? Who sets them? Nobody sets them by hand, that would be far too many numbers.

The answer is: training. The network learns its own weights by seeing millions or billions of examples and improving its weights by a tiny bit after each one. We'll look at exactly how that works in the next chapter.

In three sentences

What you now know

  • A neural network is an arrangement of many simple computing units (neurons), roughly inspired by the brain, organized into layers. Input, hidden layers, and output.
  • Every neuron weighs its inputs and passes on a signal; the entire "knowledge" of a network lives in these weights, a huge list of numbers.
  • "Deep learning" simply means: many layers. Deep networks can build increasingly abstract patterns step by step out of simple building blocks, and they're the foundation of modern AI.