answer set programming (ASP) is a knowledge representation and reasoning paradigm with high-level expressive logic-based formalism, and efficient solvers;it is applied to solve hard problems in various domains, such a...
详细信息
ISBN:
(纸本)9781467355636;9781467355629
answer set programming (ASP) is a knowledge representation and reasoning paradigm with high-level expressive logic-based formalism, and efficient solvers;it is applied to solve hard problems in various domains, such as, systems biology, wire routing, space shuttle control. In this paper, we present an application of ASP to housekeeping robotics, by showing how the following problems are addressed using computational methods/tools of ASP: 1) embedding commonsense knowledge automatically extracted from the commonsense knowledge base ConceptNet, into high-level representation, 2) embedding (continuous) geometric reasoning and temporal reasoning about durations of actions, into (discrete) high-level reasoning. We illustrate the applicability of ASP on several housekeeping robotics problems.
In imperative programming, the Domain-Driven Design methodology helps in coping with the complexity of software development by materializing in code the invariants of a domain of interest. Code is cleaner and more sec...
详细信息
ISBN:
(纸本)9783031520372;9783031520389
In imperative programming, the Domain-Driven Design methodology helps in coping with the complexity of software development by materializing in code the invariants of a domain of interest. Code is cleaner and more secure because any implicit assumption is removed in favor of invariants, thus enabling a fail fast mindset and the immediate reporting of unexpected conditions. This article introduces a notion of template for answer set programming that, in addition to the don't repeat yourself principle, enforces locality of some predicates by means of a simple naming convention. Local predicates are mapped to the usual global namespace adopted bymainstream engines, using universally unique identifiers to avoid name clashes. This way, local predicates can be used to enforce invariants on the expected outcome of a template in a possibly empty context of application, independently by other rules that can be added to such a context. Template applications transpiled this way can be processed by mainstream engines and safely shared with other knowledge designers, even when they have zero knowledge of templates.
Marketplaces bring together products from multiple providers and automatically manage orders that involve several suppliers. We document the use of answer set programming to automatically choose products from various ...
详细信息
Marketplaces bring together products from multiple providers and automatically manage orders that involve several suppliers. We document the use of answer set programming to automatically choose products from various warehouses within a marketplace network to fulfill a specified order. The proposed solution seamlessly adapts to various objective functions utilized at different stages of order management, leading to cost savings for customers and simplifying logistics for both the marketplace and its suppliers.
answer set programming (ASP) is a new programming language paradigm combining the declarative aspect with non-monotonic reasoning. In this paper, we will investigate and evaluate an application of Simple Assembly Line...
详细信息
ISBN:
(纸本)9781509055104
answer set programming (ASP) is a new programming language paradigm combining the declarative aspect with non-monotonic reasoning. In this paper, we will investigate and evaluate an application of Simple Assembly Line Balancing Problem in answer set programming. The problem is a highly combinatorial and is generally solved by specific programs. We present an approach to solve the simple assembly line balancing problem in answer set programming and compare them with the standard ones. It turns out that, although answer set programming greatly simplifies the problem statement. It is comparable in efficiency to specialized programs.
The goal of the Nurse Scheduling Problem (NSP) is to find an assignment of nurses to shifts according to specific requirements. Given its practical relevance, many researchers have developed different strategies for s...
详细信息
ISBN:
(纸本)9783319701691;9783319701684
The goal of the Nurse Scheduling Problem (NSP) is to find an assignment of nurses to shifts according to specific requirements. Given its practical relevance, many researchers have developed different strategies for solving several variants of the problem. One of such variants was recently addressed by an approach based on answer set programming (ASP), obtaining promising results. Nonetheless, the original ASP encoding presents some intrinsic weaknesses, which are identified and eventually circumvented in this paper. The new encoding is designed by taking into account both intrinsic properties of NSP and internal details of ASP solvers, such as cardinality and weight constraint propagators. The performance gain of CLINGO and wasp is empirically verified on instances from ASP literature. As an additional contribution, the performance of CLINGO and wasp is compared to other declarative frameworks, namely SAT and ILP;the best performance is obtained by CLINGO running the new ASP encoding.
Generative Datalog is an extension of Datalog that incorporates constructs for referencing parameterized probability distributions. This augmentation transforms the evaluation of a Generative Datalog program into a st...
详细信息
ISBN:
(纸本)9783031436185;9783031436192
Generative Datalog is an extension of Datalog that incorporates constructs for referencing parameterized probability distributions. This augmentation transforms the evaluation of a Generative Datalog program into a stochastic process, resulting in a declarative formalism suitable for modeling and analyzing other stochastic processes. This work provides an introduction to Generative Datalog through the lens of answer set programming (ASP), demonstrating how Generative Datalog can explain the output of ASP systems that include @-terms referencing probability distributions. From a theoretical point of view, extending the semantics of Generative Datalog to stable negation proved to be challenging due to the richness of ASP relative to Datalog in terms of linguistic constructs. On a more pragmatic side, the connection between the two formalisms lays the foundation for implementing Generative Datalog atop efficient ASP systems, making it a practical solution for real-world applications.
The capability of a recommendation system to justify its proposals becomes an ever more important aspect in light of recent legislation and skeptic users. answer set programming (ASP) is a logic programming paradigm a...
详细信息
ISBN:
(纸本)9783030594916;9783030594909
The capability of a recommendation system to justify its proposals becomes an ever more important aspect in light of recent legislation and skeptic users. answer set programming (ASP) is a logic programming paradigm aiming at expressing complex problems in a succinct and declarative manner. Due to its rich set of high level language constructs it turns out that ASP is also perfectly suitable for realizing knowledge and/or utility-based recommendation applications, since every aspect of such a utility-based recommendation capable of producing explanations can be specified within ASP. In this paper we give an introduction to the concepts of ASP and how they can be applied in the domain of recommender systems. Based on a small excerpt of a real life recommender database we exemplify how utility based recommendation engines can be implemented with just some few lines of code and show how meaningful explanations can be derived out of the box.
In answer set programming, inconsistencies arise when the constraints placed on a program become unsatisfiable. In this paper, we introduce a technique for dynamic consistency checking for our goal-directed method for...
详细信息
In answer set programming, inconsistencies arise when the constraints placed on a program become unsatisfiable. In this paper, we introduce a technique for dynamic consistency checking for our goal-directed method for computing answersets, under which only those constraints deemed relevant to the partial answerset are tested, allowing inconsistent knowledgebases to be successfully queried. However, the algorithm guarantees that, if a program has at least one consistent answerset, any partial answerset returned will be a subset of some consistent answerset.
The proposed regulatory framework for Artificial Intelligence and the EU General Data Protection Regulation oblige automated reasoners to justify their conclusions in human-understandable terms. In addition, ethical a...
详细信息
ISBN:
(纸本)9798400702433
The proposed regulatory framework for Artificial Intelligence and the EU General Data Protection Regulation oblige automated reasoners to justify their conclusions in human-understandable terms. In addition, ethical and legal concerns must be provably addressed to ensure that the advice given by AI systems is aligned with human values. Value-aware systems tackle this challenge by explicitly representing and reasoning with norms and values applicable to a problem domain. For instance, in the context of a public administration such systems may provide support to decision-makers in the design and interpretation of administrative procedures and, ultimately, may enable the automation of (parts of) these administrative processes. However, this requires the capability to analyze as to how far a particular legal model is aligned with a certain value system. In this work, we take a step forward in this direction by analysing and formally representing two (political) strategies for school place allocation in educational institutions supported by public funds. The corresponding (legal) norms that specify this administrative process differently weigh human values such as equality, fairness, and non-segregation. We propose the use of s(LAW), a legal reasoner based on answer set programming that has proven capable of adequately modelling administrative processes in the presence of vague concepts and/or discretion, to model both strategies. We illustrate how s(LAW) simultaneously models different scenarios, and how automated reasoning with these scenarios can answer questions related to the value-alignment of the resulting models.
Software engineering is becoming increasingly model-centric. Engineers are using models more within projects and their models are growing in complexity. A challenge facing the modeling community is evaluation of these...
详细信息
ISBN:
(纸本)9781450341646
Software engineering is becoming increasingly model-centric. Engineers are using models more within projects and their models are growing in complexity. A challenge facing the modeling community is evaluation of these models. One technique for software evaluation is detecting instances of established "good" or "bad" solutions in a system, often termed design patterns or antipatterns, respectively. Most approaches require implemented code for detection. However, this precludes early-stage analysis, and the evaluation of purely or mostly model-centric systems. In this position paper, we introduce a detection technique that uses answer set programming to find occurrences of patterns within sets of structural and behavioral models. We represent the patterns as rules and the structural and behavioral system models as facts, requiring both model types since some patterns specify both. We provide an overview of our proposed approach, contrast existing work, and present discussion points on its impact on model evaluation and anticipated challenges.
暂无评论