Research map / Architectures and efficiency / Attention and transformers
Explore Better Relative Position Embeddings from Encoding Perspective for Transformer Models
Anlin Qu, Jianwei Niu, Shasha Mo
Beihang University
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
9improved
1no clear effect
1hurt
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 84.63 · rank 179 of 200 papers
- IMDB leaderboard accuracy 88.98 · rank 76 of 142 papers
- WikiText-103 leaderboard perplexity 23.34 · rank 56 of 102 papers
- QNLI leaderboard accuracy 81.04 · rank 55 of 64 papers
- SNLI leaderboard accuracy 86.52 · rank 38 of 76 papers
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use LFHC embedding instead of Shaw-RPE | Shaw-RPE · WikiText-103 test | perplexity: 25.34 -> 23.72 | Improved |
| use LFHC embedding instead of Shaw-RPE | Shaw-RPE · MNLI | avg(m/mm): 73.79 -> 74.18 | Improved |
| use LFHC embedding instead of Shaw-RPE | Shaw-RPE · QQP | avg(acc/f1): 71.68 -> 72.00 | Improved |
| use LFHC embedding instead of Shaw-RPE | Shaw-RPE · SQuAD question generation | Rouge-L: 47.26 -> 47.42 | Improved |
| use GCDF encoding instead of XL sinusoidal encoding | XL-RPE · SST-2 | accuracy: 84.25 -> 84.63 | Improved |
| use GCDF encoding instead of XL sinusoidal encoding | XL-RPE · WikiText-103 test | perplexity: 23.89 -> 23.34 | Improved |
| use GCDF encoding instead of XL sinusoidal encoding | XL-RPE · QQP | avg(acc/f1): 71.13 -> 71.64 | Improved |
| use GCDF-RPE instead of T5-RPE | T5-RPE · QQP | avg(acc/f1): 72.28 -> 71.64 | Hurt |
| use prior-encoding RPEs (XL, GCDF) instead of pure data-driven RPEs (Shaw, LFHC) | RPEs · SST-2 and MNLI | accuracy: SST-2 83.26 (LFHC) -> 84.63 (GCDF); MNLI 74.18 -> 75.83 | Improved |
| increase max relative distance k from 4 to 16 in LFHC-RPE (ablation) | LFHC-RPE · WikiText-103 test | perplexity: 24.57 -> 23.72 | Improved |
| vary maximum relative distance k (2, 4, 8, 16) in Shaw-RPE (ablation) | Shaw-RPE · text classification | accuracy: e.g. IMDB 88.28 (k=2), 88.39 (k=4) | No clear effect |
Closest papers by meaning
- DAPE: Data-Adaptive Positional Encoding for Length Extrapolation (NeurIPS 2024 · similarity 0.87)
- KeyPoint Relative Position Encoding for Face Recognition (CVPR 2024 · similarity 0.87)
- Toward Relative Positional Encoding in Spiking Transformers (NeurIPS 2025 · similarity 0.85)
- RelFlexformer: Efficient Attention Transformers for Integrable Relative Positional Encodings (NeurIPS 2026 · similarity 0.85)
- Functional Interpolation for Relative Positions improves Long Context Transformers (ICLR 2024 · similarity 0.85)
- Parabolic Position Encoding: Vision-Centric, Principled, Extrapolatable, General (NeurIPS 2026 · similarity 0.85)
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.
