OpenAI Blog

Language models can explain neurons in language models

We use GPT-4 to automatically write explanations for the behavior of neurons in large language models and to score those explanations. We release a dataset of these (imperfect) explanations and scores for every neuron in GPT-2.

arXiv Machine Learning
Oct 22

GLUScope: A Tool for Analyzing GLU Neurons in Transformer Language Models

GLUScope is an open‑source tool designed to analyze neurons in Transformer language models that use GLU‑based activation functions such as SwiGLU. It visualizes the four possible sign combinations—gate and in activation being positive or negative—by providing text examples for each quadrant and indicating their frequency. The resource aims to uncover interpretable behaviors that other tools might miss and is available for researchers to extend with additional models, corpora, or neuron pages.

By Sebastian Gerstner, Leonor Veloso, Hinrich Sch\"utze
Hugging Face Trending Papers
Jun 17

Explaining Attention with Program Synthesis

A longstanding goal of research on interpretable deep learning is to replace opaque neural computations with human-meaningful symbolic descriptions. In this paper, we propose an approach for approximating the behavior of components of deep networks with executable programs.

arXiv AI
Oct 19

Explaining Chess and Go in Natural Language

The paper introduces an automatic metric for evaluating chess explanations based on chess-engine evaluations and finds that current language models perform poorly, relying on surface-level observations. It presents BinProp, a training-free method that helps models discover reusable chess concepts, significantly improving explainability across multiple models. BinProp also generalizes to other board games such as Go, draughts, and shogi without extra tuning.

By Ori Press, Alexander Golubev
arXiv Machine Learning
Sep 17

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

The paper studies GLU-based neurons in large language models by measuring the cosine similarity between each neuron's input and output weight vectors. A strong negative similarity identifies a "weakening neuron," which tends to appear in late layers, activates frequently, and exerts a large influence on model behavior. The authors also find that weakening neurons significantly affect outputs when gate values are negative, contrary to expectations.

By Sebastian Gerstner, Hilal AlQuabeh, Kentaro Inui, Hinrich Sch\"utze