mej7.comHow AI Works

IOI circuit

Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.

The indirect-object-identification circuit in GPT-2 small: a set of heads that complete 'When Mary and John went to the store, John gave a drink to' with 'Mary' (Wang et al., 2022).

In one paragraph. The indirect-object-identification circuit in GPT-2 small: a set of heads that complete 'When Mary and John went to the store, John gave a drink to' with 'Mary' (Wang et al., 2022).

Used in

Related terms

Full glossary