scimeatlas

Research map / Large language models / Language, safety and interpretability

Transformer-based Causal Language Models Perform Clustering

Xinbo Wu, Lav R. Varshney

NAACL 2025Large language models › Language, safety and interpretabilityapproach: Reasoning mechanisms and failure modesopen problems in this approach12 citations (OpenAlex)

University of Illinois, Urbana Champaign

Read the paperPlace an idea next to itCheck your own paper ↗

12measured effects
8improved
3no clear effect
1hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
train the causal LM for instruction following (clusters emerge in hidden states by task identity)6-layer GPT-2-style Transformer on synthetic task · Synthetic instruction-following, clustering by task identityclustering F1: F1 over 0.9 on training subset at late training stageImproved
use higher layers rather than layer 0 (word embedding baseline) for clustering (ablation)6-layer Transformer · Synthetic instruction-followingclustering performanceImproved
continue training past the early stopping point (epoch 51)6-layer Transformer · Synthetic instruction-followingclustering performanceImproved
KNN-based inference over hidden states as training proceeds6-layer Transformer · Synthetic instruction-following, validationKNN task accuracyImproved
pre-train with task ID prediction before fine-tuning (ablation)Transformer (hidden dim 256) · Synthetic instruction-following, validationtask accuracyImproved
Instruction Pre-training (CLM over instructions only) vs no pre-training (ablation)Transformer (hidden dim 256) · Synthetic instruction-following, validationtask accuracyNo clear effect
fine-tune only language head instead of whole model (ablation)Direct fine-tuning for alignment · Alignment, other tasksaccuracy drop: 0.210 -> 0.120Improved
add a linear switch network with new language head (ablation)Language head fine-tuning · Alignment, other tasksaccuracy drop: 0.120 -> 0.087Improved
use MLP instead of linear switch network (ablation)Switch network alignment · Alignment, other tasksaccuracy drop: 0.087 -> 0.080Improved
all alignment methods update source tasks (ablation)Alignment methods · Alignment, updated source taskstask accuracy: 1.00 for all methodsNo clear effect
GPT-J models: distribution-mapping clusteringGPT-J-6B, Instruct-GPT-J-6B · Natural instructions, distribution-mapping labelsclustering F1: 0.465 and 0.170 vs 0.940 for LLaMa-7BHurt
instruction tuning of the LLMLLaMa-2-7B / GPT-J-6B · Natural instructions, task identityclustering F1: GPT-J-6B 0.887 -> Instruct-GPT-J-6B 0.907No clear effect

Open problems in reasoning mechanisms and failure modes

Do mechanistic findings about reasoning and language in LLMs hold for larger models, other languages and other architectures?

All 5 open problems and what was already tried →

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