Super-Reparametrizations of Weighted CSPs: Properties and Optimization Perspective

Tomás Dlask, Tomás Werner, Simon de Givry

Abstract

Weighted Constraint Satisfaction Problems (WCSPs) are essential for modeling complex optimization tasks in various scientific domains. However, finding exact solutions is NP-hard, necessitating efficient methods for calculating tight upper bounds. This paper introduces "super-reparametrizations," a novel generalization of standard reparametrizations that allows for transformations of the objective function that preserve or increase its value. By integrating strong constraint propagation techniques like Singleton Arc Consistency (SAC), we develop the VSAC-SR framework, which provides significantly tighter upper bounds than existing state-of-the-art methods.

Introduction

Weighted Constraint Satisfaction Problems (WCSPs) provide a framework for modeling optimization problems where the goal is to find an assignment of values to variables that maximizes a sum of local cost functions. Given their NP-hard nature, researchers often rely on Linear Programming (LP) relaxations to obtain upper bounds on the optimal value.

Traditionally, these bounds are improved through "reparametrizations"—transformations that shift weights between functions while keeping the total objective value identical for every possible assignment. While effective, standard reparametrizations are limited; they struggle to enforce local consistencies stronger than Pairwise Consistency (PWC) without introducing memory-intensive higher-order constraints. This work addresses this bottleneck by introducing the concept of super-reparametrizations.

The Concept of Super-Reparametrizations

A standard reparametrization of a function $g$ is a function $f$ such that $f(x) = g(x)$ for all assignments $x$. In contrast, a super-reparametrization $f'$ of $g$ only requires that $f'(x) \geq g(x)$ for all $x$. This relaxation provides additional degrees of freedom to tighten the global upper bound.

Example of WCSP structures used to illustrate weight transformations and consistency.

By allowing the objective function to increase, we can leverage certificates of unsatisfiability from standard (non-weighted) Constraint Satisfaction Problems. If a subset of "active tuples" (the best local choices) is found to be globally inconsistent—meaning no valid assignment exists using only those tuples—this proof of unsatisfiability can be mechanically converted into a mathematical direction to shift weights, thereby lowering the global upper bound without needing to store complex higher-order constraints.

Methodology: Virtual SAC (VSAC-SR)

The authors implement this framework using Singleton Arc Consistency (SAC), a powerful consistency technique. The resulting algorithm, VSAC-SR, "virtualizes" SAC for the weighted case. The process involves:

  1. Identifying Active Tuples: Determining the local optimal choices.
  2. Consistency Checking: Using SAC to check if these choices are globally satisfiable.
  3. Weight Shifting: If unsatisfiable, using the certificate to find a super-reparametrization that improves the bound.
  4. Line Search: Applying an efficient line search to determine the optimal magnitude of the weight shift.

Experimental Evaluation

The VSAC-SR algorithm was evaluated using the Cost Function Library, focusing on 5,371 binary WCSP instances across domains such as protein folding, computer vision, and max-cut.

Key Results

  • Bound Tightness: VSAC-SR achieved a superior average normalized bound of 0.82, significantly outperforming existing methods like Virtual Arc Consistency (VAC, 0.36) and Existential Directional Arc Consistency (EDAC, 0.20).
  • Domain Performance: The method was particularly effective on maxcut, planning, and qplib instances, where it consistently produced the tightest bounds among all local consistency methods.
  • Computational Trade-off: The increased tightness comes at a higher computational cost. For instance, on the biqmaclib dataset, VSAC-SR averaged ~180 seconds, whereas EDAC completed in ~0.1 seconds.

Conclusion and Future Work

Super-reparametrizations represent a significant step forward in the optimization of WCSPs. By moving beyond equivalence-preserving transformations, we can utilize strong CSP consistency techniques to achieve tighter LP bounds. Future research will focus on extending this framework to higher-order constraints (beyond binary) and investigating whether these tighter bounds can effectively reduce the search space in full branch-and-bound solvers despite the increased per-node computational cost.

Summary updated

BibTeX
@article{dlask2023super,
  author = {Tomás Dlask and Tomás Werner and Simon de Givry},
  title = {{Super-Reparametrizations of Weighted CSPs: Properties and Optimization Perspective}},
  journal = {Constraints An Int. J.},
  year = {2023},
  doi = {10.1007/s10601-023-09343-6},
}
Figure