[Paper Review] Epistemic Logic Programs with World View Constraints
This paper presents ELPsolve, a novel parallel, memory-efficient epistemic logic program (ELP) solver that implements the updated semantics by Shen & Eiter (2016). It uses a guess-and-verify algorithm with reduct-verifiable sets and multi-processing to solve harder ELPs significantly faster and with far less memory than prior solvers, enabling practical solving of problems previously infeasible on standard hardware.
An epistemic logic program is a set of rules written in the language of Epistemic Specifications, an extension of the language of answer set programming that provides for more powerful introspective reasoning through the use of modal operators K and M. We propose adding a new construct to Epistemic Specifications called a world view constraint that provides a universal device for expressing global constraints in the various versions of the language. We further propose the use of subjective literals (literals preceded by K or M) in rule heads as syntactic sugar for world view constraints. Additionally, we provide an algorithm for finding the world views of such programs.
Motivation & Objective
- To address the exponential memory growth and performance bottlenecks in existing epistemic logic program solvers.
- To implement the latest semantics for epistemic logic programs as proposed by Shen & Eiter (2016), ensuring correctness and avoiding unintended world views.
- To enable solving complex ELPs on standard laptops by reducing memory usage and accelerating computation.
- To support early termination and scalable performance via multi-processing.
- To provide a practical, efficient tool for real-world applications requiring introspective reasoning beyond standard ASP.
Proposed method
- Employs a guess-and-verify algorithm that iteratively guesses subsets Φ ⊆ EP(Π) of epistemic negations.
- Verifies each guess Φ by computing the epistemic reduct ΠΦ and checking if W = AS(ΠΦ) and ΦW = Φ (reduct-verifiability).
- Uses a multi-process architecture to distribute the search space across multiple cores, improving performance.
- Integrates with standard ASP solvers (clingo) via a loosely-coupled interface, reusing existing grounding and solving infrastructure.
- Applies domain-specific heuristics—such as fixing two subjective literals as satisfied and structuring search by guess size—to reduce the search space by a factor of 4.
- Implements early termination when the user-specified number of solutions is found, improving responsiveness.
Experimental results
Research questions
- RQ1Can a scalable, memory-efficient ELP solver be built that avoids the exponential memory growth seen in prior solvers?
- RQ2How does the performance of a solver based on the Shen & Eiter (2016) semantics compare to older solvers in terms of speed and memory usage?
- RQ3To what extent can parallelization and heuristic optimization reduce the search space and execution time for hard ELPs?
- RQ4Can the solver solve real-world ELPs (e.g., conformant planning) on standard laptops that were previously infeasible due to memory constraints?
- RQ5How effective is early termination in reducing runtime for large ELPs?
Key findings
- ELPsolve solved eligible16 (32 subjective literals) in 16,124 seconds with stable memory usage, while ELPS failed due to out-of-memory errors.
- For the Yale shooting problem (yale8, 34 subjective literals), ELPsolve completed in 76 seconds with minimal memory, whereas ELPS crashed due to memory exhaustion.
- On eligible12 (24 subjective literals), ELPsolve solved in 119 seconds, compared to ELPS’s failure due to memory limits.
- The solver achieved significant speedups on larger problems: eligible09 took 150s with ELPS but only 2s with ELPsolve.
- Memory usage for ELPsolve remained flat and low (under 1.5 GB) across all tested programs, while ELPS showed sharp, exponential growth with increasing |EP(Π)|.
- Parallelization on eligible12 showed improved performance with up to 6 processors, confirming scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.