
- Chinese Optics Letters
- Vol. 23, Issue 3, 032501 (2025)
Abstract
1. Introduction
The processing and optimization of complex systems have rapidly advanced with computationally expensive tasks that require resource-intensive, high-performance computing hardware[1]. This demand initiates intensive research on non-Von Neumann computing systems, such as the vector-matrix multiplier[2], the photonic neural network[3], the quantum computer[4], and the photonic Ising machine[5–13]. Among these Ising solvers, the spatial photonic Ising machine (SPIM), by encoding the spins as a phase matrix in spatial light modulators (SLMs), offers substantial benefits of high connectivity and speed in ground state search[8,14–19]. This scheme is compatible with an Ising model with fully connected interactions or an equivalent quadratic unconstrained binary optimization problem due to its high connectivity and scalability[20,21].
Noise in computing hardware exerts significant and non-negligible effects on system performance. In coherent Ising machines, noise acts as an error source, which may induce dynamics beyond the regime of Ising spins, consequently failing Hamiltonian evolution[22]. Conversely, optimal levels of noise are shown to enhance the performance of SPIMs, particularly in addressing frustrating spin problems[23]. Chip-level photonic Ising samplers benefit from noise that accelerates the ground state search and explores a wider phase space[24]. Our previous work reported a similar result, where quadrature spatial photonic Ising machines with spontaneous noise surpassed the simulated results by over 30% when handling the large-scale Max-Cut problems[25]. Additionally, noise has been a subject of early investigation in the realm of neural networks, where it has been established as a regularization term for the objective function contributing to the accelerated convergence of the network[26,27]. Nevertheless, research on the mechanism of noise in Ising machines remains lacking, despite numerous proposed approaches for utilizing or mitigating noise.
Indeed, a smoothed analysis theory has been introduced by Spielman and Teng as a tool for understanding the impact of noise on analog calculation algorithms[28]. Smoothed analysis theory offers a theoretical framework that combines the best of both worst-case and average-case analyses, shedding light on the behavior of algorithms in practical scenarios[29]. Smoothed analysis has been effectively applied to different local search algorithms to solve a variety of classical non-deterministic polynomial (NP) problems, including the Max-Cut, the traveling salesman, and the binary tree problems[29–31].
Sign up for Chinese Optics Letters TOC. Get the latest issue of Chinese Optics Letters delivered right to you!Sign up now
In this Letter, we aim to investigate the effect of noise on spatial photonic Ising machines with a large-scale spin based on the smoothed analysis theory. We demonstrate that strategically introducing digital noise can enhance the performance of SPIMs utilizing the fluid interface and particle inpainting (FLIP) algorithm for solving the Max-Cut problem. The experimental results indicate that the performance of the SPIM exhibits a 49% enhancement compared to the classical heuristic Sahni–Gonzales (SG) algorithm when subjected to blind noise levels. Moreover, this improvement can be further escalated to 73% after additional digital noise injection to the optimal noise level. Additionally, by combining the advantages of analog and digital computation, we propose an optoelectronic co-optimization method. The optoelectronic hybrid structure achieves comparable performance to the noise-injected SPIM at optimal noise levels while improving stability by thousands of times.
2. Theory
By considering the effects of noise in SPIMs or other analog hardware, conventional worst-case or average-case analyses fall short of capturing the actual performance of the algorithms. This is because noise can introduce perturbations that lead to significant deviations from the ideal solutions, rendering the analysis incomplete[29]. Here, smoothed analysis theory provides a more comprehensive approach to understanding the behavior of algorithms in the presence of noise. The primary idea behind the smoothed analysis is so far based on the “potential function” approach, where the Hamiltonian function plays the role of the potential in SPIMs,
Figure 1.Noise benefit in SPIMs based on smoothed analysis. (a) Schematic of SPIM by spatial light modulation. (b) The smoothing process of Hamiltonian in SPIMs.
If the interactions between spins are uniform (
3. Simulation and Experiments
3.1. Numerical simulation
The numerical simulation is employed to illustrate how the energy landscape of a given problem changes with and without noise injection at different levels. To ensure that all spin states are traversed, simulations are conducted on a high-rank spin-glass model with 10 spins across varying levels of Gaussian noise. The interaction coefficients
Note that in order to simplify the calculation, we omit the negative sign in the expression of the standard Ising model. Therefore, a higher calculated value with Eq. (3) indicates a greater proximity to the ground state. In addition, since the interaction coefficient
Figure 2.Hamiltonian of a 10-spin spin-glass model based on smoothed analysis. (a) The normalized Hamiltonian corresponding to all spin states of the spin-glass model with 10 spins. (b) The percentages of various solutions at different smoothness levels (0, 0.001, 0.01, and 0.1) with 100 Gaussian noise injections. (c) The energy landscapes corresponding to different spin states at different smoothing levels (0, 0.001, 0.01, and 0.1). All 1024 spin states are arranged on the X–Y plane with a grid size of 32 × 32. (d) The probabilities of different solutions after 100 iterations in the ground state search at different smoothness levels.
Then, we inject different levels of Gaussian noise into the spin-glass model, with the variance of the noise measuring the smoothness level. Figure 2(b) displays the percentages of different kinds of solutions at four smoothness levels of 0, 0.001, 0.01, and 0.1, and Fig. 2(c) shows the energy landscapes at four smoothness levels of 0, 0.001, 0.01, and 0.1.
A strategy organizes the 1024 spin states of the 10-spin Ising model by expressing the ten spin values as binary codes and arranging them by their corresponding decimal magnitudes. Figure 2(c) presents a more intuitive representation of the energy landscape, with the spin states grouped into a
Then, we perform 100 ground state searches for each smoothness level, and the resulting probabilities are indicated in Fig. 2(d). The number of iterations is fixed at 100, which is significantly lower than the number required to traverse all spin states. In the absence of noise (smoothness level = 0), the system guarantees evolution towards the ground state, although there remains a probability greater than 50% of converging to a suboptimal solution. As the smoothness level increases, the probability of the system converging to the optimal solution gradually rises, ultimately surpassing that of the suboptimal solutions. The peak is observed at a smoothness level of 0.04, and once this threshold is surpassed, the success probability experiences a rapid decline. We also calculate the probability of searching for solutions with Hamiltonian
3.2. Experiments
As a demonstration, we solve the Max-Cut problems using our noise-injected SPIM with the FLIP algorithm. The detailed algorithm flow is shown in Sec. 1 of the Supplement 1. For a given instance of the Max-Cut problem, we define the number of steps of the FLIP algorithm as the maximum number of local improvements possible for any initial cut and pivot rule. This represents the longest path in the FLIP algorithm’s transition graph and requires exponential time before reaching a local maximum in the worst-case scenario[33]. Nevertheless, we are interested in the smoothed number of steps in the FLIP algorithm. Based on the framework of smoothed analysis, with a tiny amount of random noise, the worst-case scenario of FLIP taking an exponential number of steps is unlikely to occur[34] because real-world examples frequently contain noise from various sources, such as rounding mistakes, measurement errors, and numerical imprecision. The experimental setup and the noise injection method are demonstrated in Sec. 2 of the Supplement 1. The instances of the Max-Cut problems consist of graphs of 20,736 nodes with random integer weights chosen from the interval
4. Results
Figures 3(a) and 3(b) illustrate the effect of the injected noise on sparse and fully connected Ising models in experiments, respectively. The scenario where the level of injected digital noise is zero is regarded as the baseline SPIM for the blind noise state. Even at blind noise levels, the mean values are improved by approximately 30% in the case of sparse connections and 49% in the case of full connections, compared to the SG algorithm. Furthermore, the Max-Cut value exhibits a trend of initially increasing and subsequently decreasing as the level of injected noise rises, aligning with both theoretical expectations and simulation outcomes. Within the gray region lies the range of noise levels where the injected digital noise can provide gain, which can be considered the threshold for noise tolerance. The optimal noise levels are observed at 0.04 and 0.05 [solid points in Figs. 3(a) and 3(b)], respectively, resulting in an increase in gain under noise to 46% and 55% on average. Particularly, the evolution of the cut value under blind noise and optimal noise levels are shown in Figs. 3(c) and 3(d), respectively. The light blue (orange) region represents the interval of the result distribution from the ten experiments, with the mean indicated by the dark blue (orange) line.
Figure 3.Experimental results and the searching process of the Max-Cut problems. (a), (b) Experimental results for solving the Max-Cut problem with sparse connections and full connections using a noise-injected SPIM, compared with the SG algorithm. (c)–(e) The evolution of the cut value using SPIM under blind noise, optimal noise, and excessive noise.
Note that while injecting noise may lead to gains, it also results in an unstable distribution and, consequently, a notable increase in the standard deviation of the results. In fact, when the noise level exceeds 0.1, the performance of the photonic Ising machine system cannot be guaranteed. Figure 3(e) illustrates two possible scenarios that occur when the cut value evolves under excessive noise: 1) it stops converging quickly and fails to find a good solution that outperforms the SG algorithm, and 2) it exhibits an instability in convergence and regresses to an inferior solution even after achieving a superior one. Therefore, the gain from the noise comes at the cost of reduced stability. To ensure accuracy, one viable solution is to increase the number of experiments conducted.
Furthermore, we expand our experimental scope to address the weighted Max-Cut problems across a range of graph densities of
The above experimental results indicate that the relative level of noise in relation to the system Hamiltonian significantly determines the degree of smoothing in the energy landscape. When the smoothing is below the optimal noise threshold, the noise primarily affects lower energy levels of the Hamiltonian, leaving larger energy barriers unchanged, which prevents any improvement in system performance. Conversely, when the noise level is sufficiently high to smooth out certain barriers without altering the energy landscape of the optimal solution—approaching the optimal noise level—the system can effectively escape local optima while remaining close to the optimal solution, resulting in performance enhancement. However, for more complex problems, the distinction between the suboptimal and optimal solutions is often minimal. Once the noise begins to sufficiently smooth the suboptimal solution, the optimal solution becomes susceptible to similar effects of the noise. This phenomenon contributes to the significant variance observed in the experimental results. Our findings demonstrate that the smoothing effect of injected noise on the energy landscape of the Ising model is both global and continuous. Consequently, developing a method that can precisely control both the noise level and its timing is essential for enhancing the overall efficiency and stability of the system.
5. Discussion
In the above analysis, the photonic Ising machines have a higher likelihood of producing superior outcomes than the numerical simulations on CPUs due to their inherent smoothing mechanism. However, it appears to be out of its depth in the face of finer energy differences. To be compatible with the existing noise, a system must fulfill two prerequisites: effectively leveraging the smoothing effect of the photonic Ising machine and minimizing the variance in the results.
Digital computation is more adept at handling intricate details. Thus, we propose a hybrid structure that combines photonic and electric calculations to enhance the searches of energy landscapes with multiple ground states, as shown in Fig. 4(a). We analyze the results obtained from the photonic Ising machine calculations and put them in the electronic Ising model to re-search, aiming to compensate for inaccuracies in the optical calculations. The detailed algorithm flow is shown in Sec. 5 of the Supplement 1.
Figure 4.Two-stage optoelectronic co-optimization method. (a) Flow of the optoelectronic co-optimization method. (b) Performance evaluation of different Ising solvers. (c) Results of the Max-Cut problems with graph densities of [0.5, 1.0] employing different methods.
To validate the correctness and feasibility of this method, we compare the Ising model, the photonic Ising machine, the noise-injected photonic Ising machine, and the optoelectronic hybrid Ising machine in solving the fully connected Max-Cut problem with 20,736 nodes. The evolution of the cut value during the searching process of different Ising machines is illustrated in Fig. 4(b). The photonic Ising machine experiences a significant improvement in cut value due to its inherent smoothing effect, resulting in a superior solution when compared to the Ising model. When operating at the optimal noise level, the photonic Ising machine maximizes this advantage while concurrently exhibiting an unstable distribution of results. Most strikingly, comparable outcomes can be achieved by electrically processing the results generated by the photonic Ising machine.
Furthermore, we employ optoelectronic co-optimization to address the weighted Max-Cut problems across varied graph densities, comparing it with Ising models and hardware. Figure 4(c) presents the maximum results yielded by different schemes. The data shows the following: 1) Optoelectronic co-optimization, involving the optimization of both the Ising model and the photonic Ising machine, demonstrates performance enhancements of up to 57% and 16% when compared to the simple electric or photonic computational structure. 2) The optoelectronic co-optimization method also demonstrates superior performance compared to the noise-injected SPIM. 3) Optoelectronic co-optimization significantly improves the system stability, reducing variance by several thousand times compared to the noise-injected approach.
6. Conclusion
The noise in optical Ising machines and analog devices is essential for their potential use in large-scale computational tasks. Considering that intrinsic noise cannot be completely eliminated, the ideal noise level cannot be predicted and controlled. Here, we incorporate smoothing parameters employing digital noise injection to provide a more realistic and comprehensive assessment of noise behavior based on the theory of smoothed analysis. Our numerical simulations and experimental findings verify that modest noise enhances the performance of the photonic Ising machine by up to 24%. The optimal noise level is not a constant value and may be closely linked to parameters, such as the type, density, and scale of the Ising problems. However, it is noteworthy that the photonic Ising machine exhibits robustness against noise and provides dependable results within the noise range of 0.04 to 0.07. Understanding the smoothed impact of noise on the SPIM system enables the exploration of alternative methods to enhance system smoothness while mitigating the unanticipated influence of noise. Therefore, by analyzing how digital and analog computation performs across various search scenarios, we develop an optoelectronic collaboration method that is resilient and capable of delivering reliable results that closely approximate the optimal noise level.
Our research is valuable in exploring the theory of smoothed analysis as a tool for understanding the impact of noise on analog calculations and their built-in local search algorithms. It can inspire researchers to analyze the impact of noise on hardware performance, establish noise tolerance thresholds, and ultimately design structures and algorithms that are better equipped to handle real-world scenarios where noise is inherent.
References
[25] X. Ye, W. Zhang, S. Wang et al. 20736-node weighted max-cut problem solving by quadrature photonic spatial Ising machine(2023).
[30] D. Arthur, B. Manthey, H. Röglin. Smoothed analysis of the k-means method. J. ACM, 58, 1(2011).
[32] A. Lucas. Ising formulations of many NP problems. Front. Phys., 2, 74887(2014).
[34] X. Chen, C. Guo, E. V. Vlatakis-Gkaragkounis et al. Smoothed complexity of local Max-cut and binary max-CSP. Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, 1052(2020).

Set citation alerts for the article
Please enter your email address