[Paper Review] Stochastic P-bits for Probabilistic Spin Logic
This paper introduces stochastic p-bits—random, three-terminal units that enable probabilistic spin logic by forming robust, correlated networks to implement accurate Boolean functions. The key contribution is a hybrid circuit design using bidirectional p-bits with partially directed connections, achieving high accuracy in operations like 32-bit addition and invertibility, where outputs can be reversed to find all valid inputs, demonstrated via a 4-bit multiplier functioning as a factorizer.
Conventional logic and memory devices are built out of deterministic units such as transistors, or magnets with energy barriers in excess of 40-60 kT. We show that stochastic units, p-bits, can be interconnected to create robust correlations that implement Boolean functions with impressive accuracy, comparable to standard circuits. Also they are invertible, a unique property that is absent in digital circuits. When operated in the direct mode, the input is clamped, and the network provides the correct output. In the inverted mode, the output is clamped, and the network fluctuates among possible inputs consistent with that output. We present an implementation of an invertible gate to bring out the key role of a three-terminal building block to enable the construction of correlated p-bit networks. The results for this implementation agree well with those from a universal model, showing that p-bits need not be magnet-based: any three-terminal tunable random bit generator should be suitable. We present an algorithm for designing a Boltzmann machine (BM) with symmetric connections that implements a given truth table. We then show how BM Full Adders can be interconnected in a partially directed manner to implement large operations such as 32-bit addition. Hundreds of p-bits get precisely correlated such that the correct answer out of 2^33 possibilities can be extracted by looking at the mode of a number of time samples. With perfect directivity a small number of samples is enough, while for less directed connections more samples are needed, but even in the former case invertibility is largely preserved. This combination of accuracy and invertibility is enabled by the hybrid design that uses bidirectional units to construct circuits with partially directed connections. We establish this result with examples including a 4-bit multiplier which in inverted mode functions as a factorizer.
Motivation & Objective
- To develop a new class of logic and memory devices based on stochastic p-bits instead of deterministic transistors or magnets.
- To address the limitations of conventional digital circuits by enabling invertibility, where outputs can be reversed to find all possible inputs.
- To demonstrate that p-bit networks can implement complex operations like 32-bit addition and 4-bit multiplication with high accuracy.
- To show that p-bits need not be magnet-based, but can be any three-terminal tunable random bit generator.
- To establish a design algorithm for Boltzmann machines with symmetric connections that implement arbitrary truth tables.
Proposed method
- Design a universal model for p-bit networks based on symmetrically connected Boltzmann machines to implement any Boolean function.
- Implement an invertible gate using a three-terminal building block to enable bidirectional information flow and correlation in p-bit networks.
- Construct partially directed networks by combining bidirectional p-bit units to maintain invertibility while enabling large-scale computation.
- Use time sampling of p-bit states to extract the most probable output from 2^33 possibilities in 32-bit addition.
- Apply a design algorithm to map a given truth table to a symmetrically connected Boltzmann machine with p-bit units.
- Demonstrate scalability by interconnecting Full Adders in a partially directed topology to perform large arithmetic operations.
Experimental results
Research questions
- RQ1Can stochastic p-bits be used to build accurate, robust logic circuits that outperform deterministic counterparts in specific tasks?
- RQ2How can invertibility be preserved in p-bit networks when connections are partially directed rather than fully bidirectional?
- RQ3What is the role of the three-terminal tunable random bit generator in enabling correlation and invertibility in p-bit networks?
- RQ4To what extent can p-bit networks scale to implement complex operations like 32-bit addition or 4-bit multiplication?
- RQ5Can p-bits be implemented without relying on magnetic materials, using alternative physical realizations?
Key findings
- The p-bit network achieves high accuracy in 32-bit addition, correctly extracting the correct result from 2^33 possible states through time sampling.
- Invertibility is preserved even with partially directed connections: when the output is clamped, the network explores all inputs consistent with it, enabling functions like factorization.
- The 4-bit multiplier, when operated in inverted mode, successfully functions as a factorizer, identifying all pairs of inputs that produce a given output.
- The results from the physical implementation closely match predictions from the universal model, validating the design approach.
- The three-terminal p-bit unit is essential for enabling bidirectional correlations and invertibility, making it a key enabler of the architecture.
- The method is general: any three-terminal tunable random bit generator can serve as a p-bit, not just magnetic systems.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.