paper-with-me

홈 › Papers

Efficient Long Sequence Modeling via State Space Augmented Transformer

2022-12-15 · Simiao Zuo, Xiaodong Liu, Jian Jiao, Denis Charles, Eren Manavoglu, Tuo Zhao, Jianfeng Gao

Transformer models have achieved superior performance in various natural language processing tasks. However, the quadratic computational cost of the attention mechanism limits its practicality for long sequences. There are existing attention variants that improve the computational efficiency, but they have limited ability to effectively compute global information. In parallel to Transformer models, state space models (SSMs) are tailored for long sequences, but they are not flexible enough to capture complicated local information. We propose SPADE, short for $\underline{\textbf{S}}$tate s$\underline{\textbf{P}}$ace $\underline{\textbf{A}}$ugmente$\underline{\textbf{D}}$ Transform$\underline{\textbf{E}}$r. Specifically, we augment a SSM into the bottom layer of SPADE, and we employ efficient local attention methods for the other layers. The SSM augments global information, which complements the lack of long-range dependency issue in local attention methods. Experimental results on the Long Range Arena benchmark and language modeling tasks demonstrate the effectiveness of the proposed method. To further demonstrate the scalability of SPADE, we pre-train large encoder-decoder models and present fine-tuning results on natural language understanding and natural language generation tasks.

📄 PDF Abstract BibTeX arXiv:2212.08136

Code (1)

microsoft/efficientlongsequencemodeling 공식 구현 pytorch

Tasks

Computational EfficiencyDecoderLanguage ModelingLanguage ModellingNatural Language UnderstandingState Space ModelsText Generation

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Memformer: A Memory-Augmented Transformer for Sequence Modeling

2020-10-14 · Qingyang Wu, Zhenzhong Lan, Kun Qian, Jing Gu 외

Transformers have reached remarkable success in sequence modeling. However, these models have efficiency issues as they need to store all the history token-level representations as memory. We present Memformer, an effici…

Efficient Neural NetworkLanguage Modelling

Memformer: A Memory-Augmented Transformer for Sequence Modeling

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Transformers have reached remarkable success in sequence modeling. However, these models have efficiency issues as they need to store all the history token-level representations as memory. We present Memformer, an effici…

Efficient Neural Network

Speech-Mamba: Long-Context Speech Recognition with Selective State Spaces Models

2024-09-27 · Xiaoxue Gao, Nancy F. Chen

Current automatic speech recognition systems struggle with modeling long speech sequences due to high quadratic complexity of Transformer-based models. Selective state space models such as Mamba has performed well on lon…

Automatic Speech RecognitionMambaspeech-recognitionSpeech Recognition+1

MMA: A Momentum Mamba Architecture for Human Activity Recognition with Inertial Sensors

2025-11-26 · Thai-Khanh Nguyen, Uyen Vo, Tan M. Nguyen, Thieu N. Vo 외 arxiv

Human activity recognition (HAR) from inertial sensors is essential for ubiquitous computing, mobile health, and ambient intelligence. Conventional deep models such as Convolutional Neural Networks (CNNs), Recurrent Neur…

Human Activity Recognition

Deep Physiological State Space Model for Clinical Forecasting

2019-12-04 · Yuan Xue, Denny Zhou, Nan Du, Andrew Dai 외

Clinical forecasting based on electronic medical records (EMR) can uncover the temporal correlations between patients' conditions and outcomes from sequences of longitudinal clinical measurements. In this work, we propos…

model