skip to main content
research-article
Public Access

Framework for Quantifying and Managing Accuracy in Stochastic Circuit Design

Published:25 July 2018Publication History
Skip Abstract Section

Abstract

Stochastic circuits (SCs) offer considerable area- and power-consumption benefits in various applications at the expense of computational inaccuracies. Unlike conventional logic synthesis, managing accuracy is a central problem in SC design. It is usually tackled in ad hoc fashion by multiple trial-and-error simulations that vary relevant parameters like the stochastic number length n. We present, for the first time, a systematic design approach to controlling the accuracy of SCs and balancing it against other design parameters. We express the (in)accuracy of a circuit processing n-bit stochastic numbers by the numerical deviation of the computed value from the expected result, in conjunction with a confidence level. Using the theory of Monte Carlo simulation, we derive expressions for the stochastic number length required for a desired level of accuracy or vice versa. We discuss the integration of the theory into a design framework that is applicable to both combinational and sequential SCs. We show that for combinational SCs, accuracy is independent of the circuit’s size or complexity, a surprising result. We also show how the analysis can identify subtle errors in both combinational and sequential designs. Finally, we apply the proposed methods to a case study on filtering noisy EKG signals.

References

  1. Physionet. 2017. Retrieved from https://physionet.org/.Google ScholarGoogle Scholar
  2. Armin Alaghi and John P. Hayes. 2013. Survey of stochastic computing. ACM Trans. Embed. Comput. Syst. 12, 2s (2013), 92. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Armin Alaghi and John P. Hayes. 2015. STRAUSS: Spectral transform use in stochastic circuit synthesis. IEEE Trans. Comput.-Aided Des. Integr. Circ. Syst. 34, 11 (2015), 1770--1783.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Armin Alaghi, Cheng Li, and John P. Hayes. 2013. Stochastic circuits for real-time image-processing applications. In Proceedings of the 50th ACM/EDAC/IEEE Design Automation Conference (DAC’13). IEEE, 1--6. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Bradley D. Brown and Howard C. Card. 2001. Stochastic neural computation. I. computational elements. IEEE Trans. Comput. 50, 9 (2001), 891--905. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Michael Bushnell and Vishwani Agrawal. 2004. Essentials of Electronic Testing for Digital, Memory, and Mixed-signal VLSI Circuits. Vol. 17. Springer Science 8 Business Media. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Jienan Chen and Jianhao Hu. 2013. A novel FIR filter based on stochastic logic. In Proceedings of the IEEE International Symposium on Circuits and Systems (ISCAS’13). IEEE, 2050--2053.Google ScholarGoogle Scholar
  8. Te-Hsuan Chen and John P. Hayes. 2014. Analyzing and controlling accuracy in stochastic circuits. In Proceedings of the 32nd IEEE International Conference on Computer Design (ICCD’14). IEEE, 367--373.Google ScholarGoogle Scholar
  9. Te-Hsuan Chen and John P. Hayes. 2016. Design of division circuits for stochastic computing. In Proceedings of the IEEE Computer Society Annual Symposium on Very Large Scale Integration Systems (ISVLSI’16). IEEE, 116--121.Google ScholarGoogle Scholar
  10. Brian R. Gaines et al. 1969. Stochastic computing systems. Adv. Info. Syst. Sci. 2, 2 (1969), 37--172.Google ScholarGoogle ScholarCross RefCross Ref
  11. John Michael Hammersley and David Christopher Handscomb. 1964. Monte Carlo Methods. J. Wiley, Methuen.Google ScholarGoogle Scholar
  12. Hideyuki Ichihara, Tatsuyoshi Sugino, Syota Ishii, Tsuyoshi Iwagaki, and Tomoo Inoue. 2017. Compact and accurate digital filters based on stochastic computing. IEEE Trans. Emerg. Topics Comput. (2017).Google ScholarGoogle Scholar
  13. Peng Li and David J. Lilja. 2011. Using stochastic computing to implement digital image processing algorithms. In Proceedings of the IEEE 29th International Conference on Computer Design (ICCD’11). IEEE, 154--161. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Thomas Müller-Gronbach, Erich Novak, and Klaus Ritter. 2012. Monte Carlo-Algorithmen. Springer-Verlag.Google ScholarGoogle Scholar
  15. Ali Naderi, Shie Mannor, Mohamad Sawan, and Warren J. Gross. 2011. Delayed stochastic decoding of LDPC codes. IEEE Trans. Signal Process. 59, 11 (2011), 5617--5626. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Alexandru Paler, Josef Kinseher, Ilia Polian, and John P. Hayes. 2013. Approximate simulation of circuits with probabilistic behavior. In Proceedings of the IEEE International Symposium on Defect and Fault Tolerance in VLSI and Nanotechnology Systems (DFT’13). IEEE, 95--100.Google ScholarGoogle Scholar
  17. Megha Parhi, Marc D. Riedel, and Keshab K. Parhi. 2015. Effect of bit-level correlation in stochastic computing. In Proceedings of the IEEE International Conference on Digital Signal Processing (DSP’15). IEEE, 463--467.Google ScholarGoogle Scholar
  18. Weikang Qian, Xin Li, Marc D. Riedel, Kia Bazargan, and David J. Lilja. 2011. An architecture for fault-tolerant computation with stochastic logic. IEEE Trans. Comput. 60, 1 (2011), 93--105. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Naman Saraf and Kia Bazargan. 2016. Polynomial arithmetic using sequential stochastic logic. In Proceedings of the 26th Edition on Great Lakes Symposium on Very Large Scale Integration. ACM, 245--250. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Ran Wang, Jie Han, Bruce F. Cockburn, and Duncan G. Elliott. 2016. Design, evaluation, and fault-tolerance analysis of stochastic FIR filters. Microelectron. Reliabil. 57 (2016), 111--127.Google ScholarGoogle ScholarCross RefCross Ref
  21. Ran Wang, Jie Han, Bruce F. Cockburn, and Duncan G. Elliott. 2016. Stochastic circuit design and performance evaluation of vector quantization for different error measures. IEEE Trans. Very Large Scale Integr. Syst. 24, 10 (2016), 3169--3183. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Framework for Quantifying and Managing Accuracy in Stochastic Circuit Design

      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

      Full Access

      • Published in

        cover image ACM Journal on Emerging Technologies in Computing Systems
        ACM Journal on Emerging Technologies in Computing Systems  Volume 14, Issue 2
        Special Issue on Frontiers of Hardware and Algorithms for On-chip Learning, Special Issue on Silicon Photonics and Regular Papers
        April 2018
        322 pages
        ISSN:1550-4832
        EISSN:1550-4840
        DOI:10.1145/3227199
        • Editor:
        • Yuan Xie
        Issue’s Table of Contents

        Copyright © 2018 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: 25 July 2018
        • Accepted: 1 January 2018
        • Revised: 1 November 2017
        • Received: 1 August 2017
        Published in jetc Volume 14, Issue 2

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader