arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1109.2347cs.AI
收藏

精确图着色中实例无关对称的破缺

Breaking Instance-Independent Symmetries In Exact Graph Coloring

University of Michigan(密歇根大学);American University in Sharjah(沙迦美国大学)

F. A. Aloul, I. L. Markov, A. Ramani, K. A. Sakallah

摘要:

代码优化和高级综合可以归结为约束满足和优化问题,如寄存器分配中的图着色。图着色还用于对与AI相关的更传统的CSP进行建模,例如计划,时间表和调度。可证明的最优解决方案对于商业和国防应用可能是期望的。此外,对于诸如寄存器分配和代码优化之类的应用,自然发生的图着色的实例通常很小,并且可以最优地解决。最近一波布尔可满足性(SAT)和0-1线性规划(ILP)算法的改进建议使用通用的问题归约方法,而不是问题特定的算法,因为(1)算法可能会被新的约束打乱,(2)算法往往忽略结构,(3)许多相关问题是不可证明的。问题简化通常会导致高度对称的SAT实例,而对称性会降低SAT求解器的速度。在这项工作中,我们比较了几种对称性破缺的途径,特别是当某些类型的对称性存在于所有生成的实例。我们专注于将CSP减少到SAT,这使我们能够利用SAT求解器最近的巨大改进,并自动从未来的进展中受益。我们可以使用各种黑盒SAT求解器而无需修改它们的源代码,因为我们的破解技术是静态的,即,我们在预处理期间检测对称性并添加对称性破坏谓词(SBP)。我们工作的一个重要结果是,在我们研究的实例独立SBPs类型及其组合中,最简单和最不完整的构造是最有效的。我们的实验也清楚地表明,实例独立的对称性大多应该与实例特定的对称性一起处理,而不是在规范级别,与文献中所建议的相反。

英文摘要:

Code optimization and high level synthesis can be posed as constraint satisfaction and optimization problems, such as graph coloring used in register allocation. Graph coloring is also used to model more traditional CSPs relevant to AI, such as planning, time-tabling and scheduling. Provably optimal solutions may be desirable for commercial and defense applications. Additionally, for applications such as register allocation and code optimization, naturally-occurring instances of graph coloring are often small and can be solved optimally. A recent wave of improvements in algorithms for Boolean satisfiability (SAT) and 0-1 Integer Linear Programming (ILP) suggests generic problem-reduction methods, rather than problem-specific heuristics, because (1) heuristics may be upset by new constraints, (2) heuristics tend to ignore structure, and (3) many relevant problems are provably inapproximable. Problem reductions often lead to highly symmetric SAT instances, and symmetries are known to slow down SAT solvers. In this work, we compare several avenues for symmetry breaking, in particular when certain kinds of symmetry are present in all generated instances. Our focus on reducing CSPs to SAT allows us to leverage recent dramatic improvement in SAT solvers and automatically benefit from future progress. We can use a variety of black-box SAT solvers without modifying their source code because our symmetry-breaking techniques are static, i.e., we detect symmetries and add symmetry breaking predicates (SBPs) during pre-processing. An important result of our work is that among the types of instance-independent SBPs we studied and their combinations, the simplest and least complete constructions are the most effective. Our experiments also clearly indicate that instance-independent symmetries should mostly be processed together with instance-specific symmetries rather than at the specification level, contrary to what has been suggested in the literature.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑