paper-with-me

홈 › Papers

LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportions

2024-05-18 · Victor Agostinelli, Sanghyun Hong, Lizhong Chen

A promising approach to preserving model performance in linearized transformers is to employ position-based re-weighting functions. However, state-of-the-art re-weighting functions rely heavily on target sequence lengths, making it difficult or impossible to apply them to autoregressive and simultaneous tasks, where the target and sometimes even the input sequence length are unknown. To address this issue, we propose Learned Proportions (LeaP) and LeaPformers. Our contribution is built on two major components. First, we generalize the dependence on explicit positional representations and sequence lengths into dependence on sequence proportions for re-weighting. Second, we replace static positional representations with dynamic proportions derived via a compact module, enabling more flexible attention concentration patterns. We evaluate LeaPformer against eight representative efficient transformers on the Long-Range Arena benchmark, showing that LeaPformer achieves the best quality-throughput trade-off, as well as LeaPformer to Wikitext-103 autoregressive language modeling and simultaneous speech-to-text translation for two language pairs, achieving competitive results.

📄 PDF Abstract BibTeX arXiv:2405.13046

Code (1)

osu-starlab/leapformer 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingSimultaneous Speech-to-Text TranslationSpeech-to-TextSpeech-to-Text Translation

Similar Papers 제목 키워드 기반

Cascaded Text Generation with Markov Transformers

2020-06-01 · NeurIPS 2020 12 · Yuntian Deng, Alexander M. Rush

The two dominant approaches to neural text generation are fully autoregressive models, using serial beam search decoding, and non-autoregressive models, using parallel decoding with no output dependencies. This work prop…

Machine TranslationText GenerationTranslation

Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention

2020-06-29 · ICML 2020 1 · Angelos Katharopoulos, Apoorv Vyas, Nikolaos Pappas, François Fleuret

Transformers achieve remarkable performance in several tasks but due to their quadratic complexity, with respect to the input's length, they are prohibitively slow for very long sequences. To address this limitation, we …

D4RLLanguage ModellingOffline RL

Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive Forecasting

2025-02-11 · Jiecheng Lu, Shihao Yang

Autoregressive attention-based time series forecasting (TSF) has drawn increasing interest, with mechanisms like linear attention sometimes outperforming vanilla attention. However, deeper Transformer architectures frequ…

Computational EfficiencyTime Series Forecasting

Directed Acyclic Transformer for Non-Autoregressive Machine Translation

2022-05-16 · Fei Huang, Hao Zhou, Yang Liu, Hang Li 외

Non-autoregressive Transformers (NATs) significantly reduce the decoding latency by generating all tokens in parallel. However, such independent predictions prevent NATs from capturing the dependencies between the tokens…

Knowledge DistillationMachine TranslationTranslation

Towards End-to-End Generative Modeling of Long Videos with Memory-Efficient Bidirectional Transformers

2023-03-20 · CVPR 2023 1 · Jaehoon Yoo, Semin Kim, Doyup Lee, Chiheon Kim 외

Autoregressive transformers have shown remarkable success in video generation. However, the transformers are prohibited from directly learning the long-term dependency in videos due to the quadratic complexity of self-at…

Video Generation