flâneur — a map of the web's best reading

how neural networks think at scale

marmik.xyz · 7,812 words · saved by 1 readers

Neural networks like Large Language Models (LLMs) first convert a sequence of input tokens into an 𝑛 n dimensional vector by applying a linear transformation. This 𝑛 − n− dimensional vector, called an embedding, then goes through a series of computations or layers like Attention and Multi Layer Perceptrons (MLP) and then is converted back into some output token by applying another linear transformation. These layers perform various linear and sometimes non-linear transformations on the embedding. The intermediate representations formed in the network at the end of each layer are called the hidden/ latent vectors or activations of the network. The embedding passes through a series of transformations at each layer that extract or encode different kinds of information about the data in the activations. Mechanistic Interpretability (Mech Interp) aims at understanding these activations to reverse engineer how each component of the neural network cause it to produce a specific output. S

how neural networks think at scale Marmik Chaudhari , Nishkal Hundia Introduction Neural networks like Large Language Models (LLMs) first convert a sequence of input tokens into an n n n dimensional vector by applying a linear transformation. This n − n- n − dimensional vector, called an embedding , then goes through a series of computations or layers like Attention and Multi Layer Perceptrons (MLP) and then is converted back into some output token by applying another linear transformation. These layers perform various linear and sometimes non-linear transformations on the embedding. The inter

Explore this link on the map →

related reading