In the field of natural language processing (NLP), machine translation algorithm based on Transformer is challenging to deploy on hardware due to a large number of parameters and low parametric sparsity of the network weights. Meanwhile, the accuracy of lightweight machine translation networks also needs to be improved. To solve this problem, we first design a new activation function, Sparse-ReLU, to improve the parametric sparsity of weights and feature maps, which facilitates hardware deployment. Secondly, we design a novel cooperative processing scheme with CNN and Transformer and use Sparse-ReLU to improve the accuracy of the translation algorithm. Experimental results show that our method, which combines Transformer and CNN with the Sparse-ReLU, achieves a 2.32% BLEU improvement in prediction accuracy and reduces the number of parameters of the model by 23%, and the sparsity of the inference model increases by more than 50%.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC9167065PMC
http://dx.doi.org/10.1155/2022/4398839DOI Listing

Publication Analysis

Top Keywords

translation algorithm
12
machine translation
8
number parameters
8
parametric sparsity
8
sparse-relu improve
8
cooperative lightweight
4
translation
4
lightweight translation
4
algorithm combined
4
sparse-relu
4

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!