AI glossary · Beginner · Language models
Artificial neural network
An artificial neural network is a computing structure that connects small units that take numbers and compute (neurons) in multiple layers, and learns rules by adjusting the strength of those connections on its own as it sees data. It is the basic backbone of today's deep learning and LLMs.
About this term
- Level
- Beginner · Core ideas for first-time readers
- Category
- Basics
- Fields
- Language models
- Added
- 2026-10-08
How it works
A neural network consists of an input layer, one or more hidden layers, and an output layer. Each neuron multiplies the numbers received from the previous layer by their own weights (connection strengths), adds them up, passes the result through a rule called an activation function, and sends it to the next layer. At first the weights are set randomly, so the network gives wrong answers, but it learns by repeatedly adjusting the weights little by little in the direction that reduces the gap from the correct answer. These weights are what are commonly called "parameters."
Why it matters
Without people writing out rules one by one, it can learn complex patterns, such as objects in photos, speech sounds and the meaning of sentences, from data alone. The field that deals with neural networks with many stacked layers is deep learning, and CNNs for image recognition and RNNs and transformers for sentence processing are all forms of neural networks. Most generative AI in use today is built on this structure.
Good to know
Neural networks are sometimes called "black boxes" because it is hard for people to see why they gave a particular answer, and the research that tries to open them up is interpretability. Training requires a lot of data and computing resources (such as GPUs). If a network memorizes its training data too closely, overfitting can occur, where performance drops on data it has not seen before.
Example
When a smartphone photo app automatically sorts pictures into 'food', 'landscape' and 'people', or a voice assistant turns speech into text, an artificial neural network usually does most of the work. LLMs such as ChatGPT and Claude are also huge neural networks built on an architecture called the transformer.