mlsanityData to 7 Oct 2026

Enhancing Transformer RNNs with Multiple Temporal Perspectives

arXiv 2402.02625 ↗First posted 4 Feb 2024cs.LG cs.AI cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

We introduce the concept of multiple temporal perspectives, a novel approach applicable to Recurrent Neural Network (RNN) architectures for enhancing their understanding of sequential data. This method involves maintaining diverse temporal views of previously encountered text, significantly enriching the language models' capacity to interpret context. To show the efficacy of this approach, we incorporate it into the Receptance Weighted Key Value (RWKV) architecture, addressing its inherent challenge of retaining all historical information within a single hidden state. Notably, this improvement is achieved with a minimal increase in the number of parameters --even as little as 0.04% of the original number of parameters. Further, the additional parameters necessary for the multiple temporal perspectives are fine-tuned with minimal computational overhead, avoiding the need for a full pre-training. The resulting model maintains linear computational complexity during prompt inference, ensuring consistent efficiency across various sequence lengths. The empirical results and ablation studies included in our research validate the effectiveness of our approach, showcasing improved performance across multiple benchmarks. The code, model weights and datasets are open-sourced at: https://github.com/RazvanDu/TemporalRNNs.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 26 of its 43 references that are in the map. First posted on arXiv 4 Feb 2024.

Builds on

26 of 43 references.

References · 26

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  3. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  4. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  5. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  6. 2020Longformer: The Long-Document Transformercited by 3,362
  7. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  8. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
  9. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,424
  10. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  11. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  12. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
14 more
  1. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  2. 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
  3. 2020Efficient Transformers: A Surveycited by 784
  4. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  5. 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
  6. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 448
  7. 2016A Corpus and Evaluation Framework for Deeper Understanding of Commonsense Storiescited by 413
  8. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  9. 2022Mega: Moving Average Equipped Gated Attentioncited by 178
  10. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  11. 2021An Attention Free Transformercited by 111
  12. 2016Quantifying the vanishing gradient and long distance dependency problem in recursive neural networks and recursive LSTMscited by 21
  13. 2021Rethinking Perturbations in Encoder-Decoders for Fast Trainingcited by 17
  14. 2021Automated News Summarization Using Transformerscited by 11

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.