Extending Answer Set Programming with Rational Numbers
- URL: http://arxiv.org/abs/2312.04249v1
- Date: Thu, 7 Dec 2023 12:11:25 GMT
- Title: Extending Answer Set Programming with Rational Numbers
- Authors: Francesco Pacenza and Jessica Zangari
- Abstract summary: This paper proposes an extension of ASP in which non-integers are approximated to rational numbers, fully granting and declarativity.
We provide a well-defined semantics for the ASP-Core-2 standard extended with rational numbers and an implementation thereof.
- Score: 0.6526824510982802
- License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
- Abstract: Answer Set Programming (ASP) is a widely used declarative programming
paradigm that has shown great potential in solving complex computational
problems. However, the inability to natively support non-integer arithmetic has
been highlighted as a major drawback in real-world applications. This feature
is crucial to accurately model and manage real-world data and information as
emerged in various contexts, such as the smooth movement of video game
characters, the 3D movement of mechanical arms, and data streamed by sensors.
Nevertheless, extending ASP in this direction, without affecting its
declarative nature and its well-defined semantics, poses non-trivial
challenges; thus, no ASP system is able to reason natively with non-integer
domains. Indeed, the widespread floating-point arithmetic is not applicable to
the ASP case, as the reproducibility of results cannot be guaranteed and the
semantics of an ASP program would not be uniquely and declaratively determined,
regardless of the employed machine or solver. To overcome such limitations and
in the realm of pure ASP, this paper proposes an extension of ASP in which
non-integers are approximated to rational numbers, fully granting
reproducibility and declarativity. We provide a well-defined semantics for the
ASP-Core-2 standard extended with rational numbers and an implementation
thereof. We hope this work could serve as a stepping stone towards a more
expressive and versatile ASP language that can handle a broader range of
real-world problems.
Related papers
- Embodied-RAG: General Non-parametric Embodied Memory for Retrieval and Generation [65.23793829741014]
Embodied-RAG is a framework that enhances the model of an embodied agent with a non-parametric memory system.
At its core, Embodied-RAG's memory is structured as a semantic forest, storing language descriptions at varying levels of detail.
We demonstrate that Embodied-RAG effectively bridges RAG to the robotics domain, successfully handling over 200 explanation and navigation queries.
arXiv Detail & Related papers (2024-09-26T21:44:11Z) - Finite Groundings for ASP with Functions: A Journey through Consistency [21.53198582611571]
It is known that enhancing ASP with function symbols makes basic reasoning problems highly undecidable.
We show reductions that give an intuition for the high level of undecidability.
These insights allow for a more fine-grained analysis where we characterize ASP programs as "frugal" and "non-proliferous"
arXiv Detail & Related papers (2024-05-08T11:50:08Z) - Unified Language-driven Zero-shot Domain Adaptation [55.64088594551629]
Unified Language-driven Zero-shot Domain Adaptation (ULDA) is a novel task setting.
It enables a single model to adapt to diverse target domains without explicit domain-ID knowledge.
arXiv Detail & Related papers (2024-04-10T16:44:11Z) - VisualWebArena: Evaluating Multimodal Agents on Realistic Visual Web Tasks [93.85005277463802]
VisualWebArena is a benchmark designed to assess the performance of multimodal web agents on realistic tasks.
To perform on this benchmark, agents need to accurately process image-text inputs, interpret natural language instructions, and execute actions on websites to accomplish user-defined objectives.
arXiv Detail & Related papers (2024-01-24T18:35:21Z) - Explainable Answer-set Programming [0.0]
Project aims to fill some of these gaps and contribute to the state of the art in explainable ASP.
We tackle this by extending the language support of existing approaches but also by the development of novel explanation formalisms.
arXiv Detail & Related papers (2023-08-30T09:09:57Z) - Inductive Learning of Declarative Domain-Specific Heuristics for ASP [1.0904219197219578]
This paper presents a novel approach to the automatic learning of domain-specifics.
We use Inductive Logic Programming (ILP) to learn domain-specifics from examples stemming from (near) answer sets of small but representative problem instances.
Our experimental results indicate that the learneds can improve solving performance and solution quality when solving larger, harder instances of the same problem.
arXiv Detail & Related papers (2023-08-30T08:55:17Z) - On Robustness of Prompt-based Semantic Parsing with Large Pre-trained
Language Model: An Empirical Study on Codex [48.588772371355816]
This paper presents the first empirical study on the adversarial robustness of a large prompt-based language model of code, codex.
Our results demonstrate that the state-of-the-art (SOTA) code-language models are vulnerable to carefully crafted adversarial examples.
arXiv Detail & Related papers (2023-01-30T13:21:00Z) - Tools and Methodologies for Verifying Answer Set Programs [0.0]
ASP is a powerful declarative programming paradigm commonly used for solving challenging search and optimization problems.
As an approach to Knowledge Representation and Reasoning, ASP benefits from its simplicity, conciseness and rigorously defined semantics.
My research is concerned with extending the theory and tools supporting the verification of ASP progams.
arXiv Detail & Related papers (2022-08-05T10:50:21Z) - Aggregate Semantics for Propositional Answer Set Programs [14.135212040150389]
We present and compare the main aggregate semantics that have been proposed for propositional ASP programs.
We highlight crucial properties such as computational complexity and expressive power, and outline the capabilities and limitations of different approaches.
arXiv Detail & Related papers (2021-09-17T17:38:55Z) - Neural Abstructions: Abstractions that Support Construction for Grounded
Language Learning [69.1137074774244]
Leveraging language interactions effectively requires addressing limitations in the two most common approaches to language grounding.
We introduce the idea of neural abstructions: a set of constraints on the inference procedure of a label-conditioned generative model.
We show that with this method a user population is able to build a semantic modification for an open-ended house task in Minecraft.
arXiv Detail & Related papers (2021-07-20T07:01:15Z) - Modelling Multi-Agent Epistemic Planning in ASP [66.76082318001976]
This paper presents an implementation of a multi-shot Answer Set Programming-based planner that can reason in multi-agent epistemic settings.
The paper shows how the planner, exploiting an ad-hoc epistemic state representation and the efficiency of ASP solvers, has competitive performance results on benchmarks collected from the literature.
arXiv Detail & Related papers (2020-08-07T06:35:56Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.