Gradient-Based Relation Attribution Explanations
- The paper introduces G-RAEs, a method that quantifies the directional influence of individual edge weights on topic strength in Edge‐Weighted Quantitative Bipolar Argumentation Frameworks.
- G-RAEs leverage differentiability and backpropagation-style computations to efficiently compute influence scores and guide iterative weight updates toward a desired argument strength.
- They provide clear qualitative insights through rules like sign correctness, parity, and counterfactuality, enhancing the contestability and interpretability of AI-driven outcomes.
Searching arXiv for the cited papers to ground the article in current sources. Gradient-Based Relation Attribution Explanations (G-RAEs) are relation-level sensitivity explanations for Edge-Weighted Quantitative Bipolar Argumentation Frameworks (EW-QBAFs). They quantify how the strength of a designated topic argument changes under infinitesimal perturbations of individual edge weights, and were introduced to support contestability: the problem of modifying preferences or other relation weights so that an AI-driven outcome attains a desired argument strength in a way that remains interpretable to humans (Yin et al., 15 Jul 2025). In this setting, G-RAEs are both explanatory and operational: they attribute influence to attacks and supports, and they guide iterative weight updates toward a target strength.
1. Formal setting and contestability problem
An EW-QBAF is a quintuple
where is a finite set of arguments, is an attack relation, is a support relation, , is a base score function, and is an edge weight function. The union denotes the set of all relations.
For an argument , the incoming attacks, supports, and total incoming relations are
Paths from 0 to 1 are denoted by 2, and 3 is the set of all such paths. Relative to a topic argument 4, relations are classified as direct, indirect, multifold, or independent. A direct edge is of the form 5. An indirect edge 6 satisfies 7. A multifold edge satisfies 8. An independent edge satisfies 9.
A quantitative gradual semantics assigns a strength
0
where 1 may be undefined in some cyclic cases. The main theory of G-RAEs focuses on acyclic EW-QBAFs, where strengths are well-defined and efficiently computable.
The contestability problem is formulated as follows. Given a topic argument 2 and a desired strength 3 with 4, the task is to find a modified weight function 5 such that
6
Weights are always constrained to 7 and are projected back into this interval after each update. The attack and support relations remain disjoint, so relation polarity is determined by membership in 8 or 9.
2. Strength semantics and differentiability
Strength computation in the relevant semantics is modular. An aggregation function combines weighted attacker and supporter contributions, and an influence function modifies the base score using the aggregate. Initialization is
0
For a temporary strength assignment 1, the incoming weighted multisets at 2 are
3
Two aggregation schemes are highlighted. Sum aggregation is
4
Product aggregation, used by DF-QuAD, is
5
For QE and DF-QuAD, the influence function has the form
6
where, for DF-QuAD,
7
and, for QE,
8
The semantics are iterated until convergence. In acyclic EW-QBAFs, this reduces to a single forward pass in a topological ordering and is computable in linear time.
Differentiability is central to G-RAEs. For acyclic EW-QBAFs under QE, REB, DF-QuAD, and MLP-based semantics, the strength function is differentiable with respect to edge weights:
9
This differentiability supports directional-derivative explanations and backpropagation-style computation.
3. Definition of G-RAEs
For a topic argument 0 and an edge 1, perturb only the weight of 2 by 3, defining 4 and 5 for all 6. The G-RAE score is the directional derivative
7
In acyclic EW-QBAFs, this quantity is well-defined by differentiability.
The sign of 8 provides the basic interpretation. A positive score indicates positive influence on the topic strength, a negative score indicates negative influence, and a zero score indicates neutrality. The explanatory role of G-RAEs is therefore local and signed: they state how increasing a particular edge weight changes the topic’s current strength.
For direct relations, the polarity is aligned with edge type under edge-monotonicity: support edges have non-negative attributions and attack edges have non-positive attributions. For indirect relations, polarity depends on the parity of attacks along the path from the edge’s child to the topic. Thus a support can acquire a negative attribution, or an attack a positive attribution, when the unique downstream path contains an odd number of attacks.
The paper distinguishes analytical and perturbation-based computation. In acyclic graphs with differentiable aggregation and influence functions, one applies the chain rule along the computation graph in reverse topological order, in a backpropagation-style procedure that yields all 9 in time 0. When analytical computation is inconvenient, especially in cyclic settings, the score can be approximated by
1
with a small 2, for example 3.
4. Qualitative properties
Under standard axioms such as edge-directionality, monotonicity, edge-monotonicity, neutrality, and balance, satisfied by QE, REB, DF-QuAD, and MLP-based semantics, G-RAEs satisfy several qualitative properties.
Direct influence yields sign correctness. If 4 is direct with respect to 5, then
6
If 7 is direct, then
8
Indirect influence obeys a parity rule. Let 9 be the number of attacks on the unique path 0 from the edge’s child to 1. Then the sign of 2 depends jointly on whether 3 is an attack or support and on whether 4 is even or odd. A support preserves positive sign when 5 is even and flips to non-positive when 6 is odd; an attack preserves non-positive sign when 7 is even and flips to non-negative when 8 is odd.
Irrelevance states that if an edge is independent of 9, meaning that there is no path from the edge’s child to the topic, then
0
This excludes spurious attributions to relations outside the topic’s ancestor structure.
Counterfactuality gives a removal interpretation. If 1, then setting 2 cannot decrease 3. If 4, then setting 5 cannot increase 6. The claim is qualitative rather than metric: it links local derivative sign to one-step counterfactual edge removal.
Qualitative invariability states that for direct and indirect edges, the sign of 7 is invariant across all feasible values of 8, under monotonicity and edge-monotonicity. This matters for contestability because it supports stable explanatory guidance even as the optimization procedure changes weights.
5. Iterative weight adjustment and attainability
G-RAEs are used to build an iterative algorithm for contestability. Let 9 be the desired strength of topic 0. At each iteration, one computes the current strength 1, estimates G-RAEs 2 for all 3, and updates each weight by the projected gradient step
4
where 5 is a step size and
6
The stopping criterion is
7
for a small tolerance 8, for example 9, and the procedure is capped at 0 iterations to avoid runtime blow-ups or stalling. A practical schedule uses a larger 1 when the current strength is far from the target and reduces 2 near convergence.
Attainability is characterized through extremal assignments. A max case 3 sets all support edges to 4 and all attack edges to 5 recursively, yielding the maximal attainable strength. A min case 6 sets direct attacks of 7 to 8, direct supports to 9, and recursively maximizes attackers’ strengths while neutralizing their direct attacks to 00, yielding the minimal attainable strength. With continuity, the attainable set is an interval
01
Accordingly, any target 02 can be reached in principle in acyclic settings.
The update procedure is heuristic. It is described as gradient-descent-like, and may require multiple attempts with different initializations to avoid local traps. For acyclic EW-QBAFs and perturbation-based estimation, the time per iteration is
03
and over 04 iterations the total cost is
05
Its interpretability derives from edge-local scores that indicate which relations to adjust and in which direction, such as increasing weights on relations with positive support to the topic or decreasing weights on negatively contributing attacks.
6. Worked example and empirical evaluation
A worked QE example makes the local mechanics explicit (Yin et al., 15 Jul 2025). Consider a small acyclic EW-QBAF with topic 06, one supporter 07, and one attacker 08, with
09
and edge weights
10
Since there are no other edges, 11 and 12. Under sum aggregation,
13
For QE,
14
so the topic strength is
15
The analytical G-RAEs are
16
The direct support therefore has positive attribution and the direct attack negative attribution, exactly as the qualitative theory predicts. If the target is 17 and the step size is 18, then one update gives
19
which increases the topic strength to
20
A second iteration yields
21
and
22
The example is intended to show gradual movement toward the target under projected gradient steps.
The empirical study uses synthetic EW-QBAFs with two structural regimes. In PRS-like acyclic EW-QBAFs, graphs contain 23 arguments, base scores are i.i.d. uniform in 24, each pair 25 with 26 receives an edge with probability 27, each edge is support or attack with equal probability, and each weight is uniform in 28. The topic is 29, and the target is the midpoint of attainable bounds. Under edge-weighted QE, REB, and DF-QuAD, validity is reported as 30 success across all sizes and semantics. REB always succeeded in the first attempt; QE had average attempts approximately 31 with maximum 32; DF-QuAD had average attempts approximately 33 with maximum 34. Average runtimes remained under 35 seconds across sizes and semantics, median runtime was below 36 seconds in all cases, and REB was fastest on average.
In MLP-like EW-QBAFs, structures are 37, 38, and 39, with connection probability 40 between adjacent layers. Base scores and edge weights or polarities are sampled as in the PRS-like setting, the topic is the output-layer node, and the semantics are MLP-based with sum aggregation. Validity is again reported as 41 success for all structures and densities. Attempts were almost always 42, with a single case for 43 requiring 44 attempts. Average runtime increased with density, with a maximum average of approximately 45 seconds, and median runtime strictly increased with density, with a maximum median of approximately 46 seconds. The reported interpretation is polynomial-time behavior and practical runtimes even on dense, layered graphs.
The paper also provides illustrative G-RAE scores on a movie-recommendation EW-QBAF under MLP-based semantics, with topic argument Movie. The direct support 47 receives 48, 49 receives 50, more distant supports such as 51 and 52 receive 53 and 54, 55 receives 56, while 57 receives 58 and the direct edge 59 receives 60. These values exemplify the use of signed edge-local scores as a ranked explanation interface.
7. Relation to Shapley-based RAEs, limitations, and extensions
G-RAEs belong to a broader literature on relation-level explanation in quantitative bipolar argumentation. A 2024 technical report introduced Relation Attribution Explanations (RAEs) by adapting Shapley values to relations in QBAFs, with the value to be explained defined as the topic strength under a restricted set of relations, and established properties such as efficiency, dummy, symmetry, and dominance (Yin et al., 2024). That report also presents a principled formulation of gradient-based relation attribution within the same framework, while explicitly stating that the paper does not define or analyze gradient-based relation attributions as part of its main contribution.
The contrast between the two families is structural. Shapley RAEs are global, coalition-averaged attributions over relation subsets; G-RAEs are local sensitivities with respect to continuous edge weights. Shapley RAEs capture interaction effects by averaging marginal contributions across contexts. G-RAEs provide instantaneous directional information at the current point in weight space. This distinction explains why G-RAEs are especially useful for optimization and search over weights, whereas Shapley RAEs are especially useful when fair allocation of influence across interacting relations is the primary objective. A common misconception is to treat the two methods as interchangeable; the published comparison indicates that they answer different explanatory questions.
Several limitations are identified. Gradients are local and can be small near plateaus, including cases where the aggregate is non-positive for QE and 61, which can impede progress. Non-convexities and discontinuities, including DF-QuAD’s ReLU-like 62, may produce local traps, so multiple restarts or schedule tuning may be needed. Projection to 63 can saturate weights at the bounds and limit feasible adjustments. Cycles can break convergence for some semantics; perturbation-based estimation remains applicable, but strengths may be undefined for some cyclic graphs unless continuization techniques are used.
Proposed extensions include integrated gradients or path-based attributions to ameliorate saturation or nonlinearity issues, second-order methods using approximate curvature for faster convergence, constrained optimization formulations incorporating sparsity or minimal-change objectives, and multi-contestability, where multiple targets are jointly achieved on the same topic across different base score functions. A plausible implication is that these directions aim to preserve the explanatory advantages of G-RAEs while reducing the gap between local sensitivity analysis and broader counterfactual or interaction-aware notions of attribution.