The course

Six units and 16 lessons, building from the trade-off up to the 2026 frontier. Every lesson has a demo you can drive, then leaves the implementation to you. Start at the top.

  1. 0

    The trade-off

    What quantization is, and how we measure whether it worked.

  2. 1

    Scalar quantization

    The simplest compressor: a range of floats onto 256 integer levels.

  3. 2

    k-means

    Grouping points into clusters and learning a codebook.

  4. 3

    Product quantization

    Split a vector, replace each chunk with a codebook index.

  5. 4

    Searching squashed data

    Estimate closeness from compressed vectors, and draw the curve.

  6. 5

    The frontier

    The 2026 methods, and the debate over what is genuinely new.

Start lesson 0.1 →