)
Roberto Iommi for AI

Behind the AI

My notes out of two years of study — how these systems actually work, underneath the demos. Thirty topics, in six series, from the mathematics to the models in practice.

← All of
Series 1

Machine Learning Fundamentals

Series 2

Neural Networks

Neural Networks

Anatomy of a Neural Network

A neural network is a model made of elementary nodes arranged in layers and joined by weighted connections: data enters through the input layer, passes through one or more hidden layers, and exits through the output layer — and the connection weights are exactly the parameters that training has to find.

Neural Networks

The Artificial Neuron

An artificial neuron computes a weighted sum of its inputs, adds a bias, and passes the result through an activation function: it is the non-linearity of that function that makes depth meaningful, because without it an entire network would collapse into a single linear operation.

Neural Networks

Backpropagation: How Millions of Weights Get Adjusted

Backpropagation computes the gradient of the loss by applying the chain rule layer by layer, from the output back toward the input: every weight receives its own share of responsibility for the error, and this is what makes it possible to train networks with billions of parameters, where solving the equation for the minimum would be unthinkable.

Neural Networks

Why Neural Networks Are So Powerful — and So Opaque

A large enough neural network can in theory approximate any relationship, but the theorem that guarantees this says nothing about how to find it; and the weights training does find work without anyone knowing what they mean. It is from this opacity that mechanistic interpretability was born, with tools such as sparse autoencoders and circuits.

Neural Networks

A Field Guide to Neural Network Types

The feedforward, fully connected network seen in the previous chapters is only one of the possible topologies: CNNs, RNNs, Transformers, autoencoders, and GANs each exist to answer a different constraint imposed by the data — spatial, sequential, or the very absence of a label to predict.

Series 3

Language and Meaning

Series 4

Inside the Transformer

Series 5

Emergence and Scale

Series 6

Making AI Practical

Miscellanea

Miscellanea