A Cooperative Lightweight Translation Algorithm Combined with Sparse-ReLU.

Journal: Computational intelligence and neuroscience
Published Date:

Abstract

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%.

Authors

  • Xintao Xu
    School of Microelectronics, University of Science and Technology of China, Hefei, China.
  • Yi Liu
    Department of Interventional Therapy, Ningbo No. 2 Hospital, Ningbo, China.
  • Gang Chen
    Department of Orthopedics, West China Hospital, Sichuan University, Chengdu, Sichuan, China.
  • Junbin Ye
    Institute of Semiconductors, Chinese Academy of Sciences, Beijing, China.
  • Zhigang Li
    Hefei Institute of Physical Science, Chinese Academy of Sciences Hefei 230036 PR China liuyong@aiofm.ac.cn zhanglong@aiofm.ac.cn wangchongwen1987@126.com.
  • Huaxiang Lu
    Institute of Semiconductors, Chinese Academy of Sciences, Beijing, China.