Inlining External Sources in Answer Set Programs
Christoph Redl

TL;DR
This paper introduces an inlining approach for external atoms in HEX-programs, eliminating external calls, which significantly improves performance and extends semantic characterizations of program equivalence.
Contribution
It presents a novel inlining method for external atoms in HEX-programs, reducing external calls and enabling new semantic equivalence characterizations.
Findings
Significant performance gains demonstrated in experiments.
Extended semantic characterizations of program equivalence for HEX-programs.
Characterization of program inconsistency using equivalence criteria.
Abstract
HEX-programs are an extension of answer set programs (ASP) with external sources. To this end, external atoms provide a bidirectional interface between the program and an external source. The traditional evaluation algorithm for HEX-programs is based on guessing truth values of external atoms and verifying them by explicit calls of the external source. The approach was optimized by techniques that reduce the number of necessary verification calls or speed them up, but the remaining external calls are still expensive. In this paper we present an alternative evaluation approach based on inlining of external atoms, motivated by existing but less general approaches for specialized formalisms such as DL-programs. External atoms are then compiled away such that no verification calls are necessary. The approach is implemented in the dlvhex reasoner. Experiments show a significant performance…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
MethodsSPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings
