Foundations · beginner
Neural Network (artificial neural network, ANN)
A neural network is a stack of simple mathematical units ("neurons") that learn to transform inputs into outputs by adjusting numeric weights during training.
Explanation
Each "neuron" computes a weighted sum of its inputs, passes it through a nonlinear function, and forwards the result. Stack thousands of these into layers and you can approximate astonishingly complex input-to-output mappings: pixels to "cat or dog", text to translated text, or audio to a transcript.
The weights are the model's memory. Training adjusts them via gradient descent and backpropagation. A modern large language model is a neural network with tens to hundreds of billions of these weights.
The term "deep" in deep learning just means "many layers" — usually dozens or hundreds.
Examples
- A 3-layer network classifying handwritten digits.
- A 96-layer transformer like GPT-3.
- A convolutional network reading X-rays.
Frequently asked
What is Neural Network?
A neural network is a stack of simple mathematical units ("neurons") that learn to transform inputs into outputs by adjusting numeric weights during training.
What is an example of neural network?
A 3-layer network classifying handwritten digits.
How is Neural Network related to Deep Learning?
Neural Network and Deep Learning are both foundations concepts. Deep learning is machine learning using neural networks with many layers ("deep" = many layers). It powers nearly every recent breakthrough in AI, including LLMs and image generators.
Is Neural Network considered beginner?
Neural Network is generally considered beginner-level material in the AI and LLM space.