paper-with-me

Papers

Speeding up Transformer Decoding via an Attention Refinement Network

2022-10-01 · COLING 2022 10 · Kaixin Wu, Yue Zhang, Bojie Hu, Tong Zhang

Despite the revolutionary advances made by Transformer in Neural Machine Translation (NMT), inference efficiency remains an obstacle due to the heavy use of attention operations in auto-regressive decoding. We thereby propose a lightweight attention structure called Attention Refinement Network (ARN) for speeding up Transformer. Specifically, we design a weighted residual network, which reconstructs the attention by reusing the features across layers. To further improve the Transformer efficiency, we merge the self-attention and cross-attention components for parallel computing. Extensive experiments on ten WMT machine translation tasks show that the proposed model yields an average of 1.35x faster (with almost no decrease in BLEU) over the state-of-the-art inference implementation. Results on widely used WMT14 En-De machine translation tasks demonstrate that our model achieves a higher speed-up, giving highly competitive performance compared to AAN and SAN models with fewer parameter numbers.

📄 PDF Abstract BibTeX

Code (1)

kaixin-wu-for-open-source/arn 공식 구현 pytorch

Tasks

Machine TranslationNMTTranslation

Similar Papers 제목 키워드 기반

Multi-scale Hierarchical Vision Transformer with Cascaded Attention Decoding for Medical Image Segmentation

2023-03-29 · Md Mostafijur Rahman, Radu Marculescu

Transformers have shown great success in medical image segmentation. However, transformers may exhibit a limited generalization ability due to the underlying single-scale self-attention (SA) mechanism. In this paper, we …

DecoderImage SegmentationMedical Image SegmentationSegmentation+1

EDITOR: an Edit-Based Transformer with Repositioning for Neural Machine Translation with Soft Lexical Constraints

2020-11-13 · Weijia Xu, Marine Carpuat

We introduce an Edit-Based Transformer with Repositioning (EDITOR), which makes sequence generation flexible by seamlessly allowing users to specify preferences in output lexical choice. Building on recent models for non…

Imitation LearningMachine TranslationTranslation

Improving non-autoregressive end-to-end speech recognition with pre-trained acoustic and language models

2022-01-25 · Keqi Deng, Zehui Yang, Shinji Watanabe, Yosuke Higuchi 외

While Transformers have achieved promising results in end-to-end (E2E) automatic speech recognition (ASR), their autoregressive (AR) structure becomes a bottleneck for speeding up the decoding process. For real-world dep…

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

Transformers as Graph-to-Graph Models

2023-10-27 · James Henderson, Alireza Mohammadshahi, Andrei C. Coman, Lesly Miculicich

We argue that Transformers are essentially graph-to-graph models, with sequences just being a special case. Attention weights are functionally equivalent to graph edges. Our Graph-to-Graph Transformer architecture makes …

Graph Grounded Cross Attention Transformer Neural Network for Structurally Constrained Full Event Sequence Generation in Predictive Process Monitoring

2026-06-17 · Fang Wang, Ernesto Damiani arxiv

Structurally constrained event sequence generation remains challenging because generated paths must preserve transition feasibility, temporal order, termination, and attribute consistency. In predictive process monitorin…