Identifying a Circuit for Verb Conjugation in GPT-2

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Africa, David Demitri
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866916812955844608
author Africa, David Demitri
author_facet Africa, David Demitri
contents I implement a procedure to isolate and interpret the sub-network (or "circuit") responsible for subject-verb agreement in GPT-2 Small. In this study, the model is given prompts where the subject is either singular (e.g. "Alice") or plural (e.g. "Alice and Bob"), and the task is to correctly predict the appropriate verb form ("walks" for singular subjects, "walk" for plural subjects). Using a series of techniques-including performance verification automatic circuit discovery via direct path patching, and direct logit attribution- I isolate a candidate circuit that contributes significantly to the model's correct verb conjugation. The results suggest that only a small fraction of the network's component-token pairs is needed to achieve near-model performance on the base task but substantially more for more complex settings.
format Preprint
id arxiv_https___arxiv_org_abs_2506_22105
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Identifying a Circuit for Verb Conjugation in GPT-2
Africa, David Demitri
Computation and Language
Machine Learning
I implement a procedure to isolate and interpret the sub-network (or "circuit") responsible for subject-verb agreement in GPT-2 Small. In this study, the model is given prompts where the subject is either singular (e.g. "Alice") or plural (e.g. "Alice and Bob"), and the task is to correctly predict the appropriate verb form ("walks" for singular subjects, "walk" for plural subjects). Using a series of techniques-including performance verification automatic circuit discovery via direct path patching, and direct logit attribution- I isolate a candidate circuit that contributes significantly to the model's correct verb conjugation. The results suggest that only a small fraction of the network's component-token pairs is needed to achieve near-model performance on the base task but substantially more for more complex settings.
title Identifying a Circuit for Verb Conjugation in GPT-2
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2506.22105