arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2601.05137math.COcs.LG
收藏

神经算法推理用于近似k-着色的递归预热启动

Neural Algorithmic Reasoning for Approximate $k$-Coloring with Recursive Warm Starts

Stanford University(斯坦福大学);Harvard University(哈佛大学)

Knut Vanderbush, Melanie Weber

AI总结:

本文提出利用图神经网络和递归预热启动方法改进近似k-着色,通过优化算法和局部搜索算法提升着色效率。

摘要:

节点着色是指将图的节点分配颜色,使得相邻节点颜色不同,同时使用尽可能少的颜色。它是图着色最广泛研究的实例,在图论中具有中心地位;主要结果包括四色定理和哈迪-内森问题的研究。作为经典组合优化任务,如调度和资源分配的抽象,它在实际应用中也十分丰富。这里,我们关注一个放松版本,即近似k-着色,其任务是将图的节点分配最多k种颜色,使得具有相同颜色的边数大约最小化。虽然经典方法利用数学规划或布尔满足求解器,最近的研究探索了使用机器学习的方法。我们沿着这条路探索图神经网络(GNN)用于节点着色的应用。我们首先提出一个优化的可微算法,改进了Schuetz等人之前的方法,采用正交节点特征初始化和一个惩罚冲突边更严重的损失函数;后者受经典结果启发,即一个图是k-可着色当且仅当其k-核心是k-可着色。接着,我们介绍了一个轻量级的贪心局部搜索算法,并显示它可以通过递归计算(k-1)-着色作为预热启动来改进。然后我们展示将这种递归预热启动应用于GNN方法会导致进一步的改进。在各种不同图结构上的数值实验显示,虽然局部搜索算法在小输入上表现最佳,但GNN在大规模情况下表现出色。递归预热启动可能对图着色以外的组合优化局部搜索方法具有独立价值。

英文摘要:

Node coloring is the task of assigning colors to the nodes of a graph such that no two adjacent nodes have the same color, while using as few colors as possible. It is the most widely studied instance of graph coloring and of central importance in graph theory; major results include the Four Color Theorem and work on the Hadwiger-Nelson Problem. As an abstraction of classical combinatorial optimization tasks, such as scheduling and resource allocation, it is also rich in practical applications. Here, we focus on a relaxed version, approximate $k$-coloring, which is the task of assigning at most $k$ colors to the nodes of a graph such that the number of edges whose vertices have the same color is approximately minimized. While classical approaches leverage mathematical programming or SAT solvers, recent studies have explored the use of machine learning. We follow this route and explore the use of graph neural networks (GNNs) for node coloring. We first present an optimized differentiable algorithm that improves a prior approach by Schuetz et al. with orthogonal node feature initialization and a loss function that penalizes conflicting edges more heavily when their endpoints have higher degree; the latter inspired by the classical result that a graph is $k$-colorable if and only if its $k$-core is $k$-colorable. Next, we introduce a lightweight greedy local search algorithm and show that it may be improved by recursively computing a $(k-1)$-coloring to use as a warm start. We then show that applying such recursive warm starts to the GNN approach leads to further improvements. Numerical experiments on a range of different graph structures show that while the local search algorithms perform best on small inputs, the GNN exhibits superior performance at scale. The recursive warm start may be of independent interest beyond graph coloring for local search methods for combinatorial optimization.

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

↑