arrow
Return

Parallelizing and optimizing neural Encoder-Decoder models without padding on multi-core architecture

delete2020-07-01
delete4
PRE
AI
Y
Yuchen Qiao *
Kazuma Hashimoto cover
Kazuma Hashimoto (Kazuma Hashimoto)
A
Akiko Eriguchi
王
王海霞 (Haixia Wang)
王
王东升 (Dongsheng Wang)
Y
Yoshimasa Tsuruoka
K
Kenjiro Taura
DOI:10.1016/j.future.2018.04.070delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Scaling up Artificial Intelligence (AI) algorithms for massive datasets to improve their performance is becoming crucial. In Machine Translation (MT), one of most important research fields of AI, models based on Recurrent Neural Networks (RNN) show state-of-the-art performance in recent years, and many researchers keep working on improving RNN-based models to achieve better accuracy in translation tasks. Most implementations of Neural Machine Translation (NMT) models employ a padding strategy when processing a mini-batch to make all sentences in a mini-batch have the same length. This enables an efficient utilization of caches and GPU/SIMD parallelism but leads to a waste of computation time. In this paper, we implement and parallelize batch learning for a Sequence-to-Sequence (Seq2Seq) model, which is the most basic model of NMT, without using a padding strategy. More specifically, our approach forms vectors which represent the input words as well as the neural network's states at different time steps into matrices when it processes one sentence, and as a result, the approach makes a better use of cache and optimizes the process that adjusts weights and biases during the back-propagation phase. Our experimental evaluation shows that our implementation achieves better scalability on multi-core CPUs. We also discuss our approach's potential to be used in other implementations of RNN-based models. (C) 2018 Elsevier B.V. All rights reserved.
Keywords:
Neural machine translation
Cache optimization
Parallel programming
errShare
errSave
errShare
errSave
Optimizing Streaming Parallelism on Heterogeneous Many-Core Architectures
err2020-08-01
err16
errOAAI
errZhang, Peng; Fang, Jianbin; Yang, Canqun; Huang, Chun; Tang, Tao; Wang, Zheng
errShare
errSave
Memetic neural network architecture for continuous optimization
err2026-11-10
err0
errOAAI
errLászló Kovács; Ingrida Vaičiulytė; Irmantas Pilypas
errShare
errSave
Parallel hyperparameter optimization of spiking neural networks
err2024-12-01
err1
errOAAI
errFirmin, Thomas; Boulet, Pierre; Talbi, El-Ghazali
errShare
errSave
A parallel programming assessment for stream processing applications on multi-core systems
err2023-03-01
err7
PREAI
errAndrade, Gabriella; Griebler, Dalvan; Santos, Rodrigo; Fernandes, Luiz Gustavo
errShare
errSave

Journal

F
Future Generation Computer Systems-The International Journal of eScience
IF:
6.1
Papers:
6.9K
Citations:
2.8W

Organization

U
University of Tokyo
Scholars:
1.7K
Papers: 613
Citations: 4.3W
Tsinghua University cover
Tsinghua University
Scholars:
1.2W
Papers: 4.2K
Citations: 9.9W
Cited Papers

Cited Papers