[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3423390.3426727acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicacsConference Proceedingsconference-collections
research-article

Optimization of Stochastic Computing Based Deep Learning Systems with Parallel Finite State Machine Implementation

Published: 25 November 2020 Publication History

Abstract

Deep learning has become an increasingly heated topic as artificial intelligence is on the rise. At the same time, hardware restrictions in real applications have driven the investigation of combining another rising technique, stochastic computing (SC), with deep learning systems to achieve low power costs. By far, operations successfully implemented include addition, multiplication, inner product, and other more complicated nonlinear functions such as hyperbolic tangent (tanh) with linear finite state machines (FSM). The inner product implementation realizes convolution, a core of neural networks, therefore encouraging SC- based deep learning neural network implementations. Meanwhile, extremely long bitstream lengths are needed to achieve satisfying accuracy, especially for large-scale deep learning systems, causing latency issues. The integration of parallelism is thus considered in an attempt to alleviate the latency issue. In this paper, an optimization to stochastic computing based deep learning system is proposed by introducing parallel FSM implementations to replace serial ones generally used in previous works. Substituting serial linear FSMs with several parallel linear FSMs of the same size yet with shorter bitstream length, parallel FSM aims at trading hardware for processing latency. The accuracy performance of a sample parallel FSM unit is evaluated against its counterpart in serial implementation before a case study verifies that the replacement sacrifices little accuracy, while reducing computing time exponentially in actual deep learning system realizations.

References

[1]
A. Ren, Z. Li et al., "Designing reconfigurable large-scale deep learning systems using stochastic computing," 2016 IEEE International Conference on Rebooting Computing (ICRC), San Diego, CA, pp. 1--7, 2016.
[2]
A. Alaghi and J. P. Hayes, "Survey of stochastic computing," ACM Trans. Embed. Comput. Syst, vol. 12, no. 92, May 2013.
[3]
C. Lammie and M. R. Azghadi, "Stochastic Computing for Low- Power and High-Speed Deep Learning on FPGA," 2019 IEEE International Symposium on Circuits and Systems (ISCAS), Sapporo, Japan, pp. 1--5, 2019.
[4]
A. Ardakani, F. Leduc-Primeau, N. Onizawa, T. Hanyu and W. J. Gross, "VLSI Implementation of Deep Neural Network Using Integral Stochastic Computing," in IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 25, no. 10, pp. 2688--2699, Oct. 2017.
[5]
C. Ma and D. J. Lilja, "Parallel implementation of finite state machines for reducing the latency of stochastic computing," 2018 19th International Symposium on Quality Electronic Design (ISQED), Santa Clara, CA, pp. 335--340, 2018.
[6]
B. Gaines, "Stochastic computing systems," Advances in Information Systems Science, vol. 2, no. 2, pp. 37--172, 1969.
[7]
B. D. Brown and H. C. Card, "Stochastic neural computation I: computational elements," IEEE Trans. Comput., vol. 50, pp. 891--905, Sept. 2001.
[8]
P. Li, D. J. Lilja et al., "Computation on stochastic bit streams digital image processing case studies," IEEE Transactions on Very Large Scale Integration (VLSI) Systems, vol. 22, no. 3, pp. 449--462, 2014.
[9]
A. A. Markov, "Extension of the limit theorems of probability theory to a sum of variables connected in a chain," reprinted in Appendix B of: R. Howard. Dynamic Probabilistic Systems, volume 1: Markov Chains. John Wiley and Sons, 1971.
[10]
Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist.
[11]
A. E. Solomou, "adamsolomou/SC-DNN", GitHub, 2020. [Online]. Available: https://github.com/adamsolomou/SC-DNN.

Cited By

View all
  • (2021)Behavioral Decision-Making of Mobile Robot in Unknown Environment with the Cognitive TransferJournal of Intelligent & Robotic Systems10.1007/s10846-021-01451-w103:1Online publication date: 4-Aug-2021

Index Terms

  1. Optimization of Stochastic Computing Based Deep Learning Systems with Parallel Finite State Machine Implementation

      Recommendations

      Comments

      Please enable JavaScript to view thecomments powered by Disqus.

      Information & Contributors

      Information

      Published In

      cover image ACM Other conferences
      ICACS '20: Proceedings of the 4th International Conference on Algorithms, Computing and Systems
      January 2020
      109 pages
      ISBN:9781450377324
      DOI:10.1145/3423390
      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      In-Cooperation

      • University of Thessaly: University of Thessaly, Volos, Greece

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      Published: 25 November 2020

      Permissions

      Request permissions for this article.

      Check for updates

      Author Tags

      1. Parallel FSM
      2. deep learning
      3. neural network
      4. stochastic computing

      Qualifiers

      • Research-article
      • Research
      • Refereed limited

      Conference

      ICACS'20

      Contributors

      Other Metrics

      Bibliometrics & Citations

      Bibliometrics

      Article Metrics

      • Downloads (Last 12 months)10
      • Downloads (Last 6 weeks)0
      Reflects downloads up to 19 Dec 2024

      Other Metrics

      Citations

      Cited By

      View all
      • (2021)Behavioral Decision-Making of Mobile Robot in Unknown Environment with the Cognitive TransferJournal of Intelligent & Robotic Systems10.1007/s10846-021-01451-w103:1Online publication date: 4-Aug-2021

      View Options

      Login options

      View options

      PDF

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      Media

      Figures

      Other

      Tables

      Share

      Share

      Share this Publication link

      Share on social media