Towards end-to-end ASP computation

06/12/2023
by   Taisuke Sato, et al.
0

We propose an end-to-end approach for answer set programming (ASP) and linear algebraically compute stable models satisfying given constraints. The idea is to implement Lin-Zhao's theorem <cit.> together with constraints directly in vector spaces as numerical minimization of a cost function constructed from a matricized normal logic program, loop formulas in Lin-Zhao's theorem and constraints, thereby no use of symbolic ASP or SAT solvers involved in our approach. We also propose precomputation that shrinks the program size and heuristics for loop formulas to reduce computational difficulty. We empirically test our approach with programming examples including the 3-coloring and Hamiltonian cycle problems. As our approach is purely numerical and only contains vector/matrix operations, acceleration by parallel technologies such as many-cores and GPUs is expected.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/22/2019

Beyond NP: Quantifying over Answer Sets

Answer Set Programming (ASP) is a logic programming paradigm featuring a...
research
09/04/2021

Automata for dynamic answer set solving: Preliminary report

We explore different ways of implementing temporal constraints expressed...
research
05/04/2014

Probabilistic Inductive Logic Programming Based on Answer Set Programming

We propose a new formal language for the expressive representation of pr...
research
12/23/2018

Optimizing Answer Set Computation via Heuristic-Based Decomposition

Answer Set Programming (ASP) is a purely declarative formalism developed...
research
12/20/2013

Aspartame: Solving Constraint Satisfaction Problems with Answer Set Programming

Encoding finite linear CSPs as Boolean formulas and solving them by usin...
research
07/30/2016

A Linear Algebraic Approach to Datalog Evaluation

In this paper, we propose a fundamentally new approach to Datalog evalua...
research
09/18/2019

Distributed Answer Set Coloring: Stable Models Computation via Graph Coloring

Answer Set Programming (ASP) is a famous logic language for knowledge re...

Please sign up or login with your details

Forgot password? Click here to reset