Algorithms Transcending the SAT-Symmetry Interface
Markus Anders, Pascal Schweitzer, Mate Soos
TL;DR
The paper addresses the inefficiency of traditional, black-box symmetry workflows in SAT by proposing a holistic SAT-symmetry interface built on joint graph/group pairs $(G,S)$ with $\langle S\rangle = Aut(G)$. It defines an instance-linear runtime model and develops instance-linear/quasi-linear algorithms for three core tasks: finest disjoint direct decomposition, natural symmetric action detection, and equivalent orbit computation, all grounded in the joint input rather than separate tools. Key contributions include an orbit-graph based finest decomposition, a probabilistic giant-test framework for natural symmetric action, and a cycle-type graph framework (with enhancements) to compute equivalent orbits efficiently. These methods reduce over- and under-utilization of symmetry information, enabling faster static and dynamic symmetry exploitation in SAT and offering pathways to generalize to MIP and CSP contexts with complex symmetry structures.
Abstract
Dedicated treatment of symmetries in satisfiability problems (SAT) is indispensable for solving various classes of instances arising in practice. However, the exploitation of symmetries usually takes a black box approach. Typically, off-the-shelf external, general-purpose symmetry detection tools are invoked to compute symmetry groups of a formula. The groups thus generated are a set of permutations passed to a separate tool to perform further analyzes to understand the structure of the groups. The result of this second computation is in turn used for tasks such as static symmetry breaking or dynamic pruning of the search space. Within this pipeline of tools, the detection and analysis of symmetries typically incurs the majority of the time overhead for symmetry exploitation. In this paper we advocate for a more holistic view of what we call the SAT-symmetry interface. We formulate a computational setting, centered around a new concept of joint graph/group pairs, to analyze and improve the detection and analysis of symmetries. Using our methods, no information is lost performing computational tasks lying on the SAT-symmetry interface. Having access to the entire input allows for simpler, yet efficient algorithms. Specifically, we devise algorithms and heuristics for computing finest direct disjoint decompositions, finding equivalent orbits, and finding natural symmetric group actions. Our algorithms run in what we call instance-quasi-linear time, i.e., almost linear time in terms of the input size of the original formula and the description length of the symmetry group returned by symmetry detection tools. Our algorithms improve over both heuristics used in state-of-the-art symmetry exploitation tools, as well as theoretical general-purpose algorithms.
