Research map / Large language models / Language, safety and interpretability
Analyzing Encoded Concepts in Transformer Language Models
Hassan Sajjad, Nadir Durrani, Fahim Dalvi, Firoj Alam, Abdul Rafae Khan, Jia Xu
Qatar Computing Research Institute · Stevens Institute of Technology
Read the paperPlace an idea next to itCheck your own paper ↗
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 |
|---|---|---|---|
| use multilingual models (mBERT, XLM-R) instead of monolingual ones | BERT-style models · Overall alignment with human-defined concepts | overall alignment: 47.2%/50.4% (BERT) -> 66.0% (mBERT), 72.4% (XLM-R) | Improved |
| remove casing (BERT-uncased vs BERT-cased) | BERT · Core-linguistic concept alignment | alignment: 47.2% -> 50.4% overall | Improved |
| collapse POS and SEM tags into coarse categories (ablation) | all seven models · POS alignment | alignment: e.g. 13% -> 42% (BERT-c), 26% -> 53% (mBERT) | Improved |
| collapse POS and SEM tags into coarse categories (ablation) | all seven models · Overall alignment with human-defined concepts | overall alignment: 47.2% -> 61.5% (BERT-c), 72.4% -> 81.0% (XLM-R) | Improved |
| go from lower to higher layers | transformer models · Layer-wise alignment | alignment | Mixed |
| share parameters across layers (ALBERT) | ALBERT · Layer-wise alignment | alignment | No clear effect |
| use 600 instead of 1000 clusters (ablation) | ConceptX · Layer-wise alignment | alignment | No clear effect |
| use a separately sampled dataset with different vocabulary (ablation) | ConceptX · Layer-wise alignment | alignment | No clear effect |
| choose number of clusters with Elbow or Silhouette (ablation) | ConceptX · Cluster number selection | alignment | Hurt |
| allow clusters to match a combination of morphological concepts | ConceptX · Unaligned concepts | alignment | Improved |
Open problems in linguistic encoding in LLM representations
Do the linguistic signals found in LLM representations play a causal role, and do they hold across languages and model scales?
- Evaluated on English only, so other languages are untested. · 21 papers state it
- Only small models were studied, and larger ones are untested. · 21 papers state it
- Links to model behaviour are correlational, with no causal test. · 14 papers state it
Closest papers by meaning
- Latent Concept Disentanglement in Transformer-based Language Models (ICLR 2026 · similarity 0.90)
- Provably Transformers Harness Multi-Concept Word Semantics for Efficient In-Context Learning (NeurIPS 2024 · similarity 0.88)
- On the Origins of Linear Representations in Large Language Models (ICML 2024 · similarity 0.88)
- Linearity of Relation Decoding in Transformer Language Models (ICLR 2024 · similarity 0.87)
- Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers (NeurIPS 2024 · similarity 0.87)
- The Geometry of Categorical and Hierarchical Concepts in Large Language Models (ICLR 2025 · similarity 0.87)
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.