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

Symmetries of Symmetry Breaking Constraints

George Katsirelos, Toby Walsh

This paper, published in 2009, explores a clever "meta-symmetry" observation to solve a long-standing headache in constraint programming: the clash between symmetry breaking and search heuristics.

TL;DR

The authors demonstrate that any symmetry applied to a set of symmetry-breaking constraints (SBCs) results in a new, valid set of SBCs that picks a different representative solution. By dynamically choosing or randomly restarting with different symmetries of these constraints, solvers can avoid conflicting with search heuristics, leading to significantly faster problem-solving on complex benchmarks.

What Problem Does This Paper Address?

In Constraint Satisfaction Problems (CSPs)—like scheduling or graph coloring—symmetries often exist. For example, if you have two identical machines, any valid schedule remains valid if you swap them. To avoid wasting time exploring these redundant "symmetric" states, researchers add Symmetry Breaking Constraints (SBCs) to force the solver to find only one unique solution per symmetry class (e.g., the lexicographically smallest one).

However, there is a catch: Heuristic Conflict. A search heuristic (the rule that decides which variable to assign next) might naturally lead the solver toward a solution that the SBC has forbidden. When this happens, the solver spends a massive amount of time exploring branches that will eventually be pruned by the SBC, even if a valid solution was "right there."

Methods

The authors propose two main methods based on the observation that if $S$ is a sound and complete set of SBCs, then $\sigma(S)$ (where $\sigma$ is a symmetry of the problem) is also sound and complete.

  1. Model Restarts: Instead of sticking to one fixed set of SBCs, the solver periodically restarts the search. Upon each restart, it picks a random symmetry $\sigma$ from the group and posts $\sigma(S)$ as the new set of constraints. This increases the probability that the solver will eventually pick a symmetry that aligns with the branching heuristic.
  2. Forced Symmetry Rule (Dynamic Posting): This is a more surgical approach. The solver starts without committing to a specific symmetry. As the branching heuristic makes decisions, it naturally rules out certain symmetries. The solver only posts a specific symmetry-breaking constraint once the heuristic has "forced" the choice—meaning the constraint is consistent with current decisions, and all alternative symmetries have become inconsistent.

Datasets

The authors evaluated their methods on three main benchmarks:

  • All Interval Series: A classic combinatorial problem used to illustrate how different symmetries interact with heuristics.
  • Random Graph Coloring: Graphs with 40 vertices, incorporating both variable symmetry (interchangeable vertices) and value symmetry (interchangeable colors).
  • Concert Hall Scheduling: A structured optimization problem where applications for hall usage must be assigned to identical halls to maximize profit.

Key Insights and Ideas

  • Symmetry of SBCs: The core "aha!" moment is that SBCs themselves can be permuted. We aren't stuck with the "lexicographically first" solution; we can pick any representative from a symmetry class by simply transforming the SBC.
  • Heuristic Alignment: Rather than forcing the heuristic to obey the constraints, we can adapt the constraints to match the heuristic's "luck."
  • Pruning vs. Flexibility: There is a fundamental tradeoff. Posting constraints early prunes the search space (good), but posting them too early causes conflicts (bad). The "Forced Symmetry Rule" provides a formal way to navigate this tradeoff by being "lazy" until a choice is necessary.

Key Results

The experimental results, summarized in the paper's main table, show that these methods often outperform traditional static symmetry breaking.

Experimental results comparing static vs. dynamic posting and model restarts
  • Conflict Reduction: In the "All Interval Series" example, a conflicting symmetry required over 200,000 branches to solve, while the "lucky" identity symmetry took only 1. Model restarts brought the average down to just 301 branches.
  • Search Tree Size: Both proposed methods explored significantly smaller search trees than SBDS (Symmetry Breaking During Search), a common dynamic method. SBDS often failed to prove optimality within the time limit due to its high overhead.
  • Performance: The "Model Restarts" method performed best on the Graph Coloring instances, while the "Forced Symmetry Rule" excelled in the Concert Hall Scheduling benchmarks.

Limitations and Future Work

  • Generalization: The authors focused on "piecewise" variable and value symmetry. While powerful, it remains to be seen how easily these methods generalize to more complex, non-partitionable symmetry groups.
  • Rule Tuning: The "Forced Symmetry Rule" is just one way to decide when to post constraints. The authors suggest that exploring "eager" or "lazier" versions of this rule could yield even better results depending on the problem structure.
  • Heuristic Integration: While random choice worked well for restarts, future work could involve developing heuristics that actively choose the symmetry most likely to be consistent with the current search path.

Summary updated

BibTeX
@misc{katsirelos2010symmetries,
  author = {George Katsirelos and Toby Walsh},
  title = {{Symmetries of Symmetry Breaking Constraints}},
  year = {2010},
  eprint = {1005.5270},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1005.5270},
}
Figure