AtP*: An efficient and scalable method for localizing LLM behaviour to components

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kramár, János, Lieberum, Tom, Shah, Rohin, Nanda, Neel
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916143932899328
author Kramár, János
Lieberum, Tom
Shah, Rohin
Nanda, Neel
author_facet Kramár, János
Lieberum, Tom
Shah, Rohin
Nanda, Neel
contents Activation Patching is a method of directly computing causal attributions of behavior to model components. However, applying it exhaustively requires a sweep with cost scaling linearly in the number of model components, which can be prohibitively expensive for SoTA Large Language Models (LLMs). We investigate Attribution Patching (AtP), a fast gradient-based approximation to Activation Patching and find two classes of failure modes of AtP which lead to significant false negatives. We propose a variant of AtP called AtP*, with two changes to address these failure modes while retaining scalability. We present the first systematic study of AtP and alternative methods for faster activation patching and show that AtP significantly outperforms all other investigated methods, with AtP* providing further significant improvement. Finally, we provide a method to bound the probability of remaining false negatives of AtP* estimates.
format Preprint
id arxiv_https___arxiv_org_abs_2403_00745
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle AtP*: An efficient and scalable method for localizing LLM behaviour to components
Kramár, János
Lieberum, Tom
Shah, Rohin
Nanda, Neel
Machine Learning
Computation and Language
Activation Patching is a method of directly computing causal attributions of behavior to model components. However, applying it exhaustively requires a sweep with cost scaling linearly in the number of model components, which can be prohibitively expensive for SoTA Large Language Models (LLMs). We investigate Attribution Patching (AtP), a fast gradient-based approximation to Activation Patching and find two classes of failure modes of AtP which lead to significant false negatives. We propose a variant of AtP called AtP*, with two changes to address these failure modes while retaining scalability. We present the first systematic study of AtP and alternative methods for faster activation patching and show that AtP significantly outperforms all other investigated methods, with AtP* providing further significant improvement. Finally, we provide a method to bound the probability of remaining false negatives of AtP* estimates.
title AtP*: An efficient and scalable method for localizing LLM behaviour to components
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2403.00745