English

Improving Autoregressive NLP Tasks via Modular Linearized Attention

Computation and Language 2023-06-27 v3 Artificial Intelligence

Abstract

Various natural language processing (NLP) tasks necessitate models that are efficient and small based on their ultimate application at the edge or in other resource-constrained environments. While prior research has reduced the size of these models, increasing computational efficiency without considerable performance impacts remains difficult, especially for autoregressive tasks. This paper proposes modular linearized attention (MLA), which combines multiple efficient attention mechanisms, including cosFormer, to maximize inference quality while achieving notable speedups. We validate this approach on several autoregressive NLP tasks, including speech-to-text neural machine translation (S2T NMT), speech-to-text simultaneous translation (SimulST), and autoregressive text-to-spectrogram, noting efficiency gains on TTS and competitive performance for NMT and SimulST during training and inference.

Keywords

Cite

@article{arxiv.2304.08453,
  title  = {Improving Autoregressive NLP Tasks via Modular Linearized Attention},
  author = {Victor Agostinelli and Lizhong Chen},
  journal= {arXiv preprint arXiv:2304.08453},
  year   = {2023}
}

Comments

Submitted and accepted at ECML PKDD 2023

R2 v1 2026-06-28T10:08:42.662Z