Research map / Architectures and efficiency / Attention and transformers
What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages
Nadav Borenstein, Anej Svete, Robin Shing Moon Chan, Josef Valvoda, Franz Nowak, Isabelle Augenstein, Eleanor Chodroff, Ryan Cotterell
Københavns Universitet · ETH Zurich · Universität Zürich
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 |
|---|---|---|---|
| increase DPFSA rank | RNN LMs · random DPFSAs | KL divergence: coefficient 4.10 (p<0.001) | Hurt |
| increase DPFSA rank | Transformer LMs · random DPFSAs | KL divergence: coefficient 2.99 (p<0.001) | Hurt |
| increase expected string length | Transformer LMs · random DPFSAs | KL divergence: coefficient 11.70 | Hurt |
| increase expected string length | RNN LMs · random DPFSAs | KL divergence: coefficient 3.21 (p<0.05) | Hurt |
| increase hidden state size | RNN and Transformer LMs · random DPFSAs | KL divergence: -0.63 (RNN); -2.76 (Transformer) | Improved |
| increase number of states | RNN LMs · random DPFSAs | KL divergence: 2.6 -> 11.1 (2 to 16 states) | Hurt |
| increase number of symbols | RNN LMs · random DPFSAs | KL divergence: 0.22 (p=0.26) | No clear effect |
| increase number of symbols | Transformer LMs · random DPFSAs | KL divergence: coefficient 2.10 (p<0.001) | Hurt |
| increase DPFSA entropy | RNN and Transformer LMs · random DPFSAs | KL divergence: -0.88 (RNN); -7.89 (Transformer) | Improved |
| use RNN instead of Transformer | neural LM · random DPFSAs | KL intercept: 13.5 -> 8.72 | Improved |
Open problems in attention head mechanisms
Do the attention-head mechanisms and length-generalization results hold in full-scale, real-world models?
- Mechanisms are shown only at small scale, with larger models untested. · 19 papers state it
- Theory covers only one-layer or attention-only transformers. · 14 papers state it
- Findings come from synthetic or toy tasks that may not match natural language. · 12 papers state it
Closest papers by meaning
- Recurrent Neural Language Models as Probabilistic Finite-state Automata (EMNLP 2023 · similarity 0.91)
- Lower Bounds on the Expressivity of Recurrent Neural Language Models (NAACL 2024 · similarity 0.89)
- A Probabilistic Perspective on Unlearning and Alignment for Large Language Models (ICLR 2025 · similarity 0.88)
- Training Neural Networks as Recognizers of Formal Languages (ICLR 2025 · similarity 0.88)
- Large language models suffer from a curse of ambiguity (NeurIPS 2026 · similarity 0.86)
- Is In-Context Learning in Large Language Models Bayesian? A Martingale Perspective (ICML 2024 · similarity 0.86)
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.