Automatic Generation and Optimization Framework of NoC-Based Neural Network Accelerator Through Reinforcement Learning

Choices of dataflows, which are known as intra-core neural network (NN) computation loop nest scheduling and inter-core hardware mapping strategies, play a critical role in the performance and energy efficiency of NoC-based neural network accelerators. Confronted with an enormous dataflow exploration space, this paper proposes an automatic framework for generating and optimizing the full-layer-mappings based on two reinforcement learning algorithms including A2C and PPO. Combining soft and hard constraints, this work transforms the mapping configuration into a sequential decision problem and aims to explore the performance and energy efficient hardware mapping for NoC systems. We evaluate the performance of the proposed framework on 10 experimental neural networks. The results show that compared with the direct-X mapping, the direct-Y mapping, GA-base mapping, and NN-aware mapping, our optimization framework reduces the average execution time of 10 experimental NNs by 9.09 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , improves the throughput by 11.27 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , reduces the energy by 12.62 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , and reduces the time-energy-product (TEP) by 14.49 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> . The results also show that the performance enhancement is related to the coefficient of variation of the neural network to be computed.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Computers
Published
2024-08-12
DOI
https://doi.org/10.1109/tc.2024.3441822
Citations
2
Primary Topic
Advanced Memory and Neural Computing
Type
article
Field-Weighted Citation Impact
0.42

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automatic Generation and Optimization Framework of NoC-Based Neural Network Accelerator Through Reinforcement Learning

Jinlun Ji, Yuxiang Fu, S.S. Li, Siyue Li et al.
2 citations
IEEE Transactions on Computers
Advanced Memory and Neural Computing
0.42
article

Automatic Generation and Optimization Framework of NoC-Based Neural Network Accelerator Through Reinforcement Learning

Jinlun Ji, Yuxiang Fu, S.S. Li, Siyue Li, Shize Zhou, Tong Cheng, Zhonghai Lu, Yongqi Xue, Li Li, Xinyi Li, Kai Chen, Xinming Yu
article en
2 citations

Abstract

Choices of dataflows, which are known as intra-core neural network (NN) computation loop nest scheduling and inter-core hardware mapping strategies, play a critical role in the performance and energy efficiency of NoC-based neural network accelerators. Confronted with an enormous dataflow exploration space, this paper proposes an automatic framework for generating and optimizing the full-layer-mappings based on two reinforcement learning algorithms including A2C and PPO. Combining soft and hard constraints, this work transforms the mapping configuration into a sequential decision problem and aims to explore the performance and energy efficient hardware mapping for NoC systems. We evaluate the performance of the proposed framework on 10 experimental neural networks. The results show that compared with the direct-X mapping, the direct-Y mapping, GA-base mapping, and NN-aware mapping, our optimization framework reduces the average execution time of 10 experimental NNs by 9.09 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , improves the throughput by 11.27 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , reduces the energy by 12.62 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> , and reduces the time-energy-product (TEP) by 14.49 <inline-formula><tex-math notation="LaTeX">$\%$</tex-math></inline-formula> . The results also show that the performance enhancement is related to the coefficient of variation of the neural network to be computed.

IEEE Transactions on ComputersVol. 73(12)
KTH Royal Institute of Technology (SE), Nanjing University (CN)
National Natural Science Foundation of China, National Key Research and Development Program of China
Openalex Percentile: Top 39%
Advanced Memory and Neural Computing
0.42
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.