Domain

Representation Learning

How models represent inputs as vectors: similarity and normalization, contrastive training, and sparse autoencoders for reading features out of activations.

2 notebooks2 demos
Preview the recommended route
First notebookRepresentation Learning & Embedding Geometry

Start here. Make one prediction, then note what carries over to the next notebook.

xf_θzgeometry
Open first notebook
QuestionWhat carries over from Representation Learning & Embedding Geometry into Sparse Autoencoders?
PredictionBefore opening the first demo, predict which quantity changes first.
Demos2 interactive demos in this domain
Before moving onSay in one sentence how the idea works before going to the next notebook.
LearnerWhich notebook should I read first?

Read the first notebook, make one prediction in its demo, then go on to the next.

Open the first notebook

Recommended route

Read these in order: each notebook comes after the notebooks in this domain that it builds on, and the label beside it gives its level. A prerequisite with no page here yet is marked as outside reading. A notebook is left out of the route only when a prerequisite has neither a page here nor a named outside reading; the full list below marks it.

  1. 01
    Representation Learning & Embedding Geometry

    How models turn inputs into vectors whose geometry can expose useful factors, contextual meaning, and similarity structure.

    Intermediate18 mincodedemoafter Scaled Dot-Product Attention & Transformer Layers
  2. 02
    Sparse Autoencoders: Feature Dictionaries for Mechanistic Interpretability

    Sparse autoencoders rewrite each model activation as a sparse combination of learned directions, which are often easier to interpret than individual neurons.

    Advanced16 mincodedemoafter Representation Learning & Embedding Geometry, superposition, probing

    Sparse Autoencoders builds directly on Representation Learning & Embedding Geometry.

All notebooks

Every published notebook in this domain.