Computing Grounded Semantics of Uncontroversial Acyclic Constellation Probabilistic Argumentation in Linear Time Stefano Bistarelli1 , Victor David1,* , Francesco Santini1 and Carlo Taticchi1 1 Department of Mathematics and Computer Science University of Perugia, Italy Abstract We propose a new and faster (linear instead of exponential) way to compute the acceptability probability of an argument (in uncontroversial acyclic graph) with the grounded semantics in the constellations approach of probabilistic argumentation frameworks. Instead of computing all the worlds of the constellation (which is exponential) we show that it is possible to compute the probability of an argument only according to the acceptability probability of its direct attackers and the probability of its attacks by using a function. Keywords Probabilistic Argumentation Framework, Constellation, Grounded Semantics 1. Introduction In recent years, argumentation has been increasingly recognised as a promising new research direction in artificial intelligence. As a consequence of this growing interest, many authors have studied different argumentation frameworks with different features and for various applications, like decision making (e.g. [1]), negotiation (e.g. [2]), explainability (e.g. [3]). The pioneering article in the field of abstract argumentation comes from Dung [4], where the notion of an abstract argumentation framework is defined. These frameworks can be seen as directed graphs where the nodes are arguments and the edges represent conflict relations (called attacks) between two argu- ments. A fundamental issue in these argumentation frameworks is to determine the acceptability of arguments and for this purpose so-called semantic methods are used. As mentioned earlier, since Dung many extensions to this framework have been proposed, e.g. the addition of a support relation (e.g. [5]), the addition of a similarity relation (e.g. [6, 7, 8, 9]), or the addition of weights on arguments (e.g. [10]), on attack (e.g. [11]) and support relations (e.g. [12]). Note that the meaning of the weights on arguments and relations can have different interpretations involving different semantics for computing the collective acceptability of arguments. In this paper we place ourselves in the framework of probabilistic argumentation [13] where our graphs only have arguments connected by probabilistic attacks, i.e. the weights on these attacks indicate the probability that this attack exists. Recall that the two main approaches to (abstract) probabilistic argumentation are constellations and epistemic approaches [14]. The former considers probability functions on subgraphs of abstract argumentation frameworks, the AI3 2022: 6th Workshop on Advances In Argumentation In Artificial Intelligence (AIยณ 2022) ** Corresponding author. ยฉ 2022 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). CEUR Workshop Proceedings http://ceur-ws.org ISSN 1613-0073 CEUR Workshop Proceedings (CEUR-WS.org) latter uses probability theory to represent degrees of belief in arguments, given a fixed framework. Hence, our work is about the constellation approach. In this case, when we want to study the acceptability of an argument, we need to look at all the possible worlds (i.e. the whole set of possible subgraphs depending on the presence or absence of attacks). However, the creation of a constellation (the set of subgraphs) is in general exponential [13] and for this reason the attractiveness of research in this field is reduced for practical reasons. This paper is a first step to show that it is possible to optimize the computation of the acceptability probability of an argument without having to build the constellation. 2. Background 2.1. Dung Argumentation Frameworks Following [4], an argumentation frameworks (AF) is a pair โŸจ๐’œ, โ„›โŸฉ, where ๐’œ is a set of elements called arguments and โ„› is a binary relation on ๐’œ, called the attack relation. For ๐‘Ž, ๐‘ โˆˆ ๐’œ, if (๐‘Ž, ๐‘) โˆˆ โ„›, then we say that ๐‘Ž attacks ๐‘ and that ๐‘Ž is an attacker of ๐‘. If for ๐‘Ž โˆˆ ๐’œ there is no ๐‘ โˆˆ ๐’œ with (๐‘, ๐‘Ž) โˆˆ โ„›, then ๐‘Ž is unattacked. For a set of arguments ๐ธ โІ ๐’œ and an argument ๐‘Ž โˆˆ ๐’œ, ๐ธ defends ๐‘Ž if โˆ€(๐‘, ๐‘Ž) โˆˆ โ„›, โˆƒ๐‘ โˆˆ ๐ธ such that (๐‘, ๐‘) โˆˆ โ„›. We say that ๐‘Ž is defended if for each last argument (unattacked) ๐‘๐‘› for each path to ๐‘Ž (i.e. {(๐‘๐‘› , ๐‘๐‘›โˆ’1 ), . . . , (๐‘1 , ๐‘Ž)}), all the ๐‘๐‘› arguments defend ๐‘Ž, i.e. ๐‘› is even. Let the set of attackers of ๐‘Ž denoted by Att(๐‘Ž) = {๐‘ โˆˆ ๐’œ | (๐‘, ๐‘Ž) โˆˆ โ„›}. We say that an AF is uncontroversial ([4]) if โˆ€๐‘Ž โˆˆ ๐’œ, ๐‘Ž is uncontroversial, i.e. โˆ„๐‘ โˆˆ ๐’œ s.t. ๐‘Ž attacks and defends ๐‘ (e.g. let AF be an odd cycle, then AF and each argument are controversial). An AF provides means to represent conflicting information. Reasoning with that information is done by means of argumentation semantics. A semantics provides a characterisation of acceptable arguments in an AF. A set of acceptable arguments according to a semantics is called an extension and is taken as a reasoning outcome. Many semantics have been proposed, see e.g. [15] for overviews. In this work, we will consider the very well established โ‹ƒ๏ธ€ grounded semantics: the grounded extension of โŸจ๐’œ, โ„›โŸฉ can be constructed as gr = ๐‘–โ‰ฅ0 ๐บ๐‘– , where ๐บ0 is the set of all unattacked arguments, and โˆ€๐‘– โ‰ฅ 0, ๐บ๐‘–+1 is the set of all arguments that ๐บ๐‘– defends. For any โŸจ๐’œ, โ„›โŸฉ, the grounded extension gr always exists and is unique. 2.2. Constellation Probabilistic Argumentation Frameworks There exist different ways to extend the classic AF with probability into probabilistic argumenta- tion framework (PrAF). For example, we can label arguments and/or attacks with a probability. In [16] the authors proposed a way to transform any PrAF having probability on arguments and attacks to PrAF with probability only on attacks (or only on arguments) thanks to the probabilistic attack normal forms (or probabilistic argument normal form). They showed that all these forms are equivalent, i.e. same probabilistic distribution on their extensions. Definition 1 (PrAF). A probabilistic argumentation frameworks (PrAF) is a tuple ๐ด๐น = โŸจ๐’œ, โ„›, ๐‘ƒ๐‘… โŸฉ โˆˆ ๐’ฐ 1 such that: ๐’œ โІ๐‘“ Arg 2 , โ„› โІ๐‘“ ๐’œ ร— ๐’œ, ๐‘ƒ๐‘… : โ„› โ†’]0, 1]. 1 We denote by ๐’ฐ the universe of all probabilistic argumentation frameworks. 2 The notation ๐’œ โІ๐‘“ Arg stands for: ๐’œ is a finite subset of the universe of all arguments. The constellation of a graph is composed by all its possible subgraphs (worlds), and we compute the probability of one subgraph as follows. Definition 2 (Probability of a world). Let ๐ด๐น = โŸจ๐’œ, โ„›, ๐‘ƒ๐‘… โŸฉ โˆˆ ๐’ฐ and ๐œ” = โŸจ๐’œโ€ฒ , โ„›โ€ฒ , ๐‘ƒ๐‘… โŸฉ be 3 probabilistic (๏ธ โˆ๏ธ€such that ๐œ”(๏ธ€ โŠ‘ ๐ด๐น . The)๏ธ€)๏ธprobability of subgraph ๐œ”, denoted (๏ธ โˆ๏ธ€ argumentation)๏ธgraph ๐‘(๐œ”) = ๐‘Ž๐‘ก๐‘กโˆˆโ„›โ€ฒ ๐‘ƒ๐‘… (๐‘Ž๐‘ก๐‘ก) ร— ๐‘Ž๐‘ก๐‘กโˆˆโ„›โˆ–โ„›โ€ฒ 1 โˆ’ ๐‘ƒ๐‘… (๐‘Ž๐‘ก๐‘ก) Example 1. Let see the controversial acyclic graph ๐ด๐น = โŸจ{๐‘Ž, ๐‘, ๐‘}, {(๐‘Ž, ๐‘), (๐‘Ž, ๐‘), (๐‘, ๐‘)}, ๐‘ƒ๐‘… โŸฉ such that ๐‘ƒ๐‘… ((๐‘Ž, ๐‘)) = 0.4, ๐‘ƒ๐‘… ((๐‘Ž, ๐‘)) = 0.7, ๐‘ƒ๐‘… ((๐‘, ๐‘)) = 0.2 and ๐‘Ž is controversial . Let see the constellation of ๐ด๐น with the probability of each world: ๐‘Ž ๐‘Ž ๐‘Ž ๐‘Ž ๐‘Ž ๐‘Ž ๐‘Ž ๐‘Ž ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘ ๐‘(๐œ”1 ) = ๐‘(๐œ”2 ) = ๐‘(๐œ”3 ) = ๐‘(๐œ”4 ) = ๐‘(๐œ”5 ) = ๐‘(๐œ”6 ) = ๐‘(๐œ”7 ) = ๐‘(๐œ”8 ) = 0.056 0.224 0.084 0.024 0.336 0.096 0.036 0.144 Recall that it was shown in [14]โˆ‘๏ธ€that the sum of the probability of any subgraph is equal to 1. Let ๐ด๐น = โŸจ๐’œ, โ„›, ๐‘ƒ๐‘… โŸฉ โˆˆ ๐’ฐ, then ๐œ”โŠ‘๐ด๐น ๐‘(๐œ”) = 1. Let us recall now how to compute the probability of an argument or a set of arguments belonging to the extensions of an extension-based semantics. Definition 3 (Acceptability Probability). Let ๐ด๐น = โŸจ๐’œ, โˆ‘๏ธ€โ„›, ๐‘ƒ๐‘… โŸฉ โˆˆ ๐’ฐ, ๐‘‹๐’ฎ โІ ๐’œ and ๐’ฎ ๐’ฎ an extension-based semantics, we denote by ๐‘ƒ (๐‘‹) = ๐œ”โŠ‘๐ด๐น ๐‘(๐œ”) ร— In (๐œ”, ๐‘‹), where In๐’ฎ (๐œ”, ๐‘‹) = 1 if ๐‘‹ is a subset of each extension of ๐’ฎ in ๐œ”, otherwise it is equal to 0. Note that in [17], instead of giving a probability of acceptability for each argument (or set of arguments) for the grounded semantics, they return a single set of acceptable arguments for the initial graph. We consider that returning the probabilities is more generic and can be used in a second step to provide an acceptable set of arguments. Example 1 (Continued). The acceptability probabilities of the arguments with the grounded semantics are: ๐‘ƒ gr (๐‘Ž) = 1, ๐‘ƒ gr (๐‘) = 0.084 + 0.336 + 0.144 = 0.564, ๐‘ƒ gr (๐‘) = 0.024 + 0.096 + 0.036 + 0.144 = 0.3. 3. Linear Computation in Uncontroversial Acyclic PrAF Let us introduce the new function Fastgr , which is able to compute the probability of an argument to be accepted in the grounded extension. Definition 4 (Fastgr ). Let Fastgr the function from any PrAF โŸจ๐’œ, โ„›, ๐‘ƒ๐‘… โŸฉ โˆˆ ๐’ฐ which compute the acceptability probability of any argument to be in the grounded extension (๐’œ โ†’ [0, 1]), s.t. โŽง )๏ธ€ if Att(๐‘Ž) = โˆ… โŽจ 1 Fastgr (๐‘Ž) = โˆ๏ธ€ (๏ธ€ gr (๐‘) ร— ๐‘ƒ (๐‘, ๐‘Ž) โŽฉ ๐‘โˆˆAtt(๐‘Ž) 1 โˆ’ Fast ๐‘… otherwise 3 The notation ๐œ” โŠ‘ ๐ด๐น stands for: ๐’œโ€ฒ โІ ๐’œ and โ„›โ€ฒ = {(๐‘Ž, ๐‘) โˆˆ โ„› | ๐‘Ž โˆˆ ๐’œโ€ฒ and ๐‘ โˆˆ ๐’œโ€ฒ }: ๐œ” is a subgraph of an AF. Let start by discuss the intuition of this function to understand why it characterises the acceptability probability of the grounded semantics in some graph. Recall that an argument is in the grounded extension if it is defended, i.e. if all its incoming attacks fail. Trivially, an unattacked argument will be acceptable in all worlds so its probability of acceptability is 1. Let us now look at the case where an argument is attacked. The Fastgr (๐‘) ร— ๐‘ƒ๐‘… (๐‘, ๐‘Ž) makes the conjunction (computes the probability) of the events argument ๐‘ is acceptable AND the attack (๐‘, ๐‘Ž) exists. Thus 1 โˆ’ Fastgr (๐‘) ร— ๐‘ƒ๐‘… (๐‘, ๐‘Ž) gives the probability that argument ๐‘ is not acceptable OR attack (๐‘, ๐‘Ž) does not exist, i.e. this attack fails. Finally, the product of this computation for each attack ensures that all the attacks on ๐‘Ž fail, i.e. ๐‘Ž is defended. Remark: the coherence constraint results from the fact that Fastgr considers the acceptability of arguments independently, i.e. it is possible for an controversial argument to be acceptable in its defence path and rejected in its attack path. Therefore, for an acyclic PrAF AF, Fastgr returns the probabilities of the arguments for the equivalent version of AF such that it is uncontroversial , i.e. each controversial argument is duplicated for its attacks and defences. Note that if controversial arguments are always rejected or accepted in worlds, as in Example 1 (๐‘ƒ gr (๐‘Ž) = 1), then Fastgr can return the same values as the constellation method (Fastgr (๐‘Ž) = ๐‘ƒ gr (๐‘Ž) = 1, Fastgr (๐‘) = ๐‘ƒ gr (๐‘) = 0.564 and Fastgr (๐‘) = ๐‘ƒ gr (๐‘) = 0.3). We show next that Fastgr characterises ๐‘ƒ gr for any uncontroversial acyclic PrAF. Theorem 1. If ๐ด๐น โˆˆ ๐’ฐ is uncontroversial and acyclic then โˆ€๐‘Ž โˆˆ ๐’œ, ๐‘ƒ gr (๐‘Ž) = Fastgr (๐‘Ž). We also study complexity of Fastgr : in the worst case (when an argument have as attackers and defenders all other arguments) the complexity is linear O(n) (n is the number of all attacks) and in the best case (unattacked argument) the complexity is constant O(1). Theorem 2. Let ๐ด๐น โˆˆ ๐’ฐ is uncontroversial and acyclic. For any argument ๐‘Ž โˆˆ ๐’œ, the complexity of Fastgr (๐‘Ž) depends on the number ๐‘› of attacks (direct and indirect) to ๐‘Ž, i.e. ๐‘‚(๐‘›). 4. Related Work and Conclusion In [18], the complexity of computing the acceptability probability of an argument has been done for different semantics and the result for the grounded is FP #๐‘ƒ -complete. Having such a high complexity, the work in [19] proposed some restriction on the value of the probability to improve the complexity. If the probability is binary 0 or 1, then the probability of acceptance is polynomial in time in the case of grounded semantics. If the probability is ternary 0, 0.5 or 1, then the acceptability probability with the grounded is P-hard. Finally, in [20] a new fast algorithm to compute the ground extension has been proposed for classic AF. It could be interesting to study how this algorithm can be extended to PrAF. The constellations approach [13] suffers of a high complexity due to the exponential number of generated worlds. In order to tackle this, we propose to compute the acceptance probability of an argument with a new function, which is able to give the same score in linear time when we curb to uncontroversial acyclic PrAFs. As future work, we will investigate how to extend this function to controversial and cyclic PrAFs, then how to compute the probability of acceptance of a set of arguments, and finally how to extend it to other semantics. References [1] Q. Zhong, X. Fan, X. Luo, F. Toni, An explainable multi-attribute decision model based on argumentation, Expert Systems Applications 117 (2019) 42โ€“61. [2] N. Hadidi, Y. Dimopoulos, P. Moraitis, Argumentative alternating offers, in: Proceed- ings of the international conference on Autonomous Agents and Multi-Agent Systems (AAMASโ€™10), 2010, pp. 441โ€“448. [3] K. CฬŒyras, A. Rago, E. Albini, P. Baroni, F. Toni, Argumentative xai: a survey, arXiv preprint arXiv:2105.11266 (2021). [4] P. M. Dung, On the Acceptability of Arguments and its Fundamental Role in Non-Monotonic Reasoning, Logic Programming and n-Person Games, Artificial Intelligence 77 (1995). [5] A. Cohen, S. Gottifredi, A. J. Garcรญa, G. R. Simari, A survey of different approaches to support in argumentation systems, The Knowledge Engineering Review 29 (2014) 513โ€“550. [6] V. David, Dealing with Similarity in Argumentation, Ph.D. thesis, Universitรฉ Paul Sabatier- Toulouse III, 2021. [7] L. Amgoud, V. David, Measuring similarity between logical arguments, in: 16th Interna- tional Conference on Principles of Knowledge Representation and Reasoning, 2018. [8] L. Amgoud, V. David, D. Doder, Similarity measures between arguments revisited, in: G. Kern-Isberner, Z. Ognjanovic (Eds.), Symbolic and Quantitative Approaches to Reason- ing with Uncertainty, 15th European Conference, ECSQARU, 2019, pp. 3โ€“13. [9] L. Amgoud, V. David, A General Setting for Gradual Semantics Dealing with Similarity, in: 35th AAAI Conference en Artificial Intelligence (AAAI 2021), 2021. [10] J. Leite, J. Martins, Social abstract argumentation, in: T. Walsh (Ed.), Proc. of the 22nd International Joint Conference on Artificial Intelligence (IJCAIโ€™11), 2011, pp. 2287โ€“2292. [11] P. E. Dunne, A. Hunter, P. McBurney, S. Parsons, M. J. Wooldridge, Weighted argument systems: Basic definitions, algorithms, and complexity results, Artif. Intell. (2011) 457โ€“486. [12] L. Amgoud, J. Ben-Naim, Evaluation of arguments in weighted bipolar graphs, International Journal of Approximate Reasoning 99 (2018) 39โ€“55. [13] H. Li, N. Oren, T. J. Norman, Probabilistic argumentation frameworks, in: International Workshop on Theorie and Applications of Formal Argumentation, Springer, 2011, pp. 1โ€“16. [14] A. Hunter, A probabilistic approach to modelling uncertain logical arguments, International Journal of Approximate Reasoning 54 (2013) 47โ€“81. [15] G. Charwat, W. DvorฬŒรกk, S. A. Gaggl, J. P. Wallner, S. Woltran, Methods for solving reasoning problems in abstract argumentationโ€“a survey, Artificial intelligence 220 (2015) 2. [16] T. Mantadelis, S. Bistarelli, Probabilistic abstract argumentation frameworks, a possible world view, International Journal of Approximate Reasoning 119 (2020) 204โ€“219. [17] S. Bistarelli, F. Santini, A definition of sceptical semantics in the constellations approach, in: International Conference on Logic Programming and Nonmonotonic Reasoning, 2022. [18] B. Fazzinga, S. Flesca, F. Parisi, On the complexity of probabilistic abstract argumentation frameworks, ACM Transactions on Computational Logic (TOCL) 16 (2015) 1โ€“39. [19] X. Sun, B. Liao, Probabilistic argumentation, a small step for uncertainty, a giant step for complexity, in: Multi-Agent Systems and Agreement Technologies, Springer, 2015. [20] S. Nofal, K. Atkinson, P. E. Dunne, Computing grounded extensions of abstract argumenta- tion frameworks, The Computer Journal 64 (2021) 54โ€“63.