[Paper Review] Preliminary Report on WASP 2.0
This paper presents WASP 2.0, a refactored version of the Answer Set Programming solver WASP, featuring optimized core evaluation algorithms for normal programs. The new version achieves a substantial performance improvement on NP-class benchmarks from the 3rd ASP competition, overcoming previous competitiveness issues with alternative solvers.
Answer Set Programming (ASP) is a declarative programming paradigm. The intrinsic complexity of the evaluation of ASP programs makes the development of more effective and faster systems a challenging research topic. This paper reports on the recent improvements of the ASP solver WASP. WASP is undergoing a refactoring process which will end up in the release of a new and more performant version of the software. In particular the paper focus on the improvements to the core evaluation algorithms working on normal programs. A preliminary experiment on benchmarks from the 3rd ASP competition belonging to the NP class is reported. The previous version of WASP was often not competitive with alternative solutions on this class. The new version of WASP shows a substantial increase in performance.
Motivation & Objective
- To address the intrinsic complexity of Answer Set Programming (ASP) evaluation, which hinders the development of fast and effective solvers.
- To improve the performance of the WASP solver, particularly on normal programs in the NP class.
- To overcome the previous version’s lack of competitiveness against alternative ASP solvers on standard benchmarks.
- To deliver a more scalable and efficient ASP system through architectural refactoring and algorithmic improvements.
Proposed method
- Refactoring the core evaluation engine of WASP to enhance algorithmic efficiency and modularity.
- Optimizing the evaluation algorithms specifically for normal logic programs, which are fundamental in ASP.
- Applying low-level performance improvements to data structures and control flow in the solver’s execution pipeline.
- Using a benchmark suite from the 3rd Answer Set Programming Competition to evaluate NP-class problems.
- Comparing the new WASP 2.0 version against the previous release on standardized, representative workloads.
Experimental results
Research questions
- RQ1How does the refactored WASP 2.0 perform on NP-class benchmarks compared to its predecessor?
- RQ2To what extent do algorithmic optimizations in the core evaluation engine improve solver performance?
- RQ3Can WASP 2.0 achieve competitive performance with state-of-the-art ASP solvers on normal programs?
- RQ4What performance gains are achievable through architectural refactoring of an existing ASP system?
Key findings
- WASP 2.0 demonstrates a substantial performance increase on NP-class benchmarks from the 3rd ASP competition.
- The new version overcomes the previous version’s lack of competitiveness on this class of problems.
- The improvements in core evaluation algorithms directly translate into faster execution times for normal programs.
- The refactoring process successfully enhanced both efficiency and scalability of the WASP solver.
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.