Research map / Architectures and efficiency / Attention and transformers
Implicit n-grams Induced by Recurrence
Xiaobing Sun, Wei Lu
Singapore University of Technology and Design
Read the paperPlace an idea next to itCheck your own paper ↗
15measured effects
9improved
2no clear effect
4hurt
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.
On benchmark leaderboards
- SST-2 leaderboard accuracy 85.4 · rank 240 of 272 papers
- IMDB leaderboard accuracy 89.6 · rank 93 of 174 papers
- AGNews leaderboard accuracy 91.3 · rank 50 of 111 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add context representation (sum over n-grams) instead of longest n-gram only (ablation) | MVM-G · IMDB test | accuracy: 50.2 -> 89.6 (MVM-G vs MVMA-G) | Improved |
| add context representation (sum over n-grams) instead of longest n-gram only (ablation) | MVM-G · PTB test | perplexity: 138.8 -> 111.1 | Improved |
| add context representation (sum over n-grams) instead of longest n-gram only (ablation) | MVM-G · Relation classification test | F1: 52.6 -> 59.7 | Improved |
| add context representation (sum over n-grams) instead of longest n-gram only (ablation) | MVM-L · CoNLL-2003 NER test | F1: 46.6 -> 67.9 | Improved |
| add context representation (sum over n-grams) instead of longest n-gram only (ablation) | MVM-G · SST-2 test | accuracy: 85.0 -> 85.3 | No clear effect |
| use GRU/LSTM-derived A and g instead of Elman-derived (ablation) | MVMA-E · SST-2 test | accuracy: 80.8 -> 85.3 (MVMA-E vs MVMA-G) | Improved |
| use GRU-derived A and g instead of Elman-derived (ablation) | MVMA-E · IMDB test | accuracy: 66.7 (Elman) -> 87.2 (GRU) | Improved |
| use intermediate-complexity A (MVMA-ME) instead of Elman-derived (MVMA-E) (ablation) | MVMA · SST-2 test | accuracy: 80.8 -> 81.9 | Improved |
| use GRU-derived A and g instead of MVMA-ME (ablation) | MVMA · IMDB test | accuracy: 80.1 -> 89.6 | Improved |
| use MVMA-G in place of standard GRU | GRU · PTB test | perplexity: 110.1 -> 111.1 | Hurt |
| use MVMA-G in place of standard GRU | GRU · CoNLL-2003 NER test | F1: 67.9 (GRU) vs 67.7 (MVMA-G) | No clear effect |
| use MVMA-G in place of standard GRU | GRU · Relation classification test | F1: 62.2 -> 59.7 | Hurt |
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
- Reverse engineering recurrent networks for sentiment classification reveals line attractor dynamics (NeurIPS 2019 · similarity 0.89)
- Character n-Gram Embeddings to Improve RNN Language Models (AAAI 2019 · similarity 0.88)
- Using Large Corpus N-gram Statistics to Improve Recurrent Neural Language Models (NAACL 2019 · similarity 0.87)
- RNNs implicitly implement tensor-product representations (ICLR 2019 · similarity 0.86)
- Learning In-context n-grams with Transformers: Sub-n-grams Are Near-Stationary Points (ICML 2025 · similarity 0.86)
- Do Transformer Interpretability Methods Transfer to RNNs? (AAAI 2025 · similarity 0.84)
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.