Models Don't Always Say What They Think" Lanham et al., 2023 "Measuring Faithfulness in Chain-of-Thought Reasoning Early Answering: CoTを書かせずに最初から答えさせてみて、 CoTの意義を確 認する Adding Mistakes: CoTに意図的に間違いを混ぜて最終答えが釣られたら参照 している証拠 Filter Tokens: CoTを...に書き換えても答えが変わらないならモデルは推論 内容ではなく考える時間に使っている可能性
メリデメ Cunningham et al., 2023: Sparse Autoencoders Find Highly Interpretable Features in Language Models ほとんどが0(白)で 少数の次元だけ活性(黒) 各次元が単一の意味 を持つよう誘導 ex)『〜ing』に反応 =説明の精度
et al., 2023 "Language Models Can Explain Neurons in Language Models" ←AnthropicのNeuronpedia 入力: そのニューロン/特徴量を最も強く活性化 させたテキストサンプルの Top-k(とBottom-k) のリスト LLM: これらのサンプルに共通して反応してい るのは何かを自然言語で説明
全ての概念が線形であるとは限らない メリデメ Park et al., 2023 "The Linear Representation Hypothesis and the Geometry of Large Language Models" Hernandez et al., 2023: Linearity of Relation Decoding in Transformer Language Models male→female の差分が 『she is the』−『he is the』の表現差と一致 Miles が plays する楽器を予測 楽器名に使われるのは一部のモジュールだけ 主語+関係=目的語
メリデメ Park et al., 2024 "The Representation Geometry of Features and Hierarchy in Large Language Models" (ICLR 2024) 「animal vs mammal」、2ベクトルが斜め方向 「animal vs mammal ⇒ bird」 「plant⇒animal vs mammal⇒bird」
Engels et al. 2024: Not All Language Model Features Are Linear 学習が済むと数字が円形に並ぶ 表現空間に周期的構造が生まれ、 汎化能力を生んでいる Days of the Week: 曜日の中間表現をPCAで2次元に 落とすと7つのクラスタが放射状に → 線形ではなく円形な構造
メリデメ Arditi et al., 2024 "Refusal in Language Models Is Mediated by a Single Direction" (NeurIPS 2024) Arditi et al., 2024 "Refusal in Language Models Is Mediated by a Single Direction" (NeurIPS 2024) SAE特徴量がどのトークン 位置で活性化するか 対称的な概念ペアを使い このベクトルを加算・減算 拒否方向のベクトルを削除する→Refusal scoreが大幅低下 =拒否行動が単一の方向ベクトルに集約されている
Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 Small 重複名 重複名 反復パターンをコピー 1. 特定の注意ヘッドが複数回 登場した人名を特定 2. 特定の注意ヘッドがその 人名情報を最後尾の表現に集 3. 特定の注意ヘッドが一度しか 登場していない人名を参照して コピーする
SKIP Elhage+, A Mathematical Framework for Transformer Circuits (Transformer Circuits Thread 2021) Olsson+, In-context Learning and Induction Heads (Transformer Circuits Thread 2022) 訓練トークン 損 失 I C L ス コ ア I H I ス コ ア