Manuscript Offprint
arXiv:2611.25238Stability Bands for Feature Attribution: The Core, the Nucleolus and the Bargaining Set of Explained-Variance Games
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Shapley-value attributions are the default way of explaining machine-learning predictions in economics, but they report a single number per feature and say nothing about whether that allocation could be contested by a coalition of features that jointly accounts for more than it receives. We study feature attribution through the stability concepts of cooperative game theory, namely the core, the nucleolus and the bargaining set, applied to an explained-variance game, in which the worth of a set of features is the variance of the model’s predictions that those features generate. We report a stability band for every feature (the range of its share over the core, or over the least core when the core is empty), together with the nucleolus as the band’s distinguished point and a certificate that the reported allocation admits no justified objection. Three results organise the approach. First, for linear models the explained-variance game is exactly 2-additive, with pairwise Harsanyi dividends equal to , so that multicollinearity is what creates coalitional structure. Second, in every 2-additive game the prenucleolus coincides with the Shapley value, the (least) core is point-symmetric around it, and the core is non-empty if and only if every cut of the interaction graph has non-negative weight. The Shapley value is therefore always certified to lie in the prebargaining set, but stability adds information only through the width of the bands and through interactions of order three or more. Third, for convex games the bands have a closed form and any proposed allocation can be certified with one minimum cut. In a hedonic price model the bands show that the usual mean-SHAP explanation admits a justified objection by the coalition {Ratings, ROM, Battery}. In a gradient-boosting forecaster of retail orders the exact game has an empty core and strong higher-order interactions; there the nucleolus departs from the Shapley value by up to 0.19 variance shares, and pairwise surrogates cannot recover it, whereas sparse third-order surrogates can.
Keywords: Explainable AI; feature attribution; cooperative games; core; nucleolus; bargaining set; Harsanyi dividends; Shapley value.
JEL: C71, C45, C53.
1 Introduction
Machine-learning models are now routinely used for forecasting, pricing and policy evaluation (Mullainathan and Spiess, 2017), and the institutions that use them increasingly need to say why a model predicts what it does. The dominant answer is feature attribution through the Shapley value (Shapley, 1953), popularised by SHAP (Lundberg and Lee, 2017): a model is cast as a cooperative game whose players are the features, and each feature receives its average marginal contribution.
The Shapley value is an allocation rule justified by fairness axioms. It is not a stability concept. Nothing guarantees that a coalition of features, say three variables that jointly drive most of the prediction, receives at least what it could account for on its own. When such a coalition is under-credited, the explanation can be contested on its own terms: the coalition has an objection. Stability concepts from cooperative game theory formalise exactly this kind of scrutiny. The core contains the allocations against which no coalition has a positive excess. The bargaining set (Aumann and Maschler, 1964; Davis and Maschler, 1965) contains those against which every objection can be countered. The nucleolus (Schmeidler, 1969) lexicographically minimises the dissatisfaction of the worst-treated coalitions. Moving from fairness to stability is in line with the stability principle of veridical data science (Yu and Kumbier, 2020), and Yan and Procaccia (2021) have argued for the core as an attribution concept.
This paper develops that programme for a specific and economically interpretable game, and is explicit about what stability adds to the Shapley value and what it does not. Our contributions are the following.
- An explained-variance game. The worth of a set of features is the variance of the model’s predictions when only the features in vary and the rest are held at a baseline (Section 4). Shares of this game add up to the variance of the predictions. For linear models the game is exactly 2-additive: its pairwise Harsanyi dividends are , so coalitional structure is generated precisely by multicollinearity (Proposition 2).
- The structure of 2-additive games. In every game whose Harsanyi dividends vanish beyond order two, whatever their signs, the prenucleolus equals the Shapley value, the core and the least core are point-symmetric around it, the least-core value equals minus one half of the minimum cut of the interaction graph, and the core is non-empty if and only if every cut has non-negative weight (Theorem 1). Two consequences follow. The Shapley value of such a game is always certified to belong to the prebargaining set. And for pairwise surrogates, a class widely used to make attribution games tractable, the nucleolus cannot differ from the Shapley value. Stability then adds information only through the bands around the point and through interactions of order three or more.
- Stability bands and certificates. We report, for each feature, the interval of its share over the core (or over the least core when the core is empty), with the nucleolus as distinguished point (Section 5). For convex games the bands have a closed form, and whether an arbitrary allocation, a SHAP or LIME explanation for instance, lies in the core (and hence in the bargaining set) is decided by a single minimum - cut (Proposition 3). For general games we give an exact sequential-LP algorithm for the prenucleolus with a provably correct fixing rule, and an exact test for justified objections that constructs the objection vectors explicitly (Section 6).
- Two applications. In a hedonic price model of mobile phones (Section 7.1) the game is exact and convex. The usual mean-SHAP explanation turns out to be outside the core: the coalition {Ratings, ROM, Battery} has a justified objection against it. In a gradient boosting forecaster of retail order quantities (Section 7.2) we compute the exact game on all coalitions. Its core is empty, its Harsanyi dividends carry large interactions up to order five, and its nucleolus departs from the Shapley value by up to variance shares. On this exact benchmark, pairwise surrogates reach a held-out of about yet miss the nucleolus by about , whereas sparse third-order surrogates recover it to within (Section 8).
All results can be reproduced with the code that accompanies the paper.
Shapley-based attribution.
SHAP (Lundberg and Lee, 2017) and TreeSHAP (Lundberg et al., 2020) explain individual predictions; global importance is usually obtained by averaging absolute local attributions. Sundararajan and Najmi (2020) show that the choice of game (baseline, conditional or interventional) matters as much as the choice of solution concept, and Kumar et al. (2020) document the difficulties that correlated features create for Shapley attributions. Global, variance- or loss-based games have been proposed by Owen (2014), whose Shapley effects split the variance of a function of independent inputs, and by Covert et al. (2020), whose SAGE attributes reductions in predictive loss. In linear regression, variance decompositions of this kind form the relative-importance literature surveyed by Grömping (2007). Our explained-variance game belongs to this family. The difference is that we study its stability concepts rather than only its Shapley value.
Stability concepts in attribution.
Yan and Procaccia (2021) propose the core, and specifically the least core, as an alternative to the Shapley value for data valuation and feature attribution. We add the bargaining set and the nucleolus, and show that for 2-additive games all of these concepts are organised around the Shapley value (Theorem 1).
Computation.
Computing the nucleolus requires, in general, a sequence of linear programs with exponentially many constraints (Kopelowitz, 1967; Maschler et al., 1979; Elkind et al., 2009); efficient implementations of this scheme and an independent procedure for verifying its output are given by Potters et al. (1996) and Benedek et al. (2021). Polynomial algorithms exist for structured classes, notably matching games (Kern and Paulusma, 2003; Könemann et al., 2020; Benedek et al., 2023), and, more generally, whenever the minimum-excess (separation) problem can be solved in polynomial time (Faigle et al., 2001). For convex games this yields a polynomial algorithm based on the ellipsoid method. A combinatorial, strongly polynomial algorithm has recently been proposed by Maggiorano et al. (2025), but its correctness has been disputed by Meinhardt (2025), so we rely only on Faigle et al. (2001). Games given by Harsanyi dividends on a graph (induced-subgraph games) were studied by Deng and Papadimitriou (1994): the Shapley value is easy to compute, while core questions are hard when weights may be negative. We use their framework, the -additive representation of Grabisch (1997), the theory of convex games (Shapley, 1971; Maschler et al., 1972; Ichiishi, 1981) and the selection (maximum-closure) problem of Rhys (1970), Balinski (1970) and Picard (1976).
Evaluation of explanations.
Following the assessment framework of Calzarossa et al. (2025), we evaluate explanations by robustness (bootstrap stability) and complexity (concentration), in addition to deletion-based faithfulness (Samek et al., 2017). Following Chen et al. (2024), we also illustrate how stability-based attributions can feed a group-comparison diagnostic.
3 Cooperative games: definitions and known results
A TU game is a pair with and , . For write . A preimputation is an with . In attribution problems shares may legitimately be negative, so we work with preimputations throughout. The excess of at is , the amount by which is under-credited.
Definition 1 (Core, least core, prenucleolus).
The -core is
the core is . The least-core value is , and is the least core; the core is non-empty iff . The prenucleolus is the unique preimputation whose vector of excesses, arranged in non-increasing order, is lexicographically minimal (Schmeidler, 1969; Peleg and Sudhölter, 2007). It lies in the least core, hence in the core whenever the latter is non-empty.
Definition 2 (Objections and the (pre)bargaining set).
Let be a preimputation and . An objection of against is a pair with , , , and for all . A counter-objection to it is a pair with , , , , for and for . An objection is justified if it has no counter-objection. The prebargaining set is the set of preimputations against which no justified objection exists (Davis and Maschler, 1965; Peleg and Sudhölter, 2007). Restricting to individually rational preimputations gives the classical bargaining set of Aumann and Maschler (1964).
Definition 3 (Harsanyi dividends, -additivity, convexity).
Every game has a unique representation , where are the Harsanyi dividends (Harsanyi, 1963). The game is -additive if whenever (Grabisch, 1997). It is convex if for all .
We will use the following known facts.
Proposition 1 (Known results).
(a) The Shapley value is . (b) (Kohlberg’s criterion.) A preimputation is the prenucleolus iff for every the collection is empty or balanced (Kohlberg, 1971; Peleg and Sudhölter, 2007). (c) , and the prenucleolus belongs to the prekernel, which is contained in (Davis and Maschler, 1965; Peleg and Sudhölter, 2007). Hence the prenucleolus always belongs to the prebargaining set. (d) If all dividends of order are non-negative, is convex. If is convex, the core is non-empty and equals the convex hull of the marginal vectors, and the Shapley value lies in it (Shapley, 1971; Ichiishi, 1981). Moreover, the bargaining set coincides with the core and the kernel with the nucleolus (Maschler et al., 1972).
The first claim of (d) has a direct proof. Singleton dividends are additive and do not affect convexity, so we may assume for every . Then
For each the bracket equals when but and , and in every other case. Hence the sum is non-negative.
Part (d) has a simple consequence that we use repeatedly. Every marginal vector assigns player an amount between (when comes first) and (when comes last), and supermodularity makes these the extremes. Hence, in a convex game,
4 The explained-variance game
Let be a fitted model, an evaluation sample and a baseline, for instance the training mean. For let denote the prediction when only the features in take their observed values.
Definition 4 (Explained-variance game).
.
Then , and is the variance of the model’s predictions over . We always report the normalised game , so that attributions are shares of the prediction variance that add up to one. A feature that the model ignores is a null player and receives zero in every solution considered here. Negative shares are possible. They identify features whose variation offsets that of others, which in the economic examples below is typically a sign of substitution. The game is global: it explains the model over a population rather than a single prediction, as do the analyses of Owen (2014) and Covert et al. (2020). A local version is obtained with a neighbourhood of a point.
Proposition 2 (Linear models).
Let and let be the covariance matrix of . Then , and is 2-additive with
Its Shapley value is , and is convex if and only if for all .
Proof.
, whose variance is the stated quadratic form. A quadratic form restricted to is the sum of its diagonal terms over and its off-diagonal pairs over . By uniqueness of the Harsanyi representation these are the dividends, and all dividends of order vanish. Proposition 1(a) gives . For a 2-additive game, , which is non-decreasing in for every iff all . ∎
The interaction structure of a linear model’s explanation is therefore entirely produced by correlation among regressors. Two features whose contributions and co-move positively are complements in the game (), and two whose contributions co-move negatively are substitutes (). Substitution is what can empty the core, as we show next. The share is a familiar variance decomposition (Grömping, 2007). We now show what stability adds to it.
5 Stability bands and the structure of 2-additive games
Definition 5 (Stability band).
The stability band of feature is , where if the core is non-empty and (the least core) otherwise. We report together with the nucleolus, which always lies in .
A wide band means that the data support many stable allocations of credit to that feature. A narrow band means that stability pins the share down. When the core is empty, the bands describe the allocations that minimise the largest complaint; measures how large that complaint must be.
For a 2-additive game write , (of any sign), and for let be the weight of the cut in the interaction graph.
Theorem 1 (2-additive games).
Let be 2-additive with Shapley value , so that . Then:
(i) for every . (ii) is the prenucleolus of . (iii) . Hence the core is non-empty iff every cut has non-negative weight, iff . (iv) For every , is point-symmetric around : . In particular, every stability band is centred at . (v) . If all , then and the bands are bands of the bargaining set.
Proof.
Write . Then , and for every .
(i) , since each pair inside is counted twice and each pair across the cut once. Hence , and .
(ii) By (i), for every the collection is closed under complementation. If it is non-empty it consists of pairs . Giving weight to each member, every player is covered exactly once by each pair, so the weights sum to one for every player and the collection is balanced. By Proposition 1(b), is the prenucleolus.
(iii) For any preimputation , , so and . By (i), attains this bound, so it is the value of . The core is non-empty iff , iff , and in that case attains .
(iv) Let and . Using (i), , while . Hence for all , so . A set that is symmetric around has coordinate ranges centred at .
(v) The first claim follows from (ii) and Proposition 1(c). If , the game is convex (Proposition 2), and (1) gives and . By Proposition 1(d) the core coincides with the bargaining set. ∎
Corollary 1.
For a linear model, the variance share is the prenucleolus of the explained-variance game (and its nucleolus when the game is convex) and the centre of its stability bands, and it belongs to the prebargaining set. If all , the band of feature runs from its stand-alone share to its stand-alone share plus all of its interaction shares.
Theorem 1 has a sobering implication for attribution methods built on pairwise surrogates : whatever the signs of the weights, the nucleolus of such a surrogate is its Shapley value. Stability concepts can add information to a pairwise explanation in only two ways: through the bands, which quantify how much credit could be moved between features without creating a justified complaint, and through certification of other allocations, such as mean-SHAP or LIME shares, which need not be stable. To obtain a point attribution that genuinely differs from the Shapley value, the game must have interactions of order three or higher. We show in Section 7.2 that this is the case for a gradient-boosting forecaster, and that it matters.
A related caveat concerns computation. Pairwise surrogates are sometimes presented as (fractional) matching games in order to borrow the polynomial nucleolus algorithms available for that class (Kern and Paulusma, 2003; Könemann et al., 2020). They are not matching games. The worth of a coalition in a matching game is the value of an optimal (fractional) matching inside it, which involves vertex-capacity constraints, whereas a pairwise surrogate simply adds up every vertex and edge weight. A unit-weight triangle is worth as a fractional matching game and as a pairwise surrogate. The algorithms we use instead are those of Section 6.
Part (iii) also shows where hardness enters. For signed weights, deciding whether the core is empty amounts to a minimum-cut problem with negative edges, which contains maximum cut. This is consistent with the NP-completeness results of Deng and Papadimitriou (1994). With non-negative interactions, by contrast, the core is never empty.
6 Algorithms
6.1 The prenucleolus
Algorithm 1 is the sequential linear programme of Maschler et al. (1979) with two implementation details that are essential for correctness: which coalitions are fixed at each stage, and when to stop.
Algorithm 1 Prenucleolus by sequential linear programming
Input: and the values of all coalitions (or, for convex games, a separation oracle; Section 6.2). Output: the prenucleolus .
- Set (equality system); all proper coalitions are free.
- For : (a) Solve subject to and for every free . Let be the optimal value and the optimal dual multipliers. (b) Fix every free with : add to . (c) Discard every free whose indicator vector lies in the span of the rows of . (d) If , return the unique solution of .
Lemma 1.
Algorithm 1 returns the prenucleolus after at most stages.
Proof.
The duals of the constraints sum to one (this is the dual constraint of ), so some and at least one coalition is fixed per stage. By complementary slackness, a coalition with a positive dual in some optimal dual solution is tight at every optimal primal solution. Adding its equality therefore leaves the optimal face of stage unchanged. A coalition whose indicator lies in the span of has constant excess on the current face and can no longer affect the lexicographic order. Every fixed coalition is therefore linearly independent of , the rank grows by at least one per stage, and the procedure stops after at most stages. The remaining argument is the standard proof of the sequential-LP characterisation of the (pre)nucleolus (Maschler et al., 1979). ∎
Remark 1.
The fixing rule matters. Fixing every coalition that happens to be tight at the particular vertex returned by the solver can fix coalitions that are not tight on the whole optimal face, and the output is then not the nucleolus. Take the five-player game with unit dividends on the pairs , and the four-player game with unit dividends on and . On these games such a rule can return and , whereas Algorithm 1 returns the correct and . Both games are 2-additive, and the correct outputs coincide with the Shapley value, as Theorem 1(ii) requires.
The rule in step 2(b) is one of several correct ones. A coalition can equivalently be fixed when its payoff is constant on the whole optimal face, which is checked with two auxiliary LPs (its minimum and maximum over the face) (Kopelowitz, 1967), or with the linear-algebraic test of Potters et al. (1996). The replication code includes an independent implementation of the two-LP rule as a regression test. On the two games above, on 30 random games with three to five players and signed dividends up to order three, and on 30 random 2-additive games, the two implementations agree. The output can also be checked against the balancedness criterion of Benedek et al. (2021).
Remark 2.
Sparsity of the dividend representation does not reduce the number of coalition constraints in the LPs of Algorithm 1; it only lowers the cost of evaluating their right-hand sides, to per coalition. What non-negative sparse dividends buy is convexity, and with it the oracle of Section 6.2.
6.2 Convex games: closed-form bands and minimum-cut certificates
Suppose the game is given by a sparse family of non-zero dividends, all non-negative for (a convex game). Then the bands follow from (1) at cost . It remains to decide whether a proposed allocation (a SHAP, LIME or analyst-supplied explanation) is stable, that is, whether .
Proposition 3 (Minimum-cut certificate).
Let with for . Then equals the optimal value of a maximum-closure problem and can be computed with one minimum - cut in a network with nodes. The cut also returns a coalition attaining the maximum.
Proof.
Selecting a hyperedge (with ) earns and requires selecting all its members. Selecting player earns , of either sign. The total earning of a closed selection is exactly . This is the selection problem of Rhys (1970) and Balinski (1970), which reduces to a minimum cut (Picard, 1976): connect the source to each item with positive earning (capacity equal to the earning), each item with negative earning to the sink, and each hyperedge to its members with infinite capacity. The maximum equals the sum of positive earnings minus the minimum cut, and the source side of the cut is an optimal . ∎
Since the core equals the bargaining set in a convex game, a non-positive cut value certifies that admits no justified objection. A positive value exhibits the objecting coalition. The same oracle separates the core constraints, so core LPs can be solved by cutting planes without enumerating coalitions; and since the minimum-excess problem is polynomial, the nucleolus of such games is polynomial (Faigle et al., 2001).
6.3 General games: exact enumeration and an objection test
For general games (non-convex, or not -additive) we compute on all coalitions when is moderate, as in our 15-feature application, and use Algorithm 1, LPs for the bands, and one LP for . To test whether a given lies in we search for a justified objection directly. For a pair and a coalition with , , a counter-objection through exists iff . Hence an objection through is justified iff the LP
has , in which case its solution is an explicit justified objection. The test needs such LPs, which is practical for . For larger we rely on Proposition 1(c): the prenucleolus is always in , so no test is needed for it.
6.4 Sparse -additive surrogates
When evaluations of are too expensive, we fit a -additive surrogate by LASSO regression of on the indicators over a random sample of coalitions. Its fidelity should be judged at two levels: the held-out of , and, more importantly, the distance between the solution computed on and the solution of . Theorem 1 predicts that a 2-additive surrogate can match the Shapley value of but not its nucleolus whenever has substantial higher-order dividends.
One might also constrain the surrogate’s dividends of order to be non-negative, so that is convex and the certificates of Section 6.2 apply. Those certificates then concern , not , and Section 8 shows that the cost can be severe. Making the coefficients non-negative by adding a constant to all of them is not an alternative. Unlike adding an additive vector, it is not a strategic equivalence: it adds that constant times the number of active simplices contained in to each , which changes the game, its core and its nucleolus.
Table 1: Computational profile ( features, non-zero dividends).
| Task | Convex game, sparse dividends | General game |
|---|---|---|
| Shapley value | (Möbius transform) | |
| Stability bands | closed form (1), | LPs with rows |
| Certify (core; bargaining set) | one min cut on nodes | core: ; : LPs |
| Prenucleolus | polynomial (separation oracle) | at most LPs with rows |
7 Illustrations
7.1 A hedonic price model for mobile phones
The data contain mobile phones with their price in Indian rupees and seven characteristics: customer rating, RAM, internal storage (ROM), screen size, primary and front camera resolution, and battery capacity (Kaggle; https://bit.ly/4kCyJ3O). We estimate a hedonic regression of log price on the standardised characteristics by LASSO with five-fold cross-validated penalty (; in-sample , cross-validated ). RAM and screen size are excluded by the penalty and are therefore null players.
By Proposition 2 the explained-variance game is exactly 2-additive, and no surrogate is needed. The dividends computed from the coefficients and the sample covariance agree with a direct evaluation of on all coalitions up to . All pairwise dividends are non-negative. Both camera coefficients are negative, and both cameras are negatively correlated with ratings, storage and battery, whose coefficients are positive, so every pair of contributions , co-moves positively. The game is therefore convex. The largest interactions are Ratings–ROM ( of the prediction variance), Ratings–Battery () and ROM–Battery ().
Table 2: Mobile prices: shares of the variance of predicted log price. The nucleolus equals the Shapley value of (Corollary 1); the core band of feature is and coincides with the bargaining-set band. SHAP and LIME columns are mean absolute attributions rescaled to sum to one.
| Feature | Nucleolus | Core = bargaining-set band | SHAP | LIME | ||
|---|---|---|---|---|---|---|
| Ratings | 0.706 | 0.300 | 0.466 | [0.300, 0.633] | 0.425 | 0.382 |
| ROM | 0.516 | 0.160 | 0.300 | [0.160, 0.439] | 0.259 | 0.280 |
| Battery power | 0.314 | 0.059 | 0.163 | [0.059, 0.267] | 0.172 | 0.170 |
| Primary camera | 0.045 | 0.067 | [0.045, 0.089] | 0.126 | 0.148 | |
| Front camera | 0.001 | 0.004 | [0.001, 0.007] | 0.019 | 0.019 | |
| Screen size | 0 | 0 | 0 | [0, 0] | 0 | 0 |
| RAM | 0 | 0 | 0 | [0, 0] | 0 | 0 |
Table 2 and Figure 1 report the results. The bands computed from (1), by LPs on all coalitions, and by cutting planes with the minimum-cut oracle (27 cuts) coincide up to . The nucleolus sits exactly at the centre of every band, as Theorem 1(iv) requires, and an exact search with (2) finds no justified objection against it.
Two features of the bands are informative. First, they are wide for the three complementary characteristics: Ratings can be credited with anything between and of the prediction variance without giving any coalition a complaint, because the share it holds jointly with ROM and Battery can be allocated in many stable ways. Second, the band of the primary camera, , is narrow, and the conventional explanation lies outside it. Mean-SHAP assigns the camera and mean-LIME assigns it ; in exchange, both under-credit the complementary block {Ratings, ROM, Battery}. The minimum-cut certificate shows that the SHAP allocation leaves a coalition with excess of the prediction variance, and the LP (2) returns an explicit justified objection of Ratings against the primary camera through {Ratings, ROM, Battery}. The LIME allocation has maximum excess and a justified objection through the same coalition. In this precise sense, the usual global SHAP and LIME explanations of this model are not stable, while the nucleolus and every point in the bands are.

Figure 1: Mobile prices: core (= bargaining-set) bands, nucleolus (equal here to the Shapley value of ) and mean-SHAP shares. The SHAP share of the primary camera lies outside its band.
7.2 A gradient-boosting forecaster of retail orders
The second application uses the US Regional Sales data (Kaggle; orders, 2018–2020). The target is the order quantity and there are 15 features: sales team, customer, store and product identifiers; discount, unit cost, unit price and margin; sales channel and warehouse; month and day of week of the order; and three lead times (order to shipment, order to delivery, procurement to order). A gradient-boosting regressor (300 trees of depth 4) is trained on the first of orders in time and evaluated on the remaining . We stress at the outset that the forecaster has no out-of-sample skill (training , test ): order quantities in these data are essentially unpredictable from the available features. The attributions below therefore describe how the fitted model distributes the variance of its forecasts, not the data-generating process. The model is a useful test case because it is a genuinely non-additive function of 15 inputs, but its explanations should not be read as economic findings about order behaviour.
Because coalitions are few enough to evaluate, we compute the exact game on test-period orders, with the training mean as baseline. On a standard laptop-class machine this takes under a minute; the prenucleolus then takes about three seconds and the bands about six. Figure 3(a) summarises the Harsanyi dividends by order. The game is far from 2-additive: first-order dividends add up to and second-order ones to times , and the absolute mass of order 3, 4 and 5 interactions (, and ) is as large as that of the pairs (). A quarter () of the dividends of order two or more are negative, the game is not convex, and its core is empty: , so every allocation leaves some coalition at least of short. A natural source of substitution is that unit price, unit cost and margin are linearly dependent, so the model can route the same information through any two of them.
Table 3: Retail forecaster: shares of the variance of the forecasts (exact game). Bands are least-core intervals (). TreeSHAP column: mean absolute TreeSHAP values rescaled to sum to one.
| Feature | Nucleolus | Least-core band | Shapley value of | TreeSHAP |
|---|---|---|---|---|
| Unit cost | [, ] | 0.113 | ||
| Store ID | [, ] | 0.105 | ||
| Margin | [, ] | 0.096 | ||
| Unit price | [, ] | 0.089 | ||
| Procure-to-order | [, ] | 0.105 | ||
| Customer ID | [, ] | 0.075 | ||
| Product ID | [, ] | 0.069 | ||
| Discount | [, ] | 0.029 | ||
| Order day of week | [, ] | 0.041 | ||
| Ship lead time | [, ] | 0.059 | ||
| Sales team ID | [, ] | 0.055 | ||
| Delivery lead time | [, ] | 0.056 | ||
| Order month | [, ] | 0.071 | ||
| Warehouse | [, ] | 0.022 | ||
| Sales channel | [, ] | 0.017 |
Table 3 and Figure 2 show the results. Here the nucleolus and the Shapley value of the same game differ substantially (maximum difference ; Spearman correlation ), as they may outside the 2-additive class. The difference is concentrated in the price block. The nucleolus credits unit cost and unit price with more variance than the Shapley value does, and gives margin a clearly negative share ( against ). In other words, the stable allocation treats margin as a substitute whose variation offsets that of cost and price. The Shapley value lies outside the least-core bands for six of the fifteen features. Its worst coalition is short by of , and coalitions have excess above . Rescaled TreeSHAP shares are flatter still (maximum excess ; coalitions above ). The worst-treated coalition is the same for all three allocations: {store, product, discount, unit cost, channel}. Because the core is empty, no allocation is in the core. The nucleolus is the allocation that minimises the worst complaint, and by Proposition 1(c) it is certified to belong to the prebargaining set.

Figure 2: Retail forecaster: least-core bands, nucleolus, Shapley value of the explained-variance game, and mean-TreeSHAP shares.
8 Validation
8.1 Faithfulness and complexity
We measure deletion faithfulness with an AOPC-type score (Samek et al., 2017): features are set to the baseline in decreasing order of absolute attribution, and we average the absolute change of the model’s prediction over all deletion steps and 150 instances. Complexity is measured, following Calzarossa et al. (2025), by the Gini coefficient of absolute attributions and by the number of features needed for of the attributed mass.
Table 4: Faithfulness (AOPC; higher is better) and complexity (Gini; number of features for of the mass). Random order: mean of 20 random deletion orders.
| Data | Method | AOPC | Gini | |
|---|---|---|---|---|
| Mobile (log price) | Nucleolus ( Shapley of ) | 0.980 | 0.616 | 3 |
| SHAP (mean ) | 0.980 | 0.556 | 3 | |
| LIME (mean ) | 0.980 | 0.531 | 3 | |
| Random order | 0.666 | — | — | |
| Retail (orders) | Nucleolus | 0.412 | 0.587 | 6 |
| Shapley value of | 0.380 | 0.581 | 6 | |
| TreeSHAP (mean ) | 0.390 | 0.257 | 10 | |
| Random order | 0.325 | — | — |
In the mobile model all three methods rank the features identically, so their deletion curves coincide. They differ in concentration: the variance shares are the most concentrated. In the retail forecaster the nucleolus ordering is the most faithful of the three, and it is markedly more concentrated than TreeSHAP. Deletion faithfulness, however, only reflects the ranking. The differences highlighted in Section 7 (bands, objections, negative shares) concern magnitudes and are invisible to this test.
8.2 Robustness under resampling
Following Calzarossa et al. (2025), we re-estimate the mobile model and recompute its attributions on 50 bootstrap samples. Measured by normalised absolute shares, two of the seven features have a 5th percentile above the uninformative for both the nucleolus and mean-SHAP. The mean 5–95% spread is for the nucleolus and for SHAP, and the mean Kendall correlation between the bootstrap and full-sample nucleolus rankings is . On average, of bootstrap nucleolus shares fall inside the full-sample bands. The core is exactly non-empty in of replicates. In the others, the penalty occasionally admits RAM or screen size with tiny coefficients of the "wrong" sign, which produces small negative interactions: the median across replicates is and the maximum . Convexity, and therefore the closed-form bands, is thus robust in practice, while its exact validity should be checked in each application.
8.3 Surrogate fidelity at the level of solutions
The exact retail game lets us evaluate the sparse surrogates of Section 6.4 against the truth. We fit 2- and 3-additive LASSO surrogates on random coalitions and evaluate them on the remaining (Figure 3).
Table 5: Retail forecaster: sparse -additive surrogates fitted on 2,000 coalitions. on the 30,766 held-out coalitions; error of the surrogate nucleolus relative to the exact one.
| Order | Active dividends | Held-out | Spearman | Top-5 overlap | |
|---|---|---|---|---|---|
| 2 | 23 | 0.865 | 0.169 | 0.914 | 3/5 |
| 2 | 51 | 0.893 | 0.178 | 0.914 | 3/5 |
| 2 | 119 | 0.898 | 0.184 | 0.914 | 4/5 |
| 3 | 68 | 0.973 | 0.128 | 0.882 | 4/5 |
| 3 | 142 | 0.991 | 0.074 | 0.950 | 5/5 |
| 3 | 239 | 0.996 | 0.038 | 0.971 | 5/5 |
| 3 | 498 | 0.997 | 0.018 | 0.989 | 5/5 |
The pairwise surrogates illustrate Theorem 1 at work. Their fit to is respectable (), but their nucleolus is their Shapley value, so it cannot track the exact nucleolus, and adding pairwise terms does not help (the error stays at –). Third-order surrogates recover the exact nucleolus to within with 239 active dividends and with 498. Game-level fidelity is therefore a poor guide to solution-level fidelity, and whenever stability concepts are the object of interest the surrogate’s interaction order must be chosen with that in mind.

Figure 3: Retail forecaster: (a) Harsanyi dividends of the exact game by interaction order (signed and absolute mass, as shares of ); (b) held-out fidelity of sparse surrogates; (c) error of the surrogate nucleolus.
8.4 Forcing convexity on the surrogate
A tempting shortcut is to fit the surrogate with non-negative interaction dividends. The surrogate game is then convex, its core is non-empty, and every reported allocation can be certified with one minimum cut (Proposition 3). We tested this on the exact retail game, using the same 2,000 training coalitions, interaction orders 2 and 3, and penalties .
The result is the same in all four cases. The constraint removes every interaction term, so the fitted surrogate is additive: only the 15 singleton dividends remain, and this persists without any penalty (). Its held-out falls to , against – for the unconstrained surrogates of Table 5. An additive game has a one-point core equal to its nucleolus, so the minimum-cut certificate is satisfied (maximum excess ) and the allocation is reported as stable. In the true game, however, that allocation leaves a coalition short by – of , above the least-core value , and 36 to 43 coalitions exceed . Its distance to the exact nucleolus is . The certificate is therefore exact for the surrogate and uninformative about the model. Where non-negativity holds in the true game, as in the linear mobile model, the closed-form bands and certificates are valid without constraining anything; where it does not, the honest report is the least-core band of the actual game.
8.5 A group-comparison diagnostic
Chen et al. (2024) assess fairness by comparing attributions across groups. To illustrate the mechanism, we form for each test-period order the score , where is the nucleolus normalised by and the standardised feature, and we compare its distribution across the four sales channels with pairwise Kolmogorov–Smirnov tests. None of the six comparisons is significant at (largest statistic , Distributor vs. In-Store, ). Sales channel is not a protected attribute, and this exercise only shows how stability-based attributions plug into such diagnostics. A substantive audit requires a genuine protected attribute and a model with predictive skill.
9 Discussion
What stability adds.
For linear models, and for any explanation built on a pairwise surrogate, the nucleolus coincides with the Shapley value of the game being explained (Theorem 1). In that class the distinctive contribution of stability concepts is not a different point but (i) the bands, which quantify how much of each feature’s credit is determined by the data and how much is a matter of how jointly produced variance is split, and (ii) certificates, which reveal that common global explanations, such as rescaled mean-SHAP or LIME shares, can be contested by an identifiable coalition. When the model has higher-order interactions, as in the retail forecaster, the nucleolus becomes a genuinely different point, and the bands can exclude the Shapley value.
Choice of game.
All results are conditional on the game. We use an interventional baseline and the variance of predictions. Other choices, such as conditional expectations (Sundararajan and Najmi, 2020), loss-based worths (Covert et al., 2020) or local games around a single prediction, yield different games, to which the same machinery applies. Negative shares and empty cores are features of the explained-variance game under substitution, not artefacts of the algorithms.
Limitations.
Exact computation requires evaluating on all coalitions, which is feasible up to roughly 20 features. Beyond that we rely on sparse surrogates, whose order must be validated at the solution level, as in Table 5. The exact objection test is exponential and is practical only for small ; for larger games we certify the nucleolus through Proposition 1(c). Finally, explanations of a model with no predictive skill, like our retail forecaster, explain the model and nothing more.
Other uses.
The same construction applies when the players are training observations rather than features (data valuation), and to groups of features, for example a variable together with all its lags in a time-series forecaster. Grouping reduces and keeps explanations economically interpretable.
10 Conclusion
We have proposed to report feature attributions as stability bands, with the nucleolus as a distinguished point, for an explained-variance game whose worths are shares of the variance of a model’s predictions. For linear models this game is exactly 2-additive and its interactions are generated by multicollinearity. For every 2-additive game the prenucleolus is the Shapley value, the core is symmetric around it, and core emptiness is a cut condition on the interaction graph. For convex games the bands are explicit and any proposed explanation can be certified with a single minimum cut. The two applications show both sides of these results. In a convex linear model the Shapley decomposition is the stable centre, while common global SHAP and LIME explanations admit justified objections. In a non-additive forecaster, the stable explanation differs from the Shapley value, and pairwise surrogates cannot recover it. Natural extensions are local and loss-based games, grouped players for time-series models, adaptive choice of the surrogate’s order, and fairness diagnostics with genuine protected attributes.
Code and data availability. Both datasets are publicly available on Kaggle (https://bit.ly/4kCyJ3O; https://www.kaggle.com/datasets/talhabu/us-regional-sales-data). The code reproducing every number, table and figure (code/cgt_analysis.py, code/cgt_solvers.py) accompanies the paper, together with regression tests (code/tests/test_reviewer_examples.py).
Conflict of interest. The authors declare no conflict of interest.
Funding. This project was supported by PGI-UNS 24E172.
CRediT author statement. Fernando Delbianco: Conceptualization, Investigation, Software, Funding acquisition, Methodology, Writing – original draft. Fernando Tohmé: Investigation, Formal analysis, Funding acquisition, Writing – original draft.
References
R. J. Aumann and M. Maschler The bargaining set for cooperative games. Advances in Game Theory 52, pp. 443–476. Cited by: §1, Definition 2.
M. L. Balinski On a selection problem. Management Science 17 (3), pp. 230–231. Cited by: §2, §6.2.
M. Benedek, P. Biró, M. Johnson, D. Paulusma, and X. Ye The complexity of matching games: a survey. Journal of Artificial Intelligence Research 77, pp. 459–485. Cited by: §2.
M. Benedek, J. Fliege, and T. Nguyen Finding and verifying the nucleolus of cooperative games. Mathematical Programming 190 (1–2), pp. 135–170. Cited by: §2, Remark 1.
M. C. Calzarossa, P. Giudici, and Y. Zhang An assessment framework for explainable ai with applications to cybersecurity. Artificial Intelligence Review 58, pp. 310. External Links: Document Cited by: §2, §8.1, §8.2.
Y. Chen, P. Giudici, K. Liu, and E. Raffinetti Measuring fairness in credit ratings. Expert Systems with Applications 258, pp. 125184. External Links: Document Cited by: §2, §8.5.
I. Covert, S. M. Lundberg, and S. Lee Understanding global feature contributions with additive importance measures. In Advances in Neural Information Processing Systems, Vol. 33, pp. 17212–17223. Cited by: §2, §4, §9.
M. Davis and M. Maschler The kernel of a cooperative game. Naval Research Logistics Quarterly 12 (3), pp. 223–259. Cited by: §1, item (c), Definition 2.
X. Deng and C. H. Papadimitriou On the complexity of cooperative solution concepts. Mathematics of Operations Research 19 (2), pp. 257–266. Cited by: §2, §5.
E. Elkind, L. A. Goldberg, P. W. Goldberg, and M. Wooldridge On the computational complexity of weighted voting games. Annals of Mathematics and Artificial Intelligence 56, pp. 109–131. Cited by: §2.
U. Faigle, W. Kern, and J. Kuipers On the computation of the nucleolus of a cooperative game. International Journal of Game Theory 30 (1), pp. 79–98. Cited by: §2, §6.2.
M. Grabisch -Order additive discrete fuzzy measures and their representation. Fuzzy Sets and Systems 92 (2), pp. 167–189. Cited by: §2, Definition 3.
U. Grömping Estimators of relative importance in linear regression based on variance decomposition. The American Statistician 61 (2), pp. 139–147. Cited by: §2, §4.
J. C. Harsanyi A simplified bargaining model for the -person cooperative game. International Economic Review 4 (2), pp. 194–220. Cited by: Definition 3.
T. Ichiishi Super-modularity: applications to convex games and the greedy algorithm for LP. Journal of Economic Theory 25 (2), pp. 283–286. Cited by: §2, item (d).
W. Kern and D. Paulusma Matching games: the least core and the nucleolus. Mathematics of Operations Research 28 (2), pp. 294–308. Cited by: §2, §5.
E. Kohlberg On the nucleolus of a characteristic function game. SIAM Journal on Applied Mathematics 20 (1), pp. 62–66. Cited by: item (b).
J. Könemann, K. Pashkovich, and J. Toth Computing the nucleolus of weighted cooperative matching games in polynomial time. Mathematical Programming 183, pp. 555–581. Cited by: §2, §5.
A. Kopelowitz Computation of the kernels of simple games and the nucleolus of -person games. Research Memorandum Technical Report 31, Department of Mathematics, The Hebrew University of Jerusalem. Cited by: §2, Remark 1.
I. E. Kumar, S. Venkatasubramanian, C. Scheidegger, and S. Friedler Problems with shapley-value-based explanations as feature importance measures. In International conference on machine learning, pp. 5491–5500. Cited by: §2.
S. M. Lundberg, G. Erion, H. Chen, A. DeGrave, J. M. Prutkin, B. Nair, R. Katz, J. Himmelfarb, N. Bansal, and S. Lee From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence 2 (1), pp. 56–67. Cited by: §2.
S. M. Lundberg and S. Lee A unified approach to interpreting model predictions. Advances in neural information processing systems 30. Cited by: §1, §2.
G. Maggiorano, A. Sosso, and G. Stauffer A strongly polynomial-time combinatorial algorithm for the nucleolus in convex games. Note: arXiv preprint arXiv:2509.02380 Cited by: §2.
M. Maschler, B. Peleg, and L. S. Shapley The kernel and bargaining set for convex games. International Journal of Game Theory 1 (1), pp. 73–93. Cited by: §2, item (d).
M. Maschler, B. Peleg, and L. S. Shapley Geometric properties of the kernel, nucleolus, and related solution concepts. Mathematics of Operations Research 4 (4), pp. 303–338. Cited by: §2, §6.1, §6.1.
H. I. Meinhardt Polynomial-time algorithms for computing the nucleolus: an assessment. Note: arXiv preprint arXiv:2511.16517 Cited by: §2.
S. Mullainathan and J. Spiess Machine learning: an applied econometric approach. Journal of Economic Perspectives 31 (2), pp. 87–106. Cited by: §1.
A. B. Owen Sobol’ indices and Shapley value. SIAM/ASA Journal on Uncertainty Quantification 2 (1), pp. 245–251. Cited by: §2, §4.
B. Peleg and P. Sudhölter Introduction to the theory of cooperative games. 2nd edition, Springer, Berlin. Cited by: item (b), item (c), Definition 1, Definition 2.
J. Picard Maximal closure of a graph and applications to combinatorial problems. Management Science 22 (11), pp. 1268–1272. Cited by: §2, §6.2.
J. A. M. Potters, J. H. Reijnierse, and M. Ansing Computing the nucleolus by solving a prolonged simplex algorithm. Mathematics of Operations Research 21 (3), pp. 757–768. Cited by: §2, Remark 1.
J. M. W. Rhys A selection problem of shared fixed costs and network flows. Management Science 17 (3), pp. 200–207. Cited by: §2, §6.2.
W. Samek, A. Binder, G. Montavon, S. Lapuschkin, and K. Müller Evaluating the visualization of what a deep neural network has learned. IEEE Transactions on Neural Networks and Learning Systems 28 (11), pp. 2660–2673. Cited by: §2, §8.1.
D. Schmeidler The nucleolus of a characteristic function game. SIAM Journal on applied mathematics 17 (6), pp. 1163–1170. Cited by: §1, Definition 1.
L. S. Shapley A value for n-person games. Contributions to the Theory of Games 28, pp. 307–317. Cited by: §1.
L. S. Shapley Cores of convex games. International Journal of Game Theory 1 (1), pp. 11–26. Cited by: §2, item (d).
M. Sundararajan and A. Najmi The many Shapley values for model explanation. In Proceedings of the 37th International Conference on Machine Learning, PMLR, Vol. 119, pp. 9269–9278. Cited by: §2, §9.
T. Yan and A. D. Procaccia If you like shapley then you’ll love the core. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 35, pp. 5751–5759. Cited by: §1, §2.
B. Yu and K. Kumbier Veridical data science. Proceedings of the National Academy of Sciences 117 (8), pp. 3920–3929. External Links: Document Cited by: §1.