| 注册
首页|期刊导航|华东师范大学学报(自然科学版)|基于并行块的自适应量化随机计算

基于并行块的自适应量化随机计算

张永卓 诸葛晴凤 沙行勉 宋玉红

华东师范大学学报(自然科学版)Issue(2):76-85,10.
华东师范大学学报(自然科学版)Issue(2):76-85,10.DOI:10.3969/j.issn.1000-5641.2024.02.009

基于并行块的自适应量化随机计算

Parallel block-based stochastic computing with adapted quantization

张永卓 1诸葛晴凤 1沙行勉 1宋玉红1

作者信息

  • 1. 华东师范大学计算机科学与技术学院,上海 200062
  • 折叠

摘要

Abstract

The demands of deep neural network models for computation and storage make them unsuitable for deployment on embedded devices with limited area and power.To solve this issue,stochastic computing reduces the storage and computational complexity of neural networks by representing data as a stochastic sequence,followed by arithmetic operations such as addition and multiplication through basic logic operation units.However,short stochastic sequences may cause discretization errors when converting network weights from floating point numbers to the stochastic sequence,which can reduce the inference accuracy of stochastic computing network models.Longer stochastic sequences can improve the representation range of stochastic sequences and alleviate this problem,but they also result in longer computational latency and higher energy consumption.We propose a design for a differentiable quantization function based on the Fourier transform.The function improves the matching of the model to stochastic sequences during the network's training process,reducing the discretization error during data conversion.This ensures the accuracy of stochastic computational neural networks with short stochastic sequences.Additionally,we present an adder designed to enhance the accuracy of the operation unit and parallelize computations by chunking inputs,thereby reducing latency.Experimental results demonstrate a 20% improvement in model inference accuracy compared to other methods,as well as a 50%reduction in computational latency.

关键词

随机计算/量化/神经网络优化

Key words

stochastic computing/quantization/neural network optimization

分类

信息技术与安全科学

引用本文复制引用

张永卓,诸葛晴凤,沙行勉,宋玉红..基于并行块的自适应量化随机计算[J].华东师范大学学报(自然科学版),2024,(2):76-85,10.

基金项目

国家自然科学基金(61972154) (61972154)

上海市科委项目(20511101600) (20511101600)

华东师范大学学报(自然科学版)

OA北大核心CSTPCD

1000-5641

访问量0
|
下载量0
段落导航相关论文