DAG reversal is NP-complete

被引:12
|
作者
Naumann, Uwe [1 ]
机构
[1] Rhein Westfal TH Aachen, LuFG Informat Software & Tools Computat Engn 12, D-52056 Aachen, Germany
基金
英国工程与自然科学研究理事会;
关键词
Data-flow reversal; NP-completeness; Adjoint code;
D O I
10.1016/j.jda.2008.09.008
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Runs of numerical computer programs can be visualized as directed acyclic graphs (DAGs). We consider the problem of restoring the intermediate values computed by such a program (the vertices in the DAG) in reverse order for a given upper bound on the available memory. The minimization of the associated computational cost in terms of the number of performed arithmetic operations is shown to be NP-complete. The reversal of the data-flow finds application, for example, in the efficient evaluation of adjoint numerical programs. We derive special cases of numerical programs that require the intermediate values exactly in reverse order, thus establishing the NP-completeness of the optimal adjoint computation problem. Last but not least we review some state-of-the-art approaches to efficient dataflow reversal taken by existing software tools for automatic differentiation. (C) 2008 Elsevier B.V. All rights reserved.
引用
收藏
页码:402 / 410
页数:9
相关论文
共 50 条
  • [41] 2-subcoloring is NP-complete for planar comparability graphs
    Ochem, Pascal
    INFORMATION PROCESSING LETTERS, 2017, 128 : 46 - 48
  • [42] MPF Problem over Modified Medial Semigroup Is NP-Complete
    Sakalauskas, Eligijus
    Mihalkovich, Aleksejus
    SYMMETRY-BASEL, 2018, 10 (11):
  • [43] TRAINING A 3-NODE NEURAL NETWORK IS NP-COMPLETE
    BLUM, AL
    RIVEST, RL
    NEURAL NETWORKS, 1992, 5 (01) : 117 - 127
  • [44] RECOGNIZING RENAMABLE GENERALIZED PROPOSITIONAL HORN FORMULAS IS NP-COMPLETE
    EITER, T
    KILPELAINEN, P
    MANNILA, H
    DISCRETE APPLIED MATHEMATICS, 1995, 59 (01) : 23 - 31
  • [45] Finding a Nash equilibrium in spatial games is an NP-complete problem
    Richard Baron
    Jacques Durieu
    Hans Haller
    Philippe Solal
    Economic Theory, 2004, 23 : 445 - 454 (2004)
  • [46] Some NP-Complete Results on Signed Mixed Domination Problem
    Yancai ZHAO
    Huahui SHANG
    H.Abdollahzadeh AHANGAR
    N.Jafari RAD
    JournalofMathematicalResearchwithApplications, 2017, 37 (02) : 163 - 168
  • [47] Inapproximability of NP-complete Problems, Discrete Fourier Analysis, and Geometry
    Khot, Subhash
    PROCEEDINGS OF THE INTERNATIONAL CONGRESS OF MATHEMATICIANS, VOL IV: INVITED LECTURES, 2010, : 2676 - 2697
  • [48] The harmonious coloring problem is NP-complete for interval and permutation graphs
    Asdre, Katerina
    Ioannidou, Kyriaki
    Nikolopoulos, Stavros D.
    DISCRETE APPLIED MATHEMATICS, 2007, 155 (17) : 2377 - 2382
  • [49] Eulerian disjoint paths problem in grid graphs is NP-complete
    Marx, D
    DISCRETE APPLIED MATHEMATICS, 2004, 143 (1-3) : 336 - 341
  • [50] Finding a Nash equilibrium in spatial games is an NP-complete problem
    Baron, R
    Durieu, J
    Haller, H
    Solal, P
    ECONOMIC THEORY, 2004, 23 (02) : 445 - 454