320 results on '"Alviano, Mario"'
Search Results
2. Integrating Structured Declarative Language (SDL) into ASP Chef
- Author
-
Alviano, Mario, Guarasci, Paola, Rodriguez Reiners, Luis Angel, Vasile, Ilaria R., Goos, Gerhard, Series Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Dodaro, Carmine, editor, Gupta, Gopal, editor, and Martinez, Maria Vanina, editor
- Published
- 2025
- Full Text
- View/download PDF
3. Answer Set Explanations via Preferred Unit-Provable Unsatisfiable Subsets
- Author
-
Alviano, Mario, Hahn, Susana, Sabuncu, Orkunt, Weichelt, Hannes, Goos, Gerhard, Series Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Dodaro, Carmine, editor, Gupta, Gopal, editor, and Martinez, Maria Vanina, editor
- Published
- 2025
- Full Text
- View/download PDF
4. Integrating MiniZinc with ASP Chef: Browser-Based Constraint Programming for Education and Prototyping
- Author
-
Alviano, Mario, Rodriguez Reiners, Luis Angel, Goos, Gerhard, Series Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Dodaro, Carmine, editor, Gupta, Gopal, editor, and Martinez, Maria Vanina, editor
- Published
- 2025
- Full Text
- View/download PDF
5. Explanations for Answer Set Programming
- Author
-
Alviano, Mario, Trieu, Ly Ly, Son, Tran Cao, and Balduccini, Marcello
- Subjects
Computer Science - Artificial Intelligence - Abstract
The paper presents an enhancement of xASP, a system that generates explanation graphs for Answer Set Programming (ASP). Different from xASP, the new system, xASP2, supports different clingo constructs like the choice rules, the constraints, and the aggregates such as #sum, #min. This work formalizes and presents an explainable artificial intelligence system for a broad fragment of ASP, capable of shrinking as much as possible the set of assumptions and presenting explanations in terms of directed acyclic graphs., Comment: In Proceedings ICLP 2023, arXiv:2308.14898
- Published
- 2023
- Full Text
- View/download PDF
6. Rethinking Answer Set Programming Templates
- Author
-
Alviano, Mario, Ianni, Giovambattista, Pacenza, Francesco, and Zangari, Jessica
- Subjects
Computer Science - Artificial Intelligence ,Computer Science - Logic in Computer Science ,Computer Science - Programming Languages ,Computer Science - Software Engineering ,D.1.6 ,D.2.2 ,D.2.3 ,D.2.5 ,D.2.13 ,I.2.4 ,I.2.5 - Abstract
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 by mainstream 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.
- Published
- 2023
7. A preferential interpretation of MultiLayer Perceptrons in a conditional logic with typicality
- Author
-
Alviano, Mario, Bartoli, Francesco, Botta, Marco, Esposito, Roberto, Giordano, Laura, and Dupré, Daniele Theseider
- Subjects
Computer Science - Artificial Intelligence ,Computer Science - Logic in Computer Science ,Computer Science - Neural and Evolutionary Computing ,I.2.4 - Abstract
In this paper we investigate the relationships between a multipreferential semantics for defeasible reasoning in knowledge representation and a multilayer neural network model. Weighted knowledge bases for a simple description logic with typicality are considered under a (many-valued) ``concept-wise" multipreference semantics. The semantics is used to provide a preferential interpretation of MultiLayer Perceptrons (MLPs). A model checking and an entailment based approach are exploited in the verification of conditional properties of MLPs., Comment: arXiv admin note: text overlap with arXiv:2106.00390
- Published
- 2023
8. Complexity and scalability of defeasible reasoning in many-valued weighted knowledge bases with typicality
- Author
-
Alviano, Mario, Giordano, Laura, and Dupré, Daniele Theseider
- Subjects
Computer Science - Artificial Intelligence ,68T27 ,I.2.4 - Abstract
Weighted knowledge bases for description logics with typicality under a "concept-wise" multi-preferential semantics provide a logical interpretation of MultiLayer Perceptrons. In this context, Answer Set Programming (ASP) has been shown to be suitable for addressing defeasible reasoning in the finitely many-valued case, providing a $\Pi^p_2$ upper bound on the complexity of the problem, nonetheless leaving unknown the exact complexity and only providing a proof-of-concept implementation. This paper fulfils the lack by providing a $P^{NP[log]}$-completeness result and new ASP encodings that deal with weighted knowledge bases with large search spaces., Comment: 14 pages 4, figures
- Published
- 2023
9. Many-valued Argumentation, Conditionals and a Probabilistic Semantics for Gradual Argumentation
- Author
-
Alviano, Mario, Giordano, Laura, and Dupré, Daniele Theseider
- Subjects
Computer Science - Artificial Intelligence ,I.2.4 - Abstract
In this paper we propose a general approach to define a many-valued preferential interpretation of gradual argumentation semantics. The approach allows for conditional reasoning over arguments and boolean combination of arguments, with respect to a class of gradual semantics, through the verification of graded (strict or defeasible) implications over a preferential interpretation. As a proof of concept, in the finitely-valued case, an Answer set Programming approach is proposed for conditional reasoning in a many-valued argumentation semantics of weighted argumentation graphs. The paper also develops and discusses a probabilistic semantics for gradual argumentation, which builds on the many-valued conditional semantics., Comment: 17 pages, 1 figure
- Published
- 2022
10. Generative Datalog with Stable Negation
- Author
-
Alviano, Mario, Lanzinger, Matthias, Morak, Michael, and Pieris, Andreas
- Subjects
Computer Science - Databases - Abstract
Extending programming languages with stochastic behaviour such as probabilistic choices or random sampling has a long tradition in computer science. A recent development in this direction is a declarative probabilistic programming language, proposed by Barany et al. in 2017, which operates on standard relational databases. In particular, Barany et al. proposed generative Datalog, a probabilistic extension of Datalog that allows sampling from discrete probability distributions. Intuitively, the output of a generative Datalog program P on an input database D is a probability space over the minimal models of D and P, the so-called possible outcomes. This is a natural generalization of the (deterministic) semantics of Datalog, where the output of a program on a database is their unique minimal model. A natural question to ask is how generative Datalog can be enriched with the useful feature of negation, which in turn leads to a strictly more expressive declarative probabilistic programming language. In particular, the challenging question is how the probabilistic semantics of generative Datalog with negation can be robustly defined. Our goal is to provide an answer to this question by interpreting negation according to the stable model semantics.
- Published
- 2022
11. ValAsp: a tool for data validation in Answer Set Programming
- Author
-
Alviano, Mario, Dodaro, Carmine, and Zamayla, Arnel
- Subjects
Computer Science - Logic in Computer Science ,Computer Science - Artificial Intelligence - Abstract
The development of complex software requires tools promoting fail-fast approaches, so that bugs and unexpected behavior can be quickly identified and fixed. Tools for data validation may save the day of computer programmers. In fact, processing invalid data is a waste of resources at best, and a drama at worst if the problem remains unnoticed and wrong results are used for business. Answer Set Programming (ASP) is not an exception, but the quest for better and better performance resulted in systems that essentially do not validate data. Even under the simplistic assumption that input/output data are eventually validated by external tools, invalid data may appear in other portions of the program, and go undetected until some other module of the designed software suddenly breaks. This paper formalizes the problem of data validation for ASP programs, introduces a language to specify data validation, and presents \textsc{valasp}, a tool to inject data validation in ordinary programs. The proposed approach promotes fail-fast techniques at coding time without imposing any lag on the deployed system if data are pretended to be valid. Validation can be specified in terms of statements using YAML, ASP and Python. Additionally, the proposed approach opens the possibility to use ASP for validating data of imperative programming languages. Under consideration for acceptance in TPLP., Comment: Under consideration for acceptance in TPLP
- Published
- 2022
12. Aggregate Semantics for Propositional Answer Set Programs
- Author
-
Alviano, Mario, Faber, Wolfgang, and Gebser, Martin
- Subjects
Computer Science - Artificial Intelligence ,68T30 ,I.2.4 - Abstract
Answer Set Programming (ASP) emerged in the late 1990ies as a paradigm for Knowledge Representation and Reasoning. The attractiveness of ASP builds on an expressive high-level modeling language along with the availability of powerful off-the-shelf solving systems. While the utility of incorporating aggregate expressions in the modeling language has been realized almost simultaneously with the inception of the first ASP solving systems, a general semantics of aggregates and its efficient implementation have been long-standing challenges. Aggregates have been proposed and widely used in database systems, and also in the deductive database language Datalog, which is one of the main precursors of ASP. The use of aggregates was, however, still restricted in Datalog (by either disallowing recursion or only allowing monotone aggregates), while several ways to integrate unrestricted aggregates evolved in the context of ASP. In this survey, we pick up at this point of development by presenting and comparing 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 by illustrative examples., Comment: Under consideration in Theory and Practice of Logic Programming (TPLP)
- Published
- 2021
13. The pyglaf argumentation reasoner (ICCMA2021)
- Author
-
Alviano, Mario
- Subjects
Computer Science - Artificial Intelligence ,68T30 ,I.2.4 - Abstract
The pyglaf reasoner takes advantage of circumscription to solve computational problems of abstract argumentation frameworks. In fact, many of these problems are reduced to circumscription by means of linear encodings, and a few others are solved by means of a sequence of calls to an oracle for circumscription. Within pyglaf, Python is used to build the encodings and to control the execution of the external circumscription solver, which extends the SAT solver glucose and implements algorithms taking advantage of unsatisfiable core analysis and incremental computation., Comment: Part of ICCMA 2021 proceedings
- Published
- 2021
14. Modal Logic S5 Satisfiability in Answer Set Programming
- Author
-
Alviano, Mario, Batsakis, Sotiris, and Baryannis, George
- Subjects
Computer Science - Artificial Intelligence - Abstract
Modal logic S5 has attracted significant attention and has led to several practical applications, owing to its simplified approach to dealing with nesting modal operators. Efficient implementations for evaluating satisfiability of S5 formulas commonly rely on Skolemisation to convert them into propositional logic formulas, essentially by introducing copies of propositional atoms for each set of interpretations (possible worlds). This approach is simple, but often results into large formulas that are too difficult to process, and therefore more parsimonious constructions are required. In this work, we propose to use Answer Set Programming for implementing such constructions, and in particular for identifying the propositional atoms that are relevant in every world by means of a reachability relation. The proposed encodings are designed to take advantage of other properties such as entailment relations of subformulas rooted by modal operators. An empirical assessment of the proposed encodings shows that the reachability relation is very effective and leads to comparable performance to a state-of-the-art S5 solver based on SAT, while entailment relations are possibly too expensive to reason about and may result in overhead. This paper is under consideration for acceptance in TPLP., Comment: Paper presented at the 37th International Conference on Logic Programming (ICLP 2021), September 2021, 16 pages, 3 figures
- Published
- 2021
- Full Text
- View/download PDF
15. Marketplace Logistics via Answer Set Programming
- Author
-
Alviano, Mario, Amendola, Danilo, Reiners, Luis Angel Rodriguez, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Gebser, Martin, editor, and Sergey, Ilya, editor
- Published
- 2023
- Full Text
- View/download PDF
16. Complexity and Scalability of Defeasible Reasoning with Typicality in Many-Valued Weighted Knowledge Bases
- Author
-
Alviano, Mario, Giordano, Laura, Theseider Dupré, Daniele, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Gaggl, Sarah, editor, Martinez, Maria Vanina, editor, and Ortiz, Magdalena, editor
- Published
- 2023
- Full Text
- View/download PDF
17. Generative Datalog and Answer Set Programming – Extended Abstract
- Author
-
Alviano, Mario, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Gaggl, Sarah, editor, Martinez, Maria Vanina, editor, and Ortiz, Magdalena, editor
- Published
- 2023
- Full Text
- View/download PDF
18. A preferential interpretation of MultiLayer Perceptrons in a conditional logic with typicality
- Author
-
Alviano, Mario, Bartoli, Francesco, Botta, Marco, Esposito, Roberto, Giordano, Laura, and Theseider Dupré, Daniele
- Published
- 2024
- Full Text
- View/download PDF
19. A Generalised Approach for Encoding and Reasoning with Qualitative Theories in Answer Set Programming
- Author
-
Baryannis, George, Tachmazidis, Ilias, Batsakis, Sotiris, Antoniou, Grigoris, Alviano, Mario, and Papadakis, Emmanuel
- Subjects
Computer Science - Artificial Intelligence - Abstract
Qualitative reasoning involves expressing and deriving knowledge based on qualitative terms such as natural language expressions, rather than strict mathematical quantities. Well over 40 qualitative calculi have been proposed so far, mostly in the spatial and temporal domains, with several practical applications such as naval traffic monitoring, warehouse process optimisation and robot manipulation. Even if a number of specialised qualitative reasoning tools have been developed so far, an important barrier to the wider adoption of these tools is that only qualitative reasoning is supported natively, when real-world problems most often require a combination of qualitative and other forms of reasoning. In this work, we propose to overcome this barrier by using ASP as a unifying formalism to tackle problems that require qualitative reasoning in addition to non-qualitative reasoning. A family of ASP encodings is proposed which can handle any qualitative calculus with binary relations. These encodings are experimentally evaluated using a real-world dataset based on a case study of determining optimal coverage of telecommunication antennas, and compared with the performance of two well-known dedicated reasoners. Experimental results show that the proposed encodings outperform one of the two reasoners, but fall behind the other, an acceptable trade-off given the added benefits of handling any type of reasoning as well as the interpretability of logic programs. This paper is under consideration for acceptance in TPLP., Comment: Paper presented at the 36th International Conference on Logic Programming (ICLP 2020), University Of Calabria, Rende (CS), Italy, September 2020, 18 pages, 3 figures
- Published
- 2020
20. Large-scale Ontological Reasoning via Datalog
- Author
-
Alviano, Mario and Manna, Marco
- Subjects
Computer Science - Artificial Intelligence - Abstract
Reasoning over OWL 2 is a very expensive task in general, and therefore the W3C identified tractable profiles exhibiting good computational properties. Ontological reasoning for many fragments of OWL 2 can be reduced to the evaluation of Datalog queries. This paper surveys some of these compilations, and in particular the one addressing queries over Horn-$\mathcal{SHIQ}$ knowledge bases and its implementation in DLV2 enanched by a new version of the Magic Sets algorithm., Comment: 15 pages, 2 tables, 1 figure, 2 algorithms, under review for the book Studies on the Semantic Web Series
- Published
- 2020
21. Inconsistency Proofs for ASP: The ASP-DRUPE Format
- Author
-
Alviano, Mario, Dodaro, Carmine, Fichte, Johannes K., Hecher, Markus, Philipp, Tobias, and Rath, Jakob
- Subjects
Computer Science - Logic in Computer Science ,Computer Science - Artificial Intelligence - Abstract
Answer Set Programming (ASP) solvers are highly-tuned and complex procedures that implicitly solve the consistency problem, i.e., deciding whether a logic program admits an answer set. Verifying whether a claimed answer set is formally a correct answer set of the program can be decided in polynomial time for (normal) programs. However, it is far from immediate to verify whether a program that is claimed to be inconsistent, indeed does not admit any answer sets. In this paper, we address this problem and develop the new proof format ASP-DRUPE for propositional, disjunctive logic programs, including weight and choice rules. ASP-DRUPE is based on the Reverse Unit Propagation (RUP) format designed for Boolean satisfiability. We establish correctness of ASP-DRUPE and discuss how to integrate it into modern ASP solvers. Later, we provide an implementation of ASP-DRUPE into the wasp solver for normal logic programs. This work is under consideration for acceptance in TPLP., Comment: Paper presented at the 35th International Conference on Logic Programming (ICLP 2019), Las Cruces, New Mexico, USA, 20-25 September 2019, 16 pages
- Published
- 2019
22. Enhancing magic sets with an application to ontological reasoning
- Author
-
Alviano, Mario, Leone, Nicola, Veltri, Pierfrancesco, and Zangari, Jessica
- Subjects
Computer Science - Artificial Intelligence - Abstract
Magic sets are a Datalog to Datalog rewriting technique to optimize query answering. The rewritten program focuses on a portion of the stable model(s) of the input program which is sufficient to answer the given query. However, the rewriting may introduce new recursive definitions, which can involve even negation and aggregations, and may slow down program evaluation. This paper enhances the magic set technique by preventing the creation of (new) recursive definitions in the rewritten program. It turns out that the new version of magic sets is closed for Datalog programs with stratified negation and aggregations, which is very convenient to obtain efficient computation of the stable model of the rewritten program. Moreover, the rewritten program is further optimized by the elimination of subsumed rules and by the efficient handling of the cases where binding propagation is lost. The research was stimulated by a challenge on the exploitation of Datalog/\textsc{dlv} for efficient reasoning on large ontologies. All proposed techniques have been hence implemented in the \textsc{dlv} system, and tested for ontological reasoning, confirming their effectiveness. Under consideration for publication in Theory and Practice of Logic Programming., Comment: Paper presented at the 35th International Conference on Logic Programming (ICLP 2019), Las Cruces, New Mexico, USA, 20-25 September 2019, 16 pages
- Published
- 2019
- Full Text
- View/download PDF
23. ASP and subset minimality: Enumeration, cautious reasoning and MUSes
- Author
-
Alviano, Mario, Dodaro, Carmine, Fiorentino, Salvatore, Previti, Alessandro, and Ricca, Francesco
- Published
- 2023
- Full Text
- View/download PDF
24. Marketplace Logistics via Answer Set Programming
- Author
-
Alviano, Mario, primary, Amendola, Danilo, additional, and Reiners, Luis Angel Rodriguez, additional
- Published
- 2023
- Full Text
- View/download PDF
25. Modal Logic S5 in Answer Set Programming with Lazy Creation of Worlds
- Author
-
Alviano, Mario, Batsakis, Sotiris, Baryannis, George, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Gottlob, Georg, editor, Inclezan, Daniela, editor, and Maratea, Marco, editor
- Published
- 2022
- Full Text
- View/download PDF
26. Enumeration of Minimal Models and MUSes in WASP
- Author
-
Alviano, Mario, Dodaro, Carmine, Fiorentino, Salvatore, Previti, Alessandro, Ricca, Francesco, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Gottlob, Georg, editor, Inclezan, Daniela, editor, and Maratea, Marco, editor
- Published
- 2022
- Full Text
- View/download PDF
27. Cautious reasoning in ASP via minimal models and unsatisfiable cores
- Author
-
Alviano, Mario, Dodaro, Carmine, Järvisalo, Matti, Maratea, Marco, and Previti, Alessandro
- Subjects
Computer Science - Logic in Computer Science - Abstract
Answer Set Programming (ASP) is a logic-based knowledge representation framework, supporting---among other reasoning modes---the central task of query answering. In the propositional case, query answering amounts to computing cautious consequences of the input program among the atoms in a given set of candidates, where a cautious consequence is an atom belonging to all stable models. Currently, the most efficient algorithms either iteratively verify the existence of a stable model of the input program extended with the complement of one candidate, where the candidate is heuristically selected, or introduce a clause enforcing the falsity of at least one candidate, so that the solver is free to choose which candidate to falsify at any time during the computation of a stable model. This paper introduces new algorithms for the computation of cautious consequences, with the aim of driving the solver to search for stable models discarding more candidates. Specifically, one of such algorithms enforces minimality on the set of true candidates, where different notions of minimality can be used, and another takes advantage of unsatisfiable cores computation. The algorithms are implemented in WASP, and experiments on benchmarks from the latest ASP competitions show that the new algorithms perform better than the state of the art. (Under consideration for acceptance in TPLP)., Comment: Paper presented at the 34nd International Conference on Logic Programming (ICLP 2018), Oxford, UK, July 14 to July 17, 2018. 18 pages, LaTeX, 4 PDF figures (arXiv:YYMM.NNNNN)
- Published
- 2018
28. Shared aggregate sets in answer set programming
- Author
-
Alviano, Mario, Dodaro, Carmine, and Maratea, Marco
- Subjects
Computer Science - Logic in Computer Science - Abstract
Aggregates are among the most frequently used linguistic extensions of answer set programming. The result of an aggregation may introduce new constants during the instantiation of the input program, a feature known as value invention. When the aggregation involves literals whose truth value is undefined at instantiation time, modern grounders introduce several instances of the aggregate, one for each possible interpretation of the undefined literals. This paper introduces new data structures and techniques to handle such cases, and more in general aggregations on the same aggregate set identified in the ground program in input. The proposed solution reduces the memory footprint of the solver without sacrificing efficiency. On the contrary, the performance of the solver may improve thanks to the addition of some simple entailed clauses which are not easily discovered otherwise, and since redundant computation is avoided during propagation. Empirical evidence of the potential impact of the proposed solution is given. (Under consideration for acceptance in TPLP)., Comment: Paper presented at the 34nd International Conference on Logic Programming (ICLP 2018), Oxford, UK, July 14 to July 17, 2018 19 pages, LaTeX, 2 PDF figures (arXiv:YYMM.NNNNN)
- Published
- 2018
29. A Trajectory Calculus for Qualitative Spatial Reasoning Using Answer Set Programming
- Author
-
Baryannis, George, Tachmazidis, Ilias, Batsakis, Sotiris, Antoniou, Grigoris, Alviano, Mario, Sellis, Timos, and Tsai, Pei-Wei
- Subjects
Computer Science - Artificial Intelligence - Abstract
Spatial information is often expressed using qualitative terms such as natural language expressions instead of coordinates; reasoning over such terms has several practical applications, such as bus routes planning. Representing and reasoning on trajectories is a specific case of qualitative spatial reasoning that focuses on moving objects and their paths. In this work, we propose two versions of a trajectory calculus based on the allowed properties over trajectories, where trajectories are defined as a sequence of non-overlapping regions of a partitioned map. More specifically, if a given trajectory is allowed to start and finish at the same region, 6 base relations are defined (TC-6). If a given trajectory should have different start and finish regions but cycles are allowed within, 10 base relations are defined (TC-10). Both versions of the calculus are implemented as ASP programs; we propose several different encodings, including a generalised program capable of encoding any qualitative calculus in ASP. All proposed encodings are experimentally evaluated using a real-world dataset. Experiment results show that the best performing implementation can scale up to an input of 250 trajectories for TC-6 and 150 trajectories for TC-10 for the problem of discovering a consistent configuration, a significant improvement compared to previous ASP implementations for similar qualitative spatial and temporal calculi. This manuscript is under consideration for acceptance in TPLP., Comment: Paper presented at the 34th International Conference on Logic Programming (ICLP 2018), Oxford, UK, July 14 to July 17, 2018, 20 pages, LaTeX, 16 figures
- Published
- 2018
- Full Text
- View/download PDF
30. Model enumeration in propositional circumscription via unsatisfiable core analysis
- Author
-
Alviano, Mario
- Subjects
Computer Science - Artificial Intelligence ,68T30 ,F.4.1 - Abstract
Many practical problems are characterized by a preference relation over admissible solutions, where preferred solutions are minimal in some sense. For example, a preferred diagnosis usually comprises a minimal set of reasons that is sufficient to cause the observed anomaly. Alternatively, a minimal correction subset comprises a minimal set of reasons whose deletion is sufficient to eliminate the observed anomaly. Circumscription formalizes such preference relations by associating propositional theories with minimal models. The resulting enumeration problem is addressed here by means of a new algorithm taking advantage of unsatisfiable core analysis. Empirical evidence of the efficiency of the algorithm is given by comparing the performance of the resulting solver, CIRCUMSCRIPTINO, with HCLASP, CAMUS MCS, LBX and MCSLS on the enumeration of minimal models for problems originating from practical applications. This paper is under consideration for acceptance in TPLP., Comment: 15 pages, 2 algorithms, 2 tables, 2 figures, ICLP
- Published
- 2017
31. Improve Parallel Resistance of Hashcash Tree.
- Author
-
Alviano, Mario and Gabriele, Giada
- Subjects
- *
DENIAL of service attacks , *ORDER picking systems , *PRICES , *SECURITY systems , *PUZZLES - Abstract
Denial of Service (DoS) attacks remain a persistent threat to online systems, necessitating continual innovation in defense mechanisms. In this work, we present an improved algorithm for mitigating DoS attacks through the augmentation of client puzzle protocols. Building upon the foundation of hashcash trees, a recently proposed data structure combining hashcash and Merkle trees, we introduce a new version of the data structure that enhances resistance against parallel computation (a common tactic employed by attackers). By incorporating the labels of children and the next node in a breadth-first traversal into the hash function, we establish a sequential processing order that inhibits parallel node evaluation. The added dependency on the next node significantly elevates the complexity of constructing hashcash trees, introducing a linear number of synchronization points and fortifying resilience against potential attacks. Empirical evaluation demonstrates the efficacy of our approach, showcasing its ability to accurately control puzzle difficulty while bolstering system security against DoS threats. [ABSTRACT FROM AUTHOR]
- Published
- 2024
- Full Text
- View/download PDF
32. Data Validation Meets Answer Set Programming
- Author
-
Alviano, Mario, Dodaro, Carmine, Zamayla, Arnel, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Bertino, Elisa, Editorial Board Member, Gao, Wen, Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Woeginger, Gerhard, Editorial Board Member, Yung, Moti, Editorial Board Member, Morales, José F., editor, and Orchard, Dominic, editor
- Published
- 2021
- Full Text
- View/download PDF
33. Addressing marketplace logistic tasks in answer set programming
- Author
-
Alviano, Mario, primary, Amendola, Danilo, additional, and Rodriguez Reiners, Luis Angel, additional
- Published
- 2024
- Full Text
- View/download PDF
34. Selected Papers from Datalog 2.0 2022
- Author
-
ALVIANO, MARIO, primary and PIERIS, ANDREAS, additional
- Published
- 2024
- Full Text
- View/download PDF
35. Reasoning over Ontologies with DLV
- Author
-
Allocca, Carlo, Alviano, Mario, Calimeri, Francesco, Costabile, Roberta, Fiorentino, Alessio, Fuscà, Davide, Germano, Stefano, Laboccetta, Giovanni, Leone, Nicola, Manna, Marco, Perri, Simona, Reale, Kristian, Ricca, Francesco, Veltri, Pierfrancesco, Zangari, Jessica, Filipe, Joaquim, Editorial Board Member, Ghosh, Ashish, Editorial Board Member, Kotenko, Igor, Editorial Board Member, Prates, Raquel Oliveira, Editorial Board Member, Zhou, Lizhu, Editorial Board Member, Fred, Ana, editor, Salgado, Ana, editor, Aveiro, David, editor, Dietz, Jan, editor, and Bernardino, Jorge, editor
- Published
- 2020
- Full Text
- View/download PDF
36. Anytime answer set optimization via unsatisfiable core shrinking
- Author
-
Alviano, Mario and Dodaro, Carmine
- Subjects
Computer Science - Logic in Computer Science - Abstract
Unsatisfiable core analysis can boost the computation of optimum stable models for logic programs with weak constraints. However, current solvers employing unsatisfiable core analysis either run to completion, or provide no suboptimal stable models but the one resulting from the preliminary disjoint cores analysis. This drawback is circumvented here by introducing a progression based shrinking of the analyzed unsatisfiable cores. In fact, suboptimal stable models are possibly found while shrinking unsatisfiable cores, hence resulting into an anytime algorithm. Moreover, as confirmed empirically, unsatisfiable core analysis also benefits from the shrinking process in terms of solved instances. This paper is under consideration for acceptance in TPLP., Comment: Paper presented at the 32nd International Conference on Logic Programming (ICLP 2016), New York City, USA, 16-21 October 2016, 15 pages, LaTeX, 3 PDF figures
- Published
- 2016
37. Modal Logic S5 in Answer Set Programming with Lazy Creation of Worlds
- Author
-
Alviano, Mario, primary, Batsakis, Sotiris, additional, and Baryannis, George, additional
- Published
- 2022
- Full Text
- View/download PDF
38. Enumeration of Minimal Models and MUSes in WASP
- Author
-
Alviano, Mario, primary, Dodaro, Carmine, additional, Fiorentino, Salvatore, additional, Previti, Alessandro, additional, and Ricca, Francesco, additional
- Published
- 2022
- Full Text
- View/download PDF
39. Fuzzy Answer Set Computation via Satisfiability Modulo Theories
- Author
-
Alviano, Mario and Penaloza, Rafael
- Subjects
Computer Science - Artificial Intelligence ,I.2 - Abstract
Fuzzy answer set programming (FASP) combines two declarative frameworks, answer set programming and fuzzy logic, in order to model reasoning by default over imprecise information. Several connectives are available to combine different expressions; in particular the \Godel and \Luka fuzzy connectives are usually considered, due to their properties. Although the \Godel conjunction can be easily eliminated from rule heads, we show through complexity arguments that such a simplification is infeasible in general for all other connectives. %, even if bodies are restricted to \Luka or \Godel conjunctions. The paper analyzes a translation of FASP programs into satisfiability modulo theories~(SMT), which in general produces quantified formulas because of the minimality of the semantics. Structural properties of many FASP programs allow to eliminate the quantification, or to sensibly reduce the number of quantified variables. Indeed, integrality constraints can replace recursive rules commonly used to force Boolean interpretations, and completion subformulas can guarantee minimality for acyclic programs with atomic heads. Moreover, head cycle free rules can be replaced by shifted subprograms, whose structure depends on the eliminated head connective, so that ordered completion may replace the minimality check if also \Luka disjunction in rule bodies is acyclic. The paper also presents and evaluates a prototype system implementing these translations. To appear in Theory and Practice of Logic Programming (TPLP), Proceedings of ICLP 2015.
- Published
- 2015
- Full Text
- View/download PDF
40. Complexity and Compilation of GZ-Aggregates in Answer Set Programming
- Author
-
Alviano, Mario and Leone, Nicola
- Subjects
Computer Science - Artificial Intelligence ,I.2 - Abstract
Gelfond and Zhang recently proposed a new stable model semantics based on Vicious Circle Principle in order to improve the interpretation of logic programs with aggregates. The paper focuses on this proposal, and analyzes the complexity of both coherence testing and cautious reasoning under the new semantics. Some surprising results highlight similarities and differences versus mainstream stable model semantics for aggregates. Moreover, the paper reports on the design of compilation techniques for implementing the new semantics on top of existing ASP solvers, which eventually lead to realize a prototype system that allows for experimenting with Gelfond-Zhang's aggregates. To appear in Theory and Practice of Logic Programming (TPLP), Proceedings of ICLP 2015.
- Published
- 2015
- Full Text
- View/download PDF
41. Rewriting recursive aggregates in answer set programming: back to monotonicity
- Author
-
Alviano, Mario, Faber, Wolfgang, and Gebser, Martin
- Subjects
Computer Science - Artificial Intelligence ,I.2 - Abstract
Aggregation functions are widely used in answer set programming for representing and reasoning on knowledge involving sets of objects collectively. Current implementations simplify the structure of programs in order to optimize the overall performance. In particular, aggregates are rewritten into simpler forms known as monotone aggregates. Since the evaluation of normal programs with monotone aggregates is in general on a lower complexity level than the evaluation of normal programs with arbitrary aggregates, any faithful translation function must introduce disjunction in rule heads in some cases. However, no function of this kind is known. The paper closes this gap by introducing a polynomial, faithful, and modular translation for rewriting common aggregation functions into the simpler form accepted by current solvers. A prototype system allows for experimenting with arbitrary recursive aggregates, which are also supported in the recent version 4.5 of the grounder \textsc{gringo}, using the methods presented in this paper. To appear in Theory and Practice of Logic Programming (TPLP), Proceedings of ICLP 2015.
- Published
- 2015
- Full Text
- View/download PDF
42. Enhancing DLV for Large-Scale Reasoning
- Author
-
Leone, Nicola, Allocca, Carlo, Alviano, Mario, Calimeri, Francesco, Civili, Cristina, Costabile, Roberta, Fiorentino, Alessio, Fuscà, Davide, Germano, Stefano, Laboccetta, Giovanni, Cuteri, Bernardo, Manna, Marco, Perri, Simona, Reale, Kristian, Ricca, Francesco, Veltri, Pierfrancesco, Zangari, Jessica, Hutchison, David, Editorial Board Member, Kanade, Takeo, Editorial Board Member, Kittler, Josef, Editorial Board Member, Kleinberg, Jon M., Editorial Board Member, Mattern, Friedemann, Editorial Board Member, Mitchell, John C., Editorial Board Member, Naor, Moni, Editorial Board Member, Pandu Rangan, C., Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Terzopoulos, Demetri, Editorial Board Member, Tygar, Doug, Editorial Board Member, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Balduccini, Marcello, editor, Lierler, Yuliya, editor, and Woltran, Stefan, editor
- Published
- 2019
- Full Text
- View/download PDF
43. Evaluation of Disjunctive Programs in WASP
- Author
-
Alviano, Mario, Amendola, Giovanni, Dodaro, Carmine, Leone, Nicola, Maratea, Marco, Ricca, Francesco, Hutchison, David, Editorial Board Member, Kanade, Takeo, Editorial Board Member, Kittler, Josef, Editorial Board Member, Kleinberg, Jon M., Editorial Board Member, Mattern, Friedemann, Editorial Board Member, Mitchell, John C., Editorial Board Member, Naor, Moni, Editorial Board Member, Pandu Rangan, C., Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Terzopoulos, Demetri, Editorial Board Member, Tygar, Doug, Editorial Board Member, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Balduccini, Marcello, editor, Lierler, Yuliya, editor, and Woltran, Stefan, editor
- Published
- 2019
- Full Text
- View/download PDF
44. Chain Answer Sets for Logic Programs with Generalized Atoms
- Author
-
Alviano, Mario, Faber, Wolfgang, Hutchison, David, Editorial Board Member, Kanade, Takeo, Editorial Board Member, Kittler, Josef, Editorial Board Member, Kleinberg, Jon M., Editorial Board Member, Mattern, Friedemann, Editorial Board Member, Mitchell, John C., Editorial Board Member, Naor, Moni, Editorial Board Member, Pandu Rangan, C., Editorial Board Member, Steffen, Bernhard, Editorial Board Member, Terzopoulos, Demetri, Editorial Board Member, Tygar, Doug, Editorial Board Member, Goos, Gerhard, Founding Editor, Hartmanis, Juris, Founding Editor, Calimeri, Francesco, editor, Leone, Nicola, editor, and Manna, Marco, editor
- Published
- 2019
- Full Text
- View/download PDF
45. Anytime Computation of Cautious Consequences in Answer Set Programming
- Author
-
Alviano, Mario, Dodaro, Carmine, and Ricca, Francesco
- Subjects
Computer Science - Artificial Intelligence ,68T27 ,D.1.6 ,I.2.4 - Abstract
Query answering in Answer Set Programming (ASP) is usually solved by computing (a subset of) the cautious consequences of a logic program. This task is computationally very hard, and there are programs for which computing cautious consequences is not viable in reasonable time. However, current ASP solvers produce the (whole) set of cautious consequences only at the end of their computation. This paper reports on strategies for computing cautious consequences, also introducing anytime algorithms able to produce sound answers during the computation., Comment: To appear in Theory and Practice of Logic Programming
- Published
- 2014
- Full Text
- View/download PDF
46. Semantics and Compilation of Answer Set Programming with Generalized Atoms
- Author
-
Alviano, Mario and Faber, Wolfgang
- Subjects
Computer Science - Artificial Intelligence ,68T30 ,I.2.4 ,D.1.6 - Abstract
Answer Set Programming (ASP) is logic programming under the stable model or answer set semantics. During the last decade, this paradigm has seen several extensions by generalizing the notion of atom used in these programs. Among these, there are aggregate atoms, HEX atoms, generalized quantifiers, and abstract constraints. In this paper we refer to these constructs collectively as generalized atoms. The idea common to all of these constructs is that their satisfaction depends on the truth values of a set of (non-generalized) atoms, rather than the truth value of a single (non-generalized) atom. Motivated by several examples, we argue that for some of the more intricate generalized atoms, the previously suggested semantics provide unintuitive results and provide an alternative semantics, which we call supportedly stable or SFLP answer sets. We show that it is equivalent to the major previously proposed semantics for programs with convex generalized atoms, and that it in general admits more intended models than other semantics in the presence of non-convex generalized atoms. We show that the complexity of supportedly stable models is on the second level of the polynomial hierarchy, similar to previous proposals and to stable models of disjunctive logic programs. Given these complexity results, we provide a compilation method that compactly transforms programs with generalized atoms in disjunctive normal form to programs without generalized atoms. Variants are given for the new supportedly stable and the existing FLP semantics, for which a similar compilation technique has not been known so far., Comment: The paper appears in the Proceedings of the 15th International Workshop on Non-Monotonic Reasoning (NMR 2014)
- Published
- 2014
47. Preliminary Report on WASP 2.0
- Author
-
Alviano, Mario, Dodaro, Carmine, and Ricca, Francesco
- Subjects
Computer Science - Artificial Intelligence - Abstract
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., Comment: The paper appears in the Proceedings of the 15th International Workshop on Non-Monotonic Reasoning (NMR 2014)
- Published
- 2014
48. Unfounded Sets and Well-Founded Semantics of Answer Set Programs with Aggregates
- Author
-
Alviano, Mario, Calimeri, Francesco, Faber, Wolfgang, Leone, Nicola, and Perri, Simona
- Subjects
Computer Science - Logic in Computer Science ,Computer Science - Artificial Intelligence - Abstract
Logic programs with aggregates (LPA) are one of the major linguistic extensions to Logic Programming (LP). In this work, we propose a generalization of the notions of unfounded set and well-founded semantics for programs with monotone and antimonotone aggregates (LPAma programs). In particular, we present a new notion of unfounded set for LPAma programs, which is a sound generalization of the original definition for standard (aggregate-free) LP. On this basis, we define a well-founded operator for LPAma programs, the fixpoint of which is called well-founded model (or well-founded semantics) for LPAma programs. The most important properties of unfounded sets and the well-founded semantics for standard LP are retained by this generalization, notably existence and uniqueness of the well-founded model, together with a strong relationship to the answer set semantics for LPAma programs. We show that one of the D-well-founded semantics, defined by Pelov, Denecker, and Bruynooghe for a broader class of aggregates using approximating operators, coincides with the well-founded model as defined in this work on LPAma programs. We also discuss some complexity issues, most importantly we give a formal proof of tractable computation of the well-founded model for LPA programs. Moreover, we prove that for general LPA programs, which may contain aggregates that are neither monotone nor antimonotone, deciding satisfaction of aggregate expressions with respect to partial interpretations is coNP-complete. As a consequence, a well-founded semantics for general LPA programs that allows for tractable computation is unlikely to exist, which justifies the restriction on LPAma programs. Finally, we present a prototype system extending DLV, which supports the well-founded semantics for LPAma programs, at the time of writing the only implemented system that does so. Experiments with this prototype show significant computational advantages of aggregate constructs over equivalent aggregate-free encodings.
- Published
- 2014
- Full Text
- View/download PDF
49. Properties of Answer Set Programming with Convex Generalized Atoms
- Author
-
Alviano, Mario and Faber, Wolfgang
- Subjects
Computer Science - Artificial Intelligence - Abstract
In recent years, Answer Set Programming (ASP), logic programming under the stable model or answer set semantics, has seen several extensions by generalizing the notion of an atom in these programs: be it aggregate atoms, HEX atoms, generalized quantifiers, or abstract constraints, the idea is to have more complicated satisfaction patterns in the lattice of Herbrand interpretations than traditional, simple atoms. In this paper we refer to any of these constructs as generalized atoms. Several semantics with differing characteristics have been proposed for these extensions, rendering the big picture somewhat blurry. In this paper, we analyze the class of programs that have convex generalized atoms (originally proposed by Liu and Truszczynski in [10]) in rule bodies and show that for this class many of the proposed semantics coincide. This is an interesting result, since recently it has been shown that this class is the precise complexity boundary for the FLP semantics. We investigate whether similar results also hold for other semantics, and discuss the implications of our findings., Comment: Proceedings of Answer Set Programming and Other Computing Paradigms (ASPOCP 2013), 6th International Workshop, August 25, 2013, Istanbul, Turkey
- Published
- 2013
50. Translating NP-SPEC into ASP
- Author
-
Alviano, Mario and Faber, Wolfgang
- Subjects
Computer Science - Artificial Intelligence - Abstract
NP-SPEC is a language for specifying problems in NP in a declarative way. Despite the fact that the semantics of the language was given by referring to Datalog with circumscription, which is very close to ASP, so far the only existing implementations are by means of ECLiPSe Prolog and via Boolean satisfiability solvers. In this paper, we present translations from NP-SPEC into various forms of ASP and analyze them. We also argue that it might be useful to incorporate certain language constructs of NP-SPEC into mainstream ASP., Comment: Proceedings of Answer Set Programming and Other Computing Paradigms (ASPOCP 2012), 5th International Workshop, September 4, 2012, Budapest, Hungary
- Published
- 2013
Catalog
Discovery Service for Jio Institute Digital Library
For full access to our library's resources, please sign in.