arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1902.09700cs.LGstat.ML
收藏

图算法的硬样本学习

Learning to Sample Hard Instances for Graph Algorithms

Kyoto University(京都大学);RIKEN Center for Advanced Intelligence Project(理化学研究所先进智能项目中心)

Ryoma Sato, Makoto Yamada, Hisashi Kashima

摘要:

硬实例需要很长时间才能求解特定算法,它有助于(1)分析算法以加速算法,(2)建立一个评估算法性能的良好基准。存在用于硬实例的自动生成的若干努力。例如,进化算法已被用于生成硬实例。然而,它们只生成有限数量的硬实例。这种方法的优点是有限的,因为它是难以提取有意义的模式,从少量的实例。我们寻求一个硬实例的概率生成器。一旦获得硬实例的生成分布,我们就可以对各种硬实例进行采样以构建基准,并且我们可以从采样的实例中提取有意义的硬实例模式。现有的硬实例分布建模方法依赖于领域专家发现的参数或规则;然而,它们是特定于问题的。因此,对一般情况的分布进行建模具有挑战性。在本文中,我们专注于图的问题。我们提出了HiSampler,硬实例采样器,模拟图算法的硬实例分布。HiSampler使获得硬实例的分布成为可能,而无需手工设计特征。据我们所知,这是第一种使用机器学习来学习硬实例分布的方法。通过实验,我们证明了我们提出的方法可以生成的实例是几个到几个数量级的困难比随机为基础的方法在许多设置。特别是,我们的方法优于基于规则的算法在3着色问题。

英文摘要:

Hard instances, which require a long time for a specific algorithm to solve, help (1) analyze the algorithm for accelerating it and (2) build a good benchmark for evaluating the performance of algorithms. There exist several efforts for automatic generation of hard instances. For example, evolutionary algorithms have been utilized to generate hard instances. However, they generate only finite number of hard instances. The merit of such methods is limited because it is difficult to extract meaningful patterns from small number of instances. We seek for a probabilistic generator of hard instances. Once the generative distribution of hard instances is obtained, we can sample a variety of hard instances to build a benchmark, and we can extract meaningful patterns of hard instances from sampled instances. The existing methods for modeling the hard instance distribution rely on parameters or rules that are found by domain experts; however, they are specific to the problem. Hence, it is challenging to model the distribution for general cases. In this paper, we focus on graph problems. We propose HiSampler, the hard instance sampler, to model the hard instance distribution of graph algorithms. HiSampler makes it possible to obtain the distribution of hard instances without hand-engineered features. To the best of our knowledge, this is the first method to learn the distribution of hard instances using machine learning. Through experiments, we demonstrate that our proposed method can generate instances that are a few to several orders of magnitude harder than the random-based approach in many settings. In particular, our method outperforms rule-based algorithms in the 3-coloring problem.

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

↑