使用图神经网络寻找哈密顿环
Finding Hamiltonian cycles with graph neural networks
AI总结:
本文训练小型消息传递图神经网络,在临界状态 Erdős-Rényi 随机图上预测哈密顿环,无需现有求解器生成监督信号,性能超过手工启发式方法,并可泛化至八倍大图。
摘要:
我们训练了一个小型消息传递图神经网络,用于在临界状态下的 Erdős-Rényi 随机图上预测哈密顿环。在单块 GPU 上经过约 2.5 小时的训练后,它的表现优于现有的手工启发式方法。我们的发现鼓励采用另一种方法来解决实际中出现的计算需求很高的问题(NP 难问题)。与其手工设计启发式方法,不如使用神经网络对其进行端到端训练。这有几个优点。首先,它相对快速,并且几乎不需要针对特定问题的知识。其次,网络可以适应训练样本的分布,从而提高在最相关问题实例上的性能。该模型使用监督学习在人工创建的问题实例上进行训练;此训练过程不使用现有求解器来生成监督信号。最后,该模型能够很好地泛化到更大的图规模,即使在原图大小八倍的图上也能保持合理的性能。
英文摘要:
We train a small message-passing graph neural network to predict Hamiltonian cycles on Erdős-Rényi random graphs in a critical regime. It outperforms existing hand-crafted heuristics after about 2.5 hours of training on a single GPU. Our findings encourage an alternative approach to solving computationally demanding (NP-hard) problems arising in practice. Instead of devising a heuristic by hand, one can train it end-to-end using a neural network. This has several advantages. Firstly, it is relatively quick and requires little problem-specific knowledge. Secondly, the network can adjust to the distribution of training samples, improving the performance on the most relevant problem instances. The model is trained using supervised learning on artificially created problem instances; this training procedure does not use an existing solver to produce the supervised signal. Finally, the model generalizes well to larger graph sizes and retains reasonable performance even on graphs eight times the original size.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。