Abstract
Solving NP-hard constrained optimization problems like the Knapsack Problem is computationally expensive for traditional digital architectures due to the von Neumann bottleneck. This paper introduces the Randomized Competitive Ising-inspired (RaCI) algorithm, implemented on a probabilistic memristor crossbar platform. By utilizing the inherent analog noise of Resistive Random Access Memory (RRAM) as a stochastic resource and performing direct energy calculations on-chip, the proposed hardware-software co-design achieves over four orders of magnitude (10,000x) better energy efficiency than state-of-the-art CPUs, GPUs, and quantum annealers for edge-scale optimization tasks.
Introduction
Constrained optimization is fundamental to modern logistics, including stock portfolio management and bandwidth allocation. However, these problems are typically NP-hard, with complexity that scales exponentially. Standard digital processors are inefficient at exploring the vast solution spaces required because their architecture separates memory and processing.
While post-digital approaches like quantum annealers and memristor-based Hopfield networks have shown promise, they often struggle with "dense" problems like the Knapsack Problem. Unlike "stable" problems such as Max-Cut, the Knapsack Problem involves destabilizing self-feedback, causing traditional annealing algorithms to fail as feedback loops become unstable.
Methods: The RaCI Algorithm and Hardware Implementation
The researchers developed the Randomized Competitive Ising-inspired (RaCI) algorithm to address these stability issues. Unlike traditional networks that rely on complex neuronal dynamics, RaCI calculates the "energy" (cost) of a solution directly on the hardware using vector-matrix multiplication (VMM).
The system maintains two competitive solution vectors ($q_1$ and $q_2$). It randomly flips bits and compares the resulting energies; the lower-energy state is preserved while the higher-energy state is updated. This competitive approach facilitates "basin hopping," allowing the system to escape local minima that trap simpler gradient-descent methods.
The hardware implementation utilizes the Cerebro-2 chip, featuring 64×64 RRAM crossbar arrays. Crucially, the design exploits the "native noise" of the memristors to drive the stochastic bit-flipping required by the algorithm, turning a traditional hardware limitation into a functional feature for probabilistic computing.
Key Insights: Navigating Non-Convex Landscapes
The primary advantage of the RaCI approach lies in its ability to navigate highly non-convex search spaces where typical optimization methods often get trapped in sub-optimal solutions.
By performing direct scalar energy calculations ($E = qHq^T$) at every clock cycle, the authors bypassed the stability issues inherent in traditional analog annealing. The competitive search mechanism provides a robust way to explore the energy landscape, ensuring the algorithm converges toward the global optimum rather than stalling in sub-optimal local basins.
Results and Benchmarks
The system was evaluated on Knapsack Problem instances ranging from 15 to 58 neurons (up to 3,364 synapses).
- Energy Efficiency: For a 15-neuron problem, the RaCI hardware was 10,000 times more energy-efficient than an Intel i9-13900K CPU and an Nvidia RTX 4080 GPU.
- Comparison to Quantum Annealing: The system also outperformed the D-Wave 2000Q quantum annealer by a similar margin in terms of energy per solution.
- Noise Mitigation: For larger 58-neuron problems, the researchers employed noise mitigation by averaging results across three different memristor crossbars, successfully stabilizing the weights and maintaining solution quality despite hardware variability.
Discussion and Future Work
While the RaCI approach demonstrates massive efficiency gains at the edge scale, the paper notes diminishing returns as problem sizes grow. Larger problems require more sophisticated noise management and higher-precision hardware. Future work aims to integrate peripheral components—currently handled off-chip via a Raspberry Pi—into a fully "all-analog" pipeline to further maximize speed and efficiency. This research paves the way for ultra-low-power optimization engines suitable for real-time deployment in resource-constrained environments.
Summary updated