AI engineering glossary · Transformers LLM architecture

What is induction head?

Induction head: A pair of cooperating attention heads found in Transformers that complete repeated patterns: on seeing token A, they look for an earlier occurrence of A and predict the token that followed it. They are thought to underlie part of in-context learning.

Level: advancedTopic: Transformers LLM architecture

Induction head: an example

In 'Asha Rao ... Asha', an induction head attends to the earlier 'Asha' and predicts 'Rao'.

Related terms

More Transformers LLM architecture terms

Where you learn it

Induction head 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.