Research map / Large language models / Language, safety and interpretability
Influence Paths for Characterizing Subject-Verb Number Agreement in LSTM Language Models
Kaiji Lu, Piotr Mardziel, Klas Leino, Matt Fedrikson, Anupam Datta
Carnegie Mellon University
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 |
|---|---|---|---|
| remove the primary intervening-noun path (compress away C_i) (ablation) | 2-layer LSTM LM · nounPP mean | accuracy: .87 -> .93 | Improved |
| remove the primary intervening-noun path (compress away C_i) (ablation) | 2-layer LSTM LM · nounPPAdv mean | accuracy: .96 -> .99 | Improved |
| remove the primary intervening-noun path (compress away C_i) (ablation) | 2-layer LSTM LM · nounPP SP (attractor) | accuracy: .74 -> .94 | Improved |
| keep only primary subject path (C_s) (ablation) | 2-layer LSTM LM · nounPP mean | accuracy: .87 -> .70 | Hurt |
| keep only primary subject path (C_s) (ablation) | 2-layer LSTM LM · nounPPAdv mean | accuracy: .96 -> .69 | Hurt |
| keep only primary subject and intervening-noun paths (C_si) (ablation) | 2-layer LSTM LM · nounPP mean | accuracy: .87 -> .68 | Hurt |
| remove the primary subject path (complement of C_s) (ablation) | 2-layer LSTM LM · nounPP mean | accuracy: .87 -> .51 | Hurt |
| remove the primary subject path (complement of C_s) (ablation) | 2-layer LSTM LM · nounPPAdv mean | accuracy: .96 -> .55 | Hurt |
| keep only primary intervening-noun path (C_i) (ablation) | 2-layer LSTM LM · nounPP mean | accuracy: .87 -> .48 | Hurt |
| intervening noun is an attractor rather than helpful noun | 2-layer LSTM LM · nounPP (primary intervening-noun path) | accuracy: attribution share 0.31(+) SS vs 0.24(-) SP | Hurt |
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
- The emergence of number and syntax units in LSTM language models (NAACL 2019 · similarity 0.90)
- Structural Supervision Improves Learning of Non-Local Grammatical Dependencies (NAACL 2019 · similarity 0.89)
- On the Similarity of Circuits across Languages: a Case Study on the Subject-verb Agreement Task (EMNLP 2024 · similarity 0.89)
- LSTMs Can Learn Syntax-Sensitive Dependencies Well, But Modeling Structure Makes Them Better (ACL 2018 · similarity 0.89)
- Does BERT really agree ? Fine-grained Analysis of Lexical Dependence on a Syntactic Task (ACL 2022 · similarity 0.89)
- Studying the Inductive Biases of RNNs with Synthetic Variations of Natural Languages (NAACL 2019 · 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.