黑暗可见:语言模型异常处理程序的解读
Darkness Visible: Reading the Exception Handler of a Language Model
AI总结:
研究揭示GPT-2 Small最终MLP层存在可读的路由程序,通过分解神经元发现其异常处理机制及知识存储方式,实验显示知识神经元在路由中起作用而非存储事实。
摘要:
GPT-2 Small的最终MLP层展现出完全可读的路由程序——由27个命名神经元组成的三层异常处理程序,而其路由的知识仍交织在约3040个残差神经元中。我们分解了所有3072个神经元(在数值精度内),将其分为5个融合的核心神经元、10个区分器、5个专家和7个共识神经元。共识-异常交叉点——MLP干预从有益转为有害——在统计上是尖锐的(重采样95%置信区间在所有共识层级上均排除零;交叉点在4/7到5/7之间)。三个实验表明,
英文摘要:
The final MLP of GPT-2 Small exhibits a fully legible routing program -- 27 named neurons organized into a three-tier exception handler -- while the knowledge it routes remains entangled across ~3,040 residual neurons. We decompose all 3,072 neurons (to numerical precision) into: 5 fused Core neurons that reset vocabulary toward function words, 10 Differentiators that suppress wrong candidates, 5 Specialists that detect structural boundaries, and 7 Consensus neurons that each monitor a distinct linguistic dimension. The consensus-exception crossover -- where MLP intervention shifts from helpful to harmful -- is statistically sharp (bootstrap 95% CIs exclude zero at all consensus levels; crossover between 4/7 and 5/7). Three experiments show that "knowledge neurons" (Dai et al., 2022), at L11 of this model, function as routing infrastructure rather than fact storage: the MLP amplifies or suppresses signals already present in the residual stream from attention, scaling with contextual constraint. A garden-path experiment reveals a reversed garden-path effect -- GPT-2 uses verb subcategorization immediately, consistent with the exception handler operating at token-level predictability rather than syntactic structure. This architecture crystallizes only at the terminal layer -- in deeper models, we predict equivalent structure at the final layer, not at layer 11. Code and data: https://github.com/pbalogh/transparent-gpt2
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。