Short answer
Neural networks are computational models made of layered interconnected units that learn weighted transformations from data—forming the substrate of deep learning.
Why it matters
Diagram
Article
What it is
A neural network is a parameterized function built from layers of simple units. Each unit computes a weighted sum of inputs and applies a nonlinear activation (such as ReLU). By stacking layers and learning the weights from data, networks approximate complex input-output mappings. The biological metaphor is historical inspiration; modern networks are engineered mathematical models trained with linear algebra and optimization, not simulations of brains in detail.
Plain-English explanation
Imagine a spreadsheet of dials. Each dial (weight) controls how strongly a signal passes from one node to another. During training, the network twists dials to reduce mistakes on examples. Nonlinear activations let the network bend decision boundaries into useful shapes—something a single linear equation cannot do for many real tasks.
Wide and deep networks can represent intricate patterns, but capacity alone is not enough: they need data, regularization, and an optimization procedure that actually finds good dial settings. Architecture choices (convolutions, attention, recurrence) encode assumptions about structure in the input.
How it works
Forward pass: inputs flow through layers to produce outputs. Loss computation: outputs are compared to targets (or to a self-supervised objective). Backward pass: backpropagation applies the chain rule to compute gradients. Update: an optimizer adjusts weights. This loop repeats over minibatches for many epochs.
Key practical ideas include initialization, learning-rate schedules, normalization layers, residual connections for training stability, and regularization to improve generalization. Different architectures specialize: multilayer perceptrons for tabular-ish vectors, CNNs for grids, transformers for sequences and sets with attention.
Why it matters
Neural networks are the substrate of contemporary AI breakthroughs. Understanding them demystifies why deep learning needs GPU acceleration, why vanishing gradients were historically problematic, and why architectural innovations unlock new modalities. Even if you use higher-level APIs, intuition about capacity, overfitting, and inductive bias improves debugging and evaluation.
Common misconceptions
- “Neural nets work like human neurons.” The analogy is loose. Biological neurons are far more complex; artificial units are simplified computational elements.
- “More parameters guarantee better results.” Extra capacity can help with enough data and compute, but can also overfit or become unnecessarily expensive.
- “Once trained, a network is a black box with no structure.” While interpretability is challenging, architectures, attention patterns, and probing methods provide partial visibility—and evaluation does not require full mechanistic understanding.
Further learning
Progress into deep learning, then modality-specific topics such as computer vision and large language models. The Deep Learning textbook and DeepLearning.AI educational materials provide complementary mathematical and intuitive paths.
Encyclopedia connections
This topic sits in the deep-learning branch of the Artificial-Intelligence.info encyclopedia. Use related guides on training vs inference, responsible AI, and hands-on tooling pages to go deeper without treating any single article as complete expertise.
Examples
Binary classifier as a small network
Transfer learning with a pretrained backbone
FAQ
What is an activation function?
Why do we need many layers?
Related glossary terms
- Deep learning — Machine learning with multi-layer neural networks that learn hierarchical representations from large datasets.
- Neural network — A model made of layered interconnected units that transform inputs through weighted connections and nonlinear…
- Transformer — A neural network architecture that uses attention mechanisms to model relationships among tokens in a sequence…
Sources
-
Deep Learning (online textbook)
Goodfellow, Bengio, CourvilleFoundational chapters on multilayer perceptrons, backpropagation, and regularization.
-
DeepLearning.AI blog
DeepLearning.AIAccessible educational articles on neural network practice.