scimeatlas

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

NAACL 2022Large language models › Language, safety and interpretabilityapproach: Linguistic encoding in LLM representationsopen problems in this approach67 citations (OpenAlex)

Qatar Computing Research Institute · Stevens Institute of Technology

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

10measured effects
5improved
3no clear effect
1hurt
1mixed

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
use multilingual models (mBERT, XLM-R) instead of monolingual onesBERT-style models · Overall alignment with human-defined conceptsoverall 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 alignmentalignment: 47.2% -> 50.4% overallImproved
collapse POS and SEM tags into coarse categories (ablation)all seven models · POS alignmentalignment: 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 conceptsoverall alignment: 47.2% -> 61.5% (BERT-c), 72.4% -> 81.0% (XLM-R)Improved
go from lower to higher layerstransformer models · Layer-wise alignmentalignmentMixed
share parameters across layers (ALBERT)ALBERT · Layer-wise alignmentalignmentNo clear effect
use 600 instead of 1000 clusters (ablation)ConceptX · Layer-wise alignmentalignmentNo clear effect
use a separately sampled dataset with different vocabulary (ablation)ConceptX · Layer-wise alignmentalignmentNo clear effect
choose number of clusters with Elbow or Silhouette (ablation)ConceptX · Cluster number selectionalignmentHurt
allow clusters to match a combination of morphological conceptsConceptX · Unaligned conceptsalignmentImproved

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?

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