A Lightweight Transformer Model with Dynamic Sparse Mask for Neural Machine Translation

Neural machine translation (NMT) models, especially Transformers, have high translation quality but suffer from scalability issues due to the quadratic complexity of the attention mechanism. This drawback leads to high memory usage and computational overhead, making large-scale translation inefficient. In addition, maintaining translation quality while reducing computational costs remains a key challenge. To alleviate these issues, this work presents dynamic sparse masks for Transformers, which fine-grained control sparsity based on percentile thresholds. Our method greatly reduces computation amount in Transformer inference process while preserving translation accuracy by selectively retaining the most significant attention scores. Furthermore, learning the curriculum is incorporated to improve model accuracy by gradually structuring the training process. Experiments are conducted on the WMT2014 EnglishFrench dataset to verify the effectiveness of our model on NMT tasks. Compared to the standard Transformer model, our model achieves an improvement of 19.38 in the Bilingual Evaluation Understudy (BLEU) score and reduces 31.4% multiply-accumulate (MAC) operations in Transformer inference process, which is crucial to reducing power consumption in hardware.

Authors

Institutions

Publication Details

Published
2025-04-16
DOI
https://doi.org/10.1109/coolchips65488.2025.11018582
Primary Topic
Natural Language Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Lightweight Transformer Model with Dynamic Sparse Mask for Neural Machine Translation

Nima Asadi, Yirong Kan, Renyuan Zhang, Yasuhiko Nakashima et al.
Natural Language Processing Techniques
article

A Lightweight Transformer Model with Dynamic Sparse Mask for Neural Machine Translation

Nima Asadi, Yirong Kan, Renyuan Zhang, Yasuhiko Nakashima, Babak Golbabaei
article en

Abstract

Neural machine translation (NMT) models, especially Transformers, have high translation quality but suffer from scalability issues due to the quadratic complexity of the attention mechanism. This drawback leads to high memory usage and computational overhead, making large-scale translation inefficient. In addition, maintaining translation quality while reducing computational costs remains a key challenge. To alleviate these issues, this work presents dynamic sparse masks for Transformers, which fine-grained control sparsity based on percentile thresholds. Our method greatly reduces computation amount in Transformer inference process while preserving translation accuracy by selectively retaining the most significant attention scores. Furthermore, learning the curriculum is incorporated to improve model accuracy by gradually structuring the training process. Experiments are conducted on the WMT2014 EnglishFrench dataset to verify the effectiveness of our model on NMT tasks. Compared to the standard Transformer model, our model achieves an improvement of 19.38 in the Bilingual Evaluation Understudy (BLEU) score and reduces 31.4% multiply-accumulate (MAC) operations in Transformer inference process, which is crucial to reducing power consumption in hardware.

Nara Institute of Science and Technology (JP)
Affordable and clean energy
Openalex Percentile: Top 94%
Natural Language Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.