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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
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
A. Alaghi and J.P. Hayes, “A Spectral Transform Approach to Stochastic Circuits,” Proc. Intl. Conf. Computer Design (ICCD), pp. 315–312, 2012.
A. Alaghi and J.P. Hayes, “Exploiting Correlation in Stochastic Circuit Design,” Proc. Intl Conf. on Computer Design (ICCD), pp. 39–46, Oct. 2013.
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.
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.
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.
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.
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.
R. Baumann, “Soft Errors in Advanced Computer Systems,” IEEE Design & Test of Computers, vol.22, pp. 258–266, 2005.
B.D. Brown and H.C. Card, “Stochastic Neural Computation I: Computational Elements,” IEEE Trans. Comp., vol. 50, pp. 891–905, 2001.
T-H. Chen and J.P. Hayes, “Design of Division Circuits for Stochastic Computing,” Proc. IEEE Symp. on VLSI (ISVLSI), pp. 116–121, 2016.
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.
J. Friedman et al. “Approximation Enhancement for Stochastic Bayesian Inference,” Elsevier Int. Jour. of Approximate Reasoning, 85, pp.139–158, 2017.
B.R. Gaines, “Stochastic Computing Systems,” Advances in Information Systems Science, vol. 2, J.T. Tou (ed.), Springer, pp. 37–172, 1969.
S.W. Golomb, Shift Register Sequences. Revised ed., Aegean Park Press, Laguna Hills, CA, 1982.
H. Ichihara et al., “Compact and Accurate Digital Filters Based on Stochastic Computing,” IEEE Trans. Emerging Topics in Comp., 2018 (early access).
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.
D. Jenson and M. Riedel, “A Deterministic Approach to Stochastic Computation,” Proc. Intl. Conf. Computer-Aided Design (ICCAD), pp. 1–8, 2016.
Z. Kohavi and N.K. Jha, Switching and Finite Automata Theory, 3rd ed. Cambridge Univ. Press, 2010.
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.
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.
P. Li et al., “Logical Computation on Stochastic Bit Streams with Linear Finite-State Machines,” IEEE Trans. Computers, vol. 63, pp. 1474–1486, 2014.
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.
Y. Liu et al., “Synthesis of Correlated Bit Streams for Stochastic Computing,” Proc. Asilomar Conf. on Signals, Systems and Computers, pp. 167–174, 2016.
A. Naderi et al., “Delayed Stochastic Decoding of LDPC Codes,” IEEE Trans. Signal Processing, vol. 59, pp. 5617–5626, 2011.
W. Qian et al., “An Architecture for Fault-Tolerant Computation with Stochastic Logic,” IEEE Trans. Comp., vol. 60, pp. 93–105, 2011.
W. Qian and M. D. Riedel, “The Synthesis of Robust Polynomial Arithmetic with Stochastic Logic,” Proc. Design Autom. Conf. (DAC), pp. 648–653, 2008.
S.S. Tehrani, W. J. Gross, and S. Mannor, “Stochastic Decoding of LDPC Codes,” IEEE Comm. Letters, vol. 10, pp. 716–718, 2006.
S. Tehrani et al., “Relaxation Dynamics in Stochastic Iterative Decoders,” IEEE Trans. Signal Processing, vol. 58, pp. 5955–5961, 2010.
P.S. Ting and J.P. Hayes, “Isolation-Based Decorrelation of Stochastic Circuits,” Proc. Intl. Conf. Computer Design (ICCD), pp. 88–95, 2016.
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.
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.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this chapter
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)