首页 > AI前沿 > Weakening Neurons: An Input-Output Functionality in Transformers with Outsize Influence

Weakening Neurons: An Input-Output Functionality in Transformers with Outsize Influence

arXiv机器学习 2026-09-16 21:03 2 阅读 查看原文

We analyze the learned input-output behavior of GLU-based neurons in large language models (LLMs).

We propose a simple analysis method: For each neuron, we compute the cosine similarities between its input (reading) and output (writing) weight vectors.

In this scheme, a strong negative cosine similarity indicates the neuron weakens the direction it detects in the residual stream, so we call this a weakening neuron. This allows us to gain a number of novel insights.

Insights

First, we show that nine different LLMs have similar patterns: weakening neurons appear mostly in late layers whereas their counterparts, (conditional) strengthening neurons, are frequent in early-middle layers.

Second, we find that weakening neurons display surprising behavior: even though there are few, they activate often and have a large influence on model behavior.

Third, weakening neurons have a strong effect on model output when gate values are negative -- which is surprising since negative gate values are not expected to encode functionality.