We study the use of machine learning techniques to solve a fundamental shortest path problem, known as the single-source many-targets shortest path problem (SSMTSP). Given a directed graph with non-negative edge weights, our goal is to compute a shortest path from a given source node to any of several target nodes. Basically, our idea is to equip an adapted version of Dijkstras algorithm with machine learning predictions to solve this problem: Based on the trace of the algorithm, we design a neural network that predicts the shortest path distance after a few iterations. The prediction is then used to prune the search space explored by Dijkstras algorithm, which may significantly reduce the number of operations on the underlying priority queue. We note that our algorithm works independently of the specific method that is used to arrive at such predictions. Crucially, we require that our algorithm always computes an optimal solution (independently of the accuracy of the prediction) and provides a certificate of optimality. As we show, in the worst-case this might force our algorithm to use the same number of queue operations as Dijkstras algorithm, even if the prediction is correct. In general, however, our algorithm may save a significant fraction of the priority queue operations. We derive structural insights that allow us to lower bound these savings on partial random instances. In these instances, an adversary can fix the instance arbitrarily except for the weights of a subset of relevant edges, which are chosen randomly. Our bound shows that the number of relevant edges which are pruned increases as the prediction error decreases. We then use these insights to derive closed-form expressions of the expected number of saved queue operations on random instances.
翻译:我们研究如何使用机器学习技术来解决一个基本最短路径问题,称为单源多目标最短路径问题(SSMTSP)。根据一个带有非负边缘重量的定向图表,我们的目标是从给定源节点到任何几个目标节点计算一条最短路径。基本上,我们的想法是用机器学习预测来解决这个问题的改良版本Dijkstras算法:根据算法的痕量,我们设计了一个神经网络,预测几个迭杰克斯塔斯算法之后最短路径的距离。然后,预测用于利用Dijkstras算法探索的搜索空间,这可能会显著减少底端优先队列排序的操作数量。我们注意到,我们的算法是独立于用来作出这种预测的具体方法之外的最短路径。我们要求我们的算法总是用一个最佳的解决方案(取决于预测的准确性)来解决这个问题,然后提供一个最优化的证书。在最坏的情况下,我们显示,这可能会迫使我们的算法以相同数量递减队列操作的精度,作为Dijkksstra 的精度排序算法,但是,我们也可以用一个更精确的预估的精度算。</s>