mlsanityData to 7 Oct 2026

Positional Encoding Helps Recurrent Neural Networks Handle a Large Vocabulary

arXiv 2402.00236 ↗First posted 31 Jan 2024cs.LG cs.NEcited by 5

Not on the map. Why?

Abstract (arXiv)

This study reports an unintuitive finding that positional encoding enhances learning of recurrent neural networks (RNNs). Positional encoding is a high-dimensional representation of time indices on input data. Most famously, positional encoding complements the capabilities of Transformer neural networks, which lack an inherent mechanism for representing the data order. By contrast, RNNs can encode the temporal information of data points on their own, rendering their use of positional encoding seemingly redundant/unnecessary. Nonetheless, investigations through synthetic benchmarks reveal an advantage of coupling positional encoding and RNNs, especially for handling a large vocabulary that yields low-frequency tokens. Further scrutinization unveils that these low-frequency tokens destabilizes the gradients of vanilla RNNs, and the positional encoding resolves this instability. These results shed a new light on the utility of positional encoding beyond its canonical role as a timekeeper for Transformers.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 34 of its 81 references that are in the map. First posted on arXiv 31 Jan 2024.

Builds on

34 of 81 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  6. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 8,964
  7. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  8. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  9. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  10. 2016Pointer Sentinel Mixture Modelscited by 2,992
  11. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  12. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
22 more
  1. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  2. 2015Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcastingcited by 1,428
  3. 2018On the Spectral Bias of Neural Networkscited by 1,321
  4. 2018Self-Attention with Relative Position Representationscited by 1,112
  5. 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
  6. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 607
  7. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 600
  8. 2017Convolutional Sequence to Sequence Learningcited by 550
  9. 2013Generating Sequences With Recurrent Neural Networkscited by 549
  10. 2023Shap-E: Generating Conditional 3D Implicit Functionscited by 379
  11. 2015Unitary Evolution Recurrent Neural Networkscited by 291
  12. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  13. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
  14. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  15. 2016Phased LSTM: Accelerating Recurrent Network Training for Long or Event-based Sequencescited by 98
  16. 2018Echo state networks are universalcited by 86
  17. 2017Dilated Recurrent Neural Networkscited by 83
  18. 2016Tunable Efficient Unitary Neural Networks (EUNN) and their application to RNNscited by 62
  19. 2018Reservoir Computing Universality With Stochastic Inputscited by 48
  20. 2021SHAPE: Shifted Absolute Position Embedding for Transformerscited by 37
  21. 2017Gated Orthogonal Recurrent Units: On Learning to Forgetcited by 31
  22. 2017Recurrent Neural Networks as Weighted Language Recognizerscited by 30

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 1; 2026: 2.

5 papers.