Favoritenstraße 9-11, A-1040 Vienna, Austria (22email: [email protected])
Constraint Monotonicity, Epistemic Splitting
and Foundedness
Can in General Be Too Strong
in Answer Set Programming††thanks: This paper
is presented at TAASP 2020: Workshop on Trends and Applications of Answer Set Programming.
Abstract
Recently, the notions of subjective constraint monotonicity, epistemic splitting, and foundedness have been introduced for epistemic logic programs, with the aim to use them as main criteria respectively intuitions to compare different answer set semantics proposed in the literature on how they comply with these intuitions. In this note, we consider these three notions and demonstrate on some examples that they may be too strong in general and may exclude some desired answer sets respectively world views. In conclusion, these properties should not be regarded as mandatory properties that every answer set semantics must satisfy in general.
1 Introduction
In a seminal paper, Gelfond [8] introduced the notion of epistemic specifications which are disjunctive logic programs extended with two epistemic modal operators and . Informally, for a formula and a collection of interpretations, is true in if is true in every , and is true in if is true in some . An epistemic specification/program consists of rules of the form
(1) |
where each is an object literal that is either an atom or its strong negation , and each is an object literal, a default negated literal of the form ,111We use here for weak negation (alias default negation), as in early papers on logic programming. or a modal literal of the form , , or . A rule (1) is called a constraint if its head is , and called a subjective constraint if additionally each is a modal literal. is a non-epistemic program (or an answer-set program) if it contains no modal literals.
Gelfond defined then the first answer set semantics for an epistemic program as follows [8]. Given a collection of interpretations as an assumption, is transformed into a modal reduct w.r.t. by first removing all rules with a modal literal that is not true in , then removing the remaining modal literals. The assumption is defined to be a world view of if it coincides with the collection of answer sets of under the GL-semantics defined in [7].
It turned out that the above semantics for epistemic programs has both the problem of unintended world views with recursion through K and the problem due to recursion through M [9, 12]. For the first problem, an illustrative example is ; under the above semantics has two world views and , where as commented in [9], is undesired. For the second problem, a typical example is ; by the above semantics has two world views and , where as commented in [12], may be undesired.
To address the two problems, several approaches have been proposed [12, 11, 4, 18]. In particular, Shen and Eiter[18] presented an approach that significantly differs from the others in the following three aspects.
-
(i)
They introduced the modal operator to directly express epistemic negation, where expresses that there is no evidence proving that is true. Modal formulas and are viewed as shorthands for and , respectively.
-
(ii)
Due to having the modal operator to express epistemic negation, they further proposed to apply epistemic negation to minimize the knowledge in world views, a novel principle they named knowledge minimization with epistemic negation. It is based on the principle of knowledge minimization with epistemic negation that they presented a completely new definition of world views, which are free of both the problem with recursion through K and the problem through M.
- (iii)
Very recently, some researchers [10, 2, 3] introduced the notions of subjective constraint monotonicity, epistemic splitting, and foundedness for epistemic programs, aiming to use them as main criteria/intuitions to compare different answer set semantics proposed in the literature on how they comply with these intuitions. Specifically, they criticized the semantics defined in [12, 11, 4, 18], saying that these semantics do not satisfy the three properties.
In this note, we clarify the matter by demonstrating on some example programs that these three properties may be too strong and may exclude some desired answer sets/world views. Our conclusion is that for this reason these properties should not be used as mandatory properties that every answer set semantics must satisfy in general.
For the remainder of this note, we assume that the reader is familiar with non-monotonic logic programs in general and with answer set semantics for such programs in particular. We refrain here from providing formal definitions of answer sets and of world views of epistemic logic programs; for our concerns, it is sufficient to assume that the programs are formulated over a set of propositional atoms together with the special atoms (truth) and (falsity). An answer set of an answer-set program is an interpretation that satisfies respective conditions, where the standard definition is GL-semantics [7]. Similarly, a world view is a non-empty collection of interpretations that must satisfy respective conditions such as those in [8], which yield the G91-semantics for epistemic logic programs. Numerous further proposals for semantics have been made, cf. [9, 24, 12, 11, 4, 18, 10, 2, 3, 21, 15, 22].
2 Subjective constraint monotonicity is too strong, while the requirement of epistemic splitting is even more restrictive
A semantics for epistemic logic programs is said to satisfy subjective constraint monotonicity if for any epistemic program and subjective constraint , a world view of is also a world view of ; in other words, adding any constraint to would never introduce new world views. The epistemic splitting property is even more restrictive in the sense that every semantics satisfying epistemic splitting also satisfies subjective constraint monotonicity, as has been shown in [2].
As a typical example, let , which has a unique world view . Then subjective constraint monotonicity requires that for any subjective constraint , should either have a unique world view or have no world view. For example, under subjective constraint monotonicity the following program
() | ||||
() |
has no world view, as the only world view of is not a model of . Note that under the semantics of [12, 11, 4, 18], has a world view . It is argued in [10, 2, 21] that should not be a world view of because it violates subjective constraint monotonicity.
We comment that the requirement of constraint monotonicity (resp. epistemic splitting), i.e., adding constraints to a logic program should not introduce new answer sets/world views, may be too strong in general and may exclude some desired answer sets/world views, as demonstrated in the following examples.
-
1.
For a non-epistemic program , the GL-semantics [7] satisfies the constraint monotonicity property that adding a constraint to may rule out some answer sets of , but would never introduce new answer sets [14]. However, very recent research [19] reveals that the GL-semantics may miss some desired answer sets that violate constraint monotonicity (see Section 4.1 in [19]). As an example, consider the following non-epistemic program:
() () () where is a constraint. Intuitively, the rule presents two alternatives for answer set construction, namely or , and the rule infers if has already been derived. We distinguish between the following two cases.
First, suppose that we choose from . As is not inferred from , the rule is not applicable; so rules and together infer a possible answer set . As does not satisfy the constraint , it is not a candidate answer set for .
Alternatively, suppose that we choose from ; then by we obtain a possible answer set . satisfies the constraint , so it is a candidate answer set for .
As is the only model of , it is the only candidate answer set and thus we expect to be an answer set of . However, as has only one answer set , this desired answer set for violates the constraint monotonicity property.
-
2.
For epistemic programs, the requirement of subjective constraint monotonicity (resp. epistemic splitting) may also exclude some world views that are reasonably acceptable. As an example, consider the above program again. As the rule offers two alternatives for answer set construction, namely or , we can generate from two possible answer sets: and . Then we can construct from the two possible answer sets three possible world views: , and . As and do not satisfy the constraint , is the only candidate world view and thus we expect it to be a world view of . However, this desired world view will be excluded if we enforce subjective constraint monotonicity.
-
3.
The above defined constraint monotonicity, which requires world views of to be world views of satisfying , amounts in essence to interpreting the constraint as a query in the tradition of logic programming; that is, in order to answer a goal query against a logic program , we add the clause and then seek to derive . In the context of epistemic logic programs, where multiple world views are possible in general, we may view this as follows. Let be the collection of world views of . A query to is to find in all world views that satisfy . Note that query is not involved in the computation of any world view. This essentially differs from adding a constraint to , which aims to play a governing role in building the collection of world views of ; due to that is directly involved in the computation of every world view, a world view of is not necessarily a world view of .
3 The foundedness requirement is also too strong
The foundedness property is defined in [3], where a proposal for generalizing the notion of foundedness introduced in [13] for non-epistemic programs to epistemic programs has been made. The GL-semantics [7] for non-epistemic programs also has the foundedness property. We use examples to demonstrate that the foundedness requirement is too strong and may exclude some desired answer sets/world views. For simplicity, we do not reproduce the definition of foundedness here; the reader is referred to [3].
-
1.
Consider again the non-epistemic program from above. Note that for the construction of an answer set, the rule provides two alternatives, or , for us to choose. Let be selected from . Then once is established in , is well-supported and thus derived from . This leads to a possible answer set . As satisfies the constraint , it is a candidate answer set for . As is the only model of , it is the only candidate answer set for and thus is a desired answer set of . However, this desired answer set violates the foundedness property. (It is easy to check that is an unfounded set.)
-
2.
Consider the following epistemic program:
() () () () As offers two alternatives for answer set construction, namely or , we can generate from two possible answer sets: and , where “” stands for possible atoms that would be derived from the rules and . Then we can construct from the two possible answer sets three possible world views: , , and . Note that the two answer sets in must be different and no one is a proper subset of the other. We distinguish among the following three cases.
First, suppose that we choose . Note that in is established in . Then, as satisfies , is well-supported in and thus . also satisfies and , so it is a candidate world view for .
Second, suppose that we choose . Note that in is established in . Then, as satisfies , is well-supported in and thus . satisfies and , so it is further shown that is a candidate world view for .
Finally, suppose that we choose . does not satisfy , so it is not a candidate world view for .
Consequently, is the only candidate world view for , so we may expect it to be a world view of . However, this desired world view violates the foundedness property. (It is easy to check that is an unfounded set.)
4 Conclusions
The above examples demonstrate that the properties of subjective constraint monotonicity, epistemic splitting and foundedness are too strong and may exclude some desired answer sets/world views. It was specifically emphasized in [9, 12, 18] that the focus of research on answer set semantics for epistemic programs is how to handle the two basic problems:
-
1.
The problem of unintended world views caused by recursion through K;
-
2.
The problem of unintended world views caused due to recursion through M.
In fact, by introducing the epistemic negation operator and applying the principle of knowledge minimization with epistemic negation, Shen and Eiter [18] has presented a principled way to handle the two problems. For example, the desired answer sets respectively world views of the above programs can all be obtained by applying the general semantics of Definition 8 in [18], where the base answer set semantics for a non-epistemic program is the one according to Definition 10 in [19]. This is not to say, however, that the Shen-Eiter approach in [18] is superior to the others. Similar as for the extension of answer-set program with aggregates (cf. [1] for a brief survey), there is a spectrum of possibilities with a range of properties and features. We believe that like for that extension, understanding the landscape of diverse approaches for answer set semantics of epistemic logic programs is a valuable goal, and that properties of universal validity may need comprehensive examinations.
Acknowledgments
We thank the anonymous reviewers from the TAASP 2020 workshop for their helpful comments. This work has been supported in part by NSFC grants 61976205 and 61379043, the Austrian Science Fund (FWF) grant W1255, and the EU grant HumanE-AI-Net (ICT-48-2020-RIA 952026).
References
- [1] Alviano, M., Faber, W.: Aggregates in answer set programming. Künstliche Intell. 32(2-3), 119–124 (2018). https://doi.org/10.1007/s13218-018-0545-9, https://doi.org/10.1007/s13218-018-0545-9
- [2] Cabalar, P., Fandinno, J., del Cerro, L.: Splitting epistemic logic programs. In: 15th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR). pp. 120–133 (2019)
- [3] Cabalar, P., Fandinno, J., del Cerro, L.F.: Founded world views with autoepistemic equilibrium logic. In: 15th International Conference on Logic Programming and Nonmonotonic Reasoning (LPNMR). pp. 134–147 (2019)
- [4] del Cerro, L.F., Herzig, A., Su, E.I.: Epistemic equilibrium logic. In: Proc. 24th International Joint Conference on Artificial Intelligence (IJCAI-15). pp. 2964–2970. AAAI Press/IJCAI (2015)
- [5] Faber, W., Pfeifer, G., Leone, N.: Semantics and complexity of recursive aggregates in answer set programming. Artificial Intelligence 175(1), 278–298 (2011)
- [6] Ferraris, P., Lee, J., Lifschitz, V.: Stable models and circumscription. Artificial Intelligence 175(1), 236–263 (2011)
- [7] Gelfond, M., Lifschitz, V.: Classical negation in logic programs and disjunctive databases. New Generation Computing 9, 365–385 (1991)
- [8] Gelfond, M.: Strong introspection. In: Proceedings of the 9th National Conference on Artificial Intelligence. pp. 386–391 (1991)
- [9] Gelfond, M.: New semantics for epistemic specifications. In: Logic Programming and Nonmonotonic Reasoning - 11th International Conference LPNMR. pp. 260–265 (2011)
- [10] Kahl, P., Leclerc, A.: Epistemic logic programs with world view constraints. In: Technical Communications of the 34th International Conference on Logic Programming (ICLP). pp. 1–17 (2018)
- [11] Kahl, P., Watson, R., Balai, E., Gelfond, M., Zhang, Y.: The language of epistemic specifications (refined) including a prototype solver. Journal of Logic and Computation (2015)
- [12] Kahl, P.T.: REFINING THE SEMANTICS FOR EPISTEMIC LOGIC PROGRAMS. Ph.D. thesis, Texas Tech University, USA (2014)
- [13] Leone, N., Rullo, P., Scarcello, F.: Disjunctive stable models: Unfounded sets, fixpoint semantics, and computation. Information and Compututation 135(2), 69–112 (1997)
- [14] Lifschitz, V., Tang, L.R., Turner, H.: Nested expressions in logic programs. Annals of Mathematics and Artificial Intelligence 25(1-2), 369–389 (1999)
- [15] Morak, M.: Epistemic logic programs: A different world view. In: Bogaerts, B., Erdem, E., Fodor, P., Formisano, A., Ianni, G., Inclezan, D., Vidal, G., Villanueva, A., Vos, M.D., Yang, F. (eds.) Proceedings 35th International Conference on Logic Programming (Technical Communications), ICLP 2019 Technical Communications, Las Cruces, NM, USA, September 20-25, 2019. EPTCS, vol. 306, pp. 52–64 (2019). https://doi.org/10.4204/EPTCS.306.11, https://doi.org/10.4204/EPTCS.306.11
- [16] Pearce, D.: Equilibrium logic. Annals of Mathematics and Artificial Intelligence 47(1-2), 3–41 (2006)
- [17] Pelov, W., Denecker, M., Bruynooghe, M.: Well-founded and stable semantics of logic programs with aggregates. Theory and Practice of Logic Programming 7(3), 301–353 (2007)
- [18] Shen, Y.D., Eiter, T.: Evaluating epistemic negation in answer set programming. Artificial Intelligence 237, 115–135 (2016)
- [19] Shen, Y.D., Eiter, T.: Determining inference semantics for disjunctive logic programs. Artificial Intelligence 277, 1–28 (2019)
- [20] Shen, Y.D., Wang, K., Eiter, T., Fink, M., Redl, C., Krennwallner, T., Deng, J.: FLP answer set semantics without circular justifications for general logic programs. Artificial Intelligence 213, 1–41 (2014)
- [21] Su, E.I.: Epistemic answer set programming. In: 16th European Conference on Logics in Artificial Intelligence (JELIA). pp. 608–626 (2019)
- [22] Su, E.I., del Cerro, L.F., Herzig, A.: Autoepistemic equilibrium logic and epistemic specifications. Artif. Intell. 282, 103249 (2020). https://doi.org/10.1016/j.artint.2020.103249, https://doi.org/10.1016/j.artint.2020.103249
- [23] Truszczynski, M.: Reducts of propositional theories, satisfiability relations, and generalizations of semantics of logic programs. Artificial Intelligence 174(16-17), 1285–1306 (2010)
- [24] Truszczynski, M.: Revisiting epistemic specifications. In: Logic Programming, Knowledge Representation, and Nonmonotonic Reasoning - Essays Dedicated to Michael Gelfond on the Occasion of His 65th Birthday. pp. 315–333 (2011)