Splitting the atom: A new approach to Neighbourhood Interchangeability in Constraint Satisfaction Problems

James Bowen, Chavalit Likitvivatanavong

Abstract

Finding all solutions to Constraint Satisfaction Problems (CSPs) is a computationally intensive task essential for interactive applications. While Neighbourhood Interchangeability (NI) offers a way to simplify these problems by merging identical domain values, its "atomic" nature limits its effectiveness. This paper presents a novel approach that "splits" domain values into interchangeable fragments. By merging these fragments, the search space is significantly reduced, yielding computational savings of over 99% in many instances.

Introduction

Constraint Satisfaction Problems (CSPs), such as scheduling and layout design, often require identifying all possible solutions to allow for user exploration. However, the search space for all solutions grows exponentially with the number of variables and domain sizes. A standard optimization technique is Neighbourhood Interchangeability (NI), which identifies and merges values in a variable's domain that are functionally identical across all constraints.

A basic CSP constraint graph with four variables: X, Y, Z, and W.

The primary limitation of traditional NI is its treatment of domain values as indivisible units. If two values are interchangeable in most contexts but differ in just one, NI cannot merge them. This paper addresses this "atomic" limitation by proposing a method to decompose domain values into sub-fragments that can be independently merged.

Methodology: Splitting the Atom

The authors introduce a transformation process that redefines variable domains through several key innovations:

  1. Cross-Product Representation (CPR): Solutions are represented compactly by grouping values that work together across multiple variables, rather than enumerating every combination.
  2. Algebraic Operators: Three new operations—Commerge ($\odot$), Communion ($\oplus$), and Comminus ($\ominus$)—are defined to manipulate these solution fragments. Commerge, for instance, extracts commonalities between solution sets to facilitate merging.
  3. The Transformation Algorithm: The algorithm iteratively splits domain values into fragments based on their support from neighboring variables and then merges interchangeable fragments.
The transformation pipeline: (i) the original constraint graph, (ii) the initial complex solution space, and (iii) the simplified space after atom splitting and merging.

To prevent an explosion of sub-values, a "cutoff heuristic" is employed: if a transformation increases a domain's size by more than tenfold, the process for that variable is halted.

Experimental Evaluation

The approach was tested on randomly generated CSPs (Model B) with 8 variables and 6 values per domain. The researchers varied constraint density (0.1 to 0.9) and tightness (0.1 to 0.8), averaging results over 100 instances for each configuration.

Key Results and Insights

The "atom splitting" method is a strict generalization of NI. It successfully identifies partial interchangeabilities that traditional NI misses.

  • Efficiency Gains: On "loose" problems (low density or tightness), the method reduced the number of constraint checks required to find all solutions by more than 99%.
  • Low Overhead: In cases where the transformation provided little benefit, the computational overhead was negligible, typically around 1%.
  • Solution Compactness: The resulting solution sets are represented far more compactly, which is critical for memory-limited applications.

Conclusion and Future Work

This research demonstrates that breaking the "atomic" assumption of domain values can lead to massive efficiency gains in solving CSPs. While the current transformation algorithm has exponential worst-case complexity, heuristics effectively manage this in practice. Future work will focus on optimizing variable ordering during transformation and testing the scalability of this approach on large-scale industrial problems.

Reference: Bowen, J., & Likitvivatanavong, C. "Splitting the atom: A new approach to Neighbourhood Interchangeability in Constraint Satisfaction Problems." Proceedings of AAAI, 1366-1367.

Summary updated

BibTeX
@inproceedings{bowen2003splitting,
  author = {James Bowen and Chavalit Likitvivatanavong},
  title = {{Splitting the atom: A new approach to Neighbourhood Interchangeability in Constraint Satisfaction Problems}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
}
Figure