Skip to main content

Accuracy and Correlation in Stochastic Computing

  • Chapter
  • First Online:
Stochastic Computing: Techniques and Applications

Abstract

This chapter begins by reviewing the sources of inaccuracy in stochastic computing, focusing on correlation, that is, dependencies among stochastic bit-streams. The measurement of correlation is considered, and the SCC metric is defined. The properties of correlation are then explored including some that have only been discovered recently. Correlation can be seen in two ways: either as corrupting a function f, or as changing f to a different, but potentially useful one. Therefore, to ensure that a stochastic circuit works as expected it is important to manage correlation appropriately. This can be done with correlation-controlling units, which must be used carefully to avoid unexpected functional changes and excessive hardware area or latency overhead. There are also cases where correlation has no effect at all (correlation insensitivity). Identifying such immunity to correlation can aid the design of stochastic circuits. Finally, design of stochastic number generators to provide specified levels of correlation is discussed.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 99.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Abbreviations

CI:

Correlation insensitive

FSM:

Finite-state machine

LDPC:

Low density parity check code

LFSR:

Linear feedback shift register

MSE:

Mean square error

PTM:

Probabilistic transfer matrix

RNS:

Random number source

SC:

Stochastic computing

SCC:

Stochastic correlation coefficient

SCH:

Single-ended counter hysteresis

SN:

Stochastic number

SNG:

Stochastic number generator

SRB:

Shift register based

References

  1. A. Alaghi and J.P. Hayes, “A Spectral Transform Approach to Stochastic Circuits,” Proc. Intl. Conf. Computer Design (ICCD), pp. 315–312, 2012.

    Google Scholar 

  2. A. Alaghi and J.P. Hayes, “Exploiting Correlation in Stochastic Circuit Design,” Proc. Intl Conf. on Computer Design (ICCD), pp. 39–46, Oct. 2013.

    Google Scholar 

  3. A. Alaghi and J.P. Hayes, “Fast and Accurate Computation Using Stochastic Circuits,” Proc. Design, Automation, and Test in Europe Conf. (DATE), pp. 1–4, 2014.

    Google Scholar 

  4. A. Alaghi and J.P. Hayes, “STRAUSS: Spectral Transform Use in Stochastic Circuit Synthesis,” IEEE Trans. CAD of Integrated Circuits and Systems, vol. 34, pp. 1770–1783, 2015.

    Google Scholar 

  5. A. Alaghi and J.P. Hayes, “Dimension Reduction in Statistical Simulation of Digital Circuits,” Proc. Symp. on Theory of Modeling & Simulation (TMS-DEVS), pp. 1–8, 2015.

    Google Scholar 

  6. A. Alaghi, C. Li and J.P. Hayes, “Stochastic Circuits for Real-time Image-Processing Applications,” Proc. Design Autom. Conf. (DAC), article 136, 6p, 2013.

    Google Scholar 

  7. A. Alaghi. W-K. Qian and J.P. Hayes, “The Promise and Challenge of Stochastic Computing,” IEEE Trans. CAD, vol. 37, pp.1515–1531, Aug. 2018.

    Google Scholar 

  8. R. Baumann, “Soft Errors in Advanced Computer Systems,” IEEE Design & Test of Computers, vol.22, pp. 258–266, 2005.

    Article  Google Scholar 

  9. B.D. Brown and H.C. Card, “Stochastic Neural Computation I: Computational Elements,” IEEE Trans. Comp., vol. 50, pp. 891–905, 2001.

    Article  MathSciNet  Google Scholar 

  10. T-H. Chen and J.P. Hayes, “Design of Division Circuits for Stochastic Computing,” Proc. IEEE Symp. on VLSI (ISVLSI), pp. 116–121, 2016.

    Google Scholar 

  11. S.S. Choi, S.H. Cha and C. Tappert, “A Survey of Binary Similarity and Distance Measures,” Jour. Systemics, Cybernetics and Informatics, vol. 8, pp. 43–48, 2010.

    Google Scholar 

  12. J. Friedman et al. “Approximation Enhancement for Stochastic Bayesian Inference,” Elsevier Int. Jour. of Approximate Reasoning, 85, pp.139–158, 2017.

    Article  MathSciNet  Google Scholar 

  13. B.R. Gaines, “Stochastic Computing Systems,” Advances in Information Systems Science, vol. 2, J.T. Tou (ed.), Springer, pp. 37–172, 1969.

    Google Scholar 

  14. S.W. Golomb, Shift Register Sequences. Revised ed., Aegean Park Press, Laguna Hills, CA, 1982.

    Google Scholar 

  15. H. Ichihara et al., “Compact and Accurate Digital Filters Based on Stochastic Computing,” IEEE Trans. Emerging Topics in Comp., 2018 (early access).

    Google Scholar 

  16. P. Jeavons, D.A. Cohen and J. Shawe-Taylor., “Generating Binary Sequences for Stochastic Computing,” IEEE Trans. Info. Theory, vol. 40, pp. 716–720, 1994.

    Article  MathSciNet  Google Scholar 

  17. D. Jenson and M. Riedel, “A Deterministic Approach to Stochastic Computation,” Proc. Intl. Conf. Computer-Aided Design (ICCAD), pp. 1–8, 2016.

    Google Scholar 

  18. Z. Kohavi and N.K. Jha, Switching and Finite Automata Theory, 3rd ed. Cambridge Univ. Press, 2010.

    Google Scholar 

  19. V.T. Lee, A. Alaghi and L. Ceze, “Correlation Manipulating Circuits for Stochastic Computing,” Proc. 2018 Design, Automation & Test in Europe (DATE) Conf., pp. 1417–1422, 2018.

    Google Scholar 

  20. V.T. Lee et al., “Energy-Efficient Hybrid Stochastic-Binary Neural Networks for Near-Sensor Computing,” Proc. Design, Automation and Test in Europe Conf. (DATE), pp. 13–18, 2017.

    Google Scholar 

  21. P. Li et al., “Logical Computation on Stochastic Bit Streams with Linear Finite-State Machines,” IEEE Trans. Computers, vol. 63, pp. 1474–1486, 2014.

    Article  MathSciNet  Google Scholar 

  22. S. Liu and J. Han, “Energy Efficient Stochastic Computing with Sobol Sequences,” Proc. Design, Automation, and Test in Europe Conf. (DATE), pp. 650–653, 2017.

    Google Scholar 

  23. Y. Liu et al., “Synthesis of Correlated Bit Streams for Stochastic Computing,” Proc. Asilomar Conf. on Signals, Systems and Computers, pp. 167–174, 2016.

    Google Scholar 

  24. A. Naderi et al., “Delayed Stochastic Decoding of LDPC Codes,” IEEE Trans. Signal Processing, vol. 59, pp. 5617–5626, 2011.

    Article  MathSciNet  Google Scholar 

  25. W. Qian et al., “An Architecture for Fault-Tolerant Computation with Stochastic Logic,” IEEE Trans. Comp., vol. 60, pp. 93–105, 2011.

    Article  MathSciNet  Google Scholar 

  26. W. Qian and M. D. Riedel, “The Synthesis of Robust Polynomial Arithmetic with Stochastic Logic,” Proc. Design Autom. Conf. (DAC), pp. 648–653, 2008.

    Google Scholar 

  27. S.S. Tehrani, W. J. Gross, and S. Mannor, “Stochastic Decoding of LDPC Codes,” IEEE Comm. Letters, vol. 10, pp. 716–718, 2006.

    Google Scholar 

  28. S. Tehrani et al., “Relaxation Dynamics in Stochastic Iterative Decoders,” IEEE Trans. Signal Processing, vol. 58, pp. 5955–5961, 2010.

    Google Scholar 

  29. P.S. Ting and J.P. Hayes, “Isolation-Based Decorrelation of Stochastic Circuits,” Proc. Intl. Conf. Computer Design (ICCD), pp. 88–95, 2016.

    Google Scholar 

  30. P.S. Ting and J.P. Hayes, “On the Role of Sequential Circuits in Stochastic Computing,” Proc. Great Lakes VLSI Symp. (GLSVLSI), pp. 475–478, 2017.

    Google Scholar 

  31. P. S. Ting and J.P. Hayes, “Eliminating a Hidden Error Source in Stochastic Circuits,” Proc. Symp. Defect & Fault Tolerance in VLSI and Nano. Systems (DFT), pp.44–49, Oct. 2017.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to John P. Hayes .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Alaghi, A., Ting, P., Lee, V.T., Hayes, J.P. (2019). Accuracy and Correlation in Stochastic Computing. In: Gross, W., Gaudet, V. (eds) Stochastic Computing: Techniques and Applications. Springer, Cham. https://doi.org/10.1007/978-3-030-03730-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-03730-7_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-03729-1

  • Online ISBN: 978-3-030-03730-7

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics