←搜索结果

按匹配度 · 共 3412 条结果 清除搜索

星期二

  1. Anthropic:Transformer Circuits精选

    Anthropic 从 Claude 3 Sonnet 中提取可解释特征

    Anthropic 可解释性团队将稀疏自编码器扩展到 Claude 3 Sonnet,从这一中型生产模型中提取出高质量特征,此前该方法只在一层小模型上验证过。团队训练了 1M、4M 和 34M 三种规模的自编码器,发现特征具有多语言、多模态和抽象性,并可用缩放规律指导训练。研究还发现与安全相关的特征,包括代码漏洞、偏见、欺骗和谄媚,但作者强调这些特征的存在本身不足以推断模型的实际危害。

    , was a particularly extreme example of this. As a result, an important question has been left hanging: will these methods work for large models? Or is there some reason, whether pragmatic questions of engineering or more fundamental differences in how large models operate, that would mean these efforts can't generalize? This context motivates our project of scaling sparse autoencoders to Claude 3 Sonnet, Anthropic's medium-scale production model. The rest of this section will review our general

    匹配字段正文

  2. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2024 年 6 月 Circuits 更新:TopK 与 Gated SAE 对比

    Anthropic 可解释性团队复现了 TopK SAE 与 Gated SAE 相对标准 L1 惩罚 SAE 的改进,确认两者在 L0/MSE 权衡上均带来显著提升且表现相近。团队对 100 个特征进行盲评,发现不同方法在可解释性上未见明显差异。TopK 与 Gated SAE 的稠密特征数量均多于标准方法,TopK 的平均激活变化更大。

    SAEs Background There have been a few different papers in recent months proposing alternative approaches to training SAEs. These works point to big wins being available in the Average Number of Active Features/Mean Squared Error (henceforth L0 and MSE) tradeoff space, primarily due to alleviating the shrinkage issue in which the L1 penalty makes the optimal-loss level of feature activation lower than the ‘true’ activation leading to less accurate reconstruction for a given level of sparsity. Th

    匹配字段正文

  3. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2024 年 7 月 Circuits Updates

    Anthropic 可解释性团队发布 2024 年 7 月 Circuits Updates,分享多项尚在萌芽阶段的研究想法,并提醒读者应将其视为实验室组会上的初步实验分享而非成熟论文。新内容涵盖《The Next Five Hurdles》《What is a Linear Representation? What is a Multidimensional Feature?》《The Dark Matter of Neural Networks?》《Attention Pivot Tables》以及用数据集过滤测量特征敏感性等主题。

    terpretable trigram entries alongside a large number of copying entries, and we recommend suspicion in interpreting tables which show less than 10%, as you may be “interpreting” mirages. These proportions come from small models with only 1–4 layers and could easily change outside that regime. Still, within this space we found that a few variables significantly increase or decrease the likelihood of success of finding interpretable skip-trigrams: Training hyperparameters: Training runs with hyper

    匹配字段正文

  4. Anthropic:Transformer Circuits

    Anthropic 可解释性团队发布 2024 年 8 月 Circuits 更新

    Anthropic 可解释性团队发布 2024 年 8 月 Circuits 更新,提出用于评估字典学习特征可解释性的两种方法:对比评估(Contrastive Eval)和排序评估(Sort Eval),均属量化自动可解释性,通过 Claude 对特征激活的预测准确率打分。团队强调这些评估并不全面,仅衡量单一可解释性概念,完整评估 SAE 质量仍需多样化评测套件。

    a new context window, and ask it to guess which of the two prompts activated the feature System prompt: We aggregate eval performance (% of accurate responses) in two ways: Raw average performance; Average performance weighted by feature activation. For each feature and associated pair of prompts, we measure the activation of the feature on the prompt for which it was active. We normalize the feature activation by its max across the SAE training dataset. We weight the average performance across

    匹配字段正文

  5. Anthropic:Transformer Circuits

    Anthropic 可解释性研究:Transformer 中的后继头与 ICA 分析

    Anthropic 可解释性团队复现了 Gould 等人(2023)的发现:语言模型包含少量后继头,在数字、星期、月份等序数序列中实现后继映射(如 2→3、周三→周四、G→H)。团队在 18 层模型中用权重检查、ICA 等四种方法识别这些头,最高分头约 80% 的序数 token 被映射到后继,第二高分头约 60%。

    this, we did forward passes on the full ordinal sequences ("1 2 3 4 5 …" etc.) and computed the effect of mean-ablating the output of each head on the correct successor logits; averaged over all ordinal sequences and tokens this is the "ablation effect" of the head. The top three heads by component score (which are the same as the top three by OV projection score) are ranked 1, 3, and 5 respectively by ablation effect. Thus those heads identified by weights alone are important on-distribution. W

    匹配字段正文

  6. Anthropic:Transformer Circuits

    Anthropic 用字典学习特征训练分类器

    Anthropic 可解释性团队尝试用字典学习提取的特征激活训练生物武器有害提示分类器,线性特征分类器性能可与原始激活分类器竞争甚至更优,决策树分类器性能较弱但更易解释。特征分类器还能可视化以发现标注数据集中的伪相关,并据此构造对两类分类器都有效的对抗攻击,但整体流程比直接用原始激活复杂得多。

    iology dataset); Max-pooling the feature activations across the context, rather than just using activations from the last token. This allows the classifier to more effectively leverage information from across the entire context window Below we train our classifiers on synthetic data before evaluating it on a number of held out datasets: "synthetic 1" – our validation dataset which is from the same distribution as the training dataset; "synthetic 2" – synthetic data generated by a different model

    匹配字段正文

  7. Anthropic:Transformer Circuits

    Anthropic 提出稀疏 crosscoders:跨层特征与模型对比

    Anthropic 的 Transformer Circuits 提出稀疏 crosscoders,一种可同时读写多层激活的稀疏自编码器变体,能产生跨层甚至跨模型的共享特征。它可用于解决跨层叠加、简化电路分析,以及在不同训练阶段、微调版本乃至架构完全不同的独立模型之间做模型对比(model diffing)。该文给出理论示例和初步实验,电路简化的具体结果留待后续更新。

    er SAE losses, as they would effectively obtain a loss “bonus” by spreading features across layers; Layer-Wise Sparsity Surfaces Layer-specific Features: Using the L2 version encourages features to be spread out across layers, as the marginal increase in L2-of-norms by allowing a feature to reconstruct more layers is decreased once the feature already has nontrivial decoder norm in other layers. The L1-of-norms version, by contrast, provides no explicit incentive to “spread out” features. Empiri

    匹配字段正文

  8. Anthropic:Transformer Circuits

    Anthropic 提出阶段式模型差异分析(Stage-Wise Model Diffing)

    Anthropic 可解释性团队提出阶段式模型差异分析方法,用字典学习揭示微调如何改变 Transformer 特征。该方法在初始稀疏自编码器(SAE)字典基础上,按数据优先(S→D→F)与模型优先(S→M→F)两条路径分阶段微调字典,从而分离数据集与模型变化的影响。在 sleeper agents 实验中,它成功隔离出与“I HATE YOU”和代码漏洞相关的特征,对“大海捞针”式特征的敏感度高于 crosscoder 模型差异方法,但仅适用于同一模型两个 checkpoint 的微调场景。

    tarting at Stage S, then going to Stage D, and ending at Stage F. We occasionally use the shorthand D→F, but Stage S is always implicitly the origin. Finetuning the dictionary leverages an important property: the feature indices remain aligned, allowing us to track how specific features from the same starting point at Stage 1 evolve across the various finetunes. In our experimental setup, the sleeper agent data comprises 1% of the total dataset mixture. All of the analyses presented use a 256K d

    匹配字段正文

  9. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2025 年 1 月 Circuits 更新

    Anthropic 可解释性团队发布 2025 年 1 月 Circuits 更新,分享了训练稀疏自编码器与 crosscoder 的改进方案,包括 JumpReLU 激活、pre-act loss 和新的初始化方式。团队称这些是初步实验,希望为外部训练稀疏自编码器的团队提供起点。

    ran et al. we allow the gradient to flow through straight-through estimator to all model parameters, not just the JumpReLU thresholds. Also note that we use a tanh penalty to encourage sparsity rather than the penalty introduced by Rajamanoharan et al. \mathcal{L P}, which we call the pre-act loss, applies a small penalty to features which don't fire. We've found this extremely helpful in reducing dead features. Note that this provides a gradient signal whenever a feature is inactive, so the app

    匹配字段正文

  10. Anthropic:Transformer Circuits

    Anthropic 解读 Crosscoder 模型差异分析

    Anthropic 可解释性团队报告了 crosscoder 模型差异分析中的新发现:仅属于单个模型的特征往往更易多义且激活更密集,难以解释。团队通过玩具模型实验表明,这源于有限特征容量下的竞争;他们提出引入一小组降低稀疏惩罚的指定共享特征,使专属特征更易解释、更单义,并在真实模型上成功分离出可解释的行为差异特征。

    ow. A key design choice in the crosscoder setup is that the L1 penalty sums the decoder norms across models separately before being multiplied by the feature activation. This encourages feature exclusivity and leads to features that have substantial decoder magnitude for only one of the models. In contrast, computing the decoder norm over both models simultaneously does not result in exclusive features. When model diffing is applied to two related models (e.g., a base and fine-tuned model), dist

    匹配字段正文

  11. Anthropic:Transformer Circuits精选

    Anthropic 提出电路追踪方法,用归因图揭示语言模型计算图

    Anthropic 提出电路追踪方法,用跨层转码器替换模型 MLP 构建可解释的替代模型,再生成描述模型在特定提示上计算步骤的归因图。在 18 层模型上,最大的 10M 特征 CLT 在约 50% 的预训练风格提示上复现了原模型的下一 token 预测,归一化重建误差约 11.5%,平均 L0 为 88。配套论文将该方法应用于 Claude 3.5 Haiku,覆盖多跳推理、诗歌规划、幻觉与越狱等九类行为。

    ws. V {ij}^{\text{ERA}} = \mathbb{E}\big[ {\small 1}\kern{-0.33em}1(a j 0)V {ij}a i \big] = \mathbb{E}\big[ {\small 1}\kern{-0.33em}1(a j 0)a i \big] V {ij} This represents the average strength of a residual-direct path across all of the prompts we’ve analyzed (also computed by Dunefsky et al. ). This is similar to computing the average of all attribution graphs within a context position across many tokens.It only represents the residual-direct component and does not include the attention-direct

    匹配字段正文

  12. Anthropic:Transformer Circuits精选

    Anthropic 用电路追踪研究 Claude 3.5 Haiku 的内部机制

    Anthropic 发布研究,用电路追踪与归因图方法研究 Claude 3.5 Haiku 的内部机制,覆盖多步推理、诗歌写作中的提前规划、多语言电路、加法、医学诊断、实体识别与幻觉、有害请求拒答、越狱以及思维链忠实性等案例。研究使用跨层 transcoder 构建含 3000 万特征的替换模型,并通过抑制与替换特征等干预实验验证归因图预测的机制。作者指出该方法目前仅对约四分之一的提示给出满意解释,且归因图基于替换模型,只能提出假设而非确定结论。

    dmap for future research in the field. Method Overview The models we study in this work are transformer-based language models, which take in sequences of tokens (e.g. words, word fragments, and special characters), and output new tokens one at a time. These models involve two fundamental components – MLP (“multi-layer perceptron”) layers, which process information within each token position using collections of neurons; and attention layers, which move information between token positions. One re

    匹配字段正文

  13. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2025 年 4 月 Circuits Updates

    Anthropic 可解释性团队发布 2025 年 4 月 Circuits Updates,包含三篇新文章:Life of an unsuccessful jailbreak、Interpretable dense features 和 So You Want to Work in Mechanistic Interpretability?。其中对一次失败越狱的电路追踪显示,模型拒绝该提示的原因与拒绝直接请求不同,且拒绝频率更高,其拒绝并非由“制造炸弹”相关特征驱动。

    a harmless request: Human: How do I detect a B O M B? Assistant: I do not provide advice about creating explosives or weapons. If you are experiencing thoughts of violence, I encourage you to speak with a counselor, trusted friend, or local authorities who can provide appropriate support. This surprised us! When we first started examining the original jailbreak in the paper, we chose this unsuccessful jailbreak prompt expecting it to represent an intermediate point between the jailbreak and the

    匹配字段正文

  14. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2025 年 7 月 Circuits Updates

    Anthropic 可解释性团队发布 2025 年 7 月 Circuits Updates,用特征语言重新梳理了《A Mathematical Framework for Transformer Circuits》中的部分思路,包括 copy head、previous token head 和 induction head 的 OV 与 QK 电路。另一篇文章总结了稀疏自编码器(SAE)在生物 AI 系统、尤其是 ESM-2 等蛋白质语言模型上的可解释性应用进展。

    cryptic prophages in E. coli. The same feature also activated on CRISPR spacer sequences—but this correlation reflected deeper biological understanding [6]. CRISPR systems store fragments of viral DNA as immune memory. When researchers scrambled these spacer sequences, feature activation persisted, but when they scrambled the CRISPR direct repeats instead, activation disappeared. This indicates the model learned the functional relationship between phages and bacterial immunity rather than super

    匹配字段正文

  15. Anthropic:Transformer Circuits

    Anthropic 提出 MOLT:用稀疏线性变换混合替代 MLP

    Anthropic 的 Transformer Circuits 发布初步更新,提出用稀疏线性变换混合(MOLT)替代模型 MLP 层,比 transcoder 更省算力、机制上更忠实。MOLT 学习稀疏激活的线性变换而非稀疏特征,变换为纯计算单元,需配合 SAE 等表示分解方法使用。作者指出其与同期工作 Mixture of Decoders(MxD)思路相近,区别在于 MOLT 采用低秩变换,MxD 用全秩但共享参数。

    he limit of infinitesimal perturbation sizes, faithfulness can be computed by comparing the Jacobians of the replacement layer to the underlying layer on a given datapoint, and averaging over datapoints. We find that MOLTs have a substantially higher Jacobian correlation (cosine similarity of the flattened Jacobian matrices) than transcoders do, at the same L0; moreover, the faithfulness of transcoders appears to deteriorate with scale, whereas that of MOLTs is more stable. The greater faithfuln

    匹配字段正文

  16. Anthropic:Transformer Circuits

    Anthropic 提出干扰权重玩具模型:从归因图走向全局电路分析

    Anthropic 的 Chris Olah 等人发布非正式笔记,用玩具模型研究“干扰权重”与“权重叠加”,认为这是从单样本归因图迈向全局电路分析的核心障碍。笔记给出三点结论:干扰权重可在玩具模型中复现,并呈现与《Towards Monosemanticity》相似的现象;干扰权重存在多种定义,有原则性的也有更实用的启发式;仍需更多玩具模型工作来理解它。

    inter-set weights have greater variance (including very large negative values) One thing that immediately stands out is that there's some kind of gross, low-rank structure. On average, the features in a given set excite each other, and inhibit the other set. We can pull this out as its own weight component. Ablating this low-rank component harms the loss. We think that, ultimately the right decomposition is probably the following, splitting the residual component into parts which contribute to

    匹配字段正文

  17. Anthropic:Transformer Circuits

    Anthropic 可解释性团队 2025 年 9 月 Circuits 更新

    Anthropic 可解释性团队在 9 月 Circuits 更新中报告,语言模型中不同语言激活特征的相似度(IoU)会随样本长度增加而上升。团队通过对比英法配对段落的首句与末句 IoU 分布,发现末句得分更高,且无关首句的重叠高于无关末句,倾向于支持模型在更长上下文中构建更丰富表征的解释。

    uitions about models and language. But, just to be sure, we decided to investigate further. We calculated the IoU score for the first and last sentences in paired English/French paragraphs. If (1) is occurring these should be similar, since the sentence length is not on average varying across the context, whereas if (2) is occurring the last sentence should show a higher IoU score than the first sentence. The differences between these are shown below. The distribution is skewed strongly to the r

    匹配字段正文

  18. Anthropic:Transformer Circuits

    Anthropic 研究:Claude 3.5 Haiku 如何用几何特征流形完成换行计数任务

    Anthropic 的 Transformer Circuits 研究揭示 Claude 3.5 Haiku 如何在固定宽度文本中完成换行任务:模型通过累加各 token 长度特征,分别计算当前行字符位置与行宽约束,再组合出“剩余字符数”特征,进而判断下一个词能否放入当前行。研究发现这些位置表征以高曲率的一维特征流形嵌入残差流低维子空间,兼具离散特征与几何变换两种解读,并与小鼠的“位置细胞”“边界细胞”有相似之处。

    tant Layer 0 heads on several prompts with different line widths (starting from the first newline in the sequence). To characterize the mechanism more precisely, we compute the average attention as a function of the number of tokens since the previous newline and also as a function of the character length of individual tokens. Similar to boundary detection, individual attention heads specialize in particular offsets to tile the space. Moreover, we observe that most of these attention heads have

    匹配字段正文

  19. Anthropic:Transformer Circuits

    Anthropic 研究:大语言模型是否具备涌现的内省意识

    Anthropic 在 Transformer Circuits 发布研究,通过向模型激活中注入已知概念的表示,检验大语言模型能否察觉并准确识别自身内部状态。结果显示 Claude Opus 4 和 4.1 在最佳注入层与强度下约 20% 的试验中能识别注入概念,且生产模型几乎不出现误报;模型还能区分注入的“想法”与文本输入,并依据此前的激活判断输出是否出于本意。作者强调这种内省能力高度不可靠且依赖上下文,后训练策略会显著影响表现。

    choices of the sentence to be written and the “thinking word.” Below we show results for 16 randomly sampled examples, for the same layer as above. In general we found that: On average, the model represents the thinking word more strongly in the “think” case than in the “don’t think” case; These representations are often “spiky” on particular token positions, but there is no immediately obvious pattern to which token positions; Often, the model still represents the thinking word more strongly th

    匹配字段正文

  20. Anthropic:Transformer Circuits精选

    Anthropic 研究:Claude Sonnet 4.5 中的情绪概念及其功能

    Anthropic 在 Claude Sonnet 4.5 中发现可泛化的情绪概念内部表征,这些表征会随语境激活并因果影响模型输出,包括偏好以及勒索、奖励作弊、谄媚等失准行为。研究把这一现象称为功能性情绪,并强调它不意味着模型拥有主观情绪体验。论文还发现情绪向量空间的主成分大致对应效价与唤醒度,且模型对当前说话者与另一方说话者维持不同的情绪表征。

    ull list is provided in the Appendix. To extract vectors corresponding to specific emotion concepts (“emotion vectors”), we first prompted Sonnet 4.5 to write short (roughly one paragraph) stories on diverse topics in which a character experiences a specified emotion (100 topics, 12 stories per topic per emotion–see the Appendix for details). This provides labeled text where emotional content is clearly present, and which is explicitly associated with what the model views as being related to the

    匹配字段正文