Online algorithms with predictions is a popular and elegant framework for bypassing pessimistic lower bounds in competitive analysis. In this model, online algorithms are supplied with future predictions, and the goal is for the competitive ratio to smoothly interpolate between the best offline and online bounds as a function of the prediction error. In this paper, we study online graph problems with predictions. Our contributions are the following: * The first question is defining prediction error. For graph/metric problems, there can be two types of error, locations that are not predicted, and locations that are predicted but the predicted and actual locations do not coincide exactly. We design a novel definition of prediction error called metric error with outliers to simultaneously capture both types of errors, which thereby generalizes previous definitions of error that only capture one of the two error types. * We give a general framework for obtaining online algorithms with predictions that combines, in a "black box" fashion, existing online and offline algorithms, under certain technical conditions. To the best of our knowledge, this is the first general-purpose tool for obtaining online algorithms with predictions. * Using our framework, we obtain tight bounds on the competitive ratio of several classical graph problems as a function of metric error with outliers: Steiner tree, Steiner forest, priority Steiner tree/forest, and uncapacitated/capacitated facility location. Both the definition of metric error with outliers and the general framework for combining offline and online algorithms are not specific to the problems that we consider in this paper. We hope that these will be useful for future work in this domain.
翻译:带有预测的在线算法是一个在竞争性分析中绕过悲观下限的流行和优雅的框架。在这个模型中,在线算法提供未来预测,目标是在最佳离线和在线界限之间进行顺利的内插的竞争性比率,这是预测错误的一种函数。在本文中,我们研究预测的在线图表问题。我们的贡献如下:* 第一个问题是界定预测错误。对于图表/计量问题,可能有两种错误类型,没有预测的地点,以及预测但预测和实际地点不完全吻合的地点。我们设计了一个预测错误的新定义,用外部线标码标出指标错误,同时捕捉两种错误,从而概括以前错误的定义,只捕捉到两种错误类型中的其中之一。* 我们为获得在线算法与预测相结合的预测提供了一个总体框架,在某些技术条件下,现有的在线/离线算法可能存在两种错误,对于我们的知识而言,这是第一个用来获得在线算法的通用工具,同时将预测结果与直径比值联系起来。* 使用一个常规的直线工具,我们用直径的直径框架,我们用直径的直径的直径直径直的直的直的直的直径直径直方/直径直径直的直的直的树级的树型结构, 。