An event-based architecture for solving constraint satisfaction problems

Hesham Mostafa, Lorenz K. Müller, Giacomo IndiveriarXiv 2015 · DOI

Abstract

Constraint satisfaction problems (CSPs) are typically solved using conventional von Neumann computing architectures. However, these architectures do not reflect the distributed nature of many of these problems and are thus ill-suited to solving them. In this paper we present a hybrid analog/digital hardware architecture specifically designed to solve such problems. We cast CSPs as networks of stereotyped multi-stable oscillatory elements that communicate using digital pulses, or events. The oscillatory elements are implemented using analog non-stochastic circuits. The non-repeating phase relations among the oscillatory elements drive the exploration of the solution space. We show that this hardware architecture can yield state-of-the-art performance on a number of CSPs under reasonable assumptions on the implementation. We present measurements from a prototype electronic chip to demonstrate that a physical implementation of the proposed architecture is robust to practical non-idealities and to validate the theory proposed.

Introduction

Solving hard computational problems often requires a departure from traditional sequential processing. Researchers at the Institute for Neuroinformatics (University of Zurich and ETH Zurich) have proposed a hybrid analog/digital neuromorphic architecture that embraces the inherent "imperfections" of analog hardware to solve Constraint Satisfaction Problems (CSPs). By exploiting natural manufacturing variations in transistors, the system naturally explores solution spaces and escapes local minima without the need for complex, energy-intensive random number generators.

Architecture and Methodology

The proposed architecture is inherently distributed, representing each variable in a problem as a physical node.

The node architecture consists of an analog oscillator and digital logic that processes incoming events to update states and generate output pulses.

The Node and Incommensurability

Each node consists of an analog oscillator and asynchronous digital logic. The oscillator generates a stream of digital pulses (events). Because of transistor mismatch during fabrication, no two oscillators share the exact same frequency. These "incommensurable" phase relations create natural, non-repeating fluctuations that drive the search for a solution. This "mismatch as a feature" approach replaces the need for expensive pseudo-random number generators typically used in stochastic search algorithms.

Communication Protocol

Nodes communicate via digital pulses using the Address-Event Representation (AER) protocol. When a node receives a pulse, its internal digital logic determines whether to change its state based on the specific constraints of the problem. This hybrid approach uses analog circuits for exploration and digital logic for state management, avoiding the signal degradation issues common in pure analog computers.

Performance Evaluation

The architecture was tested against classic benchmarks, including 3-SAT problems from the SATLIB library, standard graph coloring benchmarks (e.g., myciel, david, anna), and the Traveling Salesman Problem (TSP).

Performance comparison showing flips to solution across different problem sizes for sequential, non-ideal network, and ideal network implementations.

Key Results

  • Efficiency in Search: In 3-SAT tests, the network required fewer variable flips to find solutions compared to standard sequential algorithms like probSAT. Notably, the system performed better when events were occasionally delayed or lost—a "non-ideality" that actually helped the system avoid greedy local traps.
  • Temporal and Power Efficiency: Operating at low frequencies (0.2–2 MHz), the massively parallel nature of the hardware allows it to compete with GHz-speed CPUs while consuming significantly less power.
  • Graph Coloring: The network demonstrated faster convergence than the "Gravitational Swarm Intelligence" (GSI) algorithm on several benchmarks, such as the myciel7 graph.

Discussion and Future Work

While the architecture excels at local constraint problems, it faces challenges with global constraints, such as those found in the Traveling Salesman Problem (TSP) as they scale. Additionally, the current prototype relies on an off-chip FPGA for event routing, creating a serial bottleneck. Future iterations will focus on integrating a fully parallel on-chip routing fabric to realize the architecture's full potential. The slow speed of simulating these asynchronous networks in software further underscores the necessity of developing dedicated physical hardware for these tasks.

Summary updated

BibTeX
@misc{mostafa2015event,
  author = {Hesham Mostafa and Lorenz K. Müller and Giacomo Indiveri},
  title = {{An event-based architecture for solving constraint satisfaction problems}},
  year = {2015},
  eprint = {1505.01139},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1505.01139},
}
Figure