Manuscript Offprint

arXiv:2610.31339

First hardware demonstration of a continuous-state probabilistic computer with programmable energy-defined sampling

Chao Fang, Hsuan Yao Tu, Yihan He, Xiao Gong, Chin-Fu Nien, Gengchiau Liang

Fang Chao 1†^{1\dagger}, Hsuan Yao Tu 3†^{3\dagger}, Yihan He 1†∗^{1\dagger*}, Gong Xiao 1^{1}, Chin-Fu Nien 3∗^{3*}, and Gengchiau Liang 1,2∗^{1,2*}

1^{1}Department of Electrical and Computer Engineering, National University of Singapore, 117583 Singapore

2^{2}Industry Academia Innovation School, National Yang-Ming Chiao Tung University, Hsinchu, Taiwan

3^{3}Department of Electronics and Electrical Engineering and Institute of Electrical and Computer Engineering, National Yang Ming Chiao Tung University, Hsinchu, Taiwan

†^{\dagger}These authors contributed equally.

*Email: yihanhe@u.nus.edu; watchmannien@nycu.edu.tw; gcliang@nycu.edu.tw

Probabilistic computing has proved useful for combinatorial optimization, but conventional implementations rely on binary stochastic units and sigmoid-based updates. Extending these systems to continuous variables requires binary encoding. Here we introduce a continuous probabilistic computer (CPC) whose continuous probabilistic bits sample bounded states from conditional distributions defined by local energies. Separating random-source generation from conditional sampling provides a route to using physical random sources with different native distributions. A field-programmable gate array (FPGA) prototype updates finite-precision states using digital randomness. The same framework supports product constraints, memory recovery and solution-space exploration. For the tested 7-bit factorization case, fixed-temperature FPGA CPC reduces mean core solving time approximately 33,000-fold relative to the evaluated quadratic unconstrained binary optimization software implementation. The FPGA recovers stored MNIST patterns without pretrained networks, achieving final success rates of 100%. Software CPC reaches 90% reference coverage of the feasible area in approximately 18% of the time required by restarted Adam.

Introduction ·

Energy-based computing provides a promising approach to solving combinatorial optimization problems by encoding objectives and constraints into an energy function. By programming interactions among computational units and local biases, the resulting energy landscape can be fast explored to identify low-energy configurations, with its ground states corresponding to optimal solutions for appropriately formulated problems. This principle underpins various physical computing paradigms, including quantum annealing and probabilistic computing (p-computing). Quantum annealing exploits quantum fluctuations and quantum dynamics to search for low-energy states of a problem Hamiltonian 3,4^{3,4}. For example, a Rydberg-atom processor has found near-optimal independent sets on unit-disk graphs with up to 289 vertices 5^{5}. In contrast, classical probabilistic computers (p-computers) are normally built upon the Ising model or Boltzmann machine 1,2^{1,2} and employ networks of interacting binary-valued probabilistic bits (p-bits) to explore energy landscapes through stochastic state updates 6,7^{6,7}. The binary nature of p-bits makes these p-computers particularly well suited to discrete optimization problems, while their intrinsic stochasticity and rapid sigmoidal switching dynamics enable fast exploration of the solution space through stochastic state updates. Recent advances in the co-design of p-bits based on emerging stochastic nanodevices and programmable coupling circuits 8,9^{8,9}, have demonstrated substantial acceleration across representative combinatorial optimization problems, including integer factorization, Max-Cut, the traveling salesman problem and Boolean satisfiability 10,11^{10,11}.

Despite these advances, many practical optimization problems involve inherently continuous variables, such as mixture coefficients, signal amplitudes, spatial coordinates and physical control parameters, whose optimal values are defined over continuous domains. Conventional binary p-bits are inherently restricted to two states and therefore cannot directly represent multistate or continuous-valued variables. The only possible approach is to combine multiple binary p-bits to approximate each variable with finite numerical precision, but it increases the number of computational units and the complexity of their interactions, potentially limiting the efficiency and scalability of optimization involving continuous variables. To overcome these limitations, recent efforts have sought to extend probabilistic computing beyond conventional binary representations. The probabilistic d-dimensional bit (p-dit) model generalizes binary p-bits to multidimensional states with real-valued components 12^{12}. Gaussian probabilistic bits (g-bits) provide another approach by combining multiple binary p-bits to construct finite-precision variables with approximately Gaussian distributions, enabling experimental demonstrations of mixed binary-continuous optimization. However, These p-dit and g-bit demonstrations retain sigmoid-based discrete updates and do not directly sample native continuous device fluctuations. The demonstrated p-dit implementations have primarily focused on categorical and integer variables have yet to establish general continuous-variable optimization capabilities in hardware, while g-bits remain dependent on multiple binary stochastic units to represent each continuous-valued variable, introducing a trade-off between numerical precision and hardware resources. In parallel, thermodynamic computing exploits continuous stochastic dynamics to perform probabilistic computation, enabling continuous-variable sampling, matrix operations 14,15^{14,15}, with further developments extending their capabilities to nonlinear computation and learning 16,17^{16,17}. However, unlike a programmable probabilistic bit, its target distributions are typically realized through engineered physical dynamics and interactions, making computational flexibility dependent on the underlying physical system. This motivates an alternative architecture in which continuous-valued stochastic variables are directly updated according to programmable, energy-dependent conditional distributions, with stochastic signal generation decoupled from probability distribution shaping.

Here we introduce a continuous probabilistic computer (CPC) built from continuous probabilistic bits (CP-bits), each representing a bounded continuous variable and sampling its state from a conditional distribution determined by its local energy (Fig. 1). An Ising-inspired coupling scheme defines the interactions between CP-bits, enabling different computational problems to be mapped onto a unified framework through programmable energy functions. A key feature of this architecture is the separation of stochastic signal generation from energy-dependent conditional sampling. Rather than requiring the physical random source to follow a specific target distribution, the CPC employs source-adapted sampling algorithms to transform native stochastic signals into samples from the desired conditional distributions. This design provides a flexible route towards incorporating different continuous stochastic devices, such as CMOS circuits exhibiting approximately Gaussian voltage fluctuations 18,19^{18,19}, and resistive random-access memory (RRAM) devices exhibiting log-normal resistance statistics without modifying the underlying energy formulation 20^{20}. To our knowledge, the proposed framework is the first probabilistic computing framework designed to use native continuous device signals directly, adapting their distributions for energy-defined node updates.

To validate this framework, we develop a field-programmable gate array (FPGA)-based CPC prototype that integrates local energy evaluation, random-number generation, conditional sampling and sequential node updates. We demonstrate the versatility of the CPC framework across several computational tasks. In the decimal factorization task, the CPC efficiently identifies solutions to decimal product constraints, while also enabling stochastic exploration of feasible solution spaces. For associative memory, stored MNIST patterns can be recovered from noisy or incomplete inputs without pretrained networks. In continuous mixture decomposition, the CPC not only identifies compatible mixture coefficients but also explores multiple feasible solutions when the observations do not uniquely determine the underlying composition. These demonstrations show that the same CP-bit update framework can address both discrete-constraint problems and continuous-variable optimization, while enabling stochastic exploration of multiple feasible solutions. Together, these results establish CPC as a programmable probabilistic computing architecture for continuous-variable computation, with a pathway towards hardware implementations based on diverse stochastic devices.

References (29)