Bounds Arc Consistency in WCSPs
- Bounds Arc Consistency (BAC) is a local consistency method for WCSPs that prunes only domain bounds based on minimal cost supports.
- BAC employs accumulators and a work queue to update boundary costs efficiently, yielding significant time and memory savings.
- Empirical evaluations show BAC outperforms traditional soft arc consistency methods in scheduling and bioinformatics applications.
Bounds Arc Consistency (BAC) is a local consistency property tailored for Weighted Constraint Satisfaction Problems (WCSPs) with very large finite domains. BAC generalizes the concept of bounds consistency from crisp CSPs to the weighted (soft) setting. Instead of requiring full arc consistency across all domain values, BAC restricts consistency checks to domain bounds, providing substantial computational savings in both time and space, particularly in domains with high cardinality. BAC is implemented by testing and, if necessary, pruning only the minimal and maximal values of each variable’s domain based on the costs imposed by all relevant cost functions, thus never introducing potentially large unary tables. This property is confluent, ensuring that the resulting pruned network is unique, and it strictly dominates bounds consistency propagated over reified crisp encodings. BAC has demonstrated empirical superiority to established soft arc consistency methods, especially in large-scale scheduling and bioinformatics applications (Zytnicki et al., 2014).
1. Formal Framework and Definition
A WCSP is defined by a set of variables , each with an ordered finite domain , and a set of cost functions . For each variable , the bounds and are defined. Every cost function maps tuples (of assignments on ) to an integer in , where 0 is a threshold (possibly 1) indicating a forbidden cost. Costs are combined using capped addition: 2. The cost of a complete assignment 3 is 4.
A variable 5 is bounds arc consistent if, for every 6 with 7, both bounds (8, 9) admit a "soft support." Defining
0
both inequalities
1
must hold. If either condition is violated, the associated bound is pruned. Supports are given by tuples achieving the minimal cost.
2. Algorithmic Enforcement
The BAC enforcement procedure is structured around updating and checking only the boundary values:
- For each variable 2, maintain two accumulators: 3 and 4, capturing the minimal cost sums associated with respective bounds.
- Two corresponding arrays 5 store the minimal cost contributions from each cost function for rapid recomputation.
- A work queue tracks affected variables requiring bound re-examination.
- Iteratively, the procedure:
- Pops a variable from the queue.
- For each neighboring cost function, computes current minimum boundary costs.
- Updates accumulators and, if necessary, deletes infeasible bounds and propagates through the queue.
This process uses 6 memory, dependent only on the number of variables and cost functions and not domain size.
3. Complexity Analysis
In the general case (arity 7), BAC can be enforced in 8 time and 9 space, where 0 is the number of cost functions and 1. For binary WCSPs (2), this specializes to 3 time. Standard soft arc consistency (e.g., AC*) typically demands 4 time and 5 space. Thus, BAC achieves approximately a 6-fold speedup and significantly reduced memory footprint in large-domain settings. BAC enforcement is confluent and produces a unique pruned network (Zytnicki et al., 2014).
4. Cost Function Semantics and Acceleration
Performance bottlenecks in BAC stem from the need to recompute minimal supporting costs at domain bounds. These calculations can be significantly optimized for special classes of cost functions:
- Semi-Convex or Functional: If every binary cost is semi-convex (the set of high-cost values forms an interval) or functional (every 7 value has at most one cost-0 value in 8), then the minimal supporting value for each boundary can be found in 9, reducing BAC’s complexity to 0 overall.
- Convex or Monotonic: For convex or monotonic binary cost functions, the global minimum across all possible boundary assignments occurs at the domain extremes and can be found in 1, yielding an overall complexity of 2.
This semantic exploitation substantially accelerates BAC on structured constraint problems.
5. Comparison to Crisp Reified Bounds Consistency
Reification transforms each weighted cost function into a crisp constraint augmented by an integer cost variable, subject to a global constraint on their sum. Petit et al. (2000) formalized this approach. Zytnicki et al. demonstrate that BAC strictly dominates bounds consistency on any reified (crisp) encoding, i.e., BAC prunes every bound that would be deleted by this reified approach and may identify inconsistencies earlier (Zytnicki et al., 2014).
6. Empirical Evaluation on Real-World Problems
BAC has been empirically evaluated on large-scale satellite scheduling and RNA gene localization problems:
- In satellite scheduling, with task domains of size 3, BAC augmented with Ø-IC (notated BAC4) is up to 35× faster than EDAC* while incurring only 25% more backtracks. Reified bounds consistency is observed to be 2–3× slower than BAC5 for larger problem instances.
- In genome-scale RNA gene localization, with up to 22 variables and domain sizes reaching 6, BAC solves instances in less than three seconds using 7 space, whereas AC* exhausts available memory for 8. On the largest domains, BAC achieves speedups of 9 over AC*, with nearly identical numbers of backtracks, indicating that bounds-only filtering is typically sufficient to avoid infeasible regions.
Empirical findings establish the efficacy and scalability of BAC for large-domain WCSPs.
7. Summary and Applications
Bounds Arc Consistency is an efficient, domain-scaling local consistency for WCSPs, featuring 0 memory use, favorable worst-case enforcement times, and confluence. It strictly outperforms bounds consistency on reified crisp encodings and provides drastic performance improvements over classical soft arc consistency methods in practical settings such as temporal scheduling and genomic sequence analysis (Zytnicki et al., 2014).
A plausible implication is that BAC represents a key algorithmic advancement for constraint-based modeling in large, soft-constraint optimization domains, particularly where memory constraints and scalability are paramount.