Hypothesis Testing the Circuit Hypothesis in LLMs

Published: 24 Jun 2024, Last Modified: 31 Jul 2024ICML 2024 MI Workshop OralEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Hypothesis testings, mechanistic interpretability, circuit
TL;DR: Hypothesis tests and empirical studies on how well existing circuits align with idealized properties of circuits
Abstract: Large language models (LLMs) demonstrate surprising capabilities, but we do not understand how they are implemented. One hypothesis suggests that these capabilities are primarily executed by small subnetworks within the LLM, known as circuits. But how can we evaluate this hypothesis? In this paper, we formalize a set of criteria that a circuit is hypothesized to meet and develop a suite of hypothesis tests to evaluate how well circuits satisfy them. The criteria focus on the extent to which the LLM's behavior is preserved, the degree of localization of this behavior, and whether the circuit is minimal. We apply these tests to six circuits described in the research literature. We find that synthetic circuits -- circuits that are hard-coded in the model -- align with the idealized properties. Circuits discovered in Transformer models satisfy the criteria to varying degrees.
Submission Number: 33
Loading