Reproduce “Weakening Neurons: An Input-Output Functionality in Transformers with Outsize Influence” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sebastian Gerstner, Hilal AlQuabeh, Kentaro Inui, Hinrich Schütze
A weight-geometry analysis of gated transformer MLPs links each neuron’s detected residual-stream direction to the direction it writes back, identifying a class of “weakening neurons” with opposing input and output directions. Across 12 GLU-based models, these neurons are relatively uncommon but often highly active and can have outsized effects on loss and output entropy when ablated, while negative gate values also prove behaviorally relevant.
Key insights
- Transformer MLPs commonly shift from positive input-output alignment in early and middle layers toward negative alignment in later layers, suggesting a progression from representation reinforcement to suppression or correction.
- Input-output cosine similarity is strongly negatively correlated with activation frequency in four evaluated GLU models, with correlations ranging from −0.54 to −0.91.
- Negative gate conditions can materially affect inference behavior: a weakening neuron may act as a strengthening mechanism under certain sign combinations, despite producing smaller gated outputs.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.