GlossaryNeural network
Neural network
A neural network is a machine learning model made of layers of simple connected units that each compute a weighted sum of their inputs and pass the result through a nonlinear function. Trained on examples, the network adjusts its weights until its outputs match the desired answers. Deep learning means neural networks with many layers.
How it works
Each unit, or neuron, multiplies its inputs by weights, adds them up with a bias and applies an activation function. Units are grouped in layers, and each layer's outputs feed the next. The first layers learn simple features, such as edges in an image, and later layers combine them into more abstract ones, such as shapes and objects.
Training uses backpropagation, described in a 1986 paper. The network makes a prediction, a loss function measures the error, and the algorithm computes how much each weight contributed so an optimizer can adjust all weights a little. Repeated over many examples, the network learns the task. A 2015 review of deep learning explains how this, combined with large datasets and fast hardware, transformed speech recognition, image recognition and language processing.
Architectures fit the data. Convolutional networks suit vision, and recurrent networks handle sequences. Transformers use attention to relate every part of the input to every other part and underlie large language models.
Convolutional neural networks
A convolutional neural network, or CNN, slides small learned filters across an image and reuses the same weights at every position, so it needs far fewer weights than a fully connected network and finds a pattern wherever it appears. Early layers respond to edges, middle layers to textures and parts, and late layers to whole objects. A 2015 paper introduced residual connections that let networks train with many more layers, and a 2017 design used depthwise separable convolutions to cut computation for mobile devices. CNNs remain common on edge hardware.
Neural network vs traditional machine learning
Traditional machine learning methods, such as decision trees or linear models, usually work on features that engineers design by hand. Neural networks learn features directly from raw data, such as pixels or text. That makes them stronger on images, audio and language, at the cost of more data, more compute and less transparency about why a given output was produced.
Why it matters
Neural networks power the AI that hardware teams meet most: vision inspection, object detection on robots, language models for documents and code. A network is a trained function: good on data like its training set and unreliable outside it.
How to get it right
- Train and test on data that matches the deployed sensors and conditions.
- Keep a held-out test set that the model never sees during training.
- Watch for overfitting, where training accuracy rises while test accuracy falls.
- Choose model size for the target hardware's memory, speed and power.
- Monitor accuracy after deployment, since conditions change.
Neural networks in robotics and drone hardware
Every onboard AI feature on a robot or drone is a neural network running on some processor, whether a CPU, GPU or NPU. Network size and type set memory, power and heat budgets, which feed back into the choice of compute module, battery and cooling, and into board details such as regulator sizing, thermal vias and power sequencing.