paper-with-me

홈 › Papers

Smooth Reading: Bridging the Gap of Recurrent LLM to Self-Attention LLM on Long-Context Tasks

2025-07-25 · Kai Liu, Zhan Su, Peijie Dong, Fengran Mo, Jianfei Gao, ShaoTing Zhang, Kai Chen arxiv

Recently, recurrent large language models (Recurrent LLMs) with linear computational complexity have re-emerged as efficient alternatives to self-attention-based LLMs (Self-Attention LLMs), which have quadratic complexity. However, Recurrent LLMs often underperform on long-context tasks due to their limited fixed-size memory. Previous research has primarily focused on enhancing the memory capacity of Recurrent LLMs through architectural innovations, but these approaches have not yet enabled Recurrent LLMs to match the performance of Self-Attention LLMs on long-context tasks. We argue that this limitation arises because processing the entire context at once is not well-suited for Recurrent LLMs. In this paper, we propose Smooth Reading, a chunk-wise inference method inspired by human reading strategies. Smooth Reading processes context in chunks and iteratively summarizes the contextual information, thereby reducing memory demands and making the approach more compatible with Recurrent LLMs. Our experimental results show that this method substantially narrows the performance gap between Recurrent and Self-Attention LLMs on long-context tasks, while preserving the efficiency advantages of Recurrent LLMs. Our Smooth Reading boosts SWA-3B-4k (a Recurrent LLM) from 5.68% lower to 3.61% higher performance than Self-Attention LLMs on LongBench. Besides, our method maintains the high efficiency, training 3x faster and inferring 2x faster at 64k context compared to Self-Attention LLMs. To our knowledge, this is the first work to achieve comparable performance using Recurrent LLMs compared with Self-Attention LLMs on long-context tasks. We hope our method will inspire future research in this area. To facilitate further progress, we will release code and dataset.

📄 PDF Abstract BibTeX arXiv:2507.19353

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

QANet: Combining Local Convolution with Global Self-Attention for Reading Comprehension

2018-04-23 · ICLR 2018 1 · Adams Wei Yu, David Dohan, Minh-Thang Luong, Rui Zhao 외

Current end-to-end machine reading and question answering (Q\&A) models are primarily based on recurrent neural networks (RNNs) with attention. Despite their success, these models are often slow for both training and inf…

Machine TranslationQuestion AnsweringReading ComprehensionTranslation

Human Sentence Processing: Recurrence or Attention?

2020-05-19 · NAACL (CMCL) 2021 6 · Danny Merkx, Stefan L. Frank

Recurrent neural networks (RNNs) have long been an architecture of interest for computational models of human sentence processing. The recently introduced Transformer architecture outperforms RNNs on many natural languag…

Language ModellingRetrievalSentence

Gated Self-Matching Networks for Reading Comprehension and Question Answering

2017-07-01 · ACL 2017 7 · Wenhui Wang, Nan Yang, Furu Wei, Baobao Chang 외

In this paper, we present the gated self-matching networks for reading comprehension style question answering, which aims to answer questions from a given passage. We first match the question and passage with gated atten…

Question AnsweringReading Comprehension

Human Activity Recognition from Wearable Sensor Data Using Self-Attention

2020-03-17 · Saif Mahmud, M Tanjid Hasan Tonmoy, Kishor Kumar Bhaumik, A K M Mahbubur Rahman 외

Human Activity Recognition from body-worn sensor data poses an inherent challenge in capturing spatial and temporal dependencies of time-series signals. In this regard, the existing recurrent or convolutional or their hy…

Activity RecognitionHuman Activity RecognitionTime SeriesTime Series Analysis

Bridging between Cognitive Processing Signals and Linguistic Features via a Unified Attentional Network

2021-12-16 · Yuqi Ren, Deyi Xiong

Cognitive processing signals can be used to improve natural language processing (NLP) tasks. However, it is not clear how these signals correlate with linguistic information. Bridging between human language processing an…

Sentence