TALLMOVE
All arcs

Learning Machines

Gradient descent to the perceptron, backpropagation, attention, transformers, and diffusion.

Math Foundations · Machine Learning

Progress0/8
  1. 1

    Gradient Descentin progress

    Math · Calculus · ~25 min

    Find the bottom of a bowl you cannot see: measure the slope where you stand, step against it, repeat. The learning rate decides whether you crawl, arrive, bounce, or fly off.

  2. 2

    The Perceptronin progress

    ML · Neural Networks · ~25 min

    One neuron learns a line: weigh the inputs, fire or not, and on every mistake turn the line toward the point it missed. It always works when a line exists, and never when one does not.

  3. 3

    Backpropagationin progress

    ML · Neural Networks · ~35 min

    One training step, node by node: run the example forward, measure the error, send the blame back through the weights with the chain rule, and move every weight against it.

  4. 4

    Embeddingsin progress

    ML · Language Models · ~25 min

    Turn words into arrows so that a dot product measures meaning: words seen together are pulled to point the same way, strangers are pushed apart, and similarity becomes an angle.

  5. 5

    Self-Attentionin progress

    ML · Language Models · ~30 min

    Every token looks at every other: a query scored against each key by a dot product, a softmax that turns the row into weights, and an output that blends the values. Six tokens, one six by six matrix.

  6. 6

    The Transformer Blockin progress

    ML · Language Models · ~35 min

    One block, six stops: embed with a position code, attend with every head, add and normalize, feed forward, add and normalize again, predict a word at every position. Untrained weights, real flow.

  7. 7

    The KV Cachein progress

    ML · Language Models · ~25 min

    Decoding one token at a time, every step needs every earlier token's key and value, and those never change. Keep them and a step projects one token, not the prefix: a ledger counts the saving.

  8. 8

    Diffusion Modelsin progress

    ML · Generative Models · ~35 min

    Corrupt a shape into noise one small step at a time, train a network to guess the noise in any corrupted point, then walk the corruption backward from pure noise and watch the shape come out.