NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Automatic Local Annealing

Jared LeinbachNeurIPS 1988

Introduction

In constraint satisfaction networks, the objective is to find a state where the maximum number of units (hypotheses) agree with each other based on weighted connections. A major challenge in this process is avoiding local maxima—suboptimal solutions that appear favorable locally but are not the best overall fit.

Standard approaches typically employ Simulated Annealing, where a global "temperature" parameter starts high (allowing random exploration) and gradually lowers (forcing the network to settle). However, this method has three significant flaws:

  1. The Kludge: It requires prior knowledge of the solution to select an effective cooling schedule.
  2. Uniformity: The entire network is forced to cool at the same rate, even if one region has found an optimal solution while another is still struggling.
  3. Arbitrary Stopping: Processing halts when the schedule ends, regardless of whether a satisfactory solution has been reached.

To address these issues, this paper introduces Automatic Local Annealing (ALA), a method for finding global maxima without the need for an external annealing schedule. By allowing individual units to determine their own "temperature" based on local constraint satisfaction, the network can find global solutions faster and more reliably than traditional Boltzmann machines.

Methods: Automatic Local Annealing

ALA proposes that temperature should be a local property of each unit rather than a global setting.

  • Local Goodness: Each unit calculates its own "goodness" based on how well its current activation satisfies the constraints of its neighbors.
  • Local Temperature: This goodness is normalized into a temperature value between -1 (cold/stable) and 1 (hot/unstable).
  • Probabilistic Updates: Instead of following a fixed schedule, a unit’s probability of performing a "normal" update (moving toward constraint satisfaction) versus resetting to a "resting" state depends on its local temperature.
Probability of normal update based on local temperature
  • The "Freezing" Mechanism: When a unit's local constraints are highly satisfied, it becomes "cold" and "freezes" into a stable state. Conversely, if constraints are poorly satisfied, the unit stays "hot," remaining mobile and searching for a better fit.

Crucially, this "coldness" spreads. If a cluster of units satisfies each other, they cool down, which in turn helps cool their neighbors, eventually allowing a global solution to emerge organically.

Experiments and Key Insights

The algorithm was evaluated on two specific network configurations:

  1. A "Difficult" Network: A synthetic network designed with local maxima that are extremely close in quality to the global maxima, requiring high sensitivity to find the true peak.
  2. An "Easy" Network (Necker Cube): Based on the classic Necker cube model, representing a bistable perception problem where the network must settle on one of two interpretations.

Key Insights

  • Decentralized Control: Global order can emerge from purely local temperature control, eliminating the need for a central processor to dictate cooling.
  • Sub-problem Independence: Because annealing is local, the network can quickly solve and "freeze" easy sub-parts of a problem while continuing to process more difficult, unsatisfied sections.
  • Biological Plausibility: ALA is more biologically realistic than Boltzmann machines, as neurons react to their immediate electrochemical environment rather than a global clock.
  • Satisficing: The system naturally supports finding a "good enough" solution quickly by adjusting the "freezing point," allowing a trade-off between solution quality and processing speed.

Results

When comparing ALA against a standard Boltzmann Machine (BM) across 100 trials, ALA demonstrated significant improvements:

  • Reliability: On the "Difficult" network, ALA reached the global maximum in nearly 100% of trials. In contrast, even the best-tuned Boltzmann Machine schedules struggled to surpass 70% reliability.
  • Speed: ALA began finding stable global solutions much earlier in the processing cycle than the Boltzmann Machine, which typically only settles at the very end of its fixed schedule.
Performance comparison between ALA and Boltzmann Machines on the difficult network
  • Efficiency: ALA avoids the wasted computation of cooling a network that has already found a solution, or prematurely stopping a network that is still in a suboptimal state.

Limitations and Future Work

While ALA presents a robust alternative to traditional annealing, it has some limitations. A rigorous mathematical description of "visitedness" (how often the network visits certain states relative to their quality) had not yet been fully developed. Additionally, while ALA avoids the "annealing schedule" kludge, it still requires defining an update probability function, which may need tuning for different classes of problems.

Looking forward, while the paper focuses on search, ALA could potentially revolutionize learning algorithms. Traditional Boltzmann learning is notoriously slow; a local annealing approach might allow for much faster weight adjustments by prioritizing immediate constraints over distant ones during early learning phases.

Summary updated

BibTeX
@inproceedings{leinbach1988automatic,
  author = {Jared Leinbach},
  title = {{Automatic Local Annealing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1988},
}
Figure