跳到主内容
@wquguru
精选88Hacker News Best(web_list)论文研究多源精选 ×3

神经网络是干净的:重新审视机制可解释性

Neural networks are clean

原文
发到 X
推荐理由

这篇深度解读挑战了机制可解释性领域的核心假设(超位置),提供了具体的实证案例和量化数据,对从事AI安全与可解释性的研究者极具参考价值。

The Short Version

精简版

I think I have good news about the nature of neural networks.

我认为关于神经网络的本质,我有一个好消息。

After many months studying neurons and circuits in image and language models, I’ve come to believe a network’s own mechanisms are its legible building blocks, and that the outlook for mechanistic interpretability may be far better than I’d feared. The canonical evidence of polysemanticity and superposition that convinced much of the field, including me, that networks pack concepts arbitrarily was misread. What looked like arbitrary packing was mostly a motif I’ll call recursive generalization, which is much less concerning. This means we can study networks directly, instead of first untangling them. Neural networks are already clean.

在花了数月研究图像和语言模型中的神经元与电路后,我逐渐相信,网络自身的机制就是其可解释的构建模块,机械可解释性(mechanistic interpretability)的前景可能比我担心的要好得多。曾让包括我在内的整个领域确信网络以任意方式打包概念的典型证据——多义性(polysemanticity)和叠加(superposition)——被误读了。那些看似任意打包的现象,大多是我所称的“递归泛化”(recursive generalization)这一模式,这并不那么令人担忧。这意味着我们可以直接研究网络,而无需先将其拆解。神经网络已经是清晰的了。

There are at least two ways to approach mechanistic interpretability. The first is rapid normal science on the network itself: look at a network’s neurons and circuits, study how they relate, watch data flow through them, and run experiments at agentic scale to test explanations. The second starts from a list of hypothesized features and tries to extract them all, designing increasingly sophisticated reconstruction objectives and usually ignoring the original.

至少有两种方法可以切入机械可解释性。第一种是对网络本身进行快速的常规科学研究:观察网络的神经元和电路,研究它们之间的关系,追踪数据在其间的流动,并在智能体规模(agentic scale)下运行实验以验证解释。第二种方法从一组假设的特征列表出发,试图提取所有这些特征,设计日益复杂的重建目标,并通常忽略原始网络。

The field began with the first approach and fell back to the second because neural networks seemed to be tangled knots. We had canonical examples of polysemantic neurons, the broad name for a neuron that appears to have multiple unrelated jobs or that looks impossible to understand. The most famous one, in an image model, responded to both cat faces and the fronts of cars. And the last layer of the early field’s model organism, InceptionV1, seemed so full of arbitrary mixtures it wasn’t clear how to study it: almost none of the neurons were easily interpretable.

该领域始于第一种方法,但因神经网络看起来像纠缠的线团而退回到第二种方法。我们拥有多义性神经元的典型例子,即那些看似承担多个不相关任务或看起来无法理解的神经元的统称。最著名的一个例子出现在图像模型中,它对猫脸和汽车前脸都有反应。早期该领域的模式生物 InceptionV1 的最后一层似乎充满了任意的混合,以至于不清楚该如何研究它:几乎没有任何神经元是易于解释的。

The leading explanation for polysemanticity was superposition. This proposed a new learning principle: when a neural network runs out of neurons, it stops grouping related things together and instead begins folding unrelated things together, simply because they don’t interfere. The result is a kind of knot: the network could have folded in many almost equally good ways, so which things a neuron groups together tells you almost nothing. You have to unfold the knot before you can study anything. In practice that means training a second model – a decomposition such as a sparse autoencoder – to approximate the network as it would look unfolded and studying that instead. If the network really is knotted, there may be no alternative.

对多义性的主要解释是叠加。这提出了一种新的学习原则:当神经网络耗尽神经元时,它不再将相关事物分组在一起,而是开始将不相关的事物折叠在一起,仅仅因为它们互不干扰。结果形成了一种结:网络本可以以许多几乎同样好的方式进行折叠,因此一个神经元将哪些事物分组在一起,几乎不能告诉你任何信息。你必须先解开这个结,才能进行研究。在实践中,这意味着训练第二个模型——例如稀疏自编码器(sparse autoencoder)这样的分解方法——来近似网络展开后的样子,并转而研究那个近似模型。如果网络真的是纠缠的,那可能别无选择。

One main result is that superposition was the wrong explanation for InceptionV1. Architectural problems made later layers overflow. Weak interpretability tools amplified these problems, making the late layers seem incoherent. Since then, architectural changes designed to help deep layers learn better have had the unintended effect of making them more interpretable. When we first studied InceptionV1, we found almost no interpretable neurons in its last layer. But with these ordinary improvements, and no change to model size or training data, 99-100% of neurons in that last layer are easily interpretable and the model is broadly legible the whole way through. It’s the first non-trivial neural network I feel I mostly understand; you can browse it here. I trained versions of it across a 300× range in size, and it’s broadly legible at every scale. With less room, the network doesn’t fold unrelated things together; its neurons just cover coarser-grained concepts, like one car neuron covering many kinds of car. With more room, that neuron differentiates into many specific cars. So the problem wasn’t the presence of a second learning principle, it was just an ordinary learning failure of the first one, and it’s easy to fix.

一个主要结果是,叠加(superposition)是对 InceptionV1 的错误解释。架构问题导致后续层出现溢出。弱可解释性工具放大了这些问题,使得后期层看起来缺乏连贯性。此后,旨在帮助深层更好学习的架构变化产生了意想不到的效果,使它们更具可解释性。当我们最初研究 InceptionV1 时,发现其最后一层几乎没有可解释的神经元。但在这些常规改进下,且模型大小和训练数据未作任何改变的情况下,该最后一层中 99-100% 的神经元都易于解释,整个模型在整体上具有广泛的可读性。这是我感觉大部分都能理解的第一个非平凡神经网络;你可以在此浏览它。我训练了尺寸跨度为 300 倍的版本,它在每个尺度上都具有广泛的可读性。空间较小时,网络不会将不相关的事物混在一起;其神经元仅覆盖更粗粒度的概念,例如一个“车”神经元涵盖多种汽车。空间较大时,该神经元会分化出许多特定车型。因此,问题不在于存在第二种学习原则,而仅仅是第一种学习原则出现了普通的学习失败,而且这很容易修复。

The canonical vision examples of polysemanticity and superposition were errors too. In 2019, Chris Olah and I found the circuit that was originally introduced as the superposition phenomenon in Zoom In[4]Zoom In: An Introduction to Circuits

多义性(polysemanticity)和叠加的经典视觉案例也是错误的。2019 年,Chris Olah 和我发现了最初在 Zoom In[4]Zoom In: An Introduction to Circuits 中作为叠加现象引入的电路

Olah, C., Cammarata, N., Schubert, L., Goh, G., Petrov, M. and Carter, S., 2020. Distill. References ↓. It showed a car feature appearing to spread into a set of unrelated dog neurons. It was the only one we showed, and the only one I ever saw. We read it as the network placing the car in a high-dimensional hiding place, for downstream neurons to read back out. But nothing reads that combination. It wasn’t hiding anything; it was ordinary generalization and composition. To my knowledge, no one has published a second circuit with the right shape.

Olah, C., Cammarata, N., Schubert, L., Goh, G., Petrov, M. and Carter, S., 2020. Distill. References ↓. 它显示了一个汽车特征似乎扩散到一组不相关的狗神经元中。这是我们要展示的唯一一个,也是我见过的唯一一个。我们将其解读为网络将汽车放置在高层级的隐藏位置,供下游神经元读取还原。但没有任何东西读取这种组合。它并没有隐藏任何东西;这只是普通的泛化和组合。据我所知,没有人发表过第二个具有正确形状的电路。

Modern language models are also far more interpretable than generally believed. Anthropic’s Towards Monosemanticity[10]Towards Monosemanticity: Decomposing Language Models With Dictionary Learning

现代语言模型也比普遍认为的更具可解释性。Anthropic 的 Towards Monosemanticity[10]Towards Monosemanticity: Decomposing Language Models With Dictionary Learning

Bricken, T., Templeton, A., Batson, J., et al., 2023. Transformer Circuits Thread. References ↓ (2023), studying a small one-layer model, gave the median neuron a 0 on its rubric out of a possible 14, meaning the rater couldn’t form any hypothesis. The automated interpretability project[8]Language Models Can Explain Neurons in Language Models

Bricken, T., Templeton, A., Batson, J. 等人,2023。Transformer Circuits Thread。参考文献 ↓ (2023),研究一个单层模型时,给中位数神经元在其满分14分的量表中打了0分,这意味着评估者无法形成任何假设。自动可解释性项目[8]语言模型可以解释语言模型中的神经元

Bills, S., Cammarata, N., Mossing, D., et al., 2023. OpenAI. References ↓ I started at OpenAI (also 2023) found about 1.7% of neurons interpretable by our most generous measure.

Bills, S., Cammarata, N., Mossing, D. 等人,2023。OpenAI。参考文献 ↓ 我于2023年加入OpenAI(也是2023年),发现大约1.7%的神经元在我们最宽松的标准下是可解释的。

With better tools and modern models, the situation looks quite different. In preliminary audits of Qwen3-32B, we estimate that roughly 90% of neuron poles have one main job, often with small related offshoots; another ~7% have two related jobs; and only ~2-4% are not yet understood1A note on this number: the share of neurons with one job varies depending on how you set the threshold for counting weak activations, depth, density of sub-circuits, and what you view as “one thing”.

借助更好的工具和现代模型,情况看起来大不相同。在Qwen3-32B的初步审计中,我们估计大约90%的神经元极子有一个主要任务,通常伴有少量相关的分支;另外约7%有两个相关任务;只有约2-4%尚不为人所知1关于这个数字的说明:具有单一任务的神经元比例取决于你如何设置计算弱激活的阈值、深度、子电路的密度,以及你认为什么是“一件事”。

How far to go into weak activations is a big factor here. There’s a section describing weak activations below. It tends to increase how many “related things” there are, more than whether the neuron is a judgement of something legible. For instance, the Trump neuron’s weak activations bring in MAGA hats and people related to him. The Titanic neuron’s weak activations bring in stories of more general voyages, or steam engines and other technologies of the era.

深入多少弱激活是一个关键因素。下面有一节描述弱激活。它倾向于增加有多少“相关事物”,多于神经元是否是对某种可读事物的判断。例如,特朗普神经元的弱激活引入了MAGA帽子和与他相关的人。泰坦尼克号神经元的弱激活引入了更一般的航行故事,或蒸汽机和其他时代的技术。

There’s also the question of whether to care about activation percentiles, or fraction of the strongest activations. In general I think what the neuron learns should be trusted, its natural sparsity and activation ranges and so on. Which I used to mostly not believe! I’m somewhat against trying to standardize things across all neurons. Percentiles are more common today, I think because they’re easier to think about.

另一方面也存在这个问题。例如,是关注激活百分位数,还是最强激活的比例。一般来说,我认为应该信任神经元所学到的内容,包括其天然稀疏性和激活范围等。这曾经是我大多不相信的!我有点反对试图在所有神经元中标准化事物。如今百分位数更为常见,我认为这是因为它们更容易思考。

It goes the other way too. For instance, when you look at the Titanic neuron’s “unrelated jobs,” it’s often detecting that “boat” comes next. The tool missed this because it only looked backward when judging context. When we look at these “unrelated jobs” in depth, it’s almost always this kind of thing. It’s easy to build an imperfect tool.

情况也反过来成立。例如,当你查看泰坦尼克号神经元的“不相关任务”时,它通常是在检测“boat”(船)接下来会出现。该工具错过了这一点,因为它在判断上下文时只向后看。当我们深入研究这些“不相关任务”时,几乎总是这类事情。构建不完美的工具很容易。

Overall, I don’t think coming to a single score is actually that important. But when it was taken out, early reviewers felt unanchored without even a rough number. In the sets I’ve looked at more closely, considering strong activations, it’s closer to 97% non-arbitrary mixtures, but these are relatively small samples.

总的来说,我认为得出一个单一分数其实没那么重要。但当它被移除后,早期评论者觉得失去了锚点,连一个大致的数字都没有。在我仔细查看的集合中,考虑到强烈的激活效应,非任意混合的比例更接近97%,但这些样本相对较小。

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →