AI engineering glossary · Transformers LLM architecture

What is SAE (sparse autoencoder)?

Sparse autoencoder (also called SAE): A small neural network trained to reconstruct a language model's internal activations through a wide layer where only a few units are active at once. The active units often correspond to human-interpretable features, making it a main tool for interpretability research.

Level: advancedTopic: Transformers LLM architecture

Sparse autoencoder: an example

An autoencoder trained on layer-20 activations finds a feature that fires on Indian currency amounts such as rupee prices.

Related terms

More Transformers LLM architecture terms

Where you learn it

Sparse autoencoder is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.