4.7 Article

Learning variable ordering heuristics for solving Constraint Satisfaction Problems

出版社

PERGAMON-ELSEVIER SCIENCE LTD
DOI: 10.1016/j.engappai.2021.104603

关键词

Constraint Satisfaction Problem; Variable ordering; Deep reinforcement learning; Graph Neural Network

资金

  1. RIE2020 Industry Alignment Fund -Industry Collaboration Projects (IAF-ICP) Funding Initiative
  2. Singapore Telecommunications Limited (Singtel), through Singtel Cognitive and Artificial Intelligence Lab for Enterprises (SCALE@NTU)
  3. National Natural Science Foundation of China [62102228, 61803104]
  4. Shandong Provincial Natural Science Foundation [ZR2021QF063]
  5. A*STAR Cyber-Physical Production System (CPPS) -Towards Contextual and Intelligent Response Research Program, under the RIE2020 IAF-PP Grant [A19C1a0018]

向作者/读者索取更多资源

This paper proposes a deep reinforcement learning based approach to automatically discover new variable ordering heuristics for a given class of CSP instances. Experimental results show that the learned policies outperform classical hand-crafted heuristics in small and medium-sized instances, and also effectively reduce the search tree size in larger and harder instances.
Backtracking search algorithms are often used to solve the Constraint Satisfaction Problem (CSP), which is widely applied in various domains such as automated planning and scheduling. The efficiency of backtracking search depends greatly on the variable ordering heuristics. Currently, the most commonly used heuristics are hand-crafted based on expert knowledge. In this paper, we propose a deep reinforcement learning based approach to automatically discover new variable ordering heuristics that are better adapted for a given class of CSP instances, without the need of relying on hand-crafted features and heuristics. We show that directly optimizing the search tree size is not convenient for learning, and propose to optimize the expected cost of reaching a leaf node in the search tree. To capture the complex relations among the variables and constraints, we design a representation scheme based on Graph Neural Network that can process CSP instances with different sizes and constraint arities. Experimental results on random CSP instances show that on small and medium sized instances, the learned policies outperform classical hand-crafted heuristics with smaller search tree (up to 10.36% reduction). Moreover, without further training, our policies directly generalize to instances of larger sizes and much harder to solve than those in training, with even larger reduction in the search tree size (up to 18.74%).

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.7
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据