Explaining Arguments’ Strength: Unveiling the Role of Attacks and Supports
Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 3622-3630.
https://doi.org/10.24963/ijcai.2024/401
Keywords
- AI Ethics, Trust, Fairness: ETF: Explainability and interpretability
- Knowledge Representation and Reasoning: KRR: Argumentation
Abstract
Quantitatively explaining the strength of arguments under gradual semantics has recently received increasing attention. Specifically, several works in the literature provide quantitative explanations by computing the attribution scores of arguments. These works disregard the importance of attacks and supports, even though they play an essential role when explaining arguments' strength. In this paper, we propose a novel theory of Relation Attribution Explanations (RAEs), adapting Shapley values from game theory to offer fine-grained insights into the role of attacks and supports in quantitative bipolar argumentation towards obtaining the arguments' strength. We show that RAEs satisfy several desirable properties. We also propose a probabilistic algorithm to approximate RAEs efficiently. Finally, we show the application value of RAEs in fraud detection and large language models case studies.
- [Albini et al., 2020] Emanuele Albini, Piyawat Lertvit- tayakumjorn, Antonio Rago, and Francesca Toni. Deep argumentative explanations. arXiv:2012.05766, 2020.
- [Amgoud and Ben-Naim, 2018] Leila Amgoud and Jonathan Ben-Naim. Evaluation of arguments in weighted bipolar graphs. International Journal of Approximate Reasoning, 99:39-55, 2018.
- [Amgoud et al., 2017] Leila Amgoud, Jonathan Ben-Naim, and Srdjan Vesic. Measuring the intensity of attacks in argumentation graphs with shapley value. In International Joint Conference on Artificial Intelligence (IJCAI), pages 63-69, 2017. IJCAI
- [Ancona et al., 2017] Marco Ancona, Enea Ceolini, Cengiz Öztireli, and Markus Gross. Towards better understand- ing of gradient-based attribution methods for deep neural networks. arXiv preprint arXiv:1711.06104, 2017.
- [Ayoobi et al., 2023] Hamed Ayoobi, Nico Potyka, and Francesca Toni. Sparx: Sparse argumentative explanations for neural networks. In European Conference on Artificial Intelligence (ECAI), volume 372, pages 149-156, 2023.
- [Baroni et al., 2015] Pietro Baroni, Marco Romano, Francesca Toni, Marco Aurisicchio, and Giorgio Bertanza. Automatic evaluation of design alternatives with quantita- tive argumentation. Argument & Computation, 6:24-49, 2015.
- [Baroni et al., 2019] Pietro Baroni, Antonio Rago, and Francesca Toni. From fine-grained properties to broad principles for gradual argumentation: A principled spec- trum. International Journal of Approximate Reasoning, 105:252-286, 2019.
- [Cayrol and Lagasquie-Schiex, 2013] Claudette Cayrol and Marie-Christine Lagasquie-Schiex. Bipolarity in argumen- tation graphs: Towards a better understanding. Interna- tional Journal of Approximate Reasoning, 54:876-899, 2013.
- [Chen et al., 2022] Zixi Chen, Varshini Subhash, Marton Havasi, Weiwei Pan, and Finale Doshi-Velez. What makes a good explanation?: A harmonized view of properties of explanations. In Workshop on Trustworthy and Socially Responsible Machine Learning, 2022.
- [Chi et al., 2021] Haixiao Chi, Yiwei Lu, Beishui Liao, Liaosa Xu, and Yaqi Liu. An optimized quantitative argu- mentation debate model for fraud detection in e-commerce transactions. IEEE Intelligent Systems, 36:52-63, 2021.
- [Cocarascu et al., 2019] Oana Cocarascu, Antonio Rago, and Francesca Toni. Extracting dialogical explanations for re- view aggregations with argumentative dialogical agents. In International Conference on Autonomous Agents and MultiAgent Systems (AAMAS), pages 1261-1269, 2019.
- [Čyras et al., 2021] Kristijonas Čyras, Antonio Rago, Emanuele Albini, Pietro Baroni, and Francesca Toni. Argumentative XAI: a survey. In International Joint Conference on Artificial Intelligence (IJCAI), pages 4392-4399, 2021. IJCAI
- [Čyras et al., 2022] Kristijonas Čyras, Timotheus Kampik, and Qingtao Weng. Dispute trees as explanations in quanti- tative (bipolar) argumentation. In International Workshop on Argumentation for eXplainable AI, volume 3209, pages 1-12, 2022.
- [Delobelle and Villata, 2019] Jérôme Delobelle and Serena Villata. Interpretability of gradual semantics in abstract argumentation. In Symbolic and Quantitative Approaches to Reasoning with Uncertainty: European Conference (EC- SQARU), volume 11726, pages 27-38, 2019.
- [Dung, 1995] Phan Minh Dung. On the acceptability of argu- ments and its fundamental role in nonmonotonic reasoning, logic programming and n-person games. Artificial Intelli- gence, 77:321-358, 1995.
- [Dunne et al., 2011] Paul E Dunne, Anthony Hunter, Pe- ter McBurney, Simon Parsons, and Michael Wooldridge. Weighted argument systems: Basic definitions, algorithms, and complexity results. Artificial Intelligence, 175:457- 486, 2011.
- [Gut and Gut, 2005] Allan Gut and Allan Gut. Probability: a graduate course, volume 200. 2005.
- [Leite and Martins, 2011] Joao Leite and Joao Martins. So- cial abstract argumentation. In International Joint Confer- ence on Artificial Intelligence (IJCAI), pages 2287-2292, 2011. IJCAI
- [Lundberg and Lee, 2017] Scott M Lundberg and Su-In Lee. A unified approach to interpreting model predictions. Ad- vances in neural information processing systems, 30:4765- 4774, 2017.
- [Maschler et al., 2013] Michael Maschler, Eilon Solan, and Shmuel Zamir. Game Theory. 2013.
- [Mittelstadt et al., 2019] Brent Mittelstadt, Chris Russell, and Sandra Wachter. Explaining explanations in ai. In Confer- ence on fairness, accountability, and transparency, pages 279-288, 2019.
- [Mossakowski and Neuhaus, 2018] Till Mossakowski and Fabian Neuhaus. Modular semantics and characteristics for bipolar weighted argumentation graphs. arXiv preprint arXiv:1807.06685, 2018.
- [Naveed et al., 2023] Humza Naveed, Asad Ullah Khan, Shi Qiu, Muhammad Saqib, Saeed Anwar, Muhammad Usman, Nick Barnes, and Ajmal Mian. A comprehensive overview of large language models. arXiv preprint arXiv:2307.06435, 2023.
- [OpenAI, 2022] OpenAI. Introducing chatgpt. 2022.
- [Potyka et al., 2023] Nico Potyka, Xiang Yin, and Francesca Toni. Explaining random forests using bipolar argumenta- tion and markov networks. In AAAI Conference on Artificial Intelligence, volume 37, pages 9453-9460, 2023.
- [Potyka, 2018] Nico Potyka. Continuous dynamical systems for weighted bipolar argumentation. In International Con- ference on Principles of Knowledge Representation and Reasoning (KR), pages 148-157, 2018.
- [Potyka, 2019] Nico Potyka. Extending modular semantics for bipolar weighted argumentation. In International Con- ference on Autonomous Agents and MultiAgent Systems, AAMAS, pages 1722-1730, 2019.
- [Potyka, 2021] Nico Potyka. Interpreting neural networks as quantitative argumentation frameworks. In AAAI Con- ference on Artificial Intelligence, volume 35, pages 6463- 6470, 2021.
- [Rago et al., 2016] Antonio Rago, Francesca Toni, Marco Au- risicchio, and Pietro Baroni. Discontinuity-free decision support with quantitative argumentation debates. In In- ternational Conference on the Principles of Knowledge Representation and Reasoning (KR), pages 63-73, 2016.
- [Shapley, 1951] Lloyd S Shapley. Notes on the N-person Game. 1951.
- [Yin et al., 2023] Xiang Yin, Nico Potyka, and Francesca Toni. Argument attribution explanations in quantitative bipolar argumentation frameworks. In European Confer- ence on Artificial Intelligence (ECAI), volume 372, pages 2898-2905, 2023.
- [Zhang et al., 2021] Hao Zhang, Yichen Xie, Longjie Zheng, Die Zhang, and Quanshi Zhang. Interpreting multivariate shapley interactions in dnns. In AAAI Conference on Artifi- cial Intelligence, volume 35, pages 10877-10886, 2021.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
Explainable Artificial Intelligence (XAI) has received increasing attention in fields such as finance and healthcare, which demand a reliable and legitimate reasoning process. Argumentation Frameworks (AFs), e.g. as first studied in [Dung, 1995], are promising tools in the XAI field [Mittelstadt et al., 2019] due to their transparency and interpretability, as well as their ability to support reasoning about conflicting information [ ˇCyras et al., 2021; Albini et al., 2020; Potyka, 2021; Potyka et al., 2023; Ayoobi et al., 2023]. In Quantitative Bipolar AFs (QBAFs) [Baroni et al., 2015], each argument has a base score, and its final strength is computed by gradual semantics based on the strength of its attackers and supporters [Baroni et al., 2019]. QBAFs can be deployed to support several applications. For example, [Cocarascu et al., 2019] build QBAFs to rate movies by aggregating movie reviews. The QBAFs have a hierarchical structure, where the goodness of movies is at the top and influenced by arguments about criteria like the quality of acting and directing. These criteria/arguments, in turn, can be affected by subcriteria/subarguments like the performance of particular actors. In this application, the base scores of arguments are obtained from reviews via a natural language processing pipeline; finally, a gradual semantics is applied to determine the final strength of movies as their rating scores.

While the gradual semantics of a QBAF provides an assessment of arguments (e.g., when using QBAFs for aggregating movie reviews, the rating scores of movies), we may also be interested in an intuitive understanding of the underlying reasoning process. This leads to an interesting research question initially raised by [Delobelle and Villata, 2019]: given an argument of interest (topic argument) in a QBAF, how to explain the reasoning outcome (i.e., the strength) of this topic argument?
Most current approaches in the literature address this question by defining argument-based attribution explanations [Delobelle and Villata, 2019; ˇCyras et al., 2022; Yin et al., 2023], which explain the strength of the topic argument by assigning attribution scores to arguments: the greater the attribution score, the greater the argument's contribution to the topic argument. However, in many cases, more fine-grained relationbased attribution explanations (RAEs) may be beneficial, or even necessary. For illustration, consider Figure 1, and assume that the QBAF (partially) depicted therein results from aggregating movie reviews as in [Cocarascu et al., 2019], where ↵ is a movie to be rated (topic argument) 1 . Here, the review β has a positive argument attribution score by supporting the famous actor γ and the influential director δ, which attacks bad directing ⇠, but this argument view conceals the fact that β also weakens ↵ by attacking its genre ⌘, which supports the topic argument. In contrast, (our) RAEs give more finegrained insights: although β has a positive contribution via r1
1 We give concrete values for the RAEs in Figure 1 in arxiv.org/ abs/2404.14304.
and r3 to ↵, it also has a negative contribution via r6.
Motivated by the aforementioned considerations, we make the following contributions:
- We propose a novel theory of RAEs (Section 4).
- We study desirable properties of RAEs under several gradual semantics (Section 5).
- We propose a probabilistic algorithm to efficiently approximate RAEs (Section 6).
- We carry out two case studies to demonstrate the practical usefulness of RAEs (Section 7).
The proofs of all results are in arxiv.org/abs/2404.14304.
2 RelatedWork
[ ˇCyras et al., 2022] propose the general idea of contribution functions that compute quantitative contributions from one argument to another under a given gradual semantics for QBAFs and study three such functions, described below.
The removal-based contribution function proposed by [Delobelle and Villata, 2019] measures how the strength of the topic argument changes if an argument is removed. In general, removal-based explanations are simple and intuitive for users to understand without a high cognitive burden. However, a problem with them is that removing an argument will also remove paths from its predecessor to the topic argument. The measure can therefore overestimate the contribution of an argument. To solve this problem, [Delobelle and Villata, 2019] propose to cut off the direct relations to an argument before removing it, to obtain the mere contribution of this argument.
The gradient-based contribution function captures the sensitivity of the topic argument w.r.t. another argument. It is based on the partial derivative of the topic argument's strength w.r.t. the base score of another argument. Arguments with high sensitivity are seen as important. Following this idea, [Yin et al., 2023] further explored the gradient-based contribution function under the DF-QuAD gradual semantics [Rago et al., 2016] and studied its properties in this setting.
The Shapley-based contribution function uses the Shapley value from coalitional game theory [Shapley, 1951] to assign contribution scores. Each argument in a QBAF is seen as a player that can contribute to the strength of the topic argument. Although the Shapley-based contribution function is theoretically well-founded, it is significantly harder to compute than removal and gradient-based methods. Our RAEs are based on Shapley values as well, and we work around the complexity problem by proposing an approximation algorithm.
Other work focuses on restricted types of QBAFs. In particular, [Amgoud et al., 2017] propose a contribution function for attack-only QBAFs (where arguments can only decrease the strength of the topic argument) and explain an argument's strenght by assigning attribution scores to its direct attacks. For instance, in Figure 1, assume again that ↵ is the topic argument that needs to be explained. The spirit of the method is to attribute the strength of ↵ to r2, r5 and r7, which are directly connected to ↵. 2 Instead, in our RAEs, we take all edges into account because they all contribute to ↵. Let us take r1 as an example, representing that β contributes to the strength of ↵ by strengthening the supporter γ of ↵: the contribution of r1 may even be greater than that of r5 and r7, which means that indirect edges may play an important role.
2 Here, although Figure 1 is not an attack-only QBAF, we focus on the spirit of the contribution function of [Amgoud et al., 2017].
3 Preliminaries
To begin with, we recall the definition of QBAFs. We focus on QBAFs with strength values in the domain I = [0↪ 1]
Definition 1 (QBAF). A Quantitative Bipolar AF (QBAF) is a quadruple Q = hA↪ R-↪ R+↪ ⌧ i where:
- A is a set of arguments;
- R- ✓ A ⇥ A is a binary attack relation;
- R+ ✓ A⇥A is a binary support relation;
- R- and R+ are disjoint;
- ⌧ :A!I is a function assigning base scores to arguments.
QBAFs are often denoted graphically (see Figure 1 as an example), where arguments are nodes and edges show the attack or support relations, labelled by - and +, respectively. The base scores can be seen as apriori strengths of arguments when ignoring all other arguments (and is omitted from graphical representations, as in Figure 1). Seeing QBAFs as graphs allows us to use standard notions such as that of path.
In the remainder, unless specified otherwise, we assume as given a generic QBAF Q=hA↪ R-↪R+↪⌧ i for I=[0↪ 1]. Also, we let R=R- [R+ and, for any ↵2A, R(↵)=¶(↵↪ β)2 R♣β2A♦ denotes the set of all outgoing edges from ↵.
Gradual semantics evaluate QBAFs by a function σ : A ! I that assigns a (final) strength to every argument (e.g. see [Leite and Martins, 2011; Baroni et al., 2015; Amgoud and Ben-Naim, 2018]). In most approaches, σ is defined via an iterative process that initializes all strength values with the base scores and then updates the strength values based on the strength of attackers and supporters. The final strength is the limit of this process. The process is guaranteed to converge for acyclic graphs after at most n = ♣A♣ iterations 3 [Potyka, 2019] and, in practice, also quickly converges for cyclic graphs [Potyka, 2018]. Since we aim to explain the strength, which is only possible when it is defined, we will assume convergence for all arguments in the remainder, amounting to the following.
Definition 2 (Well-definedness). A gradual semantics σ is well-defined for Q iff σ(↵) exists for every ↵ 2 A.
Example 1. Consider the QBAF in Figure 2 where the base scores of all arguments are set to 0▷5. Then, the DF-QuAD gradual semantics [Rago et al., 2016], denoted by σDF , determines the following strengths: 4 σDF (↵)=0▷8046875, σDF (β)=σDF (γ)=0▷375↪ σDF (δ)=0▷25, σDF (⇣)=0▷5.
We will often need to restrict QBAFs to a subset of the edges or change the base score function, as follows.
3 Since the strength of an argument can only be affected by its parents, it actually suffices to update each argument only once by following a topological ordering of the arguments [Potyka, 2019].
4 We omit details on how gradual semantics determine strengths, as we focus on explaining these strengths. For details see arxiv.org/ abs/2404.14304.

Definition 3. For S✓R, let Q♣S =hA↪R-\S↪R+\S↪ ⌧i. For ⌧ 0 :A!I a base score function, let Q♣⌧0 =hA↪R-↪R+↪ ⌧ 0 i. Then, for any ↵2A, we let σS(↵) denote the strength of ↵ in Q♣S and σ⌧ 0 (↵) denote the strength of ↵ in Q♣⌧0 .
For illustration, in Figure 2, suppose S = ¶r1↪ r3↪ r5♦. Then r2 and r4 are not considered when computing σS(↵).
We will consider the following monotonicity property of gradual semantics, which is a variant of various notions proposed in the literature (see [Baroni et al., 2019]) suitable for our setting. Roughly speaking, it states that base scores and relations monotonically influence arguments as one would intuitively expect.
Definition 4 (Monotonicity). A gradual semantics σ is monotonic iff for any ↵↪ β 2 A such that ↵ 6= β and R(β) = ¶(β↪ ↵)♦, for any ⌧ 0 : A! I:
- If (β↪ ↵) 2 R-, then σ(↵) σR∩¶(β↪↵)♦(↵);
- If (β↪ ↵) 2 R+, then σ(↵) ≥ σR∩¶(β↪↵)♦(↵);
- If (β↪ ↵) 2 R-, ⌧(β) ⌧ 0 (β) and ⌧(γ) = ⌧ 0 (γ) for all γ 2 A ∩ ¶β♦, then σ(↵) ≥ σ⌧ 0 (↵);
- If (β↪ ↵) 2 R+, ⌧(β) ⌧ 0 (β) and ⌧(γ) = ⌧ 0 (γ) for all γ 2 A ∩ ¶β♦, then σ(↵) σ⌧ 0 (↵).
DF-QuAD, Quadratic Energy (QE) [Potyka, 2018], Restricted Euler-based (REB) [Amgoud and Ben-Naim, 2018] and all commonly considered gradual semantics in the literature satisfy monotonicity in acyclic QBAFs. We conjecture that these semantics are also monotonic for cyclic QBAFs.
Proposition 1. DF-QuAD, QE, REB satisfy monotonicity in acyclic QBAFs.
Conjecture 1. DF-QuAD, QE, REB satisfy monotonicity in cyclic QBAFs.
4 Relation Attribution Explanations
In order to explain the strength of a topic argument in a QBAF, we quantify the contribution of all edges to the topic argument. In order to find a fair and reasonable attribution method for quantifying these contributions, we build up on the Shapleyvalue as in [Amgoud et al., 2017; ˇCyras et al., 2022]. We define our relation attribution explanations as follows.
Definition 5 (RAEs). Let ↵ 2 A be a topic argument and r 2 R. We define the Relation Attribution Explanation (RAE) from r to ↵ under σ as:
Intuitively, φ↵σ (r) looks at every subset of edges (S) and computes the marginal contribution of r
(⇥σS[¶r♦(↵) -σS(↵)⇤). This marginal contribution is weighted by the probability that a random permutation of the edges starts with the subset (S) and is followed by r. The main difference between our definition and that in [Amgoud et al., 2017] lies in the potential "causes" of topic arguments. We attribute the strength of a topic argument to all edges (direct and indirect causes) in the QBAF while [Amgoud et al., 2017] attribute it only to the directly incoming edges (direct causes). Furthermore, our definition is suitable not only for attacks but also for supports [Cayrol and Lagasquie-Schiex, 2013], which are important in applications [Delobelle and Villata, 2019].
Qualitatively, we distinguish three different (relation) contributions based on the sign of φ↵σ (r).
Definition 6 ((Relation) Contribution). Let ↵ 2 A and r 2 R.
- If φ↵σ (r) > 0, we say r has a positive contribution to ↵;
- If φ↵σ (r) < 0, we say r has a negative contribution to ↵;
- If φ↵σ (r) = 0, we say r has a neutral contribution to ↵.
Example 2 (Cont). Consider again the QBAF in Figure 2 under the DF-QuAD gradual semantics as in Example 1. Let ↵ be the topic argument. We compute RAEs by Definition 5: φ↵σDF (r1) = 0▷16875 > 0, φ↵σDF (r2)= 0▷16875 > 0, φ↵σDF (r3) ⇡ -0▷0318 < 0, φ↵σDF (r4) ⇡ -0▷0318 < 0, φ↵σDF (r5) ⇡ 0▷0307 > 0. Hence, r1, r2 and r5 have a positive contribution to ↵ while r3 and r4 have a negative one. We can also see that r1 and r2 have a more positive contribution to ↵ than r5. We visualize the RAEs in Figure 3.

5 Properties
We now study some properties of RAEs. We start with Shapleybased properties that basically adapt to our setting properties of Shapley values and then move to argumentative properties that we deem interesting in our setting.
5.1 Shapley-based Properties
Similar to [Amgoud et al., 2017], we first transfer the four basic properties of Shapley-values [Shapley, 1951] to our setting. Efficiency is recognized as a desirable property for attribution methods [Ancona et al., 2017]. In our context, it states that the sum of all RAEs corresponds to the deviation of the topic argument's strength σ(↵) from its base score ⌧(↵) (namely the explanation distributes the responsibility for the difference among the edges). To prove this property, we assume that the semantics satisfies the Stability property [Amgoud and Ben-Naim, 2018], which states that the final strength of an argument is its base score whenever it has no incoming edges.
Proposition 2 (Efficiency). If σ satisfies Stability, then for all ↵ 2 A and r 2 R: σ(↵) = ⌧ (↵) + Pr2R φ↵σ (r)▷
Efficiency has an interesting implication that is called Justification in [ ˇCyras et al., 2022]. This demands that whenever the strength of the topic argument differs from its base score, then there is a non-zero RAE explaining the difference.
As an illustration, in Example 2, σDF (↵) = 0▷8046875 equals to the the sum of ⌧(↵) = 0▷5 and the RAEs for all five edges in Q: Pr2R φ↵σDF (r) = 0▷3046875.
Corollary 1 (Justification). Let ↵ 2 A and r 2 R.
- If σ(↵) > ⌧(↵), then 9r 2 R such that φ↵σ (r) > 0;
- If σ(↵) < ⌧(↵), then 9r 2 R such that φ↵σ (r) < 0.
As an illustration, in Example 2, we have σDF (↵) > ⌧(↵) and r1 with φ↵σDF (r1) = 0▷16875 > 0 justifies the difference.
Dummy, also known as Missingness in [Lundberg and Lee, 2017], guarantees that if an edge does not make any contribution to the topic argument, then its RAE is 0.
Proposition 3 (Dummy). Let ↵ 2 A and r 2 R. If σS[¶r♦(↵) = σS(↵) holds for all S ✓ R, then φ↵σ (r) = 0▷
As an illustration, in Example 2, if we explain σDF (β) (i.e. the topic argument is β), then φβσDF (r1) = 0.
Symmetry states that if two edges share the same contribution to the topic argument, then their RAEs are equal.
Proposition 4 (Symmetry). Let ↵ 2 A and ri↪ rj 2 R with ri 6= rj. If σS[¶ri♦(↵) = σS[¶rj♦(↵) holds for any S ✓ R ∩ ¶ri↪ rj♦, then φ↵σ (ri) = φ↵σ (rj)▷
As an illustration, in Example 2, r1 and r2 have symmetrical effects, thus φ↵σDF (r1) = φ↵σDF (r2) = 0▷1608.
Dominance states that if one edge always makes a larger contribution than another, then this should be reflected in the magnitude of the RAE.
Proposition 5 (Dominance). Let ↵ 2 A and ri↪ rj 2 R with ri 6= rj. If 9S 0 ✓ R ∩ ¶ri↪ rj♦ such that σS 0[¶ri♦(↵) > σS 0[¶rj♦(↵) and 8S 00 ✓ R ∩ ¶ri↪ rj♦ (S 0 6= S 00 ) such that σS 00[¶ri♦(↵) ≥ σS 00[¶rj♦(↵), then φ↵σ (ri) > φ↵σ (rj)▷
As an illustration, in Example 2, let ⌧(β) =1▷0 while all other base scores remain 0▷5. For S 0 =¶r3↪ r4↪ r5♦ and 8S 00 ✓ ¶r3↪ r4↪ r5♦(S 0 6=S 00 ), we have σS 0[¶r1♦(↵) > σS 0[¶r2♦(↵) and σS 00[¶r1♦(↵) ≥ σS 00[¶r2♦(↵), thus φ↵σDF (r1) = 0▷3375 > φ↵σDF (r2) = 0▷1292.
5.2 Argumentative Properties
We now study some argumentative properties that we deem interesting in our setting. When assessing these properties, we distinguish three edge types in QBAFs based on the form and number of paths to the topic argument.
Definition 7 (Edge Types). Let ↵↪ β↪ γ 2 A, ↵ 6= β. Then
- (β↪ γ) is a direct edge w.r.t. ↵ if (β↪ γ) 2 R and there is only one path from γ to ↵ in Q (and γ = ↵);
- (β↪ γ) is an indirect edge w.r.t. ↵ if there is only one path from γ to ↵ in Q (and γ 6= ↵);
- (β↪ γ) is a multifold edge w.r.t. ↵ if there is more than one path from γ to ↵ in Q (and γ 6= ↵).
Example 3 (Cont). Given the QBAF in Figure 2, r1 and r2 are direct edges w.r.t. ↵ as they bring direct support to ↵; r3 and r4 are indirect edges w.r.t. ↵ as they are on single paths to ↵ (while not bringing support or attack to it); r5 is a multifold edge w.r.t. ↵ because it starts two different paths (r5↪ r3↪ r1 and r5↪ r4↪ r2) to ↵.
The first argumentative property is Sign Correctness, demanding that the sign of an edge reflects its polarity.
Property 1 (Sign Correctness). Let ↵ 2 A and r 2 R.
- If r 2 R-, then φ↵σ (r) 0;
- If r 2 R+, then φ↵σ (r) ≥ 0.
Naturally, sign correctness cannot be satisfied if the gradual semantics does not behave in the intended way, but it does so if it satisfies monotonicity, for direct edges. Note that we are defining this and later properties wrt. specific arguments and edges, considering then their satisfaction wrt. classes of edges, e.g. direct edges as in the next result.
Proposition 6. Let r be a direct edge w.r.t. ↵. φ↵σ (r) satisfies sign correctness if σ satisfies monotonicity.
For indirect edges, we need to make several case differentiations, as the meaning of edges can be inverted along paths (e.g. an attacker of an attacker, actually serves as a supporter).
Proposition 7. Let r be an indirect edge w.r.t. ↵. Suppose the path sequence from r to ↵ is r↪ r1↪ · · · ↪ rn(n ≥ 1). Let λ = ♣¶r1↪ · · · ↪ rn♦ \R-♣. Then the following statements hold if σ satisfies monotonicity.
- If r 2 R- and λ is odd, then φ↵σ (r) ≥ 0;
- If r 2 R- and λ is even, then φ↵σ (r) 0;
- If r 2 R+ and λ is odd, then φ↵σ (r) 0;
- If r 2 R+ and λ is even, then φ↵σ (r) ≥ 0.
Example 4 (Cont). Consider the QBAF in Figure 2 and the RAEs in Example 2. r1 2 R+ is a direct edge w.r.t. ↵, hence φ↵σDF (r1) ≥ 0; while r3 2 R- is an indirect edge w.r.t. ↵, and λ is 0 (even), hence φ↵σDF (r3) 0.
Essentially, these results show that RAEs correctly explain the behavior of direct and indirect edges under monotonicity. For multifold edges, however, monotonicity may not help.
Proposition 8. Let r be a multifold edge w.r.t. ↵. φ↵σ (r) may violate sign correctness even if σ satisfies monotonicity.
Counterfactuality is a natural property which states that the strength of a topic argument will not be increased (decreased) if an edge with positive (negative) contribution is removed.
Property 2 (Counterfactuality). Let ↵ 2 A and r 2 R.
- If φ↵σ (r) > 0, then σ(↵) ≥ σR∩¶r♦(↵).
- If φ↵σ (r) < 0, then σ(↵) σR∩¶r♦(↵);
Proposition 9. Let r be a direct or indirect edge w.r.t. ↵. φ↵σ (r) satisfies counterfactuality if σ satisfies monotonicity.
Example 5 (Cont). Consider the QBAF in Figure 2 and the RAEs in Example 2. r1 is a direct edge w.r.t. ↵ and φ↵σDF (r1) > 0. If r1 is removed, then σDF (↵) = 0▷8046875 > σDF R∩¶r1♦ (↵) = 0▷6875. r3 is an indirect edge w.r.t. ↵ and φ↵σDF (r3) < 0. If r3 is removed, then σDF (↵) = 0▷8046875 < σDF R∩¶r3♦ (↵) = 0▷84375.
Proposition 10. Let r be a multifold edge w.r.t. ↵. φ↵σ (r) may violate counterfactuality even if σ satisfies monotonicity.
From a debugging angle, it is worth exploring how the RAE can be adjusted by a user. We find that the RAE of an edge (β↪ γ) is closely related to the base score of its source argument β, in the sense of the properties of Qualitative Invariability and Quantitative Variability defined below.
Qualitative Invariability states that an edge with positive RAE will never make a negative contribution to the topic argument even if the base score of its source argument changes.
Property 3 (Qualitative Invariability). Let ↵↪ β2A and r2 R(β). Let φδ denote φ↵σ (r) when setting ⌧(β) to some δ 2 I.
- If φ↵σ (r) < 0, then 8δ 2 I, φδ 0;
- If φ↵σ (r) > 0, then 8δ 2 I, φδ ≥ 0.
Proposition 11. Let r be a direct or indirect edge w.r.t. ↵. φ↵σ (r) satisfies qualitative invariability if σ satisfies monotonicity.
Example 6 (Cont). Consider the QBAF in Figure 2 and the RAEs in Example 2. Since r1 is a direct edge w.r.t. ↵ and φ↵σDF (r1) > 0, then even if ⌧(β) is changed to some other value δ, the new RAE φδ ≥ 0 still holds by Proposition 11.
Proposition 12. Let r be a multifold edge w.r.t. ↵. φ↵σ (r) may violate qualitative invariability even if σ satisfies monotonicity.
Quantitative variability states that the RAE of an edge will not be increased (decreased) if the base score of its source argument is decreased (increased).
Property 4 (Quantitative Variability). Let ↵↪ β 2 A, ↵ 6= β, and R(β) = ¶r♦. Let φδ denote φ↵σ (r) when setting ⌧(β) to some δ 2 I.
- If δ < ⌧(β), then ♣φδ♣ ♣φ↵σ (r)♣;
- If δ > ⌧(β), then ♣φδ♣ ≥ ♣φ↵σ (r)♣.
We assess the satisfaction of this property when r is a direct, indirect or manifold edge w.r.t. the topic argument.
Proposition 13. Let r be a direct or indirect edge w.r.t. ↵. φ↵σ (r) satisfies quantitative variability if σ satisfies monotonicity.
Example 7 (Cont). Consider the QBAF in Figure 2 and the RAEs in Example 2. Since r1 is a direct edge w.r.t. ↵ and φ↵σDF (r1) > 0, then if ⌧(β) is increased to some δ > ⌧(β), the new RAE φδ will not decrease by Proposition 13.
Proposition 14. Let r be a multifold edge w.r.t. ↵. φ↵σ (r) may violate quantitative variability even if σ satisfies monotonicity.
Let us note that many properties may be violated for the multifold case even if the underlying gradual semantics is monotonic. This is because monotonicity only guarantees the direct effects of attacks and supports on an argument. Since a single edge can be involved in a large number of paths to the topic argument, one cannot make a reasonable demand about its effect without a long list of case differentiations. We therefore focus on the special cases where there is only a single path from the argument under investigation to the topic argument (i.e. the cases with direct and indirect edges).
Algorithm 1 An Approximation Algorithm for RAEs
- Input: A QBAF Q = hA↪ R-↪ R+↪ ⌧ i; a gradual semantics σ; a topic argument ↵; the sample size N. Output: Approximate RAEs attribution dict. 1: attribution dict ¶♦ % empty dictionary 2: for r in R do 3: sum 0 4: while N > 0 do 5: S random sample(R∩ ¶r♦) 6: sum sum+ ⇥σS[¶r♦(↵) -σS(↵)⇤ 7: N N -1 8: attribution dict [r] sum◁N 9: return attribution dict
6 Approximating RAEs Probabilistically
Here, we look at how we can compute RAEs efficiently.
Computing RAEs involves computing the final strength values of arguments. The runtime for computing these values depends on the graph structure of the QBAF and on the gradual semantics. Let n = ♣R♣ and m = ♣A♣. The strength values can be computed in linear time O(m+n) for acyclic QBAFs [Potyka, 2019, Proposition 3.1]. For some pathological examples of cyclic QBAFs, the strength computation may not converge resulting in infinite runtime [Mossakowski and Neuhaus, 2018; Potyka, 2019]. However, for randomly generated cyclic QBAFs, the strength values typically converge in subquadratic time [Potyka, 2018, Figure 7]. In fact, if the outdegree of arguments in the QBAF is not too large, the strength values are guaranteed to converge in linear time [Potyka, 2019, Proposition 3.3]. To avoid a large number of case differentiations, we just denote the runtime for computing strength values by T(m↪ n) in the following.
Concerning RAEs, let us first note that we can compute them exactly in exponential time by inspecting all subsets of edges (excluding cases where determining strength values fails to converge).
Proposition 15 (Computing RAEs exactly). RAEs can be computed in time O(n · 2n · T (m↪ n)).
For larger QBAFs, we can apply approximation methods. It is folklore in algorithmic game theory that Shapley values can be seen as expected values. Under this view, the probability of a subset S ✓ R ∩ ¶r♦ is defined by P(S) = (♣R♣-♣S♣-1)!♣S♣! ♣R♣! and the marginal contribution of S is defined by the function m(S) = σS[¶r♦(↵) - σS(↵). Our RAEs then correspond to the expected value EP [m] of the marginal contribution function under P. This interpretation allows approximating the Shapley values by the approximation Algorithm 1, returning a dictionary attribution dict used iteratively to accumulate pairs assigning estimate values to edges. By the Law of Large Numbers (e.g., Theorem 5.1 in [Gut and Gut, 2005]), the estimates converge in probability to the true Shapley values. That is, for every ✏ > 0, the probability that the estimates deviate by more than ✏ from the true value approaches 0 as the number of samples approaches infinity. By the Central Limit Theorem (e.g., Theorem 5.2 in [Gut and Gut, 2005]), the distribution of the samples approaches a normal distribution with mean equal to the true Shapley values. This means, in particular, that the estimator is unbiased. However, the variance can be quite large and is better evaluated empirically. We thus do not give a precise formula and simply state the following guarantees.

Proposition 16. The estimates generated by Algorithm 1 converge in probability to the true Shapley values.
Proposition 17 (Approximating RAEs). If the number of samples for each edge is N, then approximate RAEs can be generated in time O(n · N · T (m↪ n)).
In particular, when the QBAF is acyclic or meets the conditions on the outdegree of arguments in [Potyka, 2019, Proposition 3.3], we can compute RAEs in time O(n·N ·(n+m)).
Proposition 16 guarantees that Algorithm 1 converges to the true RAEs but does not tell us how many iterations we require to reach a good approximation. In order to evaluate the convergence speed empirically, we conducted experiments with randomly generated QBAFs of increasing size. Figure 4 shows, for cyclic QBAFs (see arxiv.org/abs/2404.14304 for acyclic QBAFs), how the absolute difference (y-axis) between estimates at every 10-th iteration evolves with an increasing number of samples (x-axis), pointing to convergence within a few hundreds iterations. For each iteration, it approximately took 14ms and 0.9ms for cyclic and acyclic QBAFs, respectively, with 15 arguments and 25 edges. We give hardware specifications and additional experiments for runtime, acyclic and differently-sized QBAFs in arxiv.org/abs/2404.14304.
7 Case Studies
Finally, we carry out two case studies, including a large QBAF and a non-tree QBAF, to show some practical use of our RAEs.
7.1 Case Study 1: Fraud Detection
Background Automatic fraud detection plays an important role in e-commerce. [Chi et al., 2021] propose to use QBAFs for fraud detection because of their intrinsic interpretability. We take the QBAF from [Chi et al., 2021], shown in Figure 5, where argument 1 ('It is a fraud case') is the topic argument, and arguments 2 - 48 represent evidence for or against this case. The specific content of these arguments can be found in arxiv.org/abs/2404.14304 or in the original [Chi et al., 2021].
Settings We set the base score for each argument to 0▷5 in line with [Chi et al., 2021]. Since we do not consider in this paper edge-weighted argumentation [Dunne et al., 2011], we apply DF-QuAD semantics here instead of OQuAD [Chi et al., 2021] which is a variant of DF-QuAD


with weights on edges. The given case is considered fraud if and only if σDF (1) > ⌧(1) = 0▷5. Under DF-QuAD, we have σDF (1) ⇡ 0▷2544 < ⌧(1), which means the case is not considered fraud. Since there are 47 edges in Figure 5, computing RAEs exactly is prohibitively expensive. Thus, we apply the approximate Algorithm 1, setting the sample size N to 1000. We chose N experimentally to be large enough to guarantee that the estimates converge. 5
Explanations We apply our RAEs and the contributions derived from them to give quantitative explanations for σDF (1) (see Figure 6; for more details see arxiv.org/abs/2404.14304).
Figure 6 shows that 18 red edges make a negative contribution while 29 blue edges make a positive contribution to argument 1, and negative contributions overwhelm the positive ones. Among the positive contributions, (2↪ 1) makes the largest, with RAE=2▷55 · 10-1 , because it directly supports argument 1. (40↪ 26) makes the smallest contribution with RAE=2▷83 · 10-5 because it is indirect and far away from argument 1. Among the negative contributions, (3↪ 1) makes the largest (RAE=-4▷56 · 10-1 ) since argument 3 directly attacks argument 1, whereas (43↪ 32) makes the smallest (RAE=-5▷84 · 10-5 ) as there is only one (odd number) attack from argument 43 to argument 1.
In Figure 6, edges close to argument 1 make a greater contribution than those further away. This is because removing close edges will also remove their predecessors on the path to the topic argument. The RAEs of edges such as (4↪ 2) and (12↪ 4) show they also play a role, which is different from the contribution function in [Amgoud et al., 2017].
5 As the additional experiments for large QBAFs in arxiv.org/ abs/2404.14304 show, the estimates converge typically after a few hundreds iterations even with more than a thousand edges, so N = 1000 here is appropriate.

Note that direct edges do not always make greater contribution than those further away, especially in multifold scenarios. In such cases, we believe explaining the strength by considering all edges rather than only direct edges is a better choice.
7.2 Case Study 2: Large Language Models (LLMs)
Background and Settings LLMs' ability to process and generate text can contribute to the development of various AI models [Naveed et al., 2023] and help address the knowledge acquisition bottleneck. The idea is that we can query an LLM with a particular claim and use the answers to build up a QBAF. The QBAF can then be used to visualize (potentially contradictory) arguments that the LLM generated and compute final strength of these arguments, and RAEs can be used to explain the relevance of particular edges for the strength of the claim (seen as the topic argument). To present our RAE approach with QBAFs containing more intricate relationships among arguments than the simple tree-like structure resulting in case study 1, we force a certain structure and generate a nontree QBAF by ChatGPT(GPT-3.5) [OpenAI, 2022], for the claim 'It is easy for children to learn a foreign language well' (topic argument ↵), prompted to create arguments satisfying the following requirements: 6
- Provide one argument β attacking ↵ and two arguments γ and δ supporting ↵.
- Let β and γ attack and support δ, respectively.
- Give confidence for all arguments, ranging from 0 to 1.
We obtained the following arguments and confidence values (which we use as base scores).
β (0.6): Learning a foreign language requires cognitive maturity, which children lack. Hence, it's difficult for them to excel.
γ (0.9): Studies show that young children possess higher neuroplasticity, making language learning more effective.
δ (0.7): Children immersed in a foreign language environment from an early age have better language acquisition.
We used the QE semantics (σQE ) to compute the strength of arguments and visualize the QBAF and strengths in Figure 7.
Explanations Figure 8 visualises RAEs and contributions and gives a ranking of the edges based on their contribution. There are two paths from β to ↵: p1 = r5 and p2 = r4↪ r2. The cumulative contributions of p1 and p2 are -0▷1078 and
6 The prompt and response are given in arxiv.org/abs/2404.14304.

0▷0884, respectively, obtained by adding up the RAEs on the path. Thus, p1 and p2 make, respectively, a negative and positive contribution to ↵. Also, p1 makes a greater contribution when considering absolute values. Although p2 positively contributes to ↵, we find r4 makes a negative contribution on this path, which is not obvious if we only compute argument-based attributions. Indeed, we believe that RAEs are better suited than argument-based attribution explanations in this scenario because they provide a deeper insight into the way arguments affect one another along different reasoning paths.
Property Verification Let us check the satisfaction of some properties introduced previously, under σQE used in this case study. First, the sum of all RAEs (0▷10) corresponds to the deviation from ⌧ (↵) = 0▷80 to σQE (↵) = 0▷90, which satisfies efficiency. β directly attacks ↵ so r5 has a negative RAE while γ directly supports ↵ thus r1 has a positive RAE by sign correctness. According to counterfactuality, if r1 is removed, then σQE (↵) will decrease (to 0▷80). If the ⌧(γ) is increased from 0▷9 to 0▷95, then φ↵σQE(r1) and φ↵σQE(r3) are still positive by qualitative invariability, and φ↵σQE(r1) increases from 0▷1134 to 0▷1182 and φ↵σQE(r3) increases from 0▷008389 to 0▷008438 by quantitatively variability.
8 Conclusion
We introduced RAEs to quantitatively explain the role of attack and support relations under gradual semantics for QBAFs, resulting in more fine-grained insights into the contribution of arguments, along different reasoning paths, than argumentbased attribution explanations. We proposed several properties for RAEs, including some adapted from properties of Shapley values and some defined ex-novo. The satisfaction and violation of these properties theoretically shows that our RAEs are reasonable and faithful explanations, which is crucial to explanation methods. We also proposed an efficient probabilistic algorithm to approximate RAEs, proved theoretical convergence guarantees and demonstrated experimentally that it converges quickly. Finally, we carried out two case studies to evaluate and show the practical use of our RAEs.
Our work paves the way to many future directions. First, it would be interesting to explore joint Shapley values [Zhang et al., 2021] for sets of attacks and supports and to investigate interactions among edges. Second, it would be worth exploring formal relationships between RAEs and argument-based attribution explanations. Third, it would be interesting to generalize our RAEs to edge-weighted QBAFs [Amgoud et al., 2017]. Lastly, it would be important to carry out user studies as explanations should be easily understood and accepted by human users [Chen et al., 2022].
Acknowledgments
This research was partially funded by the European Research Council (ERC) under the European Union's Horizon 2020 research and innovation programme (grant agreement No. 101020934, ADIX) and by J.P. Morgan and by the Royal Academy of Engineering under the Research Chairs and Senior Research Fellowships scheme. Any views or opinions expressed herein are solely those of the authors.
@inproceedings{ijcai2024p401,
title = {Explaining Arguments’ Strength: Unveiling the Role of Attacks and Supports},
author = {Yin, Xiang and Potyka, Nico and Toni, Francesca},
booktitle = {Proceedings of the Thirty-Third International Joint Conference on
Artificial Intelligence, {IJCAI-24}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Kate Larson},
pages = {3622--3630},
year = {2024},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2024/401},
url = {https://doi.org/10.24963/ijcai.2024/401},
}
TY - CPAPER TI - Explaining Arguments’ Strength: Unveiling the Role of Attacks and Supports AU - Yin, Xiang AU - Potyka, Nico AU - Toni, Francesca T2 - Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2024 SP - 3622 EP - 3630 DO - 10.24963/ijcai.2024/401 UR - https://doi.org/10.24963/ijcai.2024/401 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: