Cargando…
A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU
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...
Autores principales: | , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9167065/ https://www.ncbi.nlm.nih.gov/pubmed/35669640 http://dx.doi.org/10.1155/2022/4398839 |
_version_ | 1784720747643535360 |
---|---|
author | Xu, Xintao Liu, Yi Chen, Gang Ye, Junbin Li, Zhigang Lu, Huaxiang |
author_facet | Xu, Xintao Liu, Yi Chen, Gang Ye, Junbin Li, Zhigang Lu, Huaxiang |
author_sort | Xu, Xintao |
collection | PubMed |
description | 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%. |
format | Online Article Text |
id | pubmed-9167065 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Hindawi |
record_format | MEDLINE/PubMed |
spelling | pubmed-91670652022-06-05 A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU Xu, Xintao Liu, Yi Chen, Gang Ye, Junbin Li, Zhigang Lu, Huaxiang Comput Intell Neurosci Research Article 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%. Hindawi 2022-05-28 /pmc/articles/PMC9167065/ /pubmed/35669640 http://dx.doi.org/10.1155/2022/4398839 Text en Copyright © 2022 Xintao Xu et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Xu, Xintao Liu, Yi Chen, Gang Ye, Junbin Li, Zhigang Lu, Huaxiang A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title | A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title_full | A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title_fullStr | A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title_full_unstemmed | A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title_short | A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU |
title_sort | cooperative lightweight translation algorithm combined with sparse-relu |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9167065/ https://www.ncbi.nlm.nih.gov/pubmed/35669640 http://dx.doi.org/10.1155/2022/4398839 |
work_keys_str_mv | AT xuxintao acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT liuyi acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT chengang acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT yejunbin acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT lizhigang acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT luhuaxiang acooperativelightweighttranslationalgorithmcombinedwithsparserelu AT xuxintao cooperativelightweighttranslationalgorithmcombinedwithsparserelu AT liuyi cooperativelightweighttranslationalgorithmcombinedwithsparserelu AT chengang cooperativelightweighttranslationalgorithmcombinedwithsparserelu AT yejunbin cooperativelightweighttranslationalgorithmcombinedwithsparserelu AT lizhigang cooperativelightweighttranslationalgorithmcombinedwithsparserelu AT luhuaxiang cooperativelightweighttranslationalgorithmcombinedwithsparserelu |