arXiv:2609.02399cs.AISep 2026

Manuscript Offprint

arXiv:2609.02399

Contrastive Explanations in Quantitative Bipolar Argumentation Frameworks

Xiang Yin, Nico Potyka, Antonio Rago, Francesca Toni

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Argumentation frameworks are useful tools for representing and reasoning with information in a variety of settings, e.g. in supplementing AI models as they perform classification tasks, with a notable benefit of providing additional explainability. In this paper, we introduce contrastive explanations for Quantitative Bipolar Argumentation Frameworks (QBAFs), one such formalism. Unlike most existing explanations for QBAFs, which explain the reasoning outcome of a single argument of interest (i.e. a topic argument), contrastive explanations explain the difference between two topic arguments. We introduce a general form of contrastive attribution functions (CAFs) and establish a set of general properties they should satisfy. We introduce CAFs based on removal, gradients and Shapley values, and study their properties. Finally, to illustrate contrastive explanations, we demonstrate their usefulness in healthcare and bias identification settings.

1 Introduction

Argumentation frameworks have recently emerged as useful tools for representing and reasoning with information in a range of settings, particularly those where explainability may otherwise be lacking, e.g. in image classification (Ayooobi, Potyka, and Toni 2025; Kori, Rago, and Toni 2025), recommendation (Rago et al. 2021, 2025) and claim verification (Freedman et al. 2025; Zhu et al. 2025). Quantitative Bipolar Argumentation Frameworks (QBAFs) (Baroni et al. 2015) are one such formal model for reasoning with conflicting and supporting information. A QBAF consists of a set of arguments, attack and support relations among them, and a base score function assigning each argument a prior strength. To evaluate a QBAF, a gradual semantics (e.g., (Rago et al. 2016)) is applied to update the base scores by aggregating the influence of attackers and supporters, resulting in a final strength for each argument. QBAFs are well suited to model decision-support tasks (e.g., (Cocarascu, Rago, and Toni 2019; Rago et al. 2021)): the final strengths can serve as decision scores, while the explicit attack and support structure provides a transparent account of the reasoning process (e.g. (Cocarascu, Rago, and Toni 2019)). Figure 1 shows a toy QBAF for an animal classification problem. The possible classes (zebra, horse, tiger), and the relevant features (stripes, herbivore) are represented as arguments. Support and attack relations indicate whether a feature supports or attacks a class. All arguments are assigned

Figure

Figure 1: An example QBAF for an animal classification task. Squares represent arguments; green and red edges indicate support and attack relations, respectively. The contrastive explanation for zebra over horse is stripes, whereas that for zebra over tiger is being a herbivore.

a neutral base score of 0.5, and the DF-QuAD semantics (Rago et al. 2016) is applied to compute the strengths of the class arguments. Here, zebra is predicted as it has the highest strength of 0.875, while horse and tiger both have strength 0.5.

Given this prediction, a user may ask: why zebra? A possible explanation is that the animal has stripes and is herbivorous. However, research in philosophy, psychology, and social science shows that explanations are contrastive: when people ask a "Why P?" question, they often implicitly ask "why P rather than Q?", where P is a fact while Q is some contrast case (Lipton 1990; Hilton 1990; Van Bouwel and Weber 2002; Ylikoski 2007; Chin-Parker and Cantelon 2017; Miller 2019, 2021). In our example, if the question is why the prediction is zebra rather than horse, the contrastive explanation should highlight stripes, since both zebra and horse are herbivorous. In contrast, if the question is why the prediction is zebra rather than tiger, the contrastive explanation should highlight herbivore, since this feature distinguishes zebra from tiger (in this example), whereas stripes does not. Thus, contrastive explanations aim to identify the discriminative reasons (referred to as difference conditions in (Lipton 1990)) that distinguish PP from a contrast case QQ, rather than listing all explanatory reasons. This makes contrastive explanations simpler, more feasible, and cognitively less demanding (Miller 2021).

However, existing explanation methods for QBAFs, such as attribution explanations (Yin, Potyka, and Toni 2023) and counterfactual explanations (Yin, Potyka, and Toni 2024a), mainly focus on explaining the strength of a single argument of interest (topic argument). In other words, they answer “why PP” but overlook the contrast question “why PP rather than QQ”, and thus fail to capture the “why not QQ” aspect. This motivates the central research question of this paper: Given two topic arguments in a QBAF, how can we explain the difference between their strengths?

To address this question, we introduce attribution-based contrastive explanations for QBAFs. Our key idea is to assign attribution scores to all non-topic arguments with respect to the strength gap between two topic arguments. Attribution scores are well suited to this purpose because they provide an intuitive quantitative measure of each argument's influence on the contrast. By comparing these scores, we can identify arguments that discriminate between the two topic arguments without manually inspecting all reasoning paths. For example, when explaining why zebra rather than horse, stripes should receive a larger attribution score than herbivore, as the latter supports both classes.

The contributions of this paper are as follows:

  • We introduce contrastive explanations and desirable properties that they should satisfy (Sections 3, 4);

  • We study three concrete contrastive explanation methods and their properties (Sections 5, 6, 7);

  • We illustrate the use of contrastive explanations in healthcare (Section 8) and bias detection (Section 9).

References (39)