skip to main content
10.1145/3310273.3323050acmconferencesArticle/Chapter ViewAbstractPublication PagescfConference Proceedingsconference-collections
research-article

On the maximum function in stochastic computing

Published:30 April 2019Publication History

ABSTRACT

Stochastic circuits (SCs) offer significant area, power and energy benefits at the cost of computational inaccuracies. SCs have received particular attention recently in the context of neural networks (NNs). Many NNs use the maximum function, e.g., in the max-pooling layer of convolutional NNs. Currently, approximate workarounds are often employed for this function. We propose NMax, a new SC design for the maximum function that produces an exact result with latency similar to an approximate circuit. Furthermore, unlike most stochastic functions, NMax is correlation insensitive. We also observe that maximum calculations are subject to application-specific bias and analyze this bias.

References

  1. Alaghi A. and J.P. Hayes. Exploiting correlation in stochastic circuit design. Proc. Intl. Conf. on Computer Design (ICCD), 39--46, 2013.Google ScholarGoogle ScholarCross RefCross Ref
  2. Alaghi A., C. Li and J.P. Hayes. Stochastic circuits for real-time image-processing applications. Proc. Design Automation Conf. (DAC), art. 136, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Alaghi A. and J.P. Hayes. STRAUSS: Spectral transfrom use in stochastic circuit synthesis. IEEE Trans. Computer-Aided Design, 34.11: 1770--1783, 2015.Google ScholarGoogle ScholarCross RefCross Ref
  4. Alaghi A. and J.P. Hayes. Survey of stochastic computing. ACM Trans. Embedded Comp. Syst., 12: art. 92, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Box G.E.P. and G. Jenkins. Time Series Analysis: Forecasting and Control, Holden-Day, 1976. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Brown B.D. and H.C. Card. Stochastic neural computation I: Computational elements. IEEE Trans. Computers, 50: 891--905, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Canals V., A. Morro, A. Oliver, M.L. Alomar and J.L. Rosselló. A new stochastic computing methodology for efficient neural network implementation. IEEE Trans. Neural Networks and Learning Systems 27.3: 551--564, 2016.Google ScholarGoogle ScholarCross RefCross Ref
  8. Chen T. and J.P. Hayes. Analyzing and controlling accuracy in stochastic circuits. Proc. Intl. Conf. on Computer Design (ICCD), 367--373, 2014.Google ScholarGoogle ScholarCross RefCross Ref
  9. Farmahini-Farahani A., H.J. Duwe, Michael J. Schulte and K. Compton. Modular design of high-throughput, low-latency sorting units. IEEE Trans. Computers, 62, 1389--1402, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Gaines B.R. Stochastic computing systems. Advances in Information Systems Science, 2: 37--172, 1969.Google ScholarGoogle ScholarCross RefCross Ref
  11. Gupta P.K. and R. Kumaresan, Binary multiplication with PN sequences, IEEE Trans. Acoustics, Speech and Signal Processing, 36, 603--606, 1988.Google ScholarGoogle ScholarCross RefCross Ref
  12. Ichihara H., T. Sugino, S. Ishii, T. Iwagaki and T. Inoue. Compact and accurate digital filters based on stochastic computing. IEEE Trans. Emerging Topics in Computing, 7, 31--43, 2019.Google ScholarGoogle ScholarCross RefCross Ref
  13. Li P. and D.J. Lilja. Using stochastic computing to implement digital image processing algorithms. Proc. Intl. Conf. on Computer Design (ICCD),: 154--161, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Naderi A., S. Mannor, M. Sawan and W.J. Gross. Delayed stochastic decoding of LDPC codes. IEEE Trans. Signal Processing, 59: 5617--5626, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Najafi M., D.J. Lilja, M.D. Riedel and K. Bazargan. Low-cost sorting network circuits using unary processing. IEEE Trans. VLSI Systems, 26, 1471--1480, 2018.Google ScholarGoogle ScholarCross RefCross Ref
  16. Neugebauer F., I. Polian and J.P. Hayes. S-Box-based random number generation for stochastic computing. Proc. Conf. on Digital System Design (DSD), 1--6, 2017.Google ScholarGoogle Scholar
  17. Neugebauer F., I. Polian and J.P. Hayes. Framework for quantifying and managing accuracy in stochastic circuit design. Proc. DATE, 1--6, 2017. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Qian, W., X. Li, M.D. Riedel, K. Bazargan and D.J. Lilja. An architecture for fault-tolerant computation with stochastic logic. IEEE Trans. Computers 60, 93--105, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Ren A., Z. Li, C. Ding, Q. Qiu, Y. Wang, J. Li, X. Qian and B. Yuan. SC-DCNN: Highly scalable deep convolutional neural network using stochastic computing. Proc. ASPLOS, 405--418, 2017. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Stanford CS class, cs231n: Convolutional neural networks for visual recognition, 2016. http://cs231n.github.io/convolutional-networks/Google ScholarGoogle Scholar
  21. Ting P-S and J.P. Hayes. Isolation-based decorrelation of stochastic circuits. Proc. Intl. Conf. on Computer Design (ICCD), 88--95, 2016.Google ScholarGoogle ScholarCross RefCross Ref
  22. van Daalen, M., P. Jeavons, J.Shawe-Taylor and Dave Cohen. Device for generating binary sequences for stochastic computing. Electronics Letters, 29: 80--81, 1993.Google ScholarGoogle ScholarCross RefCross Ref
  23. Wang R., J. Han, B.F. Cockburn and D.G. Elliot. Design, evaluation and fault-tolerance analysis of stochastic FIR filters. Microelectronics Reliability 57: 111--127, 2016.Google ScholarGoogle ScholarCross RefCross Ref
  24. Yu J., K. Kim, J. Lee and K. Choi. Accurate and efficient stochastic computing hardware for convolutional neural networks. Proc. Intl. Conf. on Computer Design (ICCD), 104--112, 2017.Google ScholarGoogle ScholarCross RefCross Ref

Index Terms

  1. On the maximum function in stochastic computing

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        CF '19: Proceedings of the 16th ACM International Conference on Computing Frontiers
        April 2019
        414 pages
        ISBN:9781450366854
        DOI:10.1145/3310273

        Copyright © 2019 ACM

        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]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 30 April 2019

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article

        Acceptance Rates

        Overall Acceptance Rate240of680submissions,35%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader