paper-with-me

Papers

Segmented Recurrent Transformer: An Efficient Sequence-to-Sequence Model

2023-05-24 · Yinghan Long, Sayeed Shafayet Chowdhury, Kaushik Roy

Transformers have shown dominant performance across a range of domains including language and vision. However, their computational cost grows quadratically with the sequence length, making their usage prohibitive for resource-constrained applications. To counter this, our approach is to divide the whole sequence into segments and apply attention to the individual segments. We propose a segmented recurrent transformer (SRformer) that combines segmented (local) attention with recurrent attention. The loss caused by reducing the attention window length is compensated by aggregating information across segments with recurrent attention. SRformer leverages Recurrent Accumulate-and-Fire (RAF) neurons' inherent memory to update the cumulative product of keys and values. The segmented attention and lightweight RAF neurons ensure the efficiency of the proposed transformer. Such an approach leads to models with sequential processing capability at a lower computation/memory cost. We apply the proposed method to T5 and BART transformers. The modified models are tested on summarization datasets including CNN-dailymail, XSUM, ArXiv, and MediaSUM. Notably, using segmented inputs of varied sizes, the proposed model achieves $6-22\%$ higher ROUGE1 scores than a segmented transformer and outperforms other recurrent transformer approaches. Furthermore, compared to full attention, the proposed model reduces the computational complexity of cross attention by around $40\%$.

📄 PDF Abstract BibTeX arXiv:2305.16340

Code (1)

yinghanlong/SRtransformer jax

Tasks

Abstractive Text SummarizationText Summarization

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
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 설명 없음
Transformer A Transformer is a model architecture that eschews recurrence and instead relies entirely on an [attention…
Adafactor Adafactor is a stochastic optimization method based on Adam that reduces memory usage while retaining the empirical benefits of…
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…

Similar Papers 제목 키워드 기반

Connectionist Temporal Classification: Labelling Unsegmented Sequence Data with Recurrent Neural Networks

2006-07-25 · ICML 2006 2006 7 · Alex Graves, Santiago Fernández, Faustino Gomez, Jürgen Schmidhuber

Many real-world sequence learning tasks require the prediction of sequences of labels from noisy, unsegmented input data. In speech recognition, for example, an acoustic signal is transcribed into words or sub-word units…

speech-recognitionSpeech Recognition

Training LDCRF model on unsegmented sequences using Connectionist Temporal Classification

2016-06-26 · Amir Ahooye Atashin, Kamaledin Ghiasi-Shirazi, Ahad Harati

Many machine learning problems such as speech recognition, gesture recognition, and handwriting recognition are concerned with simultaneous segmentation and labeling of sequence data. Latent-dynamic conditional random fi…

ClassificationGeneral ClassificationGesture RecognitionHandwriting Recognition+2

Temporal Attention-Gated Model for Robust Sequence Classification

2016-12-01 · CVPR 2017 7 · Wenjie Pei, Tadas Baltrušaitis, David M. J. Tax, Louis-Philippe Morency

Typical techniques for sequence classification are designed for well-segmented sequences which have been edited to remove noisy or irrelevant parts. Therefore, such methods cannot be easily applied on noisy sequences exp…

ClassificationGeneral ClassificationmodelSentiment Analysis

Joint Learning of Correlated Sequence Labelling Tasks Using Bidirectional Recurrent Neural Networks

2017-03-14 · Vardaan Pahuja, Anirban Laha, Shachar Mirkin, Vikas Raykar 외

The stream of words produced by Automatic Speech Recognition (ASR) systems is typically devoid of punctuations and formatting. Most natural language processing applications expect segmented and well-formatted texts as in…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

Applying the Transformer to Character-level Transduction

2020-05-20 · EACL 2021 2 · Shijie Wu, Ryan Cotterell, Mans Hulden

The transformer has been shown to outperform recurrent neural network-based sequence-to-sequence models in various word-level NLP tasks. Yet for character-level transduction tasks, e.g. morphological inflection generatio…

Grapheme-to-Phoneme ConversionMorphological InflectionText NormalizationTransliteration