Research map / Large language models / Language, safety and interpretability
Show Some Love to Your n-grams: A Bit of Progress and Stronger n-gram Language Modeling Baselines
Ehsan Shareghi, Daniela Gerz, Ivan Vulić, Anna Korhonen
University of Cambridge
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 BKN (Bayesian n-gram) instead of LSTM | n-gram LM · 50 languages | perplexity: 42% reduction in perplexity | Improved |
| use BKN instead of AP (linguistically informed neural LM) | n-gram LM · 50 languages | perplexity: falls behind AP by 8% | Hurt |
| map rare training unigrams to UNK with threshold (<3) (ablation) | 5-gram KN · 50 languages | average perplexity: +11% average perplexity | Hurt |
| train on 10x larger Europarl data with neural LMs instead of n-gram | LM · Europarl (fi, cs, nl) | perplexity | Improved |
| use non-Bayesian n-grams instead of neural LMs | LM training · Europarl (fi, cs, nl) | training time: around 15,000x quicker | Improved |
| use more than 5 samples for BKN (ablation) | BKN · 50 languages | perplexity | 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
- Residual Learning of Neural Text Generation with n-gram Language Model (EMNLP 2022 · similarity 0.92)
- On the Relation between Linguistic Typology and (Limitations of) Multilingual Language Modeling (EMNLP 2018 · similarity 0.91)
- Using Morphological Knowledge in Open-Vocabulary Neural Language Models (NAACL 2018 · similarity 0.90)
- Using Large Corpus N-gram Statistics to Improve Recurrent Neural Language Models (NAACL 2019 · similarity 0.90)
- Just Add Functions: A Neural-Symbolic Language Model (AAAI 2020 · similarity 0.89)
- Character-Aware Neural Language Models (AAAI 2016 · similarity 0.89)
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.