arXiv:2610.35827cs.CVOct 2026

Manuscript Offprint

arXiv:2610.35827

Seeing Through Distractions: Context-Stable Attribution via the Least Core

Sai Ganesh Nagarajan, Toshinori Yamauchi, Hiroshi Kera

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

Sai Ganesh Nagarajan 1^{1}

University of Southern Denmark

IMADA

sgnagarajan@imada.sdu.dk

Toshinori Yamauchi

Chiba University

Graduate School of Informatics

t.yamauchi@chiba-u.jp

Hiroshi Kera

Chiba University

National Institute of Informatics

kera@chiba-u.jp

Abstract. Shapley-value-based explanations are widely used for feature attribution in machine learning. However, in computer vision, a feature may reduce the target-class score when added to the complete genuine image, even when the predicted label remains unchanged. We formalize such features as contextual distractors and investigate their attributions under semivalues and the least core. Under a weak average marginal monotonicity assumption, we derive quantitative semivalue–least-core gap bounds and sufficient conditions based on the probability of sampling smaller contexts. We further show that shifting semivalue weights toward larger contexts decreases the signed gap. Finally, controlled image-classification experiments and evaluations on Salient ImageNet provide strong empirical support for our theoretical findings.

1 Introduction

A central goal in explainable AI is to understand why a classifier makes a particular decision. For a fixed input, this often amounts to identifying a subset of features that best accounts for the prediction. In image classification, for instance, one may seek a small subset of pixels, patches, or segments whose presence suffices to preserve the predicted label under masking. The size constraint is important: without it, the full image would often be a trivial but uninformative explanation. This problem becomes especially challenging in computer vision, where explanations must scale to high-dimensional inputs and, at the same time, remain meaningful.

Game-theoretic methods have proved useful in this setting because they provide principled ways to reason about feature importance. In particular, the Shapley value [Sha53] has become a standard attribution mechanism, due to its simplicity and its appealing axiomatic properties. However, two difficulties remain. The first, which is widely recognized, is computational: exact Shapley values require evaluating the characteristic function on all subsets of the N players. As a result, much of the literature has focused on approximation methods, especially sampling-based schemes [SK10, LL17, GZ19, AJL21, JSC+22], as well as more efficient computation under structural assumptions on the characteristic function [FWJ08, CGT09]. These guarantees have been further improved under assumptions such as submodularity [BS15, BSV17] and supermodularity [LNSWW12]. However, such assumptions are unlikely to hold in natural settings, especially in computer vision, so these positive guarantees generally do not extend to the regimes of interest.

While the computational challenge of Shapley values is well understood, a second and more conceptual issue that is less studied, is the effect of averaging-based attributions in the presence of spurious contextual cues. In particular, a group of features may appear beneficial on average, even though it is harmful precisely in the contexts that are most informative for the prediction. In computer vision, for example, background patches, textures, or correlated artifacts can bias the classifier toward a label without capturing the actual object of interest. Furthermore, the

1^{1}Corresponding author.

Dog

Cat

Bird

Figure

Figure 1: Controlled marker-bias setup. A red marker is added to all dog images and a subset of cat images, while bird images remain unmarked. This creates a dog-associated cue that may act as a contextual distractor for cat predictions. In Section 4, we observe that while Shapley by nature, averages contributions across contexts, the least core incorporates stability constraints that account for the marker's effect on the complete genuine image and the predicted label.

characteristic function that is induced from such effects is unlikely to satisfy regularities such as submodularity/supermodularity. See Figure 1 for an illustration of this effect.

This phenomenon is closely related to several well-known shortcut examples in computer vision. In [RSG16], background snow can spuriously drive a wolf-vs-husky classifier. In [BVHP18], animal classifiers are shown to rely on contextual cues such as water rather than the animal itself. The Waterbirds benchmark in [LHC +^{+}21] makes this explicit by contrasting waterbird/landbird identity with background, so that background can dominate the prediction. Similarly, [SMG +^{+}20] documents situations in which a correlated context, such as the presence of a person together with a skateboard, can dominate the classifier's reasoning. In [LWB +^{+}19], explanation maps reveal that models sometimes rely on artifacts such as source tags rather than the object. These examples suggest that a feature group can look useful on average, yet still be harmful in the important contexts one actually cares about. This is precisely the type of behavior that Shapley values may overlook through contextual averaging. This perspective motivates moving beyond purely averaging-based attributions toward stability-based notions such as the least-core [MPS79], which focus on the coalitions that matter most rather than averaging over all contexts, which is precisely the direction we pursue in this work.

Our Contributions. Our main contributions are as follows.

  1. In Section 3.1, we formalize the shortcut phenomenon through contextual distractors, feature groups that reduce the target-class score when added to the complete genuine image, even when the predicted label remains unchanged.

  2. We establish conditions under which the least core captures this harmful effect and derive quantitative semivalue-least-core gap bounds under a weak average marginal monotonicity assumption. We further characterize how the gap changes as semivalues place greater weight on larger contexts.

  3. Through controlled image-classification experiments and evaluations on Salient ImageNet [SF22], we compare contextual-distractor attributions across methods. We find that Shapley and other attribution methods often assign greater importance to distractors than the least core, even when the genuine image content is sufficient for correct classification.

An earlier workshop version of this work appeared at the ICML 2026 NExT-Game Workshop [NYK26]. The present paper substantially extends that preliminary version by developing a general semivalue-least-core theory, deriving new gap conditions and weight-shifting results under weaker assumptions, and adding further experiments and evaluations, including on Salient ImageNet.

Related Work. Our work is related to three strands of literature. First, Shapley-value-based explanations and, more broadly, semivalue methods such as Data Shapley, Beta Shapley, Data Banzhaf, and weighted Banzhaf have become standard tools for attribution in machine learning, including in computer vision through Shapley estimators tailored to vision transformers [LL17, SN20, KZ22, WJ23, CKL23]. Unlike this line of work, which remains averaging-based, we compare semivalue methods against a stable attribution method, which is the least-core.

Second, a growing literature studies limitations of Shapley-style explanations, including their dependence on the choice of value function, baseline values, occlusion strategy, or feature distribution, and the possibility of misleading feature-importance scores [SN20, JMB20, AJL21, HMS24, RZCZ23, BVS22, BVS24]. Our work complements these critiques by identifying a specific mechanism behind such failures in vision-like settings, namely the presence of contextual distractors.

Third, our work is related to the literature on shortcut learning, spurious correlations, and explanation-based bias detection in classifiers [AMAK22]. This work documents that models can rely on spurious cues and studies whether post hoc explanations can reveal such behavior. Our contribution is about formalizing this phenomenon through coalitional games and the notion of a contextual distractor. Furthermore, we show both theoretically and empirically when stability-based explanations can differ sharply from averaging-based ones.

Recent work has also modified Shapley-style attribution considering interactions [ZXZ+21,CLC25,SKK24,BVS22][ZXZ^{+}21, CLC25, SKK24, BVS22], but these approaches remain within the averaging paradigm are modified Shapley values, whereas our focus is on the least-core as an alternative principle.

Finally, with respect to the least core as a viable alternative to Shapley-style explanations, works such as [YP21, GLM +^{+}24] have developed computational methods for approximating it in large games. In the setting of contextual-distractor games, Kera et al. [KYN26] study the complementary problem of how least-core attributions can be computed and selected in practice. More recently, Li et al. [LLYL26] study attribution methods beyond Shapley, including the egalitarian least core, which selects the minimum- ℓ2\ell_{2}-norm allocation from the least-core set, and evaluate how well such methods identify important features.

Our contribution addresses a different question. We study when context-dependent feature effects create a systematic separation between Shapley/semivalue and least-core explanations in a broad non-convex regime. In particular, our theoretical guarantees apply to every allocation in the least-core set, rather than to a specific least-core selector.

References (73)