zappz

All topics

neural networks

1 article

A neural network is a computing model made of layers of simple connected units that learns to perform a task from examples instead of written rules.

Each unit, loosely modelled on a brain cell, takes in numbers, multiplies each by a weight, adds them up, and passes the result through a simple function to the next layer. One unit does very little. Millions or billions of them, arranged in layers, can represent very complicated relationships between input and output. The first layer receives raw data such as pixels or pieces of text, the last layer gives the answer, and the layers between build up intermediate patterns.

The weights start out random. Training shows the network an example, compares its output with the desired one, and nudges every weight slightly in the direction that would have made the error smaller. The method for working out those nudges is called backpropagation, and repeating it over a great many examples is what learning means here. Different layouts suit different data: convolutional networks for images, and transformers for language, which are the basis of modern chatbots.

Neural networks are behind speech recognition, translation, image search, medical image analysis, fraud detection and the large language models now in wide use. Their strength is also their difficulty. Because the behaviour is learned and not written, nobody can simply read off why a network gave a particular answer, and it can pick up biases or shortcuts from its training data. Understanding how these systems work is therefore a starting point for using them well and for judging claims made about them.

  1. mechanistic interpretabilityWhat Is Mechanistic Interpretability? Reading Inside ModelsMechanistic interpretability reverse engineers the features and circuits inside a neural network to show how a model reaches its answers, and why that matters. · 8 min read

Related topics

All topics