Breaking Generator Symmetry

George Katsirelos, Nina Narodytska, Toby WalsharXiv 2009

Abstract

In Constraint Satisfaction Problems (CSPs), symmetry often leads to redundant search efforts. While lexicographical ordering is a standard technique to "break" these symmetries, its application to matrix models with both row and column symmetries remains a challenge. This paper proves that enforcing full domain consistency on the DOUBLELEX constraint—which requires simultaneous lexicographical ordering of rows and columns—is NP-hard. This result clarifies the fundamental trade-off between the completeness of symmetry breaking and the computational cost of propagation.

Introduction

Symmetry is a pervasive issue in constraint programming. For instance, in a workforce scheduling problem, swapping two identical employees results in a symmetric solution. Without intervention, search algorithms waste significant time exploring these redundant regions of the search space. To mitigate this, researchers add constraints that force the solver to consider only one representative from each symmetry group, typically the lexicographically smallest one.

However, symmetry groups can be exponentially large. A common strategy is to focus on a small set of "generators"—a subset of symmetries that can generate the entire group. This paper investigates whether breaking symmetries based on these generators is both sufficient and computationally tractable.

The DoubleLex Constraint

A particularly difficult case arises in matrix models where both rows and columns are interchangeable. The DOUBLELEX constraint was proposed to handle this by requiring every row to be lexicographically smaller than or equal to the row below it, and every column to be lexicographically smaller than or equal to the column to its right.

Lexicographical ordering violations in a matrix. Part (b) demonstrates how specific cell assignments can lead to 'wrongly ordered' rows or columns, a key concept in the NP-hardness proof.

For years, it was an open question whether a global constraint could efficiently prune all values that violate this dual ordering (achieving domain consistency).

Methods: Proving NP-Hardness

The authors resolve this challenge by proving that enforcing domain consistency on DOUBLELEX is NP-hard. They employ a reduction from 1-in-3 SAT, an NP-complete problem. The core of the proof involves constructing a complex matrix "gadget" where the logic of a SAT formula is encoded into the cell assignments.

The full matrix construction for the reduction from 1-in-3 SAT to DoubleLex. This intricate structure uses specific gadgets to encode logical constraints within the matrix ordering.

By carefully placing fixed and unfixed cells, the authors show that if a solver could efficiently determine which values are consistent with the DOUBLELEX constraint, it would effectively be solving the underlying SAT problem. This construction demonstrates that the interaction between row and column constraints creates a level of complexity that cannot be managed in polynomial time in the general case.

Key Insights

The Generator Trap

While the number of generators is typically small (logarithmic relative to the group size), the authors show that breaking only the generators does not guarantee the elimination of all symmetry. For certain groups, such as the cyclic group $C_4$, no irredundant set of generators can fully break the symmetry.

Tractability vs. Pruning

There is a sharp distinction between the ease of posting a constraint and the difficulty of propagating it. While adding individual lexicographical constraints for each generator is computationally cheap, making them work together to prune every possible symmetric value leads to an exponential explosion in complexity.

Conclusion and Future Work

The proof that DOUBLELEX is NP-hard is a landmark result in the study of matrix symmetries. It suggests that while "perfect" symmetry breaking is theoretically impossible for general matrix models, practical solvers should focus on "incomplete" propagation. Such algorithms prune many symmetric values without incurring the full cost of an NP-hard computation.

Future research directions include identifying specific subclasses of matrices where DOUBLELEX might be tractable and developing more efficient partial propagation techniques that balance pruning power with computational overhead.

This summary is based on the paper "Breaking Generator Symmetry" by George Katsirelos, Nina Narodytska, and Toby Walsh.

Summary updated

BibTeX
@misc{katsirelos2009breaking,
  author = {George Katsirelos and Nina Narodytska and Toby Walsh},
  title = {{Breaking Generator Symmetry}},
  year = {2009},
  eprint = {0909.5099},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/0909.5099},
}
Figure