arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.24280cs.DS
收藏

算法微分的顶点消除算法综合评估

An Evaluation of Vertex Elimination Strategies for Algorithmic Differentiation

University of Utah(犹他大学);University of Bergen(卑尔根大学);Argonne National Laboratory(阿贡国家实验室);LIP, ENS de Lyon(里昂高等师范学校信息处理实验室);Collegium de Lyon(里昂学院)

Alex Crane, Pål Grønås Drange, Eli Friedman, Paul D. Hovland, Jan Hückelheim, Andrew Lyons, Yosuke Mizutani, Macéo Ottavy, Blair D. Sullivan

AI总结:

本文设计整数规划求解最优顶点消除问题,通过扩展可解图规模验证现有启发式算法的实际性能,并给出理论分析。

摘要:

数学函数的算法微分(AD)可以解释为底层有向无环图中一系列顶点消除的过程。确定最小代价消除顺序的问题(称为最优顶点消除)是NP完全的。因此,大量工作致力于设计启发式算法。许多启发式算法被广泛认为在实践中表现良好,但由于缺乏可扩展的精确方法,这一假设至今难以验证。我们为最优顶点消除问题以及一个称为最小边数的相关目标设计并工程化了新的整数规划公式。我们的实现可扩展到比现有技术大一到两个数量级的图,从而能够构建一个已知最优解的中等规模图语料库。该语料库有助于研究现有启发式算法,证实了在真实数据上流行方法能达到高质量解。我们还做出了若干理论贡献。我们给出了AD的前向和反向模式的紧致分析,并扩展了我们的技术,提供了一种近似比由最小源-汇分隔符大小参数化的最优顶点消除的简单算法。在复杂性方面,我们给出了这两个问题的首个近似下界。

英文摘要:

The algorithmic differentiation (AD) of mathematical functions can be interpreted as a sequence of vertex eliminations in an underlying directed acyclic graph. The problem of determining a minimum-cost elimination ordering, which we call Optimal Vertex Elimination, is NP-complete, and much effort has been devoted to the design of heuristics. Many of these heuristics are widely believed to perform well in practice, but this hypothesis has so far been difficult to test due to the lack of scalable exact methods. We design and engineer new integer programming formulations for Optimal Vertex Elimination and for a related objective we call Minimum Edge Count. Our implementations scale to graphs one-to-two orders of magnitude larger than existing techniques, facilitating the assembly of a corpus of medium-sized graphs for which optimal solutions are known. We give a comprehensive evaluation of existing heuristics on this corpus. We also make several theoretical contributions, including a tight analysis of the forward and reverse modes of AD, a simple algorithm for Optimal Vertex Elimination with approximation ratio parameterized by the size of a minimum source-sink separator, and the first approximation lower bounds for both problems.

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

↑