Research map / Large language models / Language, safety and interpretability
Transformer-based Causal Language Models Perform Clustering
Xinbo Wu, Lav R. Varshney
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 changed | Where | Measured | Effect |
|---|---|---|---|
| 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 identity | clustering F1: F1 over 0.9 on training subset at late training stage | Improved |
| use higher layers rather than layer 0 (word embedding baseline) for clustering (ablation) | 6-layer Transformer · Synthetic instruction-following | clustering performance | Improved |
| continue training past the early stopping point (epoch 51) | 6-layer Transformer · Synthetic instruction-following | clustering performance | Improved |
| KNN-based inference over hidden states as training proceeds | 6-layer Transformer · Synthetic instruction-following, validation | KNN task accuracy | Improved |
| pre-train with task ID prediction before fine-tuning (ablation) | Transformer (hidden dim 256) · Synthetic instruction-following, validation | task accuracy | Improved |
| Instruction Pre-training (CLM over instructions only) vs no pre-training (ablation) | Transformer (hidden dim 256) · Synthetic instruction-following, validation | task accuracy | No clear effect |
| fine-tune only language head instead of whole model (ablation) | Direct fine-tuning for alignment · Alignment, other tasks | accuracy drop: 0.210 -> 0.120 | Improved |
| add a linear switch network with new language head (ablation) | Language head fine-tuning · Alignment, other tasks | accuracy drop: 0.120 -> 0.087 | Improved |
| use MLP instead of linear switch network (ablation) | Switch network alignment · Alignment, other tasks | accuracy drop: 0.087 -> 0.080 | Improved |
| all alignment methods update source tasks (ablation) | Alignment methods · Alignment, updated source tasks | task accuracy: 1.00 for all methods | No clear effect |
| GPT-J models: distribution-mapping clustering | GPT-J-6B, Instruct-GPT-J-6B · Natural instructions, distribution-mapping labels | clustering F1: 0.465 and 0.170 vs 0.940 for LLaMa-7B | Hurt |
| instruction tuning of the LLM | LLaMa-2-7B / GPT-J-6B · Natural instructions, task identity | clustering F1: GPT-J-6B 0.887 -> Instruct-GPT-J-6B 0.907 | No 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?
- Only one model family or one architecture is tested. · 19 papers state it
- Models stop at about 1B to 8B parameters, so larger ones are untested. · 18 papers state it
- Effects are observed but the mechanism behind them is not explained. · 18 papers state it
Closest papers by meaning
- A Meta-Learning Perspective on Transformers for Causal Language Modeling (ACL 2024 · similarity 0.90)
- From Instance Training to Instruction Learning: Task Adapters Generation from Instructions (NeurIPS 2024 · similarity 0.89)
- SPaR: Self-Play with Tree-Search Refinement to Improve Instruction-Following in Large Language Models (ICLR 2025 · similarity 0.88)
- Evaluating Large Language Models at Evaluating Instruction Following (ICLR 2024 · similarity 0.88)
- Hypothesis, Verification, and Induction: Grounding Large Language Models with Self-Driven Skill Learning (AAAI 2024 · similarity 0.88)
- Instruction-Following Pruning for Large Language Models (ICML 2025 · similarity 0.88)
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.