新着研究 / LLM
モデルの正答だけを再現しても説明は足りない――回路評価に誤答の一致率を加える
Exact Error Agreement for Circuits
Exact Error Agreement for Circuitsの原論文から掲載した図です。細部はクリックして拡大できます。
原論文の図の説明を読む
Figure 3: Correct minus error agreement gaps on MIB before and after margin matching. Circuits are extracted using EAP-IG on the full public-training split and evaluated on the public-test split. Correct and error examples are bucketed within each model–task setting within a 0.1 logit range without replacement; Shading denotes pointwise 95% bootstrap intervals.
概要
- 回路の説明力を見るには、モデルの正答だけでなく、同じ誤答を再現する割合を測る。
- GPT-2 smallのIOIでは、正答例の一致率97.3〜99.5%に対し、誤答例は11.4〜41.7%だった。
- 省いた注意ヘッドの追加で誤答再現は改善したが、誤答一致だけで仕組みの説明が完成するわけではない。
補足:編集した模式図で仕組みを確認する
VISUAL EXPLAINER
図でつかむ、Exact Error Agreement for Circuitsの仕組み
- 01正解付きの問題
- 02モデルの正誤を区分
- 03回路の回答を比較
- 04正誤別の一致率
原論文の説明をもとにした模式図です。処理の細部は省略しています。
研究の背景
モデルの内部から少数の計算経路を取り出し、振る舞いを説明する研究では、その経路だけで課題を解けるかが重視されてきた。しかし、モデル全体が誤答した例を、取り出した経路が正答してしまう場合がある。
その経路は課題に役立つ計算を含んでいても、実際の失敗理由を示し切れていない。障害分析や信頼性の検討に使うなら、成功と失敗の双方でモデルの選択を再現するかが重要になる。
手法
回路とは、モデル内部の計算要素とつながりを一部だけ残した小さな部分網である。回路外の計算値は平均値などに置き換えて実行する。著者らは、各問題でモデル全体が選ぶ答えと回路が選ぶ答えを比べ、モデルが正解した問題と誤った問題に分けて一致率を出す。誤答側では、単に回路も間違うだけでは足りず、同じ誤答を選んだ時だけ一致と数える。
例えば二人の名前から文の受け手を答える課題なら、モデルが受け手を取り違えた例を集める。回路が正しい名前を選べば、その誤答の再現には失敗したと数える。さらに省いた注意ヘッドを戻し、一致率がどう変わるかを調べた。
新規性
小さな計算経路でモデルを説明する「回路」の評価に、モデル自身が誤った入力で同じ誤答を出すかという指標を明確に加えた。正答時と誤答時の一致率を分けることで、平均的な性能に隠れる差を示す。
GPT-2 smallの事例では、省かれた注意ヘッドを戻すと、誤答の再現が大きく改善した。特定の誤答に至る計算の流れも介入で追跡している。
従来手法との違い
従来の回路評価には、課題の正答率、正解候補への点数差、モデル全体との出力分布の近さなどがある。本研究は、それらで高く評価される回路でも、モデル固有の間違いを失う場合を調べた。
比較対象には手作業で作られた回路と複数の自動抽出法が含まれる。著者らは、誤答が一致することを説明の必要な検査と位置付ける一方、それだけで内部の仕組みを解明できたとはしていない。
実験結果
著者らは名前の受け手を選ぶIOI、プログラムの説明文を補うDocstring、Mechanistic Interpretability Benchmarkの六設定で検証した。GPT-2 smallのIOIでは、平均値で回路外を置き換えた場合、検討した回路はモデル正答例の97.3〜99.5%で選択が一致したが、誤答例では11.4〜41.7%だった。
別の26,000例のテスト集合では、手作業の回路に注意ヘッドを加えると、225件のモデル誤答に対する一致率が14.2%から75.1%へ上がった。正答例の一致率は99.34%から98.93%へ下がった。いずれも著者らの課題と介入条件での値である。
応用の可能性
編集上の応用案 · 論文が実証した用途とは区別しています。
編集上の応用案:社内の文章処理モデルで、誤回答の原因を調べるために内部回路を使う場合の検査表を作る。入力は正解が定まる短い問題群、モデル全体の回答、抽出した回路の回答である。
問題をモデルの正答例と誤答例に分け、それぞれで回路がモデルと同じ答えを選んだ割合を出力する。誤答例で一致しない回路は、その失敗を説明する候補として追加調査し、省かれた計算経路の影響を調べる。
応用先の候補からNauhに相談できます。
導入時の検証
導入時の検証案 · 対象データでの再評価が必要です。
導入時の検証案:正解と回答候補が明確な小規模課題を選び、モデル全体の答えを先に保存する。正答例と誤答例を固定し、既存の回路を基準として、両群でのモデルとの完全一致率を測る。
回路外の値の置換条件と回路の大きさを記録し、省いた要素を追加した場合の誤答一致率と正答一致率の変化を比べる。独立した問題群でも同じ差が続くかを確認し、誤答率だけを合わせる単純な出力調整も対照に置く。
限界と課題
著者らは、誤答の完全一致が回路説明の必要条件ではあっても十分条件ではないと明記する。結果は、候補から一つの語を選ぶ課題と、回路外の値を置き換える条件に依存する。置換方法を変えると一致率も変わった。
編集上の確認点は、自由な文章生成や別種の業務課題へ同じ指標を適用できるか、誤答例が十分に集まるかである。誤答を再現するための回路追加が、単なる出力の偏りではないかも対照実験で確かめたい。
出典
元のタイトル・要旨を確認する(英語)
Rethinking Circuit Evaluation: Do Circuits Explain Model Errors?
Mechanistic interpretability (MI) aims to explain a model's behaviour through analyzing its internal computations; circuit-based explanations aim to isolate these computations with compact subnetworks validated by ablating the rest of the model. We show that circuits validated this way may fail to recover the underlying mechanism of the model's behaviour by closely reproducing its successful decisions while failing to account for most of its errors. Such explanations should account for the model's particular errors as well as its successes. We evaluate this requirement by measuring exact answer agreement separately on model successes and failures, across circuit sizes and ablation settings, on IOI, Docstring, and six model-task settings from the Mechanistic Interpretability Benchmark. We discover that many tested circuits closely replicate correct behaviour while missing most of the model's errors. On indirect object identification (IOI) for GPT-2 small, under mean ablation, the manual circuit and tested automated circuits, including one trained against the model's full output distribution, agree with the model on 97.3-99.5% of prompts it answers correctly but only 11.4-41.7% of errors. An IOI case study shows that lost errors are recoverable by restoring omitted attention-heads which raise error reproduction from 14.2% to 75.1% on a separate held-out set with 0.41 percentage point decrease on correct agreement, exceeding matched random extensions and scalar-biased control. Intervention traces show how omitted computations produce specific wrong answers for a reproducible subset of errors. In all, these findings show circuits can preserve task success without adequately explaining model's failures, and support exact error reproduction as a necessary, but not sufficient, test of circuit-based explanations of model behaviour.
論文本体の取得範囲に基づく解説。AIが作成した未校閲の記事です。性能の数値は著者の評価条件に依存します。応用例と検証計画は編集上の提案です。解説更新:2026-09-29




