Research map / Large language models / Language, safety and interpretability
Implicit Representations of Grammaticality in Language Models
Yingshan Susan Wang, Linlu Qiu, Zhaofeng Wu, Roger P. Levy, Yoon Kim
Massachusetts 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 synthetic-perturbation-trained linear probe instead of string logprob | Gemma-2-9B / Llama-3.1-8B · BLiMP, CoLA, SyntaxGym | AUC/ACC | Improved |
| use grammaticality probe on semantic plausibility benchmarks | LM probe · plausibility sets | accuracy | Hurt |
| English-trained probe applied zero-shot to Swedish | Gemma-2-9B · ScaLA (sv) AUC | AUC: 0.66 -> 0.83 | Improved |
| English-trained probe applied zero-shot to Dutch minimal pairs (accuracy) | Llama-3.1-8B · BLiMP-NL | accuracy: 0.84 -> 0.77 | Hurt |
| English-trained probe applied zero-shot to Russian | Llama-3.2-1B · RuCoLA AUC | AUC: 0.44 -> 0.59 | Improved |
| English-trained probe on Japanese | Llama-3.2-1B · JCoLA AUC | AUC: 0.57 -> 0.57 | No clear effect |
| train probe on non-English data instead of English | Llama-3.2-1B · cross-lingual transfer AUC | AUC | Hurt |
| restrict probe to 0.01% of neurons (about 10 neurons) (ablation) | LASSO probe · BLiMP | AUC/ACC | No clear effect |
| LASSO-selected neurons instead of random neurons (ablation) | probe on small neuron subsets · BLiMP | AUC/ACC | Improved |
| add length-normalized logprob as extra probe feature (ablation) | l2 probe · BLiMP, CoLA, SyntaxGym | AUC | No clear effect |
| predict logprob from hidden states with ridge regression | hidden states · pooled BLiMP/CoLA/SyntaxGym | R^2: R^2 0.55 to 0.73 per token (Llama-3.2-1B, Gemma-2-2B) | Improved |
| probe scores versus logprob correlation | l2 probe · BLiMP/CoLA/SyntaxGym | Spearman: 0.089 to 0.47 | No clear effect |
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
- Targeted Syntactic Evaluation of Language Models (EMNLP 2018 · similarity 0.90)
- Word Frequency Does Not Predict Grammatical Knowledge in Language Models (EMNLP 2020 · similarity 0.88)
- The Grammar-Learning Trajectories of Neural Language Models (ACL 2022 · similarity 0.88)
- Structural Priming Demonstrates Abstract Grammatical Representations in Multilingual Language Models (EMNLP 2023 · similarity 0.88)
- Heterogeneity in Formal Linguistic Competence of Language Models: Is Data the Real Bottleneck? (ACL 2026 · similarity 0.88)
- Refining Targeted Syntactic Evaluation of Language Models (NAACL 2021 · 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.