Evaluation of ASP Programs with External Source Access
Evaluation of ASP Programs with External Source Access
Disciplines
Computer Sciences (80%); Mathematics (20%)
Keywords
-
Nonmonotonic Logic Programming,
Declarative Problem Solving,
Answer Set Programming,
Formal Reasoning Techniques,
Knowledge Representation
The advent of the World Wide Web and distributed systems fostered the development of formalisms that are geared towards modularity and integrating multiple data sources. The goal of this project is to develop and analyze efficient algorithms for evaluating nonmonotonic logic programs with access to external knowledge sources. In particular, this project will investigate advanced model-building algorithms for HEX-programs, which are an extension of answer set programs (ASP) towards integration of external computation sources. In HEX-programs, external atoms model a bidirectional interface to external knowledge sources. Currently, HEX- programs are evaluated by translating them into ordinary answer set programs which essentially guess the truth value of external atoms. Those programs are evaluated by standard ASP solvers to generate model candidates for the HEX-program. In a post-processing step, model candidates which are not consistent with the actual behavior of external sources are eliminated. However, this strategy has major shortcomings both in scalability and expressiveness. Using ordinary ASP solvers as black boxes leaves little room for influencing the model building process and pruning the in general vast search tree; many model candidates that fail to pass the post-processing step are created unnecessarily. Furthermore, ordinary ASP solvers pre-ground the program before reasoning, which requires that the translation approach knows all possible ground instances before evaluation. This inhibits introducing new values into the program (called value invention), which however is an important aspect of external source access. Overcoming these limitations requires, on the one hand, to intervene in the model-building process, which can only be done by developing native evaluation algorithms. On the other hand, it requires developing novel methods to handle non-ground HEX-programs (in particular, program grounding) to bring them closer to applications which need to handle new values from source access. Both are key concepts to improve HEX-program evaluation to scale with real-world instances and applications, measured in a suitable way. In this respect, the goal of the project is to substantially increase the scalability relative to the intrinsic complexity of program evaluation and of source accesses. Depending on the program structure, an exponential speed-up should be achievable in some relevant cases, while a prediction on average increase is difficult to make. However, we aim at a performance which is comparable to ordinary ASP solving modulo the computational complexity of the external sources involved. The outcome of this project will comprise novel, native model-finding algorithms for ASP programs with external source access, novel methods for handling non-ground programs, and a prototype implementation as a proof of concept to verify that the newly developed algorithms and methods do indeed scale on benchmark suites, motivated by existing benchmarks and real-world applications. We hold that our overall goal is achievable by extensive search space pruning. This shall be done, for instance, by learning techniques motivated by SAT solving, which keep track of the initial reasons for conflicts and directly jump back to that point. Thus, they avoid running into the same conflict again. This technique was already used for ordinary ASP solving and experimental results are promising. However, adopting it to HEX-programs is challenging since value invention makes evaluation much more complicated, also with respect to grounding (which in fact is impossible in general). Since practically relevant programs often do not exploit the full problem complexity, we further want to make theoretical investigations on program classes which allow for simplified evaluation. A modular structure shall allow for providing multiple algorithms for specific special cases. The actual algorithm selection will then be done by a superior control mechanism. This paves the way for further optimizations in the future. Our system shall eventually be publicly available as open source software to promote HEX-programs as a practical formalism.
This project focuses on a recent logic-based problem solving language as a common foundation of applications in the area of artificial intelligence, such as smart route planning, linguistics, robotics, and intelligent Web agents. Driven by the requirements of such applications, the language supports the integration of multiple, possibly distributed sources of computation and databases. However, this makes the evaluation of programs non-trivial, both conceptually and concerning computational resources.Pre-existing evaluation methods turned out to be unsatisfactory as they did not scale to applications of realistic size. Moreover, existing approaches were also depending on several language restrictions, which had to been adopted in order to facilitate computational evaluation; however, these restrictions limit the expressiveness and/or affect the convenient use of the language. The main goal of this project was therefore to develop novel evaluation methods towards increased scalability and to reduce language restrictions.The outcome of the project is a set of novel evaluation strategies, which has also been realized in a freely available prototype system. A suite of experiments was used to demonstrate that the main goals have been achieved. Additionally, the system was used for some realistic applications, including those mentioned above, in order to show the practical applicability of the results.
- Technische Universität Wien - 100%
- Torsten Schaub, Universität Potsdam - Germany
- Giovambattista Ianni, Universita della Calabria - Italy
- Nicola Leone, Università di Calabria - Italy
Research Output
- 595 Citations
- 49 Publications
-
2018
Title LARS: A Logic-based framework for Analytic Reasoning over Streams DOI 10.1016/j.artint.2018.04.003 Type Journal Article Author Beck H Journal Artificial Intelligence Pages 16-70 -
2018
Title Exploiting Partial Assignments for Efficient Evaluation of Answer Set Programs with External Source Access DOI 10.1613/jair.1.11221 Type Journal Article Author Eiter T Journal Journal of Artificial Intelligence Research Pages 665-727 Link Publication -
2022
Title Hollow Gradient-Structured Iron-Anchored Carbon Nanospheres for Enhanced Electromagnetic Wave Absorption DOI 10.1007/s40820-022-00963-w Type Journal Article Author Wu C Journal Nano-Micro Letters Pages 7 Link Publication -
2022
Title Automatic search intervals for the smoothing parameter in penalized splines DOI 10.1007/s11222-022-10178-z Type Journal Article Author Li Z Journal Statistics and Computing Pages 1 Link Publication -
2018
Title Enhancing context knowledge repositories with justifiable exceptions DOI 10.1016/j.artint.2017.12.005 Type Journal Article Author Bozzato L Journal Artificial Intelligence Pages 72-126 Link Publication -
2014
Title Efficient HEX-Program Evaluation based on Unfounded Sets. Type Journal Article Author Eiter T -
2014
Title Exploiting Support Sets for Answer Set Programs with External Evaluations. Type Conference Proceeding Abstract Author Eiter T Conference Twenty-Eighth AAAI Conference (AAAI 2014), July 27-31, 2014, Québec City, Québec, Canada, AAAI Press, July 2014. -
2014
Title Domain Expansion for ASP-Programs with External Sources. Type Journal Article Author Eiter T Journal Technical Report INFSYS RR-1843-14-02 -
2014
Title Towards Practical Deletion Repair of Inconsistent DL-programs. Type Conference Proceeding Abstract Author Eiter T Conference Twenty-Seventh International Workshop on Description Logics (DL 2014), July 17-20, 2014, Vienna, Austria. -
2014
Title Semantically Enriched Multi-Modal Routing DOI 10.1007/s13177-014-0098-8 Type Journal Article Author Eiter T Journal International Journal of Intelligent Transportation Systems Research Pages 20-35 -
2014
Title Contextualized Knowledge Repositories with Justifiable Exceptions. Type Conference Proceeding Abstract Author Bozzato L Conference Informal Proceedings of the 27th International Workshop on Description Logics (DL-2014), Vienna, Austria, July 17-20, 2014. -
2014
Title Computing Repairs for Inconsistent DL-programs over $$\mathcal{EL}$$ Ontologies DOI 10.1007/978-3-319-11558-0_30 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 426-441 -
2017
Title LARS: A Logic-Based Framework for Analytic Reasoning over Streams DOI 10.1007/978-3-319-73117-9_6 Type Book Chapter Author Beck H Publisher Springer Nature Pages 87-93 -
2012
Title Improving HEX-Program Evaluation based on Unfounded Sets. Type Journal Article Author Eiter T Journal Technical Report INFSYS RR-1843-12-08 -
2014
Title Causal Graph Justifications of Logic Programs DOI 10.48550/arxiv.1409.7281 Type Preprint Author Cabalar P -
2014
Title Efficient HEX-Program Evaluation Based on Unfounded Sets DOI 10.1613/jair.4175 Type Journal Article Author Eiter T Journal Journal of Artificial Intelligence Research Pages 269-321 Link Publication -
2014
Title Using OpenStreetMap Data to Create Benchmarks for Description Logic Reasoners. Type Conference Proceeding Abstract Author Eiter T Conference Informal Proceedings of the 2nd International Workshop on OWL Reasoner Evaluation (ORE-2014), Vienna, Austria, July 14, 2014. -
2014
Title Defeasibility in Contextual Reasoning with CKR. Type Conference Proceeding Abstract Author Bozzato L Conference Proceedings of the 29th Italian Conference on Computational Logic, Torino, Italy, June 16-18, 2014. -
2014
Title Causal Graph Justifications of Logic Programs* DOI 10.1017/s1471068414000234 Type Journal Article Author Cabalar P Journal Theory and Practice of Logic Programming Pages 603-618 Link Publication -
2014
Title hex-Programs with Existential Quantification DOI 10.1007/978-3-319-08909-6_7 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 99-117 -
2014
Title Towards Practical Deletion Repair of Inconsistent DL-Programm. Type Conference Proceeding Abstract Author Eiter T Conference Twenty-First European Conference on Artificial Intelligence (ECAI 2014), August 18-22, 2014, Prague, Czech Republic -
2014
Title FLP answer set semantics without circular justifications for general logic programs DOI 10.1016/j.artint.2014.05.001 Type Journal Article Author Shen Y Journal Artificial Intelligence Pages 1-41 Link Publication -
2013
Title The Fourth Answer Set Programming Competition: Preliminary Report DOI 10.1007/978-3-642-40564-8_5 Type Book Chapter Author Alviano M Publisher Springer Nature Pages 42-53 -
2012
Title Conflict-driven ASP solving with external sources DOI 10.1017/s1471068412000233 Type Journal Article Author Eiter T Journal Theory and Practice of Logic Programming Pages 659-679 Link Publication -
2012
Title Eliminating Unfounded Set Checking for HEX-Programs. Type Conference Proceeding Abstract Author Eiter T Conference Michael Fink and Yuliya Lierler, editors, 5th Workshop on Answer Set Programming and Other Computing Paradigms (ASPOCP 2012), September 4, 2012, Budapest, Hungary, September 2012. -
2012
Title The Answer Set Programming Competition DOI 10.1609/aimag.v33i4.2448 Type Journal Article Author Calimeri F Journal AI Magazine Pages 114-118 Link Publication -
2012
Title Exploiting Unfounded Sets for HEX-Program Evaluation DOI 10.1007/978-3-642-33353-8_13 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 160-175 -
2016
Title Evaluating epistemic negation in answer set programming DOI 10.1016/j.artint.2016.04.004 Type Journal Article Author Shen Y Journal Artificial Intelligence Pages 115-135 Link Publication -
2012
Title Conflict-driven ASP Solving with External Sources DOI 10.48550/arxiv.1210.1649 Type Preprint Author Eiter T -
2015
Title Linking Open-World Knowledge Bases Using Nonmonotonic Rules DOI 10.1007/978-3-319-23264-5_25 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 294-308 -
2015
Title A model building framework for answer set programming with external computations* DOI 10.1017/s1471068415000113 Type Journal Article Author Eiter T Journal Theory and Practice of Logic Programming Pages 418-464 Link Publication -
2015
Title LARS: A Logic-Based Framework for Analyzing Reasoning over Streams DOI 10.1609/aaai.v29i1.9408 Type Journal Article Author Beck H Journal Proceedings of the AAAI Conference on Artificial Intelligence Link Publication -
2016
Title Domain expansion for ASP-programs with external sources DOI 10.1016/j.artint.2016.01.003 Type Journal Article Author Eiter T Journal Artificial Intelligence Pages 84-121 Link Publication -
2016
Title Data repair of inconsistent nonmonotonic description logic programs DOI 10.1016/j.artint.2016.06.003 Type Journal Article Author Eiter T Journal Artificial Intelligence Pages 7-53 Link Publication -
2016
Title Answer Set Programming: An Introduction to the Special Issue DOI 10.1609/aimag.v37i3.2669 Type Journal Article Author Brewka G Journal AI Magazine Pages 5-6 Link Publication -
2015
Title A model building framework for Answer Set Programming with external computations DOI 10.48550/arxiv.1507.01451 Type Preprint Author Eiter T -
2013
Title Grounding HEX-Programs with Expanding Domains. Type Conference Proceeding Abstract Author Eiter T Conference David Pearce, Shahab Tasharrofi, Evgenia Ternovska, and Concepción Vidal, editors, 2nd Workshop on Grounding and Transformations for Theories with Variables (GTTV'13), Corunna, Spain, September 15, 2013,September 2013. -
2013
Title Data Repair of Inconsistent DL-Programs. Type Conference Proceeding Abstract Author Eiter T Conference 23rd International Joint Conference on Artificial Intelligence (IJCAI 2013), Beijing, China, August 3-9, 2013 -
2013
Title AngryHEX: An Angry Birds-playing Agent based on HEX-Programs. Type Conference Proceeding Abstract Author Calimeri F Conference Angry-Birds Competition 2013, August 6-9, 2013, Beijing, China, poster presentation. -
2013
Title AngryHEX: An Artificial Player for Angry Birds Based on Declarative Knowledge Bases. Type Conference Proceeding Abstract Author Calimeri F Conference National Workshop and Prize on Popularize Artificial Intelligence, Turin, Italy, December 5, 2013. -
2013
Title Liberal Safety Criteria for HEX-Programs. Type Conference Proceeding Abstract Author Eiter T Conference Marie desJardins and Michael Littman, editors, Twenty-Seventh AAAI Conference (AAAI 2013), July 14-18, 2013, Bellevue, Washington, USA. AAAI Press, July 2013. -
2013
Title Inconsistency Management for Description Logic Programs and Beyond DOI 10.1007/978-3-642-39666-3_1 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 1-3 -
2013
Title Eliminating Unfounded Set Checking for HEX-Programs DOI 10.48550/arxiv.1301.1390 Type Preprint Author Eiter T -
2013
Title Hex Semantics via Approximation Fixpoint Theory DOI 10.1007/978-3-642-40564-8_11 Type Book Chapter Author Antic C Publisher Springer Nature Pages 102-115 -
2013
Title Lightweight Spatial Conjunctive Query Answering Using Keywords DOI 10.1007/978-3-642-38288-8_17 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 243-258 Link Publication -
2013
Title Model-based recasting in answer-set programming DOI 10.1080/11663081.2013.799318 Type Journal Article Author Eiter T Journal Journal of Applied Non-Classical Logics Pages 75-104 Link Publication -
2013
Title VCWC: A Versioning Competition Workflow Compiler DOI 10.1007/978-3-642-40564-8_23 Type Book Chapter Author Charwat G Publisher Springer Nature Pages 233-238 -
2013
Title HEX-Programs with Nested Program Calls DOI 10.1007/978-3-642-41524-1_15 Type Book Chapter Author Eiter T Publisher Springer Nature Pages 269-278 -
2013
Title ActHEX: Implementing HEX Programs with Action Atoms DOI 10.1007/978-3-642-40564-8_31 Type Book Chapter Author Fink M Publisher Springer Nature Pages 317-322