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