atlas

Research map / Architectures and efficiency / Attention and transformers

Bigram Subnetworks: Mapping to Next Tokens in Transformer Language Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: Efficient language transformers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Finds sparse continuous-sparsification subnetworks (~10M active non-embedding params, <0.2% in Pythia 1B) that reproduce bigram next-token predictions in GPT-2 and Pythia models, concentrated in the first MLP layer and overlapping with optimal pruning subnetworks.

Problem

Identifying a minimal, interpretable circuit that is sufficient and necessary for naive bigram next-token prediction in Transformer language models, as a foundation for building up more complex circuits.

Approach

Uses continuous sparsification to learn binary masks over frozen pretrained weights so that the masked model matches the bigram distribution P(w_i|w_{i-1}), then analyzes where these subnetworks sit, how they transform the residual stream, and whether ablating them harms language modeling.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use the identified bigram subnetwork instead of the full modelPythia and GPT-2 · OSCAR bigram surprisalPearson correlation: 0.690 -> 0.964 (Pythia 160M); 0.632 -> 0.987 (Pythia 1B); 0.680 -> 0.987 (GPT-2 small*)Helped
Ablate the bigram subnetwork (ablation)Fully trained language models · OSCAR held-out language modelingevaluation lossHurt
Ablate a same-size random subnetwork (ablation)Fully trained language models · OSCAR held-out language modelingevaluation lossNo clear effect
Patch trained token embeddings and unembeddings into a randomly initialized model (ablation)Pythia 1B subnetwork · OSCAR bigram surprisalPearson correlation: 0.896 -> 0.986Helped
Keep only embeddings and unembeddings with an empty subnetwork (ablation)Pythia 1B · OSCAR bigram surprisalPearson correlation: 0.987 -> 0.628Hurt
Add a learned linear transform between embeddings and unembeddings (ablation)Pythia 1B · OSCAR bigram surprisalPearson correlation: 0.628 -> 0.936Helped
Use 500K active parameters at checkpoint 143K rather than checkpoint 4KPythia 1B bigram subnetwork · OSCAR bigram surprisalPearson correlation: 0.949 -> 0.919Hurt

Surprising findings

Limitations

Experimental setup

Datasets: OSCAR

Benchmarks: OSCAR held-out subset (1.2M tokens) language modeling loss

Metrics: Pearson correlation of bigram surprisal language modeling loss median rotation of activations covariance cross-layer similarity parameter overlap ratio

Baselines: random subnetwork optimal pruning subnetwork empty subnetwork embeddings with linear transform

Builds on: continuous sparsification Pythia GPT-2 tuned lens

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy