TABDUAL: A TABLED ABDUCTION SYSTEM FOR LOGIC PROGRAMS

被引:0
|
作者
Saptawijaya, Ari [1 ]
Pereira, Luis Moniz [1 ]
机构
[1] Univ Nova Lisboa, NOVA Lab Comp Sci & Informat NOVA LINCS, Dept Informat, Fac Ciencias & Tecnol, P-2829516 Caparica, Portugal
关键词
Abduction; Abductive Logic Programming; Dual Transformation; Tabling;
D O I
暂无
中图分类号
B81 [逻辑学(论理学)];
学科分类号
010104 ; 010105 ;
摘要
Abduction has been on the back burner in logic programming, as abduction can be too difficult to implement, and costly to perform, in particular if abductive solutions are not tabled. On the other hand, current Prolog systems, with their tabling mechanisms, are mature enough to facilitate the introduction of tabling abductive solutions (tabled abduction) into them. Our contributions are as follows. First, we conceptualize a tabled abduction technique for abductive normal logic programs, permitting abductive solutions to be reused, from one abductive context to another. The approach is underpinned by the theory of ABDUAL and relies on a transformation into tabled logic programs. It particularly makes use of the dual transformation of ABDUAL that enables efficiently handling the problem of abduction under negative goals, by introducing dual positive counterparts for them. Second, we realize this tabled abduction technique in TABDUAL, a system implemented in XSB Prolog. The implementation poses several challenges to concretely realize the abstract theory of ABDUAL, e.g., by taking care of all varieties of loops (positive loops and loops over negation) in normal logic programs, now complicated by tabled abduction. Other challenges are pertinent to optimizations, by benefitting from XSB features, e.g., constructing dual rules by need only. Third, we evaluate TABDUAL with respect to various standpoints. The evaluations employ cases from declarative debugging, and also touch upon tabling nogoods of subproblems in the context of abduction. The techniques introduced in TABDUAL intends to sensitize a general audience of users, and of implementers of various LP systems, to the potential benefits of tabled abduction, where a number of its techniques are also adaptable and importable into LP systems that afford tabling mechanisms, other than XSB Prolog.
引用
收藏
页码:69 / 123
页数:55
相关论文
共 50 条
  • [1] Towards Practical Tabled Abduction in Logic Programs
    Saptawijaya, Ari
    Pereira, Luis Moniz
    [J]. PROGRESS IN ARTIFICIAL INTELLIGENCE, EPIA 2013, 2013, 8154 : 223 - 234
  • [2] Online justification for tabled logic programs
    Pemmasani, G
    Guo, HF
    Dong, YF
    Ramakrishnan, CR
    Ramakrishnan, IV
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 500 - 501
  • [3] Online justification for tabled logic programs
    Pemmasani, G
    Guo, HF
    Dong, YF
    Ramakrishnan, CR
    Ramakrishnan, IV
    [J]. FUNCTIONAL AND LOGIC PROGRAMMING, 2004, 2998 : 24 - 38
  • [4] Incremental evaluation of tabled logic programs
    Saha, D
    Ramakrishnan, CR
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2003, 2916 : 392 - 406
  • [5] Well-founded abduction via tabled dual programs
    Alferes, JJ
    Pereira, LM
    Swift, T
    [J]. LOGIC PROGRAMMING: PROCEEDINGS OF THE 1999 INTERNATIONAL CONFERENCE ON LOGIC PROGRAMMING, 1999, : 426 - 440
  • [6] Efficient access mechanisms for tabled logic programs
    Ramakrishnan, IV
    Rao, P
    Sagonas, K
    Swift, T
    Warren, DS
    [J]. JOURNAL OF LOGIC PROGRAMMING, 1999, 38 (01): : 31 - 54
  • [7] Batched Evaluation of Linear Tabled Logic Programs
    Areias, Miguel
    Rocha, Ricardo
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2013, 10 (04) : 1775 - 1797
  • [8] Tabled evaluation with delaying for general logic programs
    Chen, WD
    Warren, DS
    [J]. JOURNAL OF THE ACM, 1996, 43 (01) : 20 - 74
  • [9] Abduction in Probabilistic Logic Programs
    Azzolini, Damiano
    Bellodi, Elena
    Ferilli, Stefano
    Riguzzi, Fabrizio
    Zese, Riccardo
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2022, 364 : 175 - 178
  • [10] Speculative computations in or-parallel tabled logic programs
    Rocha, R
    Silva, F
    Costa, VS
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2004, 3132 : 254 - 268