2026 Volume 35 Issue 2
Article Contents

Haijie Xu, Zhe Yuan. Non-Markovian dynamical solver for efficient combinatorial optimization[J]. Chinese Physics B, 2026, 35(2): 027503. doi: 10.1088/1674-1056/ae1fea
Citation: Haijie Xu, Zhe Yuan. Non-Markovian dynamical solver for efficient combinatorial optimization[J]. Chinese Physics B, 2026, 35(2): 027503. doi: 10.1088/1674-1056/ae1fea

Non-Markovian dynamical solver for efficient combinatorial optimization

  • Received Date: 07/11/2025
    Accepted Date: 15/11/2025
    Available Online: 01/02/2026
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(4)

Article Metrics

Article views(250) PDF downloads(2) Cited by(0)

Access History

Non-Markovian dynamical solver for efficient combinatorial optimization

Abstract: We incorporate a non-Markovian feedback mechanism into the simulated bifurcation method for dynamical solvers addressing combinatorial optimization problems. By reinjecting a portion of dissipated kinetic energy into each spin in a history-dependent and trajectory-informed manner, the method effectively suppresses early freezing induced by inelastic boundaries and enhances the system’s ability to explore complex energy landscapes. Numerical results on the maximum cut (MAX-CUT) instances of fully connected Sherrington–Kirkpatrick (SK) spin glass models, including the 2000-spin K2000 benchmark, demonstrate that the non-Markovian algorithm significantly improves both solution quality and convergence speed. Tests on randomly generated SK instances with 100 to 1000 spins further indicate favorable scalability and substantial gains in computational efficiency. Moreover, the proposed scheme is well suited for massively parallel hardware implementations, such as field-programmable gate arrays, providing a practical and scalable approach for solving large-scale combinatorial optimization problems.

1.   Introduction
  • Combinatorial optimization problems (COPs) play a central role in numerous fields of science and engineering, yet remain notoriously challenging for conventional computing architectures. Such problems require identifying the optimal configuration from an exponentially large solution space, which is generally formulated through a cost or objective function. A considerable portion of these problems fall into the class of non-deterministic polynomial-time (NP)-complete problems, which are among the most computationally intractable in NP.[1] The significance of this classification lies in the fact that any NP problem can be polynomially reduced to an NP-complete problem, implying that improvements in solving even a single NP-complete problem could have broad impact. As a representative example, the maximum cut (MAX-CUT) problem is closely connected to a wide range of applications including circuit layout design,[1–3] machine learning,[4] and image segmentation.[5] Thus, it is an important problem in its own right.

    A common approach to addressing COPs is to map the solution onto the ground state of a physical system, such as an Ising model.[6] This mapping is particularly attractive because the system can naturally evolve toward low-energy configurations, effectively performing an optimization process, as exemplified by Hopfield neural networks[7] and Boltzmann machines.[8] However, the practical applicability of such methods is fundamentally limited by energetic and entropic barriers:[9,10] as the problem size increases, the number of local minima and saddle points grows exponentially, hindering the system from efficiently reaching the global optimum. Even strategies such as quantum annealing[9,11,12] or simulated annealing (SA)[13] often struggle to overcome these barriers, particularly in large-scale problems.

    An alternative strategy for addressing COPs is based on dynamical solvers. In this approach, the binary spin variables σi = ±1 are relaxed into continuous analog variables xi∈ℝ, increasing the system’s degrees of freedom and enhancing its ability to escape local minima. Unlike annealing-based methods, which require slow evolution to maximize the probability of reaching the minimum-energy state of the Ising model, dynamical solvers allow the system to evolve on timescales much faster than thermal equilibration or adiabatic processes. In these approaches, the system is driven deterministically toward the lowest-energy state of the corresponding Ising model. This strategy has been demonstrated to be successful in medium- to large-scale optimizations involving up to hundreds of thousands of variables,[14,15] and has even inspired the development of specialized hardware implementations.[16–19]

    Building on these developments, experimental and computational implementations of dynamical solvers hold the potential to solve large-scale COPs. Inagaki et al.[20] demonstrated a coherent Ising machine (CIM) capable of solving MAX-CUT problems on a 2000-node network, known as K2000, highlighting the advantages of physical dynamical solvers. Goto first proposed a quantum computing scheme based on networks of nonlinear oscillators, in which quantum adiabatic evolution through bifurcation points enables efficient identification of optimal solutions.[21] This approach leverages quantum superposition and fluctuations and draws an analogy to neural networks composed of nonlinear units. Building on this idea, Goto and colleagues subsequently developed a classical algorithm called simulated bifurcation (SB), which emulates adiabatic bifurcations in nonlinear Hamiltonian systems.[22] Implemented on digital hardware such as FPGAs, SB can efficiently solve large-scale COPs, including K2000, with performance surpassing that of previous CIMs. However, continuous dynamical approaches inherently differ from discrete Ising problems: the latter require spins to adopt strictly binary values (±1), whereas continuous dynamics evolve along smooth trajectories. This mismatch can lead to so-called mapping errors, in which stable continuous trajectories correspond to suboptimal configurations when projected onto the discrete energy landscape.[23] Empirical studies have shown that the interplay between nonlinear dynamical features and the network structure plays a critical role in determining whether the correct solution of the Ising problem can be obtained.[24] To mitigate amplitude heterogeneity, a fully inelastic wall is imposed on the continuous variables xi in SB, restricting them to the interval [−1, 1]. Experimental results demonstrate that two improved versions of SB incorporating the inelastic wall outperform the original algorithm in solving MAX-CUT problems.[14] However, the introduction of the inelastic wall also absorbs system energy, causing the kinetic energy to decay rapidly and limiting the system’s ability to escape local minima. To overcome this problem, the Nosé–Hoover method is employed by introducing a thermal bath[25] that replenishes the dissipated kinetic energy. Another approach, the trapping-and-correction method, takes advantage of early-bifurcated “trapped nodes” that maintain their sign throughout the Ising dynamics, effectively reducing computation time.[24] Nevertheless, these methods provide only limited improvement in overcoming the trapping problem.

    In this work, we develop a non-Markovian algorithm incorporated into dynamical solvers that significantly enhances the efficiency of searching for optimal or near-optimal solutions. Inspired by studies of system–environment information flow, where non-Markovian backflow from the environment to the quantum system can preserve or restore resources,[26–28] we design a history-dependent negative feedback mechanism, which is also widely employed in neuromorphic computing.[29–32] In our algorithm, the energy dissipated into the environment is partially fed back into the system in the form of a negative feedback force, preventing the system from being trapped in local minima due to rapid loss of kinetic energy. This feedback channel improves the solver’s ability to escape local minima and accelerates convergence toward high-quality solutions. We integrate this memory-based force into the ballistic SB (bSB) framework and evaluate its performance on the well-known K2000 benchmark, which corresponds to the Sherrington–Kirkpatrick (SK) spin glass model with 2000 fully connected spins.[33] The SK model has been widely adopted to benchmark the performance of Ising solvers due to its high complexity and dense connectivity.[15,20,25,34] Our numerical experiments show that the proposed non-Markovian dynamics effectively alleviates the rapid “freezing” effect induced by the inelastic wall, significantly improving both solution quality and convergence stability, with gains exceeding 60% compared to all existing SB variants. Furthermore, tests on randomly generated SK models with spin numbers ranging from 100 to 1000 confirm that the introduction of non-Markovian dynamics consistently accelerates computational efficiency. Finally, the proposed scheme is also suited for massively parallel hardware implementations, such as field-programmable gate arrays (FPGAs), offering a practical and scalable route to solving large-scale COPs. Here, our focus is primarily on the efficiency and effectiveness of the algorithm itself, rather than its hardware implementation. Investigating detailed hardware realization and associated resource requirements is beyond the scope of this work.

2.   Simulated bifurcation for solving MAX-CUT
  • The MAX-CUT problem is a classical NP-hard COP that has been extensively investigated in theoretical computer science and statistical physics. An undirected weighted graph G = (V,E) is illustrated in Fig. 1(a), where V denotes the set of vertices and E the set of edges connecting them. The task of the problem is to partition the vertices into two disconnected subsets such that the total weight of the edges crossing between the two subsets is maximized. This problem can be equivalently formulated as an Ising spin model, where each vertex is represented by a binary variable σi = ±1. The value of the spin then encodes the group to which a vertex is assigned and lowers the overall energy for connected spins i and j if they are in different groups (that is, if σiσj = −1). In this mapping, maximizing the cut value corresponds to finding the ground state of the Ising Hamiltonian

    with −Jij denoting the edge weight. Owing to its dense connectivity and frustrated interactions, particularly in benchmark models such as the SK spin glass, MAX-CUT provides a stringent testbed for evaluating optimization algorithms and their capability to escape metastable states in rugged energy landscapes.

    SB is a quantum-inspired algorithm that simulates the adiabatic evolution of classical nonlinear Hamiltonian systems.[21,22] It serves as a classical analogue of bifurcation-based adiabatic quantum computation and is widely regarded as one of the most powerful and effective heuristic frameworks for COPs. Its variant, the bSB, further improves performance, achieving both higher solution accuracy and efficiency for the MAX-CUT problem,[14] and is therefore commonly adopted as a representative baseline of state-of-the-art algorithms.

    In the bSB, the discrete spin variables of the Ising model are converted into continuous coordinates xi, with associated momenta yi, and the system evolves under a Hamiltonian consisting of kinetic and potential energies

    Here, a(t) is a time-dependent control parameter that gradually increases from zero to 1, guiding the system from a single minimum at the origin toward the energy landscape defined by the Ising term. The continuous spin variables evolve according to Hamiltonian dynamics

    Through this adiabatic evolution, the system is ideally expected to progressively approach the ground state of the corresponding Ising Hamiltonian. The coupled differential equations are numerically integrated using the symplectic Euler method[35] with a time step Δt that allows for stable, stepwise updates of the system, enabling the solver to efficiently explore the solution space and effectively escape from local minima.

    To address variable heterogeneity — where continuous trajectories may correspond to suboptimal configurations when projected onto the discrete Ising energy landscape — inelastic walls are imposed on the continuous spin variables xi at ±1. Whenever |xi| exceeds 1, the variable is reset to the boundary [xi = sgn(xi)] and its momentum is set to zero (yi = 0). This constraint stabilizes the system’s evolution by preventing excessively large amplitudes that could lead to mapping errors, while still allowing the solver to efficiently explore low-energy configurations and approach the Ising ground state.

    However, this mechanism also introduces a severe limitation. As shown in Fig. 1(b), as the control parameter a(t) increases, the potential minimum gradually shifts away from the origin. In certain directions, if a coordinate variable xi collides with the inelastic wall, its momentum is completely absorbed and the corresponding kinetic energy is immediately transferred from the system into the environment. When a substantial number of variables collide with the walls, the total kinetic energy of the system exhibits a sudden drop. This rapid energy loss leads to insufficient kinetic energy for the system to escape from its current basin of attraction. Consequently, the system is likely to become trapped in a local minimum of the potential energy. Under such conditions, the dynamics effectively “freeze”, and the system can no longer evolve toward lower-energy configurations.

    To demonstrate this behavior, we conduct numerical experiments on the K2000 benchmark — a representative MAX-CUT instance consisting of 2000 fully connected vertices, with each edge assigned a weight of either +1 or −1 with equal probability. Figure 2(a) shows the evolution of the cut value during a single trial, with a total evolution length of Nstep = 3000, where the blue curve represents the standard bSB algorithm. In the initial stage, the bSB rapidly increases the cut value due to its ballistic dynamics, efficiently exploring the solution space and escaping from shallow local minima.

    As the system evolves, however, the rate of improvement gradually decreases. Figure 2(b) zooms into the final 1000 steps, showing that the cut value essentially stagnates within the last 400 steps. This stagnation indicates that the system has already been trapped in a suboptimal local minimum. To further quantify this effect, we plot in Fig. 2(c) the fraction of spin variables that remain active, i.e., those that continue to flip at each time step. The blue curve demonstrates a rapid decline in spin activity: after roughly 2600 steps, nearly all spins have frozen, and the potential energy remains almost unchanged, effectively preventing further increases in the cut value.

    This trapping phenomenon is primarily caused by the inelastic wall constraint. As many coordinate variables collide with the walls, their momenta are completely absorbed, resulting in rapid dissipation of kinetic energy into the environment. This quick loss of energy prevents the system from escaping its current basin of attraction, effectively “freezing” the dynamics and halting further progress toward lower-energy configurations. These results clearly illustrate a fundamental limitation of bSB in highly frustrated, large-scale instances: while ballistic dynamics enable fast early-stage convergence, persistent energy dissipation due to hard boundaries restricts the system’s ability to continue exploring the solution landscape.

    To overcome this limitation, a natural strategy is to partially return the lost energy to the system, allowing it to retain sufficient kinetic energy to escape from local minima. We propose a non-Markovian approach that implements a history-dependent negative feedback mechanism. In this framework, a portion of the energy dissipated into the environment is returned to the system as a directed kinetic boost, compensating for rapid energy loss and preventing the dynamics from freezing in suboptimal basins. Unlike conventional thermal noise, which relies on random fluctuations, this feedback is deterministic and guided by the system’s past trajectory, reducing the likelihood of revisiting previously trapped states and enabling more efficient exploration of the energy landscape. By harnessing this memory-based energy recycling, the solver maintains sufficient momentum to overcome energy barriers and approach the global optimum more effectively.

3.   The non-Markovian algorithm
  • To enhance the system’s activity for escaping local minima and more effectively exploring the energy landscape, we introduce a directed energy backflow mechanism. In this scheme, a portion of the kinetic energy dissipated to the environment is returned to the system, providing a controlled momentum boost that prevents premature freezing. Specifically, we define a history-dependent energy term for each spin variable

    Here, c1 is a positive constant, and Γ is a memory kernel that quantifies how past states influence the current dynamics. In this work, Γ is modelled by an exponentially decaying function, Γ(t−t′)=e−t−t′τ, with the memory time τ. The parameters τ = 5 and c1 = 0.04 are used throughout this work. This design based on Eq. (4) is inspired by spike frequency adaptation in biological neural networks,[36] where the kernel ensures that more recent states exert a stronger influence. The sign function is introduced to maintain sufficient energy even when xi oscillates in the vicinity of zero, facilitating rapid bifurcation and ensuring adequate energy injection for switching directions during a bifurcation. The memory time τ controls the decay of historical influence: smaller τ emphasizes recent states, whereas larger τ accumulates longer-term history, thereby affecting the efficiency of exploring the energy landscape.

    This design ensures that recent states exert a stronger influence on the system’s evolution, effectively recycling dissipated energy. As illustrated in Fig. 1(c), by incorporating this non-Markovian feedback, the system receives a history-informed, directed energy backflow, enabling it to overcome energy barriers and reducing the likelihood of repeated trapping in previously visited local minima. Importantly, once the system escapes from a local minimum under the influence of this feedback, the effect does not vanish immediately. Its decay, governed by the memory kernel, provides a delayed influence that prevents the system from returning to the recently escaped minimum. This residual effect further enhances the solver’s ability to efficiently explore the energy landscape. Unlike conventional thermal fluctuations, which allow the system to revisit prior configurations without bias, this memory-based dynamics promotes sustained exploration of new regions, thereby increasing the probability of reaching lower-energy states.

    We then apply our developed algorithm, which incorporates the non-Markovian feedback mechanism described in Eq. (4), to solve the K2000 benchmark. In Fig. 2(a), the red curve shows the cut value of our non-Markovian algorithm during a single trial. Even in the final 1000 time steps (zoomed in Fig. 2(b)), the cut value continues to rise, in contrast to the stagnation observed in the standard bSB. This behavior demonstrates the system’s persistent ability to explore higher-quality configurations.

    The improved performance of our non-Markovian algorithm is attributed to the history-dependent negative feedback energy term defined in Eq. (4), which corresponds to the returned energy injection. This energy return guarantees the presence of a number of active spins that continue to flip even in the final stages of evolution, as shown by the red curve in Fig. 2(c). This non-Markovian mechanism not only facilitates the system’s escape from local minima but also introduces directional persistence, suppressing immediate returns to recently visited minima and thereby significantly enhancing the capability to explore the energy landscape.

    Figure 2(d) presents the distribution of the maximum cut values obtained from 10000 independent trials, each consisting of 3000 evolution steps. The known optimal cut value of 33337 is indicated by a black dash-dotted line. For the standard bSB (blue bars), the distribution is heavily concentrated around a few specific values, with an average of 33203.3 (blue dashed line), reflecting a strong tendency to be trapped in certain local minima. Notably, bSB fails to reach the global optimum in any of the trials, highlighting its limitations in escaping suboptimal basins.

    In contrast, our non-Markovian algorithm (red bars) produces a broader and more favorable distribution, with an increased average value of 33256.4 (red dashed line), clearly surpassing bSB. Importantly, our method achieves the optimal cut value with a probability exceeding 1%, demonstrating its enhanced ability to explore the energy landscape. This improvement underscores the critical role of the history-dependent feedback mechanism: by returning energy in a trajectory-informed manner, the solver avoids being trapped in prior suboptimal configurations, maintains sustained exploration, and enhances the probability of finding high-quality solutions. Overall, these results provide strong evidence that integrating memory-based feedback significantly boosts both solution quality and reliability in large-scale, frustrated MAX-CUT instances.

    To further benchmark our algorithm, we compare it with the standard bSB and the heated bSB (HbSB) algorithm. Figure 3(a) illustrates the performance across varying evolution times, with the known optimal cut value of 33337 marked by a black dashed line. Each step here corresponds to a full evolution from a(t) = 0 to a0. The bSB exhibits rapid convergence in the early stage due to its ballistic dynamics: as a(t) changes quickly (corresponding to smaller Nstep), the cut value initially increases with evolution time (the blue line and symbols). However, beyond a certain threshold, large-step evolution causes a decline in the cut value. This behavior occurs because, during slow evolution, the majority of spins collide with the inelastic wall at relatively small a(t), leading to rapid kinetic energy dissipation. Consequently, the system becomes trapped even earlier, limiting further exploration of the energy landscape. Despite its fast initial convergence to high-quality suboptimal solutions, bSB is unable to consistently reach the global optimum.

    The HbSB introduces an additional driving force along the momentum direction, effectively “heating” the system and increasing the kinetic energy. This allows the system to partially overcome local potential barriers, improving the final result. Although HbSB performs better than bSB, it still adopts a Markovian process. The increase in kinetic energy due to heating cannot be efficiently directed. Consequently, HbSB can temporarily escape from some local minima, but it is challenging for the system to rapidly reach the global energy minimum. In addition, HbSB converges more slowly than bSB with respect to the number of steps. Our non-Markovian algorithm consistently outperforms both bSB and HbSB. It achieves the optimal cut value in just 300 evolution steps, whereas HbSB requires at least 800 steps under the same conditions. Moreover, the average cut value of our method is always higher across all evolution speeds, demonstrating that the history-dependent feedback prevents premature freezing and promotes sustained directional exploration.

    The performance of the solver can be quantified using the so-called step-to-solution (S) metric

    It denotes the expected number of sampling steps required to achieve at least one optimal solution with 99% probability. In Eq. (5), P is the empirical success probability, and Ns is the number of steps per trial. Unlike the commonly used time-to-solution metric, step-to-solution reflects the intrinsic sampling efficiency of the algorithm itself, independent of hardware update speed.

    Figure 3(b) shows S versus the number of steps for our non-Markovian algorithm compared with SB variants, including HbSB, the diffusive SB (dSB), and the heated dSB (HdSB). Here, we do not consider the standard bSB, because it fails to reach the optimum under all evolution speeds. Our non-Markovian method significantly outperforms all SB variants. Among them, HbSB exhibits the best performance with S = 2.5 × 106 at Nstep = 10000. In contrast, our non-Markovian approach achieves S = 7.9 × 105 at Nstep = 3000, representing a 64.8% improvement. These results clearly demonstrate the advantage of incorporating non-Markovian energy backflow: by effectively leveraging information from past trajectories, the system can traverse energy barriers more efficiently, reduce the likelihood of being repeatedly trapped in local minima, and accelerate convergence toward the global optimum.

4.   Performance across SK models with different sizes
  • All the above investigations focused on the SK Ising problem K2000, and we next evaluate the performance of our proposed non-Markovian method for system sizes ranging from 100 to 1000 spins, all connected in an all-to-all fashion. The choice of fully connected graphs is intended to make the problem as challenging as possible, thereby rigorously testing the capability and robustness of the algorithm. For each system size, 100 randomly generated instances are used to ensure statistical significance. To obtain reliable estimates of the step-to-solution metric, reference solutions are first computed using simulated annealing (SA) with sufficiently long annealing times and a large number of iterations, ensuring that the solutions closely approximate the global optimum. Each instance is then independently solved across 1000 trials, with the highest cut value recorded for each run. All algorithmic parameters are kept consistent with those optimized for K2000 to allow a fair comparison. [25] The results are summarized in Fig. 4, presenting both the probability of achieving the optimal solution (Fig. 4(a)) and the average step-to-solution S (Fig. 4(b)) as a function of system size, with a total evolution length of Nstep = 800. Across all problem sizes, our non-Markovian algorithm consistently outperforms the previously best-performing HbSB variant. Notably, the relative performance advantage grows with increasing system size, highlighting that the benefits of history-dependent feedback scale favorably with problem complexity.

    These results demonstrate that the non-Markovian mechanism provides both improved solution quality and computational efficiency. Importantly, the method scales robustly with system size, making it a highly promising approach for solving large-scale, densely connected combinatorial optimization problems where conventional solvers or standard SB variants may struggle. Overall, the integration of history-informed energy backflow not only accelerates convergence but also ensures more reliable attainment of global optima, underscoring the practical utility of this approach for complex optimization tasks.

    All numerical simulations in this work were performed on a MacBook Air equipped with an Apple M3 CPU running at 3.2 GHz. Other solvers adopt previously optimized settings reported in Ref. [25], with Δt = 0.7 and c0 = 0.6 for bSB, Δt = 1.1 and c0 = 0.6 for dSB, and Δt = 1.1 and c0 = 0.9 for HbSB. For the proposed method, we adopt Δt = 1.3 and c0 = 0.6. These details ensure that all reported results are fully reproducible.

5.   Conclusion
  • In this work, we have introduced a non-Markovian memory-based feedback mechanism for dynamical solvers tackling COPs, exemplified by MAX-CUT instances on fully connected SK spin glass models. By returning a portion of the dissipated kinetic energy into the system in a history-dependent, trajectory-informed manner, our method effectively suppresses the early freezing problem caused by the inelastic wall constraints in the standard bSB.

    Numerical experiments on the K2000 benchmark demonstrate that the non-Markovian algorithm maintains higher spin activity throughout the evolution, consistently increases the cut values beyond those achievable by bSB and HbSB, and achieves the global optimum with a non-negligible probability. Compared to existing SB variants, our approach significantly reduces the step-to-solution metric, yielding up to 64.8% improvement in computational efficiency. Furthermore, tests on randomly generated SK instances of varying sizes (from 100 to 1000 spins) confirm that the benefits of memory-based feedback scale favorably with system size, enhancing both the probability of finding the optimal solution and the efficiency of exploration.

    The integration of non-Markovian dynamics offers a robust and scalable strategy for solving large-scale, densely connected COPs. By leveraging past trajectory information to guide energy backflow, our method not only accelerates convergence but also ensures more reliable attainment of global optima, highlighting its potential for practical implementation on specialized hardware platforms such as FPGAs. This work establishes a general framework for history-informed dynamical solvers and opens avenues for further exploration of non-Markovian effects in optimization and beyond.

Figure (4)  Reference (36)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return