mlsanityData to 14 Oct 2026

ResFormer: All-Time Reservoir Memory for Long Sequence Classification

arXiv 2509.24074 ↗First posted 28 Sep 2025cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

Sequence classification is essential in NLP for understanding and categorizing language patterns in tasks like sentiment analysis, intent detection, and topic classification. Transformer-based models, despite achieving state-of-the-art performance, have inherent limitations due to quadratic time and memory complexity, restricting their input length. Although extensive efforts have aimed at reducing computational demands, processing extensive contexts remains challenging. To overcome these limitations, we propose ResFormer, a novel neural network architecture designed to model varying context lengths efficiently through a cascaded methodology. ResFormer integrates an reservoir computing network featuring a nonlinear readout to effectively capture long-term contextual dependencies in linear time. Concurrently, short-term dependencies within sentences are modeled using a conventional Transformer architecture with fixed-length inputs. Experiments demonstrate that ResFormer significantly outperforms baseline models of DeepSeek-Qwen and ModernBERT, delivering an accuracy improvement of up to +22.3% on the EmoryNLP dataset and consistent gains on MultiWOZ, MELD, and IEMOCAP. In addition, ResFormer exhibits reduced memory consumption, underscoring its effectiveness and efficiency in modeling extensive contextual information.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 37 of its 67 references that are in the map. First posted on arXiv 28 Sep 2025.

Builds on

37 of 67 references.

References · 37

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2023GPT-4 Technical Reportcited by 18,396
  5. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  8. 2020Longformer: The Long-Document Transformercited by 3,413
  9. 2018Deep contextualized word representationscited by 2,290
  10. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  12. 2020Big Bird: Transformers for Longer Sequencescited by 1,684
25 more
  1. 2020Reformer: The Efficient Transformercited by 1,668
  2. 2020Rethinking Attention with Performerscited by 1,601
  3. 2018MELD: A Multimodal Multi-Party Dataset for Emotion Recognition in Conversationscited by 643
  4. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
  5. 2023Ring Attention with Blockwise Transformers for Near-Infinite Contextcited by 457
  6. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  7. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
  8. 2020MultiWOZ 2.2 : A Dialogue Dataset with Additional Annotation Corrections and State Tracking Baselinescited by 204
  9. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  10. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  11. 2021Next Generation Reservoir Computingcited by 160
  12. 2023Focused Transformer: Contrastive Training for Context Scalingcited by 133
  13. 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 128
  14. 2017Emotion Detection on TV Show Transcripts with Sequence-based Convolutional Neural Networkscited by 102
  15. 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 98
  16. 2021Luna: Linear Unified Nested Attentioncited by 96
  17. 2023CoLT5: Faster Long-Range Transformers with Conditional Computationcited by 84
  18. 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
  19. 2019Metalearned Neural Memorycited by 44
  20. 2019R-Transformer: Recurrent Neural Network Enhanced Transformercited by 39
  21. 2018Reservoir computing approaches for representation and classification of multivariate time seriescited by 38
  22. 2018Recurrent Transformer Networks for Semantic Correspondencecited by 32
  23. 2020Reservoir Transformerscited by 18
  24. 2023Functional Interpolation for Relative Positions Improves Long Context Transformerscited by 18
  25. 2024StreamingDialogue: Prolonged Dialogue Learning via Long Context Compression with Minimal Lossescited by 9

Built on by

Not cited yet.