What is a neural network? Explained with a team passing notes
A neural network is an AI model made of layers of simple units that weigh numbers and pass results on, learning from examples. Explained with a big office team passing notes and voting.
- Author
Umair Mateen- Published
- Reading time
- 5 min
- Category
- AI
In one sentence: A neural network is a type of AI model made of layers of simple units, called neurons, that each weigh the numbers they receive and pass a result on, so that together they turn an input, like a photo or a sentence, into an answer; it learns by adjusting those weights from examples.
The everyday picture
Picture a huge office that answers one kind of question, such as "Is this email spam?" The office has rows of desks. Each desk has a clerk.
The question arrives at the first row. Each clerk there reads a small detail and writes a note. The notes go to every clerk in the next row. Those clerks read all the notes, but they trust some senders more than others. They add up what they read, decide how strongly to react, and write a new note for the row after them.
At the last row, the clerks vote. One clerk stands for "spam", one for "not spam", and the strongest vote wins. No single clerk knows the answer. The answer comes from the whole team passing notes.
Notes pass forward row by row until the last row votes. In training, the answer is checked and every clerk's trust levels are nudged.
How it works, step by step
- The input layer (the first row) takes in the raw details as numbers. For an email, that could be its words; for a photo, its pixels.
- Each neuron in a hidden layer (a clerk in a middle row) multiplies every incoming number by a weight (how much it trusts that sender), adds them up and adds a bias (its own starting lean). Google's Machine Learning Crash Course describes exactly this sum for each neuron.
- An activation function (the clerk deciding how strongly to react) reshapes that sum before passing it on. Without this step, the IBM explainer on backpropagation notes, the whole network collapses into a simple straight-line model.
- The output layer (the final row) turns everything into an answer, such as a score for each option. The highest score is the network's pick.
- Training (the manager checking answers) compares the answer with the correct one using a loss function, a score of how wrong it was. A method called backpropagation works out how much each weight added to the mistake, and every trust level is nudged a little. After many examples, the team gets good at the job.
Try it · Everyday ↔ real
Match the office to the neural network
Switch between the two and see how each part lines up.
- The question at the first row
- Clerks in the middle rows
- How much a clerk trusts a sender
- The final row's vote
- The manager's feedback
A big office team passing notes and voting
| Everyday | Real |
|---|---|
| The question at the first row | Input layer |
| Clerks in the middle rows | Neurons in hidden layers |
| How much a clerk trusts a sender | Weight |
| The final row's vote | Output layer |
| The manager's feedback | Loss and backpropagation |
Where the picture stops
- Real clerks understand their notes. Neurons don't understand anything. Each one only does a small sum on numbers.
- A manager would correct clerks one at a time. Training updates all the weights at once with maths, often millions or billions of them.
- Neural networks were loosely inspired by brain cells, IBM says, but they are not a copy of a brain and do not think like one.
Why it matters for your business
- It sits under most modern AI. IBM lists large language models and transformers as kinds of neural networks. Chatbots, image tools and speech tools are built on this idea.
- It learns from examples, not rules. You don't write rules for each case. You need good, well-labelled examples, so the quality of your data decides the quality of the result.
- It is hard to explain. The answer comes from many small weights working together, so it is hard to say exactly why the network chose it. For decisions about people or money, keep a human check.
- Bigger costs more. More layers and weights can learn harder patterns, but need more computing power to train and run.
Try it · Myth or fact
Neural networks: myth or fact?
Decide for yourself first, then tap each statement to check it.
0 of 4 checked
An example
Imagine a 30-person online shop that gets hundreds of support emails a day. It trains a small neural network on past emails, each already marked "refund", "delivery" or "other". Now each new email goes through the network, and the final row votes on a label. Staff check the labels for the first few weeks, fix the wrong ones and add them to the training examples.
Frequently asked questions
Is a neural network the same as a brain?
No. It borrows the idea of many connected units from brain cells, but each unit is just a small calculation. It does not think or understand.
What is a hidden layer?
Any layer between the input and the output. You don't see its notes directly; it works out in-between patterns that help the final answer.
What is the difference between a neural network and deep learning?
Deep learning means using neural networks with many hidden layers. All deep learning uses neural networks, but a small network with one hidden layer is not usually called deep.
Is ChatGPT a neural network?
Yes. Large language models like the ones behind ChatGPT, Claude and Gemini are very large neural networks of a type called transformers.
Related explainers
- AI vs machine learning vs deep learning
- What are model parameters?
- Training vs inference
- What is an LLM?
The DevDrift builds AI features with human checks and audit trails: see how.
Sources
Could you explain this to a colleague now?
Mark it and posts that mention it will show a tick. Saved in this browser only.