paper-with-me

홈 › Papers

When Attention Meets Fast Recurrence: Training Language Models with Reduced Compute

2021-02-24 · EMNLP 2021 11 · Tao Lei

Large language models have become increasingly difficult to train because of the growing computation time and cost. In this work, we present SRU++, a highly-efficient architecture that combines fast recurrence and attention for sequence modeling. SRU++ exhibits strong modeling capacity and training efficiency. On standard language modeling tasks such as Enwik8, Wiki-103 and Billion Word datasets, our model obtains better bits-per-character and perplexity while using 3x-10x less training cost compared to top-performing Transformer models. For instance, our model achieves a state-of-the-art result on the Enwik8 dataset using 1.6 days of training on an 8-GPU machine. We further demonstrate that SRU++ requires minimal attention for near state-of-the-art performance. Our results suggest jointly leveraging fast recurrence with little attention as a promising direction for accelerating model training and inference.

📄 PDF Abstract BibTeX arXiv:2102.12459

Code (1)

asappresearch/sru 공식 구현 pytorch

Tasks

GPULanguage ModelingLanguage ModellingMachine Translation

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
SRU++ SRU++ is a self-attentive recurrent unit that combines fast recurrence and attention for sequence modeling, extending the SRU…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
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…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
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…

Similar Papers 제목 키워드 기반

Griffin: Mixing Gated Linear Recurrences with Local Attention for Efficient Language Models

2024-02-29 · Soham De, Samuel L. Smith, Anushan Fernando, Aleksandar Botev 외

Recurrent neural networks (RNNs) have fast inference and scale efficiently on long sequences, but they are difficult to train and hard to scale. We propose Hawk, an RNN with gated linear recurrences, and Griffin, a hybri…

Language ModellingMamba

Biochemical Prostate Cancer Recurrence Prediction: Thinking Fast & Slow

2024-09-03 · Suhang You, Sanyukta Adap, Siddhesh Thakur, Bhakti Baheti 외

Time to biochemical recurrence in prostate cancer is essential for prognostic monitoring of the progression of patients after prostatectomy, which assesses the efficacy of the surgery. In this work, we proposed to levera…

Multiple Instance LearningPrediction

NRTR: A No-Recurrence Sequence-to-Sequence Model For Scene Text Recognition

2018-06-04 · Fenfen Sheng, Zhineng Chen, Bo Xu

Scene text recognition has attracted a great many researches due to its importance to various applications. Existing methods mainly adopt recurrence or convolution based networks. Though have obtained good performance, t…

DecoderOptical Character Recognition (OCR)Scene Text Recognition

Graph Signal Processing Meets Mamba2: Adaptive Filter Bank via Delta Modulation

2026-03-20 · Yehjin Shin, Seojin Kim, Noseong Park arxiv

State-space models (SSMs) offer efficient alternatives to attention with linear-time recurrence. Mamba2, a recent SSM-based language model, uses selective input gating and a multi-head structure, enabling parallel comput…

SRU++: Pioneering Fast Recurrence with Attention for Speech Recognition

2021-10-11 · Jing Pan, Tao Lei, Kwangyoun Kim, Kyu Han 외

The Transformer architecture has been well adopted as a dominant architecture in most sequence transduction tasks including automatic speech recognition (ASR), since its attention mechanism excels in capturing long-range…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)Language ModelingLanguage Modelling+4