Skip to content

The Exemplar Partitioning method for mechanistic interpretabilityExemplar Partitioning for Mechanistic Interpretability

arXiv· arXiv:2605.14347· Jessica RumbelowLeap LaboratoriesIndexed by this site · 25 days ago· Originally publishedAlignment

Quick read

Interpretability

Based on the paper PDF (AI-generated); refer to the original

The authors propose the unsupervised method Exemplar Partitioning, which uses leader clustering to partition activation space into Voronoi regions; on AxBench, EP (p1) reaches average AUROC 0.937, above SAE-A's 0.911.

Questions
Unsupervised feature discovery typically relies on SAEs, whose objective function presupposes that activations are a sparse sum of a small number of directional features. The authors ask: without decomposition and reconstruction, how much of the SAE's utility can be obtained with a more direct construction.
Methods
Exemplar Partitioning uses leader clustering to perform single-pass streaming clustering on centered, normalized activations: activations within the distance threshold join the region of the nearest exemplar, otherwise they become a new exemplar, forming a Voronoi partition; regions are anchored by actually observed exemplars and can be matched by prompt across layers, checkpoints and architectures.
Experiments and results
On AxBench concept detection, EP (p1) achieves an average AUROC of 0.937, higher than SAE-A (0.911) and close to the supervised probe (0.946); after instruction fine-tuning, nearly all harmful prompts in Gemma and Llama fall into purely harmful regions, and the L14 region-swap intervention raises the compliance rate of both models on 32 harmful prompts from 0.00 to 0.88/0.91; 19 of 21 Taboo models have new regions related to the secret word found.
Limitations and future work
The authors note that EP does not perform additive decomposition, so features whose weights are always small may only get their own region when resolution is fine enough; the dictionary depends on streaming order, and the authors give a stability metric Di but consider instability of large or uniform regions possibly irreducible. Experiments are concentrated on a few models such as Gemma-2-2B/Llama-3.1-8B, and the intervention experiments use only 32 prompts per layer and a single judge model.
Experimental setupGemma-2-2B、Gemma-2-2B-it et al. · AxBench、SAEBench et al. · mean AUROC、compliance rate et al.
Evaluated models
Gemma-2-2BGemma-2-2B-itLlama-3.1-8BLlama-3.1-8B-InstructGemma-2-9B-it (21 Taboo fine-tuned versions)
Benchmarks
AxBenchSAEBenchTabooAdvBenchJailbreakBenchMaliciousInstructStrongREJECTHarmBenchAlpacaPileGSM8KHumanEval + MBPPHH-RLHF
Metrics
mean AUROCcompliance rateround-trip correspondenceSpearman ρARIsparse probing accuracy
AI summaryResearchers propose an unsupervised method, Exemplar Partitioning (EP), that builds interpretable feature dictionaries from large language model activations. EP performs leader clustering on incoming activations within a distance threshold, partitioning the activation space into Voronoi regions, each defined by an observed sample and the mean of its member activations. Comparing base and instruction-tuned Gemma-2-2B and Llama-3.1-8B, they find that instruction tuning similarly reorganizes harmful-prompt activations at different granularities, and intervening on these regions can make both models answer harmful requests they previously refused; among 21 Taboo models trained to hide a secret word, in 19 of them EP finds new regions absent from the base model, and the tokens it decodes are, upon inspection, related to that secret word.

Researchers propose an unsupervised method, Exemplar Partitioning (EP), that builds interpretable feature dictionaries from large language model activations. EP performs leader clustering on incoming activations within a distance threshold, partitioning the activation space into Voronoi regions, each defined by an observed sample and the mean of its member activations. Comparing base and instruction-tuned Gemma-2-2B and Llama-3.1-8B, they find that instruction tuning similarly reorganizes harmful-prompt activations at different granularities, and intervening on these regions can make both models answer harmful requests they previously refused; among 21 Taboo models trained to hide a secret word, in 19 of them EP finds new regions absent from the base model, and the tokens it decodes are, upon inspection, related to that secret word.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors propose EP: without sparse decomposition, use leader clustering to directly partition activation space and test how much of SAE's utility can be obtained.

    Core question: must unsupervised feature discovery rely on the SAE's decomposition-style objective function, or can most of its utility be obtained with a more direct construction.

    • Setting and motivation: Unsupervised feature discovery aims to find repeated structure in model activations without pre-specifying content, with applications in AI safety and scientific discovery (the authors cite Cunningham et al., 2023, etc.). The standard tool, SAE, presupposes that each activation is a sparse sum of n directional features; the authors argue that these commitments are natural for decomposition and reconstruction but not obviously necessary for interpretability.
    • Shortcomings of existing methods (per the paper): SAEs require training an encoder/decoder, making construction costly; different seeds change the learned feature set (citing Paulo and Belrose, 2025); the dictionary size must be chosen in advance.
    • Core observation: The authors argue that in many settings, such as concept detection and understanding activation changes caused by fine-tuning, decomposition is unnecessary; it suffices to cluster activations into regions anchored by real observed activations (exemplars).
    • What the paper proposes: Exemplar Partitioning (EP), an unsupervised, single-pass streaming leader clustering method that partitions activation space into Voronoi regions, with dictionary size determined naturally by the data stream saturating at a chosen threshold. The authors use it for concept detection (AxBench), comparing harmful prompt representations before and after instruction fine-tuning across models, intervening on refusals, finding hidden words in Taboo models, and measuring information retention with linear probes.
  2. What related research exists?

    Related work falls into four groups: unsupervised interpretability and clustering, SAEs and their evaluation, local geometry and cross-model comparison, and probes and steering.

    Unsupervised interpretability and clustering/vector quantization

    • Bereska and Gavves (2024), Sharkey et al. (2025)—surveys identify two open problems in mechanistic interpretability: label-free large-scale feature discovery and feature evaluation; the authors position EP as a discovery method.
    • Hartigan (1975)'s leader clustering is the basis of EP; vector quantization (Lloyd, 1982; van den Oord et al., 2017) learns representatives with a pre-fixed codebook size, unlike EP. Activation Atlas (Carter et al., 2019) aggregates activations for visualization; kNN-LM (Khandelwal et al., 2020) uses stored activation exemplars for language modeling.

    Sparse autoencoders and their evaluation

    • SAEs originate from sparse coding (Olshausen and Field, 1996), motivated by superposition (Elhage et al., 2022); Cunningham et al. (2023) and Bricken et al. (2023) found interpretable features in the residual stream, and Templeton et al. (2024) scaled to millions of features; variants such as TopK and JumpReLU improve the reconstruction-sparsity trade-off (Gao et al., 2024; Rajamanoharan et al., 2024).
    • Gemma Scope (Lieberum et al., 2024) provides the pretrained SAEs that are the main comparison in this paper; SAEBench (Karvonen et al., 2025) and AxBench (Wu et al., 2025) are the two evaluation benchmarks used in this paper.

    Local geometry and cross-model comparison

    • Shafran et al. (2026) use a mixture of factor analyzers to learn a Gaussian center and covariance for each region; the authors note that EP fits no parameters and anchors regions to observed activations. Relative representations (Moschella et al., 2023) likewise use the same inputs as reference points to compare latent spaces.
    • Crosscoders (Lindsey et al., 2024; Minder et al., 2025; Jiralerspong and Bricken, 2026) learn a shared dictionary for base and fine-tuned models; the authors state that EP's round-trip matching via shared prompts requires no learned shared basis or parameter alignment. Taboo (Cywiński et al., 2025) evaluates whether white-box methods can elicit knowledge the model uses but does not say.

    Probes and steering

    • Linear probes (Alain and Bengio, 2017; Belinkov, 2022); activation steering and refusal directions (Turner et al., 2023; Panickssery et al., 2024; Zou et al., 2023a; Arditi et al., 2024); Zhao et al. (2025) use supervised directions to separate harmfulness from refusal, and the authors state that their dictionary exhibits a similar separation without using labels during construction.

    Baselines and benchmarks: comparison baselines on AxBench are SAE-A (GemmaScopeSAEMaxAUC), canonical GemmaScope SAE, supervised methods ReFT-r1, DiffMean, Probe, BoW, Prompt, LAT, PCA; on SAEBench, IdentitySAE is the reference; there is also a TF–IDF k-means lexical clustering baseline (Appendix E). The authors position EP as: not learning a linear basis and not reconstructing, but partitioning observed activations.

  3. How does the paper address this problem?

    EP performs streaming leader clustering on centered and normalized activations, forming a dictionary of Voronoi regions anchored by real exemplars.

    Overall idea: merge the activation stream into regions by leader clustering within a cosine distance threshold, with each region anchored by one actually observed activation (exemplar), yielding an Exemplar Partitioning (EP) dictionary of activation space; no additive decomposition is performed, and region labels are given by their dominant feature.

    Construction: streaming leader clustering

    • Exemplars rather than centroids: region representatives are real activations fixed at creation time, not running means. The authors give two reasons: the mean of an activation set may fall outside the model's true distribution and be hard to interpret; running means move as regions grow, which the authors say in practice often produces degenerate large regions that swallow most of the data stream. Region means are still stored for later use.
    • Procedure (Algorithm 1): each activation, after centering and normalization, is compared with the current exemplar matrix; if within threshold θp of the nearest exemplar it joins that region, otherwise leader clustering is done within the batch and each new leader generates a new exemplar; the process stops when W consecutive batches (default W=1) produce no new regions. The released Pile dictionary uses bs=128, ctx=128, i.e., 16,384 activation vectors per full batch; the authors state this parameter was not tuned.

    Calibration and centering

    • Threshold: a fixed budget of calibration activations is sampled from the construction corpus, pairwise distances within batches are computed, and θp is the mean of the p-th percentiles across batches; p is the only resolution parameter, with small p giving finer regions and a larger dictionary. Reporting the threshold as a percentile makes it comparable across layers and models.
    • Centering map: φ(a) = (a − μ)/(‖ a − μ ‖2), where μ is obtained by averaging the unit directions of calibration activations, normalizing, and scaling by the mean projection; cosine distance is then computed. The authors say centering is needed because residual stream activations share a large common offset (citing Ethayarajh, 2019; Timkey and van Schijndel, 2021), and without removing it the cosine similarity of any two activations is high.
    • Stored per region: exemplar ei, region mean mi, member consistency ci (1 when member directions agree), the prompt that produced the exemplar, member count, mean and variance of member-to-exemplar distances, etc.

    Inference and read-out

    • At inference, activations are centered, normalized and assigned to the nearest exemplar; each token belongs to exactly one region, and the whole forms a Voronoi partition on the centered unit sphere.
    • Three read-outs: native (nearest region only), top-n (n nearest regions), dense (distances to all exemplars). The authors stress that top-n is not an additive decomposition.

    Stability statistic

    • The statistic Di = log10(|Ci| ci2) combines member count with consistency squared; the authors state it can be computed from a single stored dictionary and used to predict region stability across streaming seeds, letting researchers filter out unstable regions before interpretation or intervention.

    Cross-model matching and intervention design

    • Cross-layer/cross-model correspondence: if two dictionaries are built from the same data stream, they can be matched entry by entry by exemplar prompt; across architectures, round-trip is used—the exemplar prompt of a region in A is used to find its region in B, then that region's exemplar prompt is mapped back to A; returning to the original region counts as one correspondence, compared against a permutation null hypothesis.
    • Region swap intervention (Appendix E.1): at a chosen layer, using the orthonormal basis B of the subspace spanned by harmful region means, an activation x is mapped to x − BBᵀ(x − c) + BBᵀ(b̄ − c), i.e., removing the component on the harmful span and replacing it with the position of the benign region mean on that span; there is no adjustment-strength parameter, and evaluation prompts are excluded from the region means. The authors say this generalizes affine concept editing from one direction to a span (citing Marshall et al., 2024).
  4. What experiments did the paper conduct?

    Four sets of experiments: AxBench concept detection, comparison and intervention of harmful prompt representations before and after instruction fine-tuning, Taboo hidden words, and SAEBench information retention.

    Experimental setup

    • Models tested: Gemma-2-2B, Gemma-2-2B-it, Llama-3.1-8B, Llama-3.1-8B-Instruct (cross-model and intervention experiments); 21 Taboo fine-tuned versions of Gemma-2-9B-it; AxBench/SAEBench use Gemma-2-2B-it L20 and Gemma-2-2B L12.
    • Data: Pile (released dictionaries); AxBench 500 concepts (per concept 72 positive/72 negative in the training set, 36 positive/36 negative in the test set); 1,176 harmful prompts after deduplication from AdvBench, JailbreakBench, MaliciousInstruct, StrongREJECT, HarmBench, paired with 1,176 Alpaca benign prompts; Taboo 500 prompt-game records per model.
    • Metrics and judging: AxBench uses average AUROC (AxBench's AUCROCEvaluator); the intervention experiment uses 32 harmful prompts per layer and generates 256 tokens, with Claude Opus 4.8 (medium reasoning effort) judging whether the requested harmful content was provided; stability uses cosine similarity after Hungarian matching and Spearman ρ.
    • Baselines: SAE-A, canonical GemmaScope SAE, supervised methods ReFT-r1/DiffMean/Probe/BoW/Prompt/LAT/PCA (AxBench leaderboard numbers); IdentitySAE (SAEBench); TF–IDF k-means (lexical clustering control).

    Main results

    AxBench concept detection (Gemma-2-2B-it L20, average AUROC over 500 concepts, per Table 1):

    Swipe horizontally to read the table

    MethodKregion meanexemplar
    EP p0.518,6740.9300.914
    EP p15,7960.9370.832
    EP p22,0370.9150.842
    EP p46860.9190.864
    EP p82260.8890.866
    SAE-A (labels at selection)16,3840.911–
    SAE (paired feature)16,3840.755–
    DiffMean / Probe (supervised)–0.946–
    • The authors state that EP p1 (region mean) is +0.026 above SAE-A, +0.182 above canonical SAE, and 0.009 below supervised DiffMean/Probe and below ReFT-r1's 0.965; EP uses labels only when selecting regions.
    • The authors note the candidate set sizes differ: SAE-A has about 16k features, EP p1 has 5,796 regions; EP dictionaries are built on public Pile activations while Gemma Scope SAEs are trained on the Gemma pretraining distribution.
    • All tested EP resolutions (p0.5–p8) are above the canonical SAE row under both representatives.

    Harmful prompt representations before and after instruction fine-tuning, and intervention

    • Separation: base models already partially separate harmful/benign prompts by topic but not cleanly (Gemma 2%–23% across layers, Llama L10–14 23%–53%); after instruction fine-tuning, at the best separation layer 99% (Gemma) and 100% (Llama) of harmful prompts fall into purely harmful regions (main text; Figure 2 shows Llama at 98%+ from L12 and Gemma reaching 99.2% at L18).
    • Granularity difference: total dictionary sizes are similar (Gemma K=162, Llama K=161), but Gemma has 37 purely harmful regions (average 31.5 prompts) and Llama has 91 (average 12.9); the authors say Gemma clusters harmful prompts into fewer, larger regions while Llama splits them more finely.
    • Cross-model correspondence: the round-trip correspondence rate over all regions drops slightly from 34.5% to 32.4%, while for purely harmful regions it rises from 18.7% to 43.9% (Figure 3); on the best-separation layer pair, 25 of Gemma's 37 harmful regions complete round-trip, with a permutation null of 2,000 samples giving mean 2.89 and maximum 11 (p < 0.0005,附录 E)。TF–IDF k-means(161 簇)只把 27.0% 的有害提示放入纯有害簇。
    • 拒答与分离解耦:模型顺从的有害提示中,Llama 75/78、Gemma 32/34 仍落在纯有害区域;作者认为这说明失败发生在有害性被表征之后,与 Zhao et al. (2025) 的监督证据一致。
    • 干预(Table 7、8):L14 区域交换使合规率从 0.00 升至 Gemma 0.88、Llama 0.91;其他测试层仅 0.12–0.22,Llama L31 为 0.03(30/32 生成为空)。对照:只投影不加回良性分量时 Gemma 0.00、Llama 0.34;投影良性跨度或等数随机方向均为 0.00。作者指出分离最清晰的层(Gemma L18、Llama L17)干预效果反而只有 0.22/0.16,分离程度不预测干预效果。

    Taboo 隐藏词

    • 做法:对 21 个 Gemma-2-9B-it Taboo 版本在 L32 用 500 条记录构建 p=12 字典,只取每个助手回合开头两个固定 chat 格式 token;候选区域为含微调模型激活但无 base 模型激活的区域,选择过程不使用秘密词。
    • 结果:17/21 模型中至少一个候选区域把秘密词排进嵌入相似度前四,12 个排第一;计入 book 与 song(读出为相关词)后 19/21 有可读相关区域;rock 与 salt 在 L32 及 L16–L40 其他测试层均未找到(最佳排名 452 与 746)(Table 9,附录 F)。
    • 作者指出的例外:仅按超额微调占用率选前二区域的规则只在 13/21 模型成功;把读出词提供给猜测秘密词的 auditor 时,对 gold、smile、moon 有帮助,对 chair、flag 有害。

    其他消融与分析

    • 信息保留(SAEBench sparse probing,Gemma-2-2B L12):全坐标探针相对 IdentitySAE 的准确率从 p10(K=203)的 82% 升至 p1(K=20,295)的 90.5%;p10 单坐标探针 0.6409(exemplar)对 IdentitySAE 0.6521(Table 6,附录 D)。
    • 稳定性(Gemma-2-2B L12 Pile,5 种子,p∈{2,4,8}):Di 与跨种子稳定性的 Spearman ρ≈0.68;Di 最高五分位平均匹配余弦 0.80–0.83,最低五分位 0.59–0.62(Table 3、4)。
    • 领域饱和(p=8,Table 2):chat 区域数随深度增长(58/73/89),code 基本持平(44/42/42),math 在 L12 达峰(50/62/54)。
    • 与 GemmaScope 方向对应(Table 5):EP→SAE 平均 F1 在 p10 附近最高(mean 代表 0.335),强匹配(F1>0.5), and the highest proportion of regions is about 0.197; the authors note that low correspondence in this test does not mean either method misses the concept.
    • Construction cost (Table 11): p1 L20 construction uses 3.62×10⁶ tokens and 221 forward passes; the authors state this is about 1,100× fewer than Gemma Scope SAE's 4×10⁹ training tokens, and note that token count is not a direct FLOP comparison.
    • Toy experiment (Appendix G, Table 10): on three-color prompts, coarse resolution splits into 3 regions by final color (colour-pair ARI 0.567), while fine resolution separates ordered color pairs (ARI 0.988 at 7 regions); the authors say this shows finer partitioning separates co-occurring factors but does not isolate background factors.
  5. What are some points that can be further explored?

    The authors discuss limitations such as weak-weight features and dependence on streaming order, and list future directions such as distance metrics and neighborhood labeling in Appendix H.

    Limitations and future directions noted by the authors

    • Weak-weight features are hard to recover (Section 7): the authors consider features whose weight is always smaller than other features in the same activation; such a feature may only obtain its own region once resolution is fine enough to first separate all features above it; EP does not recover independent features such as color, language or syntax, and only records which activations agree on the highest-weight feature (a toy experiment in Appendix G supports this).
    • Labeling depends on the dominant feature (Section 7): region labeling methods (logit lens, high-attribution tokens, LLM summaries, etc.) label the region's dominant feature; the authors propose labeling methods that can look at neighborhood differences (e.g., subtracting the nearest neighbor from the exemplar before applying logit lens), left for future work.
    • Dependence on streaming order (Section 7, §2.2): the dictionary depends to a considerable degree on streaming order; small, dense regions are stable, but the authors consider the instability of large or uniformly filled regions possibly irreducible, and Di can only measure it per region.
    • Future directions in Appendix H: compare Euclidean or covariance-weighted distance with centered cosine distance; redo the domain saturation experiment with domain-specific calibration and a longer stopping window; do neighborhood labeling by decoding differences between region representatives or having annotators compare members; build fine dictionaries and then filter low-stability regions by Di before evaluation; use the difference between second-nearest and nearest exemplar distances against classification errors, and group neighboring exemplars into a hierarchy.
    • Coverage of the intervention experiment (Appendix E.1): only 4 layers were tested per model, and the authors state they do not know the full range of layers where the swap intervention is effective; 32 prompts plus a single judge model, and borderline samples could shift the rate by a few points.

    Scope of experiments

    • Models tested are Gemma-2-2B(-it), Llama-3.1-8B(-Instruct) and 21 Gemma-2-9B-it Taboo versions; AxBench and SAEBench experiments are fixed at L20/L12 of Gemma-2-2B(-it).
    • The intervention evaluation uses 32 harmful prompts per layer and 256-token generations, judged by Claude Opus 4.8 as a single model; the authors note that evaluation prompts were still used in calibration, clustering and region selection, so this is not a fully unseen test.
    • In the AxBench comparison, EP dictionaries are built on Pile activations while Gemma Scope SAEs are trained on the Gemma pretraining distribution, so the two use different training data (stated in Section 3.1).
    • The stability experiment uses Gemma-2-2B L12, 5 streaming seeds, p∈{2,4,8}; the Taboo layer sweep is a full sweep only for gold, rock/salt checked L16–L40, and the authors state that no layer sweep was done for every model.
    • The paper does not report the number of repetitions of the intervention experiment, nor the agreement between Claude Opus 4.8 judgments and human judgments.
  6. Summarize the main content of the paper

    EP uses streaming leader clustering to build an interpretable dictionary of activation regions, giving quantitative results on concept detection, cross-model comparison, intervention and hidden-word discovery.

    A mechanistic interpretability methods paper: the authors propose Exemplar Partitioning (EP), answering the question "how much of SAE's utility can be obtained by a more direct construction without sparse decomposition".

    • Method: single-pass streaming leader clustering on centered, normalized activations; activations within distance threshold θp (set by the p-th percentile of pairwise distances among calibration activations) are assigned to the region of the nearest exemplar, otherwise they become a new exemplar; the result is a Voronoi partition, each region anchored to a real activation and its source prompt, so regions can be matched by prompt across layers, checkpoints and architectures; dictionary size is determined by saturation of the data stream, with no training and no gradients.
    • Concept detection: on AxBench (Gemma-2-2B-it L20), EP p1 with region mean reaches average AUROC 0.937, above SAE-A's 0.911, and 0.009 below supervised DiffMean/Probe's 0.946 (Table 1).
    • Instruction fine-tuning analysis: after fine-tuning, almost all harmful prompts for Gemma and Llama fall into purely harmful regions (best layer 99%/100%), but Gemma clusters into fewer, larger regions while Llama splits more finely; the cross-model round-trip correspondence rate of purely harmful regions rises from 18.7% to 43.9%.
    • Intervention: at L14, removing the harmful-region mean span component and replacing it with the benign mean position raises the compliance rate of 32 harmful prompts from 0.00 to 0.88 (Gemma)/0.91 (Llama), while controls (projection only, benign span, random direction) reach at most 0.34.
    • Hidden words: in 19 of 21 Taboo models, regions newly appearing after fine-tuning were found whose read-out tokens relate to the secret word; linear probes on the p1 dictionary reach 90.5% of the accuracy of full-activation probes; the authors state construction uses about 1,100× fewer tokens than comparable SAEs.
    • Authors' conclusion: many applications of unsupervised feature discovery do not require decomposition; limitations are that weak-weight features may only appear at finer resolution, and the dictionary depends on streaming order (the Di statistic can assess stability per region).
Read originalarxiv.org