Skip to content

Glossary neural network

What Is a Neural Network?

Definition

A neural network is a machine learning model made of layers of connected nodes. Each connection has a weight. During training, an algorithm adjusts those weights so that the network's outputs come as close as possible to the desired results.

On this page 5
  1. What a neural network means
  2. How it works
  3. Why it matters
  4. Best practices
  5. Common mistakes
In brief

A neural network is a model of layers of connected nodes whose weights are adjusted in training: structure, backpropagation and the link to LLMs.

What a neural network means

Google's machine learning glossary defines a neural network as a model containing at least one hidden layer. A network with more than one hidden layer is called a deep neural network. Deep learning rests on these deep networks and is covered in the machine learning entry.

The name comes from biology. In 1986, David Rumelhart, Geoffrey Hinton and Ronald Williams described their learning procedure in Nature for "networks of neurone-like units". Google writes that neural networks implemented on computers are sometimes called artificial neural networks to differentiate them from those found in brains and other nervous systems. The computational model borrows from the brain the picture of units passing signals on. It is not a replica of the brain.

Neural networks are one type of model within machine learning, not the whole field. A linear model without a hidden layer is not a neural network under Google's definition, yet it also learns from data.

How it works

A network has three kinds of layer. The input layer takes the features of an example, such as numeric values standing for words or pixels. One or more hidden layers follow. The output layer delivers the prediction. The nodes in the hidden layers are called neurons.

Each neuron first calculates like a linear model: it multiplies each input value by its own weight, adds up the results and adds a bias. It then applies an activation function. An example with made-up numbers: inputs 2 and 3, weights 0.5 and −1 and a bias of 1 give 2 × 0.5 + 3 × (−1) + 1 = −1. The ReLU activation function turns any negative value into 0, so the neuron passes on 0.

The activation function is not a detail. Google explains in its Machine Learning Crash Course that linear operations performed on linear operations are still linear. Without a nonlinear function, the network could not learn nonlinear relationships, however many layers it had.

Learning happens through backpropagation. In 1986, Rumelhart, Hinton and Williams described a procedure that repeatedly adjusts the weights of the connections to reduce the difference between the actual and the desired output. To do so, the algorithm calculates for each parameter how much the error depends on it. Google calls backpropagation the most common training algorithm for neural networks. It makes gradient descent feasible for multi-layer networks.

After training, the weights stay fixed. The network then applies them to new inputs.

Training shifts the weights, the structure stays.

Why it matters

The language models behind AI answers are neural networks. Google's glossary informally describes a large language model as any Transformer-based language model, such as Gemini or GPT, and defines the Transformer as a neural network architecture. The developers say the same about their own models. OpenAI calls GPT-4 a Transformer-based model in its 2023 technical report. Google writes in the Gemini report (May 2025 version) that Gemini models build on top of Transformer decoders. How later models are built, these reports do not say.

This has a consequence for any brand that appears in such answers. A network stores what it knows in its weights, not as records in a database. Rumelhart and colleagues already described in 1986 that hidden units come to represent important features of the task during training, and that the regularities are captured by the interactions of these units. So there is no single place where a false sentence about a company is written down and can be corrected. Why an answer turns out a certain way cannot be looked up either. More on this in the LLM and AI hallucination entries.

Marketing itself runs on neural networks too, often without the tool saying so: in the text and image generators of generative AI and in systems that represent text as numeric vectors, known as embeddings.

Best practices

  • Keep the terms apart: AI is the umbrella term, machine learning one part of it, a neural network one type of model within that, and an LLM one specific neural network.
  • Ask which model a tool uses and how current its data is, rather than settling for the label "AI".
  • Treat a network's output as a calculated probability, not a looked-up fact, and check facts at the source.
  • Do not assume that a simple relationship with few features needs a neural network. Google presents them as an architecture for nonlinear patterns, and a linear model may be enough.
  • Read a developer's statements about architecture as applying to the model and version the report names.

Common mistakes

  • Taking a neural network for a replica of the brain.
  • Assuming every machine learning model is a neural network.
  • Reading "deep" as a judgement of quality. It only means more than one hidden layer.
  • Expecting to find and change a false fact inside the model the way you would edit a record.
  • Inferring from the number of parameters how useful a model will be for a specific task.
Manuel Riveiro Rodriguez CEO & Digital Strategist

A technical audit covers this and everything else in one pass.

Request an audit

Frequently asked

What is a neural network?

A neural network is a machine learning model made of layers of connected nodes. Each connection has a weight that is adjusted during training. Google defines it as a model containing at least one hidden layer between input and output. From examples, the network learns to turn inputs such as words or pixels into predictions.

What is the difference between a neural network, machine learning and deep learning?

Machine learning is the umbrella term for models that learn from data. A neural network is one type of model within it, alongside others such as linear models. Deep learning uses deep neural networks, meaning those with more than one hidden layer. Every deep learning model is therefore a neural network, but not the other way round.

How does a neural network learn?

Usually through backpropagation. The network calculates an output, compares it with the desired result and works out for each parameter how much the error depends on it. The weights are then shifted so that the error shrinks. Rumelhart, Hinton and Williams described the procedure in 1986 in the journal Nature.

Is an LLM a neural network?

Yes. Large language models are based on the Transformer, a neural network architecture. OpenAI describes GPT-4 in its 2023 technical report as a Transformer-based model, and Google writes that Gemini models build on top of Transformer decoders. That is why their knowledge sits in weights, not in a database that could be searched.

Does a neural network work like the brain?

No, it only borrows the picture. In 1986, Rumelhart and colleagues spoke of neurone-like units, and Google calls networks on computers artificial neural networks to tell them apart from those in nervous systems. A neuron in the network is a calculation rule: a weighted sum of the inputs plus a bias, followed by an activation function.

Sources

  1. David E. Rumelhart, Geoffrey E. Hinton and Ronald J. Williams, "Learning representations by back-propagating errors", Nature 323, 533–536, 9 October 1986. Source for the backpropagation procedure, the neurone-like units and the hidden units.
  2. Google for Developers, Machine Learning Crash Course, "Neural networks: Nodes and hidden layers", last updated 3 December 2025. Source for input, hidden and output layers, neurons, weights and bias.
  3. Google for Developers, Machine Learning Crash Course, "Neural networks: Activation functions", last updated 25 August 2025. Source for the activation function, ReLU and linear operations staying linear.
  4. Google for Developers, Machine Learning Crash Course, "Neural Networks: Training using backpropagation", last updated 15 December 2025. Source for backpropagation as the most common training algorithm.
  5. Google for Developers, "Machine Learning Glossary", last updated 10 April 2026. Source for the entries neural network, deep model, backpropagation, large language model and Transformer.
  6. OpenAI, "GPT-4 Technical Report", arXiv, first version 15 March 2023, version 6 of 4 March 2024. Source for GPT-4 as a Transformer-based model.
  7. Gemini Team (Google), "Gemini: A Family of Highly Capable Multimodal Models", arXiv, first version 19 December 2023, version 5 of 9 May 2025. Source for Gemini models building on Transformer decoders (section 2).