Regional Explanations via Causal Sufficiency and Necessity

arXiv cs.LG Papers

Summary

This paper proposes Causal Sufficient and Necessary Regional Explanations (SNRE), a framework that uses causal inference to learn input and output regions where membership is both sufficient and necessary for model predictions, improving explainability.

arXiv:2609.18049v1 Announce Type: new Abstract: Model explainability is essential for understanding and trusting machine learning models. Existing explainable AI methods often explain predictions through feature importance, counterfactual explanations, or rules. However, a region-level characterization of when and only when a prediction behavior arises remains less explored. This paper proposes Causal Sufficient and Necessary Regional Explanations (SNRE), a framework that learns an input region $A$ and output region $B$ such that membership in $A$ is both sufficient and necessary for the model output to fall in $B$. Motivated by the classical Probability of Necessity and Sufficiency (PNS), we formulate a region-level PNS measure through stochastic interventions and derive a differentiable finite-sample estimator for optimization. SNRE parameterizes the input-output region pair with explicit and interpretable algebraic region families, together with a learnable feature mask, balancing expressiveness and interpretability. Experiments demonstrate that SNRE learns region pairs with strong sufficiency-necessity performance, robust explanation behavior, and practical utility for model analysis.
Original Article
View Cached Full Text

Cached at: 09/17/26, 09:11 AM

# Regional Explanations viaCausal Sufficiency and Necessity
Source: [https://arxiv.org/html/2609.18049](https://arxiv.org/html/2609.18049)
Peng LiangZijian LiZhiyong LinRuichu Cai⋆††thanks:\(Corresponding author: Ruichu Cai\.\)††thanks:Xuexin Chen is with the School of Artificial Intelligence, Guangdong Polytechnic Normal University, Guangzhou 510665, China\. E\-mail: im\.chenxuexin@gmail\.com Peng Liang is with the School of Artificial Intelligence, Guangdong Polytechnic Normal University, Guangzhou 510665, China\. E\-mail: liangpeng@gpnu\.edu\.cn Zijian Li is with the Mohamed bin Zayed University of Artificial Intelligence, Masdar City, Abu Dhabi, United Arab Emirates\. E\-mail: leizigin@gmail\.com Zhiyong Lin is with the School of Artificial Intelligence, Guangdong Polytechnic Normal University, Guangzhou 510665, China\. E\-mail: zylin@gpnu\.edu\.cn Ruichu Cai is with the School of Computer Science and Technology, Guangdong University of Technology, Guangzhou 510006, China\. E\-mail: cairuichu@gmail\.com

###### Abstract

Model explainability is essential for understanding and trusting machine learning models\. Existing explainable AI methods often explain predictions through feature importance, counterfactual explanations, or rules\. However, a region\-level characterization of when and only when a prediction behavior arises remains less explored\. This paper proposes Causal Sufficient and Necessary Regional Explanations \(SNRE\), a framework that learns an input regionAAand output regionBBsuch that membership inAAis both sufficient and necessary for the model output to fall inBB\. Motivated by the classical Probability of Necessity and Sufficiency \(PNS\), we formulate a region\-level PNS measure through stochastic interventions and derive a differentiable finite\-sample estimator for optimization\. SNRE parameterizes the input\-output region pair with explicit and interpretable algebraic region families, together with a learnable feature mask, balancing expressiveness and interpretability\. Experiments demonstrate that SNRE learns region pairs with strong sufficiency\-necessity performance, robust explanation behavior, and practical utility for model analysis\.

Keywords:Causal inference, causal explanation, model explainability, probability of necessity and sufficiency, stochastic intervention\.

## IIntroduction

![Refer to caption](https://arxiv.org/html/2609.18049v1/intro-crop.png)Fig\. 1:Conceptual comparison between conventional rule/region explanations and SNRE \(Sufficient and Necessary Regional Explanations\)\. Conventional rule/region explanations identify an input\-side regionAAassociated with a target prediction, yet samples outsideAAmay yield the same output\. SNRE learns an input\-output region pair\(A,B\)\(A,B\)by contrasting in\-region and out\-of\-region interventions, capturing bothA→BA\\to BandA¯→B¯\\bar\{A\}\\to\\bar\{B\}\.Deep neural networks \(DNNs\) have achieved remarkable success across a wide range of domains, yet their highly non\-linear and complex architectures make it difficult to understand why specific predictions are made\. This lack of transparency has motivated the rapid development of Explainable AI \(XAI\)\[[1](https://arxiv.org/html/2609.18049#bib.bib10),[2](https://arxiv.org/html/2609.18049#bib.bib9),[3](https://arxiv.org/html/2609.18049#bib.bib6)\], which seeks to make model behavior and predictions interpretable to human users\[[4](https://arxiv.org/html/2609.18049#bib.bib21),[5](https://arxiv.org/html/2609.18049#bib.bib22),[6](https://arxiv.org/html/2609.18049#bib.bib5)\]\. Broadly, the XAI literature explains model behavior from multiple perspectives, including which input factors contribute to a prediction\[[7](https://arxiv.org/html/2609.18049#bib.bib19),[8](https://arxiv.org/html/2609.18049#bib.bib20)\], how the prediction can be changed by minimally modifying a given input\[[9](https://arxiv.org/html/2609.18049#bib.bib18)\], and what interpretable rules are associated with a target prediction behavior\[[10](https://arxiv.org/html/2609.18049#bib.bib17)\]\.

Beyond these established efforts, a fundamental but largely unexplored question in XAI is: can we identify an input\-output region pair that exhibits a rigorous causal relationship? As illustrated in Fig\.[1](https://arxiv.org/html/2609.18049#S1.F1), rule\-based explanations\[[11](https://arxiv.org/html/2609.18049#bib.bib16),[12](https://arxiv.org/html/2609.18049#bib.bib15)\]are the closest existing form to such a regional view, since a rule antecedent naturally defines an input\-side condition\. However, such regions typically specify where a target prediction may hold, but not where the same prediction becomes unlikely\. This leaves the sufficiency\-necessity structure of the prediction behavior unexplained\. Formally, given a trained modelff, we seek to discover a regionAAin the input space and a target regionBBin the output space: intervening to place the input withinAAinduces outputs inBB, while forcing the input outsideAAprevents outputs from falling inBB\. Such sufficient\-and\-necessary region pairs reveal when and only when a prediction behavior arises, and capture stable bidirectional regularities in the model’s input\-output mapping\. Such a region\-level structure provides a principled basis for downstream model analysis, such as examining changes in learned prediction regions after fine\-tuning and guiding informative data selection\.

To formalize such region\-level causal relationships, the classical measure of causal sufficiency and necessity in causal inference, the*Probability of Necessity and Sufficiency*\(PNS\)\[[13](https://arxiv.org/html/2609.18049#bib.bib43)\], provides a natural theoretical foundation\. However, extending this perspective to explanations in the form of continuous regions for DNNs face two fundamental challenges\. First, classical PNS is defined for binary causes and outcomes, while regional explanations concern events𝐗\\mathbf\{X\}∈\\inAAandf⁡\(𝐗\)f\(\\mathbf\{X\}\)∈\\inBB\. This raises a basic question: how to define and estimate sufficiency\-necessity strength for continuous input\-output regions\. Existing PNS\-based XAI methods\[[14](https://arxiv.org/html/2609.18049#bib.bib27),[15](https://arxiv.org/html/2609.18049#bib.bib26)\]largely bypass this difficulty by evaluating selected features or masks, without directly learning continuous causal regions in both input and output spaces\. Second, how to design an expressive but interpretable boundary representation for non\-linear input/output region that reduces the geometric complexity while preserving the attractive coverage property of necessity and sufficiency\.

We propose*Sufficient and Necessary Regional Explanations*\(SNRE\), a framework that learns input\-output region pairs with high sufficiency\-necessity strength by optimizing a region\-level PNS objective motivated by classical causal sufficiency and necessity\. We first formulate a region\-level PNS measure for input and output regions, motivated by the core semantics of classical PNS\. The key requirement is that the intervention distributions cover both the region and its complement, rather than collapsing to a narrow subset\. This is naturally realized by two complementary*stochastic interventions*\[[13](https://arxiv.org/html/2609.18049#bib.bib43)\], which draw in\-region and out\-of\-region inputs from the data distribution\. Based on this formulation, we derive a finite\-sample estimator of region\-level PNS and further construct a differentiable relaxation for optimization\. SNRE then parameterizes the input\-output region pair with explicit and interpretable algebraic region families, together with a learnable soft feature mask for sparse feature selection\. By jointly optimizing the region parameters and the mask, SNRE learns both the regional boundaries and the sparse features that characterize the sufficiency\-necessity relation\. The learned region pairs can further serve as explicit structural summaries of model behavior, enabling downstream analyses such as tracking regional changes after model fine\-tuning and guiding informative data selection\. Finally, we conduct extensive experiments to evaluate the sufficiency\-necessity performance, structural rationality, robustness, and practicality of SNRE\.

The main contributions of our work are as follows: 1\) We formulate a region\-level PNS measure for input\-output regions, motivated by classical causal sufficiency and necessity, and instantiate it through complementary stochastic interventions with a finite\-sample estimator and differentiable relaxation\. 2\) We propose an end\-to\-end SNRE framework that learns sufficient\-and\-necessary input\-output region pairs by optimizing the region\-level PNS objective under explicit and interpretable algebraic region parameterizations with a learnable soft feature mask\. 3\) We conduct comprehensive experiments to validate the explanation quality, structural rationality, robustness, and practical utility of SNRE\.

## IIRelated work

### II\-ARegional Explanations

Regional explanations describe model behavior over input\-space regions\. A common realization is rule\-based explanation, where rule antecedents naturally define an input regionAA\. Early work by Cohen\[[16](https://arxiv.org/html/2609.18049#bib.bib14)\]develops efficient rule induction for classification, and Wang and Rudin\[[17](https://arxiv.org/html/2609.18049#bib.bib13)\]introduce Bayesian rule sets to represent predictions with compact logical conditions\. Lakkaraju et al\.\[[18](https://arxiv.org/html/2609.18049#bib.bib38)\]learn interpretable decision sets optimized for accuracy, conciseness, and low overlap\. Yang et al\.\[[19](https://arxiv.org/html/2609.18049#bib.bib37)\]learn scalable Bayesian rule lists from pre\-mined candidate rules, while Wang and Rudin\[[20](https://arxiv.org/html/2609.18049#bib.bib36)\]impose a monotonic falling probability structure along ordered rules\. Angelino et al\.\[[21](https://arxiv.org/html/2609.18049#bib.bib32)\]learn certifiably optimal rule lists, and Proença and van Leeuwen\[[22](https://arxiv.org/html/2609.18049#bib.bib30)\]select compact probabilistic rule lists under the minimum description length principle\. Pellegrina et al\.\[[23](https://arxiv.org/html/2609.18049#bib.bib31)\]further improve the scalability of rule\-list learning on large datasets\. Tree\-based methods also induce regional explanations by recursively partitioning the input space\. Loh\[[24](https://arxiv.org/html/2609.18049#bib.bib35)\]reviews decision\-tree methods whose leaves naturally define input regions, and Good et al\.\[[25](https://arxiv.org/html/2609.18049#bib.bib34)\]combine sparse feature transformation learning with differentiable decision\-tree fitting to obtain compact trees\. Recent differentiable and logic\-based learners further improve rule learning through neural optimization or logical constraints\. Wang et al\.\[[26](https://arxiv.org/html/2609.18049#bib.bib33)\]learn non\-fuzzy logical rules via differentiable relaxation, Qiao et al\.\[[27](https://arxiv.org/html/2609.18049#bib.bib29)\]incorporate logical rule components into neural architectures, and Ghosh et al\.\[[28](https://arxiv.org/html/2609.18049#bib.bib28)\]learn sparse propositional rules through an incremental framework\.

However, these methods mainly define input\-side regions associated with target predictions, rather than directly learning continuous input\-output region pairs\. In contrast, SNRE learns such region pairs based on sufficiency\-necessity principles\.

### II\-BPNS\-based Explanations

Probability of Necessity and Sufficiency \(PNS\)\[[29](https://arxiv.org/html/2609.18049#bib.bib12),[30](https://arxiv.org/html/2609.18049#bib.bib11)\]provides a causal perspective for post\-hoc explanations by evaluating whether an explanatory factor is sufficient to preserve a prediction and necessary for producing it\. Existing studies instantiate this principle over different explanatory units\. Watson et al\.\[[31](https://arxiv.org/html/2609.18049#bib.bib23)\]identify minimal feature subsets with necessity and sufficiency guarantees\. Balkir et al\.\[[32](https://arxiv.org/html/2609.18049#bib.bib24)\]assess token\-level text explanations through necessity and sufficiency\. Tan et al\.\[[33](https://arxiv.org/html/2609.18049#bib.bib25)\]evaluate graph subgraphs via factual and counterfactual reasoning\. Galhotra et al\.\[[34](https://arxiv.org/html/2609.18049#bib.bib3)\]compute attribute\-level probabilistic contrastive counterfactual scores for local, global, and contextual explanations\. Cai et al\.\[[15](https://arxiv.org/html/2609.18049#bib.bib26)\]optimize PNS lower bounds for graph explanations, while Chen et al\.\[[14](https://arxiv.org/html/2609.18049#bib.bib27)\]estimate feature\-level necessity and sufficiency probabilities through intervention\-based attribution\.

However, these methods mainly evaluate sufficiency and necessity over features, tokens, subgraphs, attributes, or masks, rather than directly learning continuous regions in both the input and output spaces\. In contrast, SNRE directly learns interpretable input\-output region pairs under a region\-level sufficiency\-necessity formulation\.

## IIIBackground and Problem Formulation

We start with some basic notation\. We use an uppercase letter, such asXX, to denote a random variable, and a lowercase letter, such asxx, to denote its realization when the context is clear\. A bold uppercase letter, such as𝐗\\mathbf\{X\}, denotes a random vector, while a bold lowercase letter, such as𝐱\\mathbf\{x\}, denotes a vector in the corresponding value space\. For a random vector𝐗\\mathbf\{X\}, we writeVal𝐗\\mathrm\{Val\}\_\{\\mathbf\{X\}\}for its value space, so that𝐱∈Val𝐗\\mathbf\{x\}\\in\\mathrm\{Val\}\_\{\\mathbf\{X\}\}\. A fixed trained predictor is denoted byf:Val𝐗→Val𝐘f:\\mathrm\{Val\}\_\{\\mathbf\{X\}\}\\to\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}\. We useA⊆Val𝐗A\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{X\}\}andB⊆Val𝐘B\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}to denote input and output regions, respectively\.

### III\-ACausal Sufficiency and Necessity

In the context of model interpretability, rather than modeling underlying real\-world causal mechanisms, we adopt existing model\-based causal perspective\[[35](https://arxiv.org/html/2609.18049#bib.bib44)\], where the input variables𝐗\\mathbf\{X\}are treated as causes that without parents, while the model output𝐘\\mathbf\{Y\}as the effect\. Interventions correspond to actively setting the input to specific values or regions and observing the resulting model output\. Accordingly, sufficiency and necessity are defined with respect to the behavior of a fixed trained predictor under such input interventions\.

We consider explanations in terms of regions in the input and output spaces\. LetA⊂Val𝐗A\\subset\\mathrm\{Val\}\_\{\\mathbf\{X\}\}denote an input region andB⊂Val𝐘B\\subset\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}denote an output region of interest\.

At the region level, we distinguish three different causal relationships between the events𝐗∈A\\mathbf\{X\}\\\!\\in\\\!Aand𝐘∈B\\mathbf\{Y\}\\\!\\in\\\!B\. 1\) Sufficient but unnecessary causeAA: the input regionAAis said to be a*sufficient but unnecessary cause*of the output regionBBif intervening to place the input withinAAis enough to induce an output inBB, butBBmay still be obtained even when the input is outsideAA\. 2\) necessary but insufficient causeAA:AAis a*necessary but insufficient cause*ofBBif, without placing the input withinAA, the output would not fall inBB, but intervening to place the input withinAAalone does not guarantee an output inBB\. 3\) sufficient and necessary causeAA:AAis a*sufficient and necessary cause*ofBB, if placing the input withinAAinduces an output inBB, and without placing the input withinAA, an output inBBwould not be obtained\.

These notions capture a causal regularity at the region level: the occurrence of the event𝐗∈A\\mathbf\{X\}\\in Aexplains the occurrence of the event𝐘∈B\\mathbf\{Y\}\\in Bby being both required and adequate\.

### III\-BProblem Formulation

The region level notions of sufficiency and necessity above are conceptually appealing, but turning them into a practical objective requires a quantitative measure that can be computed and optimized for predictors\.

In this work, we consider a trained deterministic predictorf:Val𝐗f:\\mathrm\{Val\}\_\{\\mathbf\{X\}\}→\\toVal𝐘\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}and aim to estimate an input regionA⊂Val𝐗A\\subset\\mathrm\{Val\}\_\{\\mathbf\{X\}\}and an output regionB⊂Val𝐘B\\subset\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}such that membership inAAexhibits a strong sufficiency\-necessity relation with membership inBB, as quantified by a PNS\-based measure\. We focus on the common setting whereffis fixed after training and differentiable with respect to its input\. Our goal is to develop a computable and optimizable formulation that enables learning such sufficient\-and\-necessary region pairs from finite data\. Here, “deterministic” means that a fixed input𝐱\\mathbf\{x\}uniquely determinesf⁡\(𝐱\)f\(\\mathbf\{x\}\)\. This includes standard sigmoid or softmax classifiers, whose probability or score outputs are deterministic functions of the input\. Models with stochastic prediction, such as Bayesian neural networks\[[36](https://arxiv.org/html/2609.18049#bib.bib1)\]with sampled parameters, are beyond the scope of this work\.

## IVRegion\-level PNS via Stochastic Interventions

We begin by revisiting the classical*Probability of Necessity and Sufficiency*\(PNS\) in causal inference, and use its core semantics to motivate a region\-level sufficiency\-necessity measure for input\-output regions through*stochastic interventions*\.

### IV\-AMotivating Region\-level PNS from Classical PNS

In causal inference, the PNS\[[13](https://arxiv.org/html/2609.18049#bib.bib43),[29](https://arxiv.org/html/2609.18049#bib.bib12),[30](https://arxiv.org/html/2609.18049#bib.bib11)\], introduced by Pearl, provides a principled way to quantify whether a cause is both sufficient and necessary for an outcome\. Classical PNS is defined for binary causes and binary outcomes, where events correspond to whether a variable takes value11or00\. LetX∈\{0,1\}X\\in\\\{0,1\\\}be a binary cause andY∈\{0,1\}Y\\in\\\{0,1\\\}be a binary outcome\. Using the potential outcomes notation\[[38](https://arxiv.org/html/2609.18049#bib.bib2)\], letYxY\_\{x\}denote the outcome that would be observed under the hard interventiond​o​\(X=x\)do\(X=x\)\. The classical PNS is defined as

PNS:=P⁡\(Y1=1∧Y0=0\)\.\\mathrm\{PNS\}:=P\\big\(Y\_\{1\}=1\\;\\wedge\\;Y\_\{0\}=0\\big\)\.\(1\)This quantity measures the probability that settingX=1X=1would make the outcome occur, while settingX=0X=0would prevent the outcome from occurring\.

A key observation is that PNS compares the model’s output behavior under two complementary interventions: one that forces the input to satisfy a specified condition, and another that forces it to violate that condition\. In the binary setting, “satisfying the condition” corresponds to settingXX==11, while “violating it” corresponds to settingXX==00, i\.e\.,d​o​\(XCLOSEdo\(X==OPEN1\)1\)versusd​o​\(XCLOSEdo\(X==OPEN0\)0\)\.

Fig\. 2:Illustration of why hard interventions fail for region\-level events\. In the binary case, hard interventions exactly match the two opposite target events\. In the region case, hard interventions collapse the value space to singleton events and therefore cannot realize the contrast betweenX∈AX\\in AandX∈A¯X\\in\\bar\{A\}\.However, this mechanism does not directly extend beyond binary variables\. When the input space is not binary, causal statements are naturally expressed as*events*of set membership, e\.g\., the event𝐗\\mathbf\{X\}∈\\inAAversus𝐗\\mathbf\{X\}∉\\notinAA, rather than equality to a single value\. An event\-level analogue of PNS thus requires contrasting interventions that enforce𝐗\\mathbf\{X\}∈\\inAAand𝐗\\mathbf\{X\}∉\\notinAA\. The standard hard intervention form cannot directly realize such event\-level interventions\. A hard interventiond​o​\(𝐗=𝐱\)do\(\\mathbf\{X\}=\\mathbf\{x\}\)fixes the input to a single value, which degenerates the induced interventional distribution to a point\. As a result, it cannot represent the typical model behavior over inputs*inside*versus*outside*a set \(or region\)AA, as illustrated in Fig\.[2](https://arxiv.org/html/2609.18049#S4.F2)\.

### IV\-BStochastic Interventions for Regional Events

To preserve sufficiency\-necessity semantics at the event level, interventions must induce non\-degenerate coverage over both the region of interest and its complement within a common domain\. We therefore adopt two complementary*stochastic intervention*\[[13](https://arxiv.org/html/2609.18049#bib.bib43)\]regimes defined with respect to the input distribution\. Specifically, letP⁡\(𝐗\)P\(\\mathbf\{X\}\)denote the distribution over the input space, and let𝒟⊆Val𝐗\\mathcal\{D\}\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{X\}\}be a*reference input domain*on which input events are defined\. A canonical choice is the support of the input distribution,

𝒟:=supp⁡\(P⁡\(𝐗\)\)\.\\mathcal\{D\}:=\\mathrm\{supp\}\(P\(\\mathbf\{X\}\)\)\.\(2\)The domain𝒟\\mathcal\{D\}is not restricted to purely continuous spaces and may include discrete or mixed components\. In practice,𝒟\\mathcal\{D\}is instantiated implicitly by the observed samples\{𝐱i\}i=1n\\\{\\mathbf\{x\}\_\{i\}\\\}\_\{i=1\}^\{n\}\.

For a measurable setA⊆A\\\!\\subseteq𝒟\\mathcal\{D\}\(interpreted as a region when𝒟\\mathcal\{D\}is continuous\), define its complement asA¯\\bar\{A\}:⁣=:=𝒟\\mathcal\{D\}∖\\setminusAA\. ConditioningP⁡\(𝐗\)P\(\\mathbf\{X\}\)onAAandA¯\\bar\{A\}yields two restricted\-support distributions:

PA​\(𝐗\):=P⁡\(𝐗∣𝐗∈A\),PA¯​\(𝐗\):=P⁡\(𝐗∣𝐗∈A¯\)\.P^\{A\}\(\\mathbf\{X\}\):=P\(\\mathbf\{X\}\\mid\\\!\\mathbf\{X\}\\in A\),P^\{\\bar\{A\}\}\(\\mathbf\{X\}\):=P\(\\mathbf\{X\}\\mid\\\!\\mathbf\{X\}\\in\\bar\{A\}\)\.\(3\)These distributions define two complementary stochastic intervention schemes, denoted byπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\)andπ⁡\(𝐗,PA¯\)\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\. Each scheme independently samples a value𝐱\\mathbf\{x\}from the corresponding conditional distribution and applies the hard interventiond​o​\(𝐗CLOSEdo\(\\mathbf\{X\}==OPEN𝐱\)\\mathbf\{x\}\), reflecting two separate counterfactual worlds as in the classical PNS formulation\. By construction, the supports ofPAP^\{A\}andPA¯P^\{\\bar\{A\}\}form a partition of the domain𝒟\\mathcal\{D\}, and provide non\-degenerate coverage of bothAAandA¯\\bar\{A\}\.

### IV\-CRegion\-Level PNS and Estimation

We now define region\-level PNS under the complementary stochastic intervention policiesπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\)andπ⁡\(𝐗,PA¯\)\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\. Let𝐘π⁡\(𝐗,PA\)\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{A\}\)\}denote the model output under policyπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\), and define𝐘π⁡\(𝐗,PA¯\)\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\}analogously\. The output spaceVal𝐘\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}is given by the value space of the trained model, e\.g\.,ℝ\|𝐘\|\\mathbb\{R\}^\{\|\\mathbf\{Y\}\|\}or\(0,1\)\(0,1\)\. For any measurable output setBB⊂\\subsetVal𝐘\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}, with complementB¯:=Val𝐘∖B\\bar\{B\}:=\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}\\setminus B, we consider the output events𝐘\\mathbf\{Y\}∈\\inBBand𝐘\\mathbf\{Y\}∈\\inB¯\\bar\{B\}\. Recall that the input domain is𝒟:=supp⁡\(P⁡\(𝐗\)\)\\mathcal\{D\}:=\\mathrm\{supp\}\(P\(\\mathbf\{X\}\)\), where input events and their complements are defined\.

###### Definition 1\(Region\-level PNS\)

For a measurable input setA⊂𝒟A\\\!\\subset\\\!\\mathcal\{D\}and a measurable output setB⊂Val𝐘B\\\!\\subset\\\!\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}, the region\-level probability of sufficiency and necessity is defined as

PNS⁡\(A,B\):=P⁡\(𝐘π⁡\(𝐗,PA\)∈B∧𝐘π⁡\(𝐗,PA¯\)∈B¯\)\.\\mathrm\{PNS\}\(A,B\):=P\\big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{A\}\)\}\\in B\\;\\wedge\\;\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\}\\in\\bar\{B\}\\big\)\.\(4\)

This quantity measures the sufficiency\-necessity strength between the input event𝐗∈A\\mathbf\{X\}\\in Aand the output event𝐘∈B\\mathbf\{Y\}\\in Bunder complementary stochastic interventions\.

Since the predictorffis deterministic and the input variables𝐗\\mathbf\{X\}are treated as*exogenous*under the model\-based causal perspective\[[35](https://arxiv.org/html/2609.18049#bib.bib44)\], the output is a deterministic function of the intervened input\. The two intervention policies are sampled independently, so the joint event in \([4](https://arxiv.org/html/2609.18049#S4.E4)\) can be estimated by separately sampling from the in\-region and out\-of\-region intervention distributions\. Givenmmi\.i\.d\. samples\{𝐱iin\}i=1m\\\{\\mathbf\{x\}\_\{i\}^\{\\mathrm\{in\}\}\\\}\_\{i=1\}^\{m\}∼\\simP⁡\(𝐗CLOSEP\(\\mathbf\{X\}∣\\mid𝐗\\mathbf\{X\}∈\\inAA\)\)and\{𝐱iout\}i=1m\\\{\\mathbf\{x\}\_\{i\}^\{\\mathrm\{out\}\}\\\}\_\{i=1\}^\{m\}∼\\simP\(𝐗∣P\(\\mathbf\{X\}\\mid𝐗\\mathbf\{X\}∈\\inA¯\\bar\{A\}\)\), we estimatePNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\)via

PNS^\(A,B\)=\(1m∑i=1m𝕀\[f\(𝐱iin\)∈B\]\)\(1m∑i=1m𝕀\[f\(𝐱iout\)∈B¯\]\)\.\\widehat\{\\mathrm\{PNS\}\}\(A,B\)\\\!=\\\!\\left\(\\frac\{1\}\{m\}\\\!\\sum\_\{i=1\}^\{m\}\\\!\\mathbb\{I\}\\\!\\big\[f\(\\mathbf\{x\}\_\{i\}^\{\\mathrm\{in\}\}\)\\\!\\in\\\!B\\big\]\\\!\\right\)\\\!\\left\(\\frac\{1\}\{m\}\\\!\\sum\_\{i=1\}^\{m\}\\\!\\mathbb\{I\}\\\!\\big\[f\(\\mathbf\{x\}\_\{i\}^\{\\mathrm\{out\}\}\)\\in\\\!\\bar\{B\}\\big\]\\\!\\right\)\\\!\.\(5\)Asm→∞m\\to\\infty,PNS^​\(A,B\)\\widehat\{\\mathrm\{PNS\}\}\(A,B\)converges toPNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\)whenever both conditional distributions are well defined, i\.e\., bothAAandA¯\\bar\{A\}have nonzero probability mass underP⁡\(𝐗\)P\(\\mathbf\{X\}\)\. A formal justification is provided in Appendix[A](https://arxiv.org/html/2609.18049#A1)\. In implementation, we require bothAAandA¯\\bar\{A\}to contain empirical samples to avoid trivial degeneration\.

Fig\. 3:Monte Carlo estimates ofPNS⁡\(A,B⋆\)\\mathrm\{PNS\}\(A,B^\{\\star\}\)as the continuous input regionAAis shifted away from an optimal reference regionA⋆A^\{\\star\}under different sample sizesmm\.Fig\.[3](https://arxiv.org/html/2609.18049#S4.F3)visualizesPNS^​\(A,B⋆\)\\widehat\{\\mathrm\{PNS\}\}\(A,B^\{\\star\}\)when the continuous input regionAAis progressively shifted away from a reference regionA⋆A^\{\\star\}, while the output region is fixed toB⋆B^\{\\star\}\. Here\(A⋆,B⋆\)\(A^\{\\star\},B^\{\\star\}\)is a constructed region pair that attains the highest PNS in this controlled setting\. Each curve corresponds to a different sample sizemmused in \([5](https://arxiv.org/html/2609.18049#S4.E5)\)\. Whenm=1m=1, the estimator uses only one sampled intervention per side, and even incorrect regions can achieve spuriously high PNS values, reflecting that such sparse intervention samples cannot represent the typical model behavior over a region and therefore cannot reliably distinguishA⋆A^\{\\star\}from incorrect alternatives\. Asmmincreases, the estimator increasingly captures the model’s typical output behavior over the conditional distributions onAAandA¯\\bar\{A\}:PNS^​\(A,B⋆\)\\widehat\{\\mathrm\{PNS\}\}\(A,B^\{\\star\}\)peaks sharply nearA⋆A^\{\\star\}and decays monotonically asAAmoves away from it\. This demonstrates that region\-level PNS can meaningfully quantify sufficiency\-necessity strength over continuous input\-output regions\.

## VSNRE: Sufficient and Necessary Regional Explanations

![Refer to caption](https://arxiv.org/html/2609.18049v1/SNRE-crop.png)Fig\. 4:SNRE framework for learning sufficient\-and\-necessary input\-output region pairs\. SNRE first parameterizes the input regionAθ,𝐦A\_\{\\theta,\\mathbf\{m\}\}and output regionBϕB\_\{\\phi\}, and then estimates PNS through outer marginalization and two parallel weighted aggregation modules\. TheAA\-weighted module evaluates how strongly inputs insideAθ,𝐦A\_\{\\theta,\\mathbf\{m\}\}induce predictions insideBϕB\_\{\\phi\}, while theA¯\\bar\{A\}\-weighted module evaluates how strongly inputs outsideAθ,𝐦A\_\{\\theta,\\mathbf\{m\}\}induce predictions outsideBϕB\_\{\\phi\}\. The final PNS objective is obtained by averaging the product of the two aggregation terms over the training samples used for marginalization\.Building on the region\-level PNS formulation in Section[IV](https://arxiv.org/html/2609.18049#S4), we now present*Sufficient and Necessary Regional Explanations*\(SNRE\), an end\-to\-end framework for learning input\-output region pairs\(A,B\)\(A,B\)with high sufficiency\-necessity strength\. As illustrated in Fig\.[4](https://arxiv.org/html/2609.18049#S5.F4), SNRE takes a fixed trained predictorffand training samples as inputs, and learns an input regionAθ,𝐦A\_\{\\theta,\\mathbf\{m\}\}and an output regionBϕB\_\{\\phi\}by optimizing a differentiable relaxation of region\-level PNS\. SNRE parameterizes the input and output regions with explicit learnable region functions, and introduces a soft feature mask𝐦\\mathbf\{m\}to select the input dimensions involved in the sufficiency\-necessity relation\. It then estimates region\-level PNS through sample\-based marginalization over the dimensions not emphasized by the mask and two parallel weighted aggregation modules: theAA\-weighted module estimates the in\-region\-to\-BϕB\_\{\\phi\}term, while theA¯\\bar\{A\}\-weighted module estimates the out\-of\-region\-to\-B¯ϕ\\bar\{B\}\_\{\\phi\}term\. The product of these two aggregation scores yields a differentiable objective for jointly optimizing the region parameters and the feature mask\.

### V\-ARegion Parameterization and Feature Mask

Given a trained predictorf:Val𝐗→Val𝐘f:\\mathrm\{Val\}\_\{\\mathbf\{X\}\}\\to\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}and input data, our goal is to estimate an input regionA⊂𝒟A\\subset\\mathcal\{D\}and an output regionB⊂Val𝐘B\\subset\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}that maximize the region\-levelPNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\), where𝒟\\mathcal\{D\}denotes the empirical input domain instantiated by the available dataset\. Since direct optimization over all measurable sets is intractable, we parameterize the regionsAAandBBvia differentiable functions\.

#### V\-A1Input region parameterization

We parameterize the boundary of the input regionAAby a quadratic hypersurface\. Letgθ:Val𝐗→ℝg\_\{\\theta\}:\\mathrm\{Val\}\_\{\\mathbf\{X\}\}\\to\\mathbb\{R\}be defined as

gθ​\(𝐱\)=𝐱⊤​𝐰𝐱\+𝐯⊤​𝐱\+b,g\_\{\\theta\}\(\\mathbf\{x\}\)=\\mathbf\{x\}^\{\\top\}\\mathbf\{w\}\\mathbf\{x\}\+\\mathbf\{v\}^\{\\top\}\\mathbf\{x\}\+b,whereθ=\(𝐰,𝐯,b\)\\theta=\(\\mathbf\{w\},\\mathbf\{v\},b\)are learnable parameters,𝐰∈ℝd×d\\mathbf\{w\}\\in\\mathbb\{R\}^\{d\\times d\}is a symmetric matrix,𝐯∈ℝd\\mathbf\{v\}\\in\\mathbb\{R\}^\{d\},b∈ℝb\\in\\mathbb\{R\}, andd=dim⁡\(Val𝐗\)d=\\mathrm\{dim\}\(\\mathrm\{Val\}\_\{\\mathbf\{X\}\}\)\. The corresponding input region is

Aθ=\{𝐱∈𝒟∣gθ​\(𝐱\)≤0\}\.A\_\{\\theta\}=\\\{\\mathbf\{x\}\\in\\mathcal\{D\}\\mid g\_\{\\theta\}\(\\mathbf\{x\}\)\\leq 0\\\}\.\(6\)
The boundarygθ​\(𝐱\)=0g\_\{\\theta\}\(\\mathbf\{x\}\)=0forms a quadratic hypersurface, which offers a favorable balance between expressivity and interpretability: it can represent a rich family of shapes, such as ellipsoids, hyperboloids, and paraboloids, while its algebraic form permits analytic reasoning about geometric properties such as centers, principal axes, and curvature\. We empirically validate the effectiveness of this input\-region parameterization in Section[VI\-C](https://arxiv.org/html/2609.18049#S6.SS3)\.

#### V\-A2Output region parameterization

In general, the output regionBBcan be parameterized by any explicit and interpretable region family that matches the structure of the output space\. For higher\-dimensional outputs,BBmay also be represented by a quadratic hypersurface, analogously to the input region\. In this work, we focus on classification settings, where the model output is typically low\-dimensional, such as a class probability or a vector of class scores\. The target behavior is therefore naturally associated with a compact confidence region, so a lower\-complexity parameterization is sufficient\.

When the output region needs to be learned, we use the following hyperspherical form:

hϕ​\(𝐲\)=\(𝐲−𝝁\)⊤​\(𝐲−𝝁\)−r2,h\_\{\\phi\}\(\\mathbf\{y\}\)=\(\\mathbf\{y\}\-\\boldsymbol\{\\mu\}\)^\{\\top\}\(\\mathbf\{y\}\-\\boldsymbol\{\\mu\}\)\-r^\{2\},\(7\)whereϕ=\(𝝁,r\)\\phi=\(\\boldsymbol\{\\mu\},r\)are learnable parameters, andr\>0r\>0is enforced byr=softplus⁡\(ρ\)r=\\mathrm\{softplus\}\(\\rho\)for a free parameterρ\\rho\. The induced output region is

Bϕ=\{𝐲∈Val𝐘∣hϕ​\(𝐲\)≤0\}\.B\_\{\\phi\}=\\\{\\mathbf\{y\}\\in\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}\\mid h\_\{\\phi\}\(\\mathbf\{y\}\)\\leq 0\\\}\.\(8\)Note that the target output event can also be specified in advance, in which caseBBcan be fixed or only partially learned\.

#### V\-A3Feature selection via a learnable mask

The quadratic form ofgθg\_\{\\theta\}naturally admits a feature\-selection mechanism\. The linear coefficients𝐯\\mathbf\{v\}ingθg\_\{\\theta\}capture the main effect of each input dimension, while the quadratic term𝐰\\mathbf\{w\}encodes pairwise interactions\. To identify the subset of input features that are most relevant for the sufficiency\-necessity relation, we introduce a continuous, learnable mask𝐦∈\(0,1\)d\\mathbf\{m\}\\in\(0,1\)^\{d\}\. Specifically, we parameterize𝐦\\mathbf\{m\}via a sigmoid functionσ\\sigmaover free parameters𝐦~∈ℝd\\tilde\{\\mathbf\{m\}\}\\in\\mathbb\{R\}^\{d\}, i\.e\.,𝐦=σ⁡\(𝐦~\)\\mathbf\{m\}=\\sigma\(\\tilde\{\\mathbf\{m\}\}\)\. The mask is then incorporated into the quadratic region definition by gating each input dimension:

gθ,𝐦​\(𝐱\)=𝐱⊤​𝐰~​𝐱\+𝐯~⊤​𝐱\+b,\\displaystyle g\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\)=\\mathbf\{x\}^\{\\top\}\\tilde\{\\mathbf\{w\}\}\\mathbf\{x\}\+\\tilde\{\\mathbf\{v\}\}^\{\\top\}\\mathbf\{x\}\+b,\(9\)𝐰~=𝐮𝐰𝐮,𝐯~=𝐮𝐯,𝐮=diag\(m1,…,md\)\.\\displaystyle\\tilde\{\\mathbf\{w\}\}=\\mathbf\{u\}\\mathbf\{w\}\\mathbf\{u\},\\tilde\{\\mathbf\{v\}\}=\\mathbf\{u\}\\mathbf\{v,\}\\mathbf\{u\}=\\operatorname\{diag\}\(\\sqrt\{m\_\{1\}\},\\dots,\\sqrt\{m\_\{d\}\}\)\.The use ofmj\\sqrt\{m\_\{j\}\}rather thanmjm\_\{j\}itself avoids overly suppressing the quadratic term and leads to more stable gradients\. Whenmj≈0m\_\{j\}\\approx 0, thejj\-th feature contributes neither to the linear nor to the quadratic part ofgθ,𝐦g\_\{\\theta,\\mathbf\{m\}\}, effectively removing it from the region definition\. During training𝐦\\mathbf\{m\}is kept continuous to allow gradient\-based optimization; at inference we threshold𝐦\\mathbf\{m\}\(e\.g\., with a cutoff at 0\.5\) to obtain a binary mask𝐦~∈\{0,1\}d\\tilde\{\\mathbf\{m\}\}\\in\\\{0,1\\\}^\{d\}, which defines the selected feature subset\. Thus, the input region is now jointly parameterized by\(θ,𝐦\)\(\\theta,\\mathbf\{m\}\), and we write

Aθ,𝐦=\{𝐱∈𝒟∣gθ,𝐦​\(𝐱\)≤0\}\.A\_\{\\theta,\\mathbf\{m\}\}=\\\{\\mathbf\{x\}\\in\\mathcal\{D\}\\mid g\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\)\\leq 0\\\}\.\(10\)Here, the mask𝐦\\mathbf\{m\}specifies the input dimensions used to define the regional eventAA\. In the explicit region function in \([9](https://arxiv.org/html/2609.18049#S5.E9)\), this selection is implemented by gating the corresponding dimensions\. As described later in \([14](https://arxiv.org/html/2609.18049#S5.E14)\)–\([15](https://arxiv.org/html/2609.18049#S5.E15)\), the remaining dimensions are treated as background variables and marginalized when evaluating the intervention effect through the fixed predictor\.

### V\-BDifferentiable PNS Objective and Optimization

Maximizing the exactPNS⁡\(Aθ,𝐦,Bϕ\)\\mathrm\{PNS\}\(A\_\{\\theta,\\mathbf\{m\}\},B\_\{\\phi\}\)is challenging because Definition[1](https://arxiv.org/html/2609.18049#Thmdefinition1)involves hard event judgments and conditional input distributions that are not available in closed form\. We therefore construct a differentiable Monte Carlo estimator via a sigmoid relaxation\.

Given a dataset\{𝐱i\}i=1n\\\{\\mathbf\{x\}\_\{i\}\\\}\_\{i=1\}^\{n\}, we introduce a soft membership score for the input event𝐗∈Aθ,𝐦\\mathbf\{X\}\\in A\_\{\\theta,\\mathbf\{m\}\}:

sθ,𝐦A\(𝐱\)=σ\(−gθ,𝐦\(𝐱\)/τ\),s^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\)=\\sigma\\\!\\big\(\-g\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\)/\\tau\\big\),\(11\)and a corresponding soft membership score for the output event𝐘∈Bϕ\\mathbf\{Y\}\\in B\_\{\\phi\}:

sϕB\(𝐲\)=σ\(−hϕ\(𝐲\)/τ\),s^\{B\}\_\{\\phi\}\(\\mathbf\{y\}\)=\\sigma\\\!\\big\(\-h\_\{\\phi\}\(\\mathbf\{y\}\)/\\tau\\big\),\(12\)whereσ⁡\(⋅\)\\sigma\(\\cdot\)denotes the sigmoid function andτ\\tau\>\>00is a temperature parameter\. These quantities provide smooth approximations to the indicator functions𝕀⁡\(𝐱CLOSE\\mathbb\{I\}\(\\mathbf\{x\}∈\\inOPENAθ,𝐦\)A\_\{\\theta,\\mathbf\{m\}\}\)and𝕀⁡\(𝐲∈Bϕ\)\\mathbb\{I\}\(\\mathbf\{y\}\\in B\_\{\\phi\}\), respectively\. Accordingly, for the complementary events𝐗\\mathbf\{X\}∈\\inA¯θ,𝐦\\bar\{A\}\_\{\\theta,\\mathbf\{m\}\}and𝐘\\mathbf\{Y\}∈\\inB¯ϕ\\bar\{B\}\_\{\\phi\}, we use

sθ,𝐦A¯​\(𝐱\):=1−sθ,𝐦A​\(𝐱\),sϕB¯​\(𝐲\):=1−sϕB​\(𝐲\)\.s^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\):=1\-s^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\),\\quad s^\{\\bar\{B\}\}\_\{\\phi\}\(\\mathbf\{y\}\):=1\-s^\{B\}\_\{\\phi\}\(\\mathbf\{y\}\)\.\(13\)
Substituting the above relaxations into the Monte Carlo estimator ofPNS⁡\(Aθ,𝐦,Bϕ\)\\mathrm\{PNS\}\(A\_\{\\theta,\\mathbf\{m\}\},B\_\{\\phi\}\)in \([5](https://arxiv.org/html/2609.18049#S4.E5)\), yields the following differentiable objective:

PNS^​\(Aθ,𝐦,Bϕ\)=\\displaystyle\\widehat\{\\mathrm\{PNS\}\}\(A\_\{\\theta,\\mathbf\{m\}\},B\_\{\\phi\}\)=\(14\)1N​∑k=1N∑j=1Nωθ,𝐦A​\(𝐱j\)​sϕB​\(f⁡\(𝐱~j​k\)\)​∑j=1Nωθ,𝐦A¯​\(𝐱j\)​sϕB¯​\(f⁡\(𝐱~j​k\)\),\\displaystyle\\frac\{1\}\{N\}\\sum\_\{k=1\}^\{N\}\\\!\\sum\_\{j=1\}^\{N\}\\omega^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\\,s^\{B\}\_\{\\phi\}\\\!\\big\(f\(\\tilde\{\\mathbf\{x\}\}\_\{jk\}\)\\big\)\\sum\_\{j=1\}^\{N\}\\omega^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\\,s^\{\\bar\{B\}\}\_\{\\phi\}\\\!\\big\(f\(\\tilde\{\\mathbf\{x\}\}\_\{jk\}\)\\big\),where𝐱~j​k\\tilde\{\\mathbf\{x\}\}\_\{jk\}denotes the mixed intervention input constructed from two training samples𝐱j\\mathbf\{x\}\_\{j\}and𝐱k\\mathbf\{x\}\_\{k\}under the soft mask𝐦\\mathbf\{m\}:

𝐱~j​k=𝐦⊙𝐱j\+\(1−𝐦\)⊙𝐱k\.\\tilde\{\\mathbf\{x\}\}\_\{jk\}=\\mathbf\{m\}\\odot\\mathbf\{x\}\_\{j\}\+\(1\-\\mathbf\{m\}\)\\odot\\mathbf\{x\}\_\{k\}\.\(15\)Intuitively, dimensions emphasized by the mask are mainly taken from𝐱j\\mathbf\{x\}\_\{j\}to enforce the input event, while dimensions not emphasized by the mask are supplied by𝐱k\\mathbf\{x\}\_\{k\}and averaged over the dataset for sample\-based marginalization\. The weightsωϕ,𝐦A​\(⋅\)\\omega^\{A\}\_\{\\phi,\\mathbf\{m\}\}\(\\cdot\)andωθ,𝐦A¯​\(⋅\)\\omega^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\cdot\)are normalized coefficients used to approximate the conditional expectations under the stochastic intervention policiesπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\)andπ⁡\(𝐗,PA¯\)\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)by empirical averages over the dataset\. They are defined as

ωθ,𝐦A​\(𝐱j\)=sθ,𝐦A​\(𝐱j\)∑ℓ=1Nsθ,𝐦A​\(𝐱ℓ\),\\displaystyle\\omega^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)=\\frac\{s^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\}\{\\sum\_\{\\ell=1\}^\{N\}s^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{\\ell\}\)\},\(16\)ωθ,𝐦A¯​\(𝐱j\)=sθ,𝐦A¯​\(𝐱j\)∑ℓ=1Nsθ,𝐦A¯​\(𝐱ℓ\)\.\\displaystyle\\omega^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)=\\frac\{s^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\}\{\\sum\_\{\\ell=1\}^\{N\}s^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{\\ell\}\)\}\.A detailed derivation of \([14](https://arxiv.org/html/2609.18049#S5.E14)\) is provided in Appendix[B](https://arxiv.org/html/2609.18049#A2)\.

### V\-CExtracting Sufficient\-and\-Necessary Regional Explanations

After optimization converges, we binarize the learned mask to obtain𝐦∗∈\{0,1\}d\\mathbf\{m\}^\{\*\}\\in\\\{0,1\\\}^\{d\}by thresholding:mj∗=1m^\{\*\}\_\{j\}=1ifmj\>0\.5m\_\{j\}\>0\.5andmj∗=0m^\{\*\}\_\{j\}=0otherwise\. This yields the selected feature subsetℐ∗=\{j:mj∗=1\}\\mathcal\{I\}^\{\*\}=\\\{j:m^\{\*\}\_\{j\}=1\\\}\. The resulting input and output regions are

A∗:=Aθ∗,𝐦∗=\{𝐱∈𝒟∣gθ∗,𝐦∗​\(𝐱\)≤0\},\\displaystyle A^\{\*\}:=A\_\{\\theta^\{\*\},\\mathbf\{m\}^\{\*\}\}=\\\{\\mathbf\{x\}\\in\\mathcal\{D\}\\mid g\_\{\\theta^\{\*\},\\mathbf\{m\}^\{\*\}\}\(\\mathbf\{x\}\)\\leq 0\\\},\(17\)B∗:=Bϕ∗=\{𝐲∈Val𝐘∣hϕ∗​\(𝐲\)≤0\}\.\\displaystyle B^\{\*\}:=B\_\{\\phi^\{\*\}\}=\\\{\\mathbf\{y\}\\in\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}\\mid h\_\{\\phi^\{\*\}\}\(\\mathbf\{y\}\)\\leq 0\\\}\.The pair\(A∗,B∗\)\(A^\{\*\},B^\{\*\}\)constitutes a*sufficient\-and\-necessary regional explanation*for the modelffwith respect to the selected featuresℐ∗\\mathcal\{I\}^\{\*\}\. It summarizes a regional sufficiency\-necessity relation: inputs placed withinA∗A^\{\*\}are mapped toB∗B^\{\*\}with high probability, while inputs placed outsideA∗A^\{\*\}are mapped outsideB∗B^\{\*\}with high probability\.

TABLE I:Summary of datasets used in the experiments\. All tasks are formulated as binary classification\.

## VIExperiments

Building on the proposed region\-level PNS formulation and the SNRE optimization framework, we evaluate SNRE on four real\-world tabular datasets and two synthetic datasets with a summary given in Table[I](https://arxiv.org/html/2609.18049#S5.T1)\. The experiments are organized around five questions\. 1\) Can a toy example provide intuition about the joint optimization of the input regionAAand output regionBBunder the proposed region\-level PNS objective? 2\) On real datasets, do the learned region pairs exhibit strong sufficiency and necessity on unseen test samples, and outperform existing PNS\-based and rule\-based explanation methods? 3\) Are the proposed design choices structurally rational, particularly the quadratic input\-region parameterization and the learnable feature mask? 4\) How robust and efficient is SNRE? 5\) How practical are the region\-pair explanations generated by SNRE?

For all experiments, we use the same post\-hoc explanation setup\. We first train a predictorffon the training split and keep it fixed during explanation learning\. SNRE and all baselines are trained on the same train/validation/test split\. SNRE learns a sufficient\-and\-necessary region pair\(A,B\)\(A,B\)with respect to the prediction behavior offf, where the input regionAAand output regionBBare parameterized separately and jointly optimized by maximizing the proposed sufficiency\-necessity objective until convergence\. Each experiment is repeated five times, and we report the mean result\.

We compare SNRE with 17 baselines, including 11 rule\-based explanation methods and 6 PNS\-based explanation methods\. For rule\-based baselines, we train each method using the model output as the target rather than the ground\-truth label\. For PNS\-based methods, since they typically return feature scores or feature subsets instead of continuous input\-output region pairs, we convert their selected features into an input eventAAusing the same box post\-processing protocol\. Specifically, for a selected feature subset𝒮\\mathcal\{S\}, we defineA𝒮=\{𝐱:lj≤xj≤uj,∀j∈𝒮\}A^\{\\mathcal\{S\}\}=\\\{\\mathbf\{x\}:l\_\{j\}\\leq x\_\{j\}\\leq u\_\{j\},\\ \\forall j\\in\\mathcal\{S\}\\\}\. After comparing several box construction strategies, we use a mean\-std box, where the bounds are estimated from training samples satisfying the fixed output eventBB:lj=μj−ρ​σj,uj=μj\+ρ​σjl\_\{j\}=\\mu\_\{j\}\-\\rho\\sigma\_\{j\},u\_\{j\}=\\mu\_\{j\}\+\\rho\\sigma\_\{j\}, whereμj\\mu\_\{j\}andσj\\sigma\_\{j\}are the empirical mean and standard deviation of featurejj, andρ\\rhois selected on the validation split\.

For more details on the baselines, metrics, model configurations and hyperparameters, please refer to Appendix[C](https://arxiv.org/html/2609.18049#A3)\.

### VI\-AToy Example: Visualizing Joint Learning of Input\-Output Region Pairs

![Refer to caption](https://arxiv.org/html/2609.18049v1/toy_combined_figure.png)Fig\. 5:Toy example for joint learning of an input\-output region pair\(A,B\)\(A,B\)with SNRE\. Left: snapshots of the learned input regionAA, represented by the quadratic boundaryg⁡\(𝐱\)=0g\(\\mathbf\{x\}\)=0, across optimization iterations\. Colors indicate snapshot iterations, with dashed contours for intermediate snapshots and a solid contour for the final one\. Right: optimization trajectories of the region\-levelPNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\)and the output region parameterccdefiningB=\[c,1\]B=\[c,1\]over optimization iterations\.We construct a simple binary\-classification toy example to make the optimization behavior of SNRE visually tangible, focusing on learning a sufficient\-and\-necessary region pair\(A,B\)\(A,B\)associated with positive predictions\. The data consist of two concentric circles in a 2D continuous input space\. A neural network classifier is trained to separate the inner disk \(positive class, shown in green\) from the outer ring \(negative class, shown in blue\)\. SNRE is then run for 1,000 optimization steps to jointly learn an input regionAA, represented by a quadratic boundary, together with an output regionBB\. Because the output is one\-dimensional, the parameterization in \([7](https://arxiv.org/html/2609.18049#S5.E7)\) reduces to an interval on the real line, and since this experiment targets positive outputs, we use the restricted formB=\[c,1\]B=\[c,1\], whereccis a learnable lower endpoint\.

In this toy setting, the sufficient\-and\-necessary region pair associated with the positive class is expected to alignAAwith the inner disk and to placeBBnear the upper end of the model’s output distribution\. Fig\.[5](https://arxiv.org/html/2609.18049#S6.F5)\(left\) visualizes training snapshots of the learned input\-region boundary\. At early iterations, the boundary \(light dashed contours\) is poorly aligned with the data geometry and often traverses the transition band between the two classes\. As optimization proceeds, the boundary progressively tightens around the inner disk, eventually \(dark red and solid contour\) forming a close fit that cleanly separates the high\-confidence positive samples from the negative ones\. The coupled dynamics on the output side are shown in Fig\.[5](https://arxiv.org/html/2609.18049#S6.F5)\(right\)\. The lower boundccofBB\(orange solid line\) rises steadily from about 0\.5 to a value near 1\.0, shiftingBBtoward the high\-confidence regime\. This shift is essential: to maintain high sufficiency,AAmust avoid the ambiguous region where predictions are uncertain, and forcingBBto high probabilities naturally drivesAAto contract onto the core of the positive class\. Throughout this joint optimization of\(A,B\)\(A,B\), thePNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\)objective \(purple line\) increases steadily and approaches11, indicating that the learned region pair becomes progressively more sufficient and necessary\.

### VI\-BQuantitative Evaluation of Learned Sufficient\-and\-necessary Region Pairs

TABLE II:Comparison of PNS, PN, and PS on four datasets\. Results are reported as mean±\\pmstd over five folds and rounded to three decimals\. The best and second\-best results in each column are highlighted in bold and underlined, respectively\.We evaluate whether the learned explanations preserve strong sufficiency and necessity on unseen test data\. For each method, we derive an input regionAAand measure its relation to a fixed, high\-confidence output intervalBB\(B=\[0\.8,1\]B=\[0\.8,1\]for Mushroom, German Credit, and Phishing Websites, andB=\[0\.5,1\]B=\[0\.5,1\]for GMSC\)\. For SNRE,\(A,B\)\(A,B\)is its learned region pair\. For rule\-based baselines \(upper block of Table[II](https://arxiv.org/html/2609.18049#S6.T2)\),AAis the rule antecedent\. For PNS\-based explanation methods \(middle block of Table[II](https://arxiv.org/html/2609.18049#S6.T2)\), which usually output feature subsets or feature scores rather than regions, we post\-process their results into a comparable input region A\. Specifically, we use a mean\-std bounding box, which was found to be the most effective post\-processing strategy after extensive testing\.

As shown in the table[II](https://arxiv.org/html/2609.18049#S6.T2), SNRE achieves the highest PNS on all four datasets, indicating the best overall generalization performance of the learned explanations on the test set\. On Mushroom, GMSC, and Phishing Websites, SNRE not only leads in PNS, but also attains the best or near\-best PS and PN\. On German Credit, although SNRE does not achieve the highest value in either PS or PN individually, the higher scores of other methods are more one\-sided\. For example, IMLI yields a higher PN but a lower PS, while DRNet attains a high PS but suffers from a lower PN\. In contrast, SNRE achieves a better balance between the two, and therefore still obtains the highest PNS overall\. Therefore, the advantage of SNRE does not lie in maximizing a single metric in isolation, but in learning a more generalizable and better coordinated sufficient\-and\-necessary explanation\.

### VI\-CStructural Rationality Analysis of Region Parameterization

#### VI\-C1Input region parameterization

Fig\. 6:Ablation on input\-region parameterization\. We compare five region families, including linear, box\-shaped, spherical, quadratic, and MLP\-based implicit boundaries, on Phishing Websites and German Credit\. The results are reported in terms of PN, PS and PNS\. Quadratic parameterization achieves a favorable balance between expressive power and explanation quality across datasets\.Fig\. 7:Comparison of input region shapes from different parameterizations\. A 2D example shows that linear, box, and spherical shapes are too rigid to fit the data, while an MLP learns a complex, irregular boundary\. The quadratic hypersurface forms a regular ellipse, best balancing geometric expressiveness and interpretability\.To validate the structural rationality of quadratic hypersurfaces, we compare five input\-region families: linear, box, sphere, quadratic, and MLP\-based implicit boundaries\. As shown in Fig\.[6](https://arxiv.org/html/2609.18049#S6.F6), the quadratic parameterization achieves the best or near\-best PNS on both datasets\. On Phishing Websites, it delivers the highest PS, PN, and PNS simultaneously, indicating that its geometric flexibility is sufficient to capture the target sufficient\-and\-necessary region\. On German Credit, although it is not uniformly best on each individual term, it provides the most balanced trade\-off between PS and PN, and thus remains optimal overall in PNS\. In contrast, linear, box, and spherical regions are geometrically constrained and therefore struggle to jointly preserve coverage and exclusivity, leading to a clearer sufficiency\-necessity mismatch\.

Fig\.[7](https://arxiv.org/html/2609.18049#S6.F7)further explains this effect geometrically\. On the rotated elliptical structure, linear boundaries are too rigid to align with the true region, while box and sphere parameterizations cannot capture rotation and anisotropy\. By contrast, the quadratic boundary naturally matches the underlying elliptical geometry, which enables high sufficiency and necessity simultaneously\. Although the MLP parameterization achieves a comparable fit, its boundary is implicit and lacks the explicit geometric semantics of a quadratic form\. These results show that quadratic hypersurfaces provide a more favorable structural trade\-off between expressive power and interpretability for sufficient\-and\-necessary regional explanations\.

#### VI\-C2Feature Mask

Fig\. 8:PNS under different feature\-mask strategies with increasing noise\-feature ratios\.We next investigates the rationality of learning a feature mask within the SNRE optimization process\. Specifically, we design a comparative experiment with three settings:Learned mask\(the proposed SNRE method that jointly learns feature importance\),No\-mask\(standard training without masking\), andRandom\-k\(randomly selecting kfeatures as a baseline\)\. We evaluate the stability of the PNS metric under varying ratios of noise features on two datasets\.

As shown in Fig\.[8](https://arxiv.org/html/2609.18049#S6.F8), theLearned maskstrategy consistently maintains high PNS scores under both low and high noise ratios in both datasets, demonstrating strong robustness\. In contrast, theNo\-maskandRandom\-kstrategies exhibit significant fluctuations and sharp declines in PNS as the noise ratio increases\. This indicates that learning a mask allows the model to ignore irrelevant noisy features during optimization, preventing the degradation of the decision boundary for the core mechanism, while the other two methods show much poorer PNS stability as the noise ratio increases\.

### VI\-DRobustness analysis of SNRE explanations

Fig\. 9:Robustness analysis of SNRE explanations under increasing training input noise across four datasets, measured by Input IoU, Output IoU, and Mask Hamming\.This section investigates the robustness of the explanations produced by SNRE under input perturbations\. Specifically, we fix the same black\-box model and data split, take the explainer trained on the clean training set as the reference explainer, and then retrain the explainer after injecting Gaussian noise with increasing magnitude into the training inputs only\. The resulting explanations are compared against the reference one using three consistency measures: Input IoU, Output IoU, and Mask Hamming\. Let𝐚ref\\mathbf\{a\}^\{\\mathrm\{ref\}\}and𝐚cur\\mathbf\{a\}^\{\\mathrm\{cur\}\}denote the binary membership vectors of the input region produced by the reference and perturbed explainers, respectively, and let𝐛ref\\mathbf\{b\}^\{\\mathrm\{ref\}\}and𝐛cur\\mathbf\{b\}^\{\\mathrm\{cur\}\}denote the corresponding binary membership vectors of the output region\. Both input\-region and output\-region consistency are measured by the intersection\-over\-union:

IoU⁡\(𝐮,𝐯\)=\|𝐮∩𝐯\|\|𝐮∪𝐯\|\.\\mathrm\{IoU\}\(\\mathbf\{u\},\\mathbf\{v\}\)=\\frac\{\|\\mathbf\{u\}\\cap\\mathbf\{v\}\|\}\{\|\\mathbf\{u\}\\cup\\mathbf\{v\}\|\}\.Accordingly, Input IoU is computed from\(𝐚ref,𝐚cur\)\(\\mathbf\{a\}^\{\\mathrm\{ref\}\},\\mathbf\{a\}^\{\\mathrm\{cur\}\}\), and Output IoU is computed from\(𝐛ref,𝐛cur\)\(\\mathbf\{b\}^\{\\mathrm\{ref\}\},\\mathbf\{b\}^\{\\mathrm\{cur\}\}\)\. In addition, let𝐦ref,𝐦cur∈\{0,1\}d\\mathbf\{m\}^\{\\mathrm\{ref\}\},\\mathbf\{m\}^\{\\mathrm\{cur\}\}\\in\\\{0,1\\\}^\{d\}denote the hard feature masks of the two explainers\. Their discrepancy is measured by the normalized Hamming distance:

Hamming⁡\(𝐦ref,𝐦cur\)=1d​∑j=1d\(mjref≠mjcur\)\.\\mathrm\{Hamming\}\(\\mathbf\{m\}^\{\\mathrm\{ref\}\},\\mathbf\{m\}^\{\\mathrm\{cur\}\}\)=\\frac\{1\}\{d\}\\sum\_\{j=1\}^\{d\}\\mathbf\{1\}\\\!\\left\(m^\{\\mathrm\{ref\}\}\_\{j\}\\neq m^\{\\mathrm\{cur\}\}\_\{j\}\\right\)\.Hence, higher Input/Output IoU and lower Mask Hamming indicate better explanation stability under noise\.

As shown in Fig\.[9](https://arxiv.org/html/2609.18049#S6.F9), SNRE exhibits strong stability across all four datasets\. On Mushroom, both Input IoU and Output IoU remain almost at 1\.0 across different noise levels, while Mask Hamming stays close to 0, indicating nearly unchanged explanations under perturbation\. On German Credit, Phishing Websites, and GMSC, although moderate fluctuations can be observed, both IoU scores remain consistently high overall and the mask discrepancy stays small\. These results suggest that the input region, output region, and selected explanatory features learned by SNRE do not drift substantially under noisy training inputs, demonstrating good robustness and consistency of the resulting explanations\.

### VI\-EModel Size and Efficiency

TABLE III:Model size and efficiency analysis on the PhishingWebsites dataset\.This subsection evaluate the model size and efficiency of different methods, in order to investigate whether the performance advantage of SNRE is obtained at the cost of substantially higher complexity\. Specifically, on the PhishingWebsites dataset, we compare trainable parameters, training time, and single\-sample inference time across methods, while also reporting the corresponding PNS, so as to jointly evaluate the trade\-off between explanation quality and efficiency\. Here, the training time reflects the overall cost of obtaining an explanation, the inference time reflects the efficiency of applying a learned explanation to an individual sample, and the model size characterizes the complexity of the method\.

As shown in Table[III](https://arxiv.org/html/2609.18049#S6.T3), SNRE achieves the best PNS of0\.9480\.948while maintaining a favorable efficiency–performance trade\-off\. Compared with high\-performing baselines, SNRE uses only9,4529\{,\}452parameters, which is substantially smaller than RRL with87,50987\{,\}509parameters, and although slightly larger than DRNet with6,2406\{,\}240parameters, it delivers a much higher PNS\. In terms of inference efficiency, SNRE requires only0\.05820\.0582ms per sample, making it faster than both RRL and DRNet\. For training cost, SNRE is slower than lightweight rule\-based methods such as IDS, FRL, and CORELS, but remains much faster than FLDT, while these faster methods generally lag far behind in PNS\. Overall, SNRE is neither the smallest nor the fastest method in absolute terms, but it achieves the strongest sufficient\-and\-necessary explanation quality under a still moderate complexity budget, demonstrating a better overall cost\-effectiveness\.

### VI\-FCase Study: Diagnosing Fine\-Tuning\-Induced Regional Prediction Drift

Fig\. 10:Visualization of the retention of the dominant sufficiency–necessity explanation structure under fine\-tuning on a synthetic dataset\.This case study investigates whether SNRE can quantify how the learned sufficient\-and\-necessary prediction regions change after fine\-tuning\. We define the retention score as

Retention=13​\(IoUA\+IoUmask\+IoUB\),\\mathrm\{Retention\}=\\frac\{1\}\{3\}\\left\(\\mathrm\{IoU\}\_\{A\}\+\\mathrm\{IoU\}\_\{\\mathrm\{mask\}\}\+\\mathrm\{IoU\}\_\{B\}\\right\),\(18\)where the three terms measure the overlap of the input region, feature mask and output region, before and after fine\-tuning\. A larger value indicates stronger preservation of the learned sufficient\-and\-necessary regional pattern\.

To validate this metric, we visualize the learned input\-region boundaries on a two\-dimensional synthetic dataset\. In Fig\.[10](https://arxiv.org/html/2609.18049#S6.F10), the gray dashed curve denotes the base\-model boundary, and the red solid curve denotes the fine\-tuned one\. The*Conservative fine\-tuning*case achieves the highest retention score \(0\.7330\.733\) and remains visually closest to the base boundary, with only a mild local adjustment\. By contrast,*Aggressive fine\-tuning*and*Medium fine\-tuning*obtain lower retention scores of0\.5860\.586and0\.5730\.573, respectively, and exhibit more evident geometric deviations\. This shows that the proposed retention score aligns well with visual intuition and provides a practical measure of fine\-tuning\-induced regional drift\.

### VI\-GCase Study: Active Learning via SNRE\-Guided Sampling

Fig\. 11:Comparison of test AUC and accuracy on the German Credit dataset across active learning rounds for random sampling, uncertainty sampling, and the proposed SNRE\-guided sampling\.Fig\. 12:Comparison of feature distributions on the German Credit dataset between the unlabeled samples and the samples acquired by SNRE\-guided sampling\.This case study investigates whether SNRE\-guided sampling can select more informative unlabeled samples on the German Credit dataset\[[43](https://arxiv.org/html/2609.18049#bib.bib8),[44](https://arxiv.org/html/2609.18049#bib.bib7)\]\. The intuition is that, among unlabeled samples, those whose predictions already fall in the target output region while their inputs remain outside but near the learned sufficient\-and\-necessary region may be particularly informative for improving the model\. Such samples suggest that the current prediction mechanism, especially its sufficient\-and\-necessary component captured by regionAA, may not yet fully account for a meaningful part of the input space\. Labeling these samples may therefore help the model adjust this part of its prediction mechanism and improve subsequent predictive performance\.

Based on this intuition, we heuristically assign each pool samplexxthe acquisition score

s⁡\(x\)=σ⁡\(p⁡\(x\)−clowτf\)​exp⁡\(−g\+​\(x\)τA\),s\(x\)=\\sigma\\\!\\left\(\\frac\{p\(x\)\-c\_\{\\mathrm\{low\}\}\}\{\\tau\_\{f\}\}\\right\)\\exp\\\!\\left\(\-\\frac\{g\_\{\+\}\(x\)\}\{\\tau\_\{A\}\}\\right\),\(19\)wherep⁡\(x\)p\(x\)is the predicted positive probability,clowc\_\{\\mathrm\{low\}\}is the lower threshold of the target output region, andg\+​\(x\)=max⁡\(g⁡\(x\),0\)g\_\{\+\}\(x\)=\\max\(g\(x\),0\)measures how farxxlies outside the learned sufficient\-and\-necessary regionAA\. Thus, larger scores correspond to samples whose predictions already fall in the target region and whose inputs lie just outside, but close to, the current sufficient\-and\-necessary component of the model\.

Results show that SNRE\-guided sampling consistently achieves higher and more stable test AUC and accuracy, with faster convergence \(Fig\.[11](https://arxiv.org/html/2609.18049#S6.F11)\)\. In contrast, random and uncertainty sampling exhibit larger performance fluctuations\. This suggests that adding high\-confidence samples near but outside the learned SNRE input region is more beneficial for subsequent model improvement than adding arbitrary or merely uncertain instances\.

To characterize the samples selected by SNRE\-guided sampling, we compare their feature distributions with those of the overall unlabeled pool, as shown in Fig\.[12](https://arxiv.org/html/2609.18049#S6.F12)\. The most distinctive attributes identified by distribution shift indicate that SNRE\-guided sampling tends to select applicants who are older, have longer loan durations, have lived longer at their current residence, and are more often single males\. These samples are not scattered outliers but form a coherent subgroup with consistent characteristics\. In other words, the model has begun to assign high confidence to this subgroup, yet the learned SNRE input regionAAdoes not stably cover it\. Labeling such samples encourages the model to recalibrate its predictions on this subgroup, improving overall performance and expanding the explanatory region to capture the newly learned regularity\.

## VIIConclusion

In this paper, we proposed Sufficient and Necessary Regional Explanations \(SNRE\), a framework for explaining a trained predictor through input\-output region pairs\. By formulating a region\-level version of the Probability of Necessity and Sufficiency, SNRE provides a principled way to characterize when and only when a prediction behavior arises\. We introduced stochastic interventions to make region\-level sufficiency and necessity well\-defined and computable from finite data, and developed a differentiable objective for learning such regions end to end\. To balance expressiveness and interpretability, SNRE parameterizes regions with quadratic hypersurfaces and incorporates a learnable feature mask\. Experiments on real\-world and synthetic datasets show that SNRE achieves strong sufficiency\-necessity quality and robust explanation behavior\. Case studies further illustrate the practicality of the learned region pairs\.

## References

- \[1\]W\. Zhao, Y\. Rao, J\. Zhou, and J\. Lu\(2023\)DIML: deep interpretable metric learning via structural matching\.IEEE Transactions on Pattern Analysis and Machine Intelligence46\(4\),pp\. 2518–2532\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[2\]P\. Chormai, J\. Herrmann, K\. Müller, and G\. Montavon\(2024\)Disentangled explanations of neural network predictions by finding relevant subspaces\.IEEE Transactions on Pattern Analysis and Machine Intelligence46\(11\),pp\. 7283–7299\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[3\]S\. Kim and D\. Chae\(2024\)What does a model really look at?: extracting model\-oriented concepts for explaining deep neural networks\.IEEE Transactions on Pattern Analysis and Machine Intelligence46\(7\),pp\. 4612–4624\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[4\]C\. Rudin\(2019\)Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead\.Nature machine intelligence1\(5\),pp\. 206–215\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[5\]R\. Guidotti, A\. Monreale, S\. Ruggieri, F\. Turini, F\. Giannotti, and D\. Pedreschi\(2018\)A survey of methods for explaining black box models\.ACM computing surveys \(CSUR\)51\(5\),pp\. 1–42\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[6\]Y\. Shin, S\. Kim, and W\. Shin\(2024\)PAGE: prototype\-based model\-level explanations for graph neural networks\.IEEE Transactions on Pattern Analysis and Machine Intelligence46\(10\),pp\. 6559–6576\.External Links:[Document](https://dx.doi.org/10.1109/TPAMI.2024.3379251)Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[7\]Y\. Liu and Y\. Ge\(2026\)When feature attribution methods meet robust models: a survey and outlook\.IEEE Communications Magazine\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[8\]M\. A\. Nazir, E\. Evangelista, S\. M\. S\. Bukhari, and R\. Sharma\(2025\)A survey of feature attribution techniques in explainable ai: taxonomy, analysis and comparison\.Annals of Mathematics and Computer Science28,pp\. 115–126\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[9\]S\. Verma, V\. Boonsanong, M\. Hoang, K\. Hines, J\. Dickerson, and C\. Shah\(2024\)Counterfactual explanations and algorithmic recourses for machine learning: a review\.ACM Computing Surveys56\(12\),pp\. 1–42\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[10\]J\. Van Der Waa, E\. Nieuwburg, A\. Cremers, and M\. Neerincx\(2021\)Evaluating xai: a comparison of rule\-based and example\-based explanations\.Artificial intelligence291,pp\. 103404\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p1.1)\.
- \[11\]O\. M\. Mastromichalakis, E\. Dervakos, A\. Chortaras, and G\. Stamou\(2024\)Rule\-based explanations of machine learning classifiers using knowledge graphs\.InProceedings of the AAAI Symposium Series,Vol\.3,pp\. 193–202\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p2.1)\.
- \[12\]V\. F\. Souza, F\. Cicalese, E\. Laber, and M\. Molinaro\(2022\)Decision trees with short explainable rules\.Advances in neural information processing systems35,pp\. 12365–12379\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p2.1)\.
- \[13\]J\. Pearl\(2009\)Causality: models, reasoning, and inference\.Cambridge University Press\.Cited by:[§I](https://arxiv.org/html/2609.18049#S1.p3.1),[§I](https://arxiv.org/html/2609.18049#S1.p4.1),[§IV\-A](https://arxiv.org/html/2609.18049#S4.SS1.p1.1),[§IV\-B](https://arxiv.org/html/2609.18049#S4.SS2.p1.1)\.
- \[14\]X\. Chen, R\. Cai, Z\. Huang, Y\. Zhu, J\. Horwood, Z\. Hao, Z\. Li, and J\. M\. Hernández\-Lobato\(2024\)Feature attribution with necessity and sufficiency via dual\-stage perturbation test for causal explanation\.InProceedings of the 41st International Conference on Machine Learning,pp\. 6486–6502\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§I](https://arxiv.org/html/2609.18049#S1.p3.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[15\]R\. Cai, Y\. Zhu, X\. Chen, Y\. Fang, M\. Wu, J\. Qiao, and Z\. Hao\(2025\)On the probability of necessity and sufficiency of explaining graph neural networks: a lower bound optimization approach\.Neural Networks184,pp\. 107065\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§I](https://arxiv.org/html/2609.18049#S1.p3.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[16\]W\. W\. Cohen\(1995\)Fast effective rule induction\.InMachine learning proceedings 1995,pp\. 115–123\.Cited by:[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[17\]T\. Wang, C\. Rudin, F\. Doshi\-Velez, Y\. Liu, E\. Klampfl, and P\. MacNeille\(2017\)A bayesian framework for learning rule sets for interpretable classification\.Journal of Machine Learning Research18\(70\),pp\. 1–37\.Cited by:[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[18\]H\. Lakkaraju, S\. H\. Bach, and J\. Leskovec\(2016\)Interpretable decision sets: a joint framework for description and prediction\.InProceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining,pp\. 1675–1684\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[19\]H\. Yang, C\. Rudin, and M\. Seltzer\(2017\)Scalable Bayesian rule lists\.InProceedings of the 34th International Conference on Machine Learning,D\. Precup and Y\. W\. Teh \(Eds\.\),Proceedings of Machine Learning Research, Vol\.70,pp\. 3921–3930\.External Links:[Link](https://proceedings.mlr.press/v70/yang17h.html)Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[20\]F\. Wang and C\. Rudin\(2015\)Falling Rule Lists\.InProceedings of the Eighteenth International Conference on Artificial Intelligence and Statistics,G\. Lebanon and S\. V\. N\. Vishwanathan \(Eds\.\),Proceedings of Machine Learning Research, Vol\.38,San Diego, California, USA,pp\. 1013–1022\.External Links:[Link](https://proceedings.mlr.press/v38/wang15a.html)Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[21\]E\. Angelino, N\. Larus\-Stone, D\. Alabi, M\. Seltzer, and C\. Rudin\(2018\)Learning certifiably optimal rule lists for categorical data\.Journal of Machine Learning Research18\(234\),pp\. 1–78\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[22\]H\. M\. Proença and M\. van Leeuwen\(2020\)Interpretable multiclass classification by mdl\-based rule lists\.Information Sciences512,pp\. 1372–1393\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[23\]L\. Pellegrina and F\. Vandin\(2024\)Scalable rule lists learning with sampling\.InProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining,pp\. 2352–2363\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[24\]W\. Loh\(2011\)Classification and regression trees\.Wiley interdisciplinary reviews: data mining and knowledge discovery1\(1\),pp\. 14–23\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[25\]J\. Good, T\. Kovach, K\. Miller, and A\. Dubrawski\(2023\)Feature learning for interpretable, performant decision trees\.Advances in Neural Information Processing Systems36,pp\. 66571–66582\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[26\]Z\. Wang, W\. Zhang, N\. Liu, and J\. Wang\(2021\)Scalable rule\-based representation learning for interpretable classification\.Advances in Neural Information Processing Systems34,pp\. 30479–30491\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[27\]L\. Qiao, W\. Wang, and B\. Lin\(2021\)Learning accurate and interpretable decision rule sets from neural networks\.InProceedings of the AAAI conference on artificial intelligence,Vol\.35,pp\. 4303–4311\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[28\]B\. Ghosh, D\. Malioutov, and K\. S\. Meel\(2022\)Efficient learning of interpretable classification rules\.Journal of Artificial Intelligence Research74,pp\. 1823–1863\.Cited by:[§C\-B1](https://arxiv.org/html/2609.18049#A3.SS2.SSS1.p1.1),[§II\-A](https://arxiv.org/html/2609.18049#S2.SS1.p1.1)\.
- \[29\]J\. Pearl\(2022\)Probabilities of causation: three counterfactual interpretations and their identification\.InProbabilistic and causal inference: the works of Judea Pearl,pp\. 317–372\.Cited by:[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1),[§IV\-A](https://arxiv.org/html/2609.18049#S4.SS1.p1.1)\.
- \[30\]J\. Tian and J\. Pearl\(2000\)Probabilities of causation: bounds and identification\.Annals of Mathematics and Artificial Intelligence28\(1\),pp\. 287–313\.Cited by:[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1),[§IV\-A](https://arxiv.org/html/2609.18049#S4.SS1.p1.1)\.
- \[31\]D\. S\. Watson, L\. Gultchin, A\. Taly, and L\. Floridi\(2021\)Local explanations via necessity and sufficiency: unifying theory and practice\.InUncertainty in Artificial Intelligence,pp\. 1382–1392\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[32\]E\. Balkir, I\. Nejadgholi, K\. C\. Fraser, and S\. Kiritchenko\(2022\)Necessity and sufficiency for explaining text classifiers: a case study in hate speech detection\.InProceedings of the 2022 conference of the North American chapter of the association for computational linguistics: human language technologies,pp\. 2672–2686\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[33\]J\. Tan, S\. Geng, Z\. Fu, Y\. Ge, S\. Xu, Y\. Li, and Y\. Zhang\(2022\)Learning and evaluating graph neural network explanations based on counterfactual and factual reasoning\.InProceedings of the ACM web conference 2022,pp\. 1018–1027\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[34\]S\. Galhotra, R\. Pradhan, and B\. Salimi\(2021\)Explaining black\-box algorithms using probabilistic contrastive counterfactuals\.InProceedings of the 2021 international conference on management of data,pp\. 577–590\.Cited by:[§C\-B2](https://arxiv.org/html/2609.18049#A3.SS2.SSS2.p1.1),[§II\-B](https://arxiv.org/html/2609.18049#S2.SS2.p1.1)\.
- \[35\]A\. Geiger, D\. Ibeling, A\. Zur, M\. Chaudhary, S\. Chauhan, J\. Huang, A\. Arora, Z\. Wu, N\. Goodman, C\. Potts,et al\.\(2025\)Causal abstraction: a theoretical foundation for mechanistic interpretability\.Journal of Machine Learning Research26\(83\),pp\. 1–64\.Cited by:[§III\-A](https://arxiv.org/html/2609.18049#S3.SS1.p1.1),[§IV\-C](https://arxiv.org/html/2609.18049#S4.SS3.p3.1),[Remark 2](https://arxiv.org/html/2609.18049#Thmremark2.p1.1.1)\.
- \[36\]C\. Blundell, J\. Cornebise, K\. Kavukcuoglu, and D\. Wierstra\(2015\)Weight uncertainty in neural network\.InInternational conference on machine learning,pp\. 1613–1622\.Cited by:[§III\-B](https://arxiv.org/html/2609.18049#S3.SS2.p2.1)\.
- \[37\]G\. Montúfar, R\. Pascanu, K\. Cho, and Y\. Bengio\(2014\)On the number of linear regions of deep neural networks\.Advances in neural information processing systems27\.Cited by:[Remark 1](https://arxiv.org/html/2609.18049#Thmremark1.p1.1.1)\.
- \[38\]D\. B\. Rubin\(1974\)Estimating causal effects of treatments in randomized and nonrandomized studies\.\.Journal of educational Psychology66\(5\),pp\. 688\.Cited by:[§IV\-A](https://arxiv.org/html/2609.18049#S4.SS1.p1.1)\.
- \[39\]P\. Hoffman and K\. BachStatlog \(german credit data\); uci machine learning repository: irvine, ca, usa, 1994\.Cited by:[§C\-A](https://arxiv.org/html/2609.18049#A3.SS1.p1.1.1),[TABLE I](https://arxiv.org/html/2609.18049#S5.T1.1.2.1.1)\.
- \[40\]C\. Fusion and W\. Cukierski\(2011\)Give me some credit\.Note:https://kaggle\.com/competitions/GiveMeSomeCreditKaggleCited by:[§C\-A](https://arxiv.org/html/2609.18049#A3.SS1.p1.1.4),[TABLE I](https://arxiv.org/html/2609.18049#S5.T1.1.3.1.1)\.
- \[41\]\(1981\)Mushroom\.Note:UCI Machine Learning RepositoryDOI: https://doi\.org/10\.24432/C5959TCited by:[§C\-A](https://arxiv.org/html/2609.18049#A3.SS1.p1.1.3),[TABLE I](https://arxiv.org/html/2609.18049#S5.T1.1.4.1.1)\.
- \[42\]R\. M\. Mohammad, F\. Thabtah, and L\. McCluskey\(2014\)Intelligent rule\-based phishing websites classification\.IET Information Security8\(3\),pp\. 153–160\.Cited by:[§C\-A](https://arxiv.org/html/2609.18049#A3.SS1.p1.1.2),[TABLE I](https://arxiv.org/html/2609.18049#S5.T1.1.5.1.1)\.
- \[43\]B\. Settles\(2009\)Active learning literature survey\.Cited by:[§VI\-G](https://arxiv.org/html/2609.18049#S6.SS7.p1.1)\.
- \[44\]Y\. Gal, R\. Islam, and Z\. Ghahramani\(2017\)Deep bayesian active learning with image data\.InInternational conference on machine learning,pp\. 1183–1192\.Cited by:[§VI\-G](https://arxiv.org/html/2609.18049#S6.SS7.p1.1)\.

## Appendix AMonte Carlo Estimation of Continuous PNS

In this appendix, we provide a justification for the Monte Carlo estimator in \([5](https://arxiv.org/html/2609.18049#S4.E5)\)\. Recall that, for an input regionA⊆𝒟A\\subseteq\\mathcal\{D\}and an output regionB⊆Val𝐘B\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}, the definition of PNS over regions in continuous domains \(Definition[1](https://arxiv.org/html/2609.18049#Thmdefinition1)\) is

PNS⁡\(A,B\)=P⁡\(𝐘π⁡\(𝐗,PA\)∈B∧𝐘π⁡\(𝐗,PA¯\)∈B¯\),\\mathrm\{PNS\}\(A,B\)=P\\Big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{A\}\)\}\\in B\\;\\wedge\\;\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\}\\in\\bar\{B\}\\Big\),\(20\)where

PA​\(𝐗\)=P∗​\(𝐗∣𝐗∈A\),PA¯​\(𝐗\)=P∗​\(𝐗∣𝐗∈A¯\)\.P^\{A\}\(\\mathbf\{X\}\)=P^\{\*\}\(\\mathbf\{X\}\\mid\\mathbf\{X\}\\in A\),\\quad P^\{\\bar\{A\}\}\(\\mathbf\{X\}\)=P^\{\*\}\(\\mathbf\{X\}\\mid\\mathbf\{X\}\\in\\bar\{A\}\)\.\(21\)
Since the predictorffis deterministic and the input variables𝐗\\mathbf\{X\}have no parents, each intervention fully determines the model output\. Moreover, the two stochastic intervention policiesπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\)andπ⁡\(𝐗,PA¯\)\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)are independently sampled\. As a result, the joint probability factorizes as

PNS⁡\(A,B\)=P⁡\(𝐘π⁡\(𝐗,PA\)∈B\)​P​\(𝐘π⁡\(𝐗,PA¯\)∈B¯\)\.\\mathrm\{PNS\}\(A,B\)=P\\big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{A\}\)\}\\in B\\big\)\\,P\\big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\}\\in\\bar\{B\}\\big\)\.\(22\)
Under a hard interventiond​o​\(𝐗=𝐱\)do\(\\mathbf\{X\}=\\mathbf\{x\}\), the model output is given by

𝐘d​o​\(𝐗=𝐱\)=f⁡\(𝐱\)\.\\mathbf\{Y\}\_\{do\(\\mathbf\{X\}=\\mathbf\{x\}\)\}=f\(\\mathbf\{x\}\)\.\(23\)Therefore, under the stochastic interventionπ⁡\(𝐗,PA\)\\pi\(\\mathbf\{X\};P^\{A\}\), we have

P\(𝐘π⁡\(𝐗,PA\)∈B\)=𝔼𝐗∼P∗\(⋅∣𝐗∈A\)\[𝕀\(f\(𝐗\)∈B\)\],P\\big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{A\}\)\}\\in B\\big\)=\\mathbb\{E\}\_\{\\mathbf\{X\}\\sim P^\{\*\}\(\\cdot\\mid\\mathbf\{X\}\\in A\)\}\\big\[\\mathbb\{I\}\\big\(f\(\\mathbf\{X\}\)\\in B\\big\)\\big\],\(24\)and analogously,

P\(𝐘π⁡\(𝐗,PA¯\)∈B¯\)=𝔼𝐗∼P∗\(⋅∣𝐗∈A¯\)\[𝕀\(f\(𝐗\)∈B¯\)\]\.P\\big\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{X\};P^\{\\bar\{A\}\}\)\}\\in\\bar\{B\}\\big\)=\\mathbb\{E\}\_\{\\mathbf\{X\}\\sim P^\{\*\}\(\\cdot\\mid\\mathbf\{X\}\\in\\bar\{A\}\)\}\\big\[\\mathbb\{I\}\\big\(f\(\\mathbf\{X\}\)\\in\\bar\{B\}\\big\)\\big\]\.\(25\)
Let\{𝐱iin\}i=1m​∼i\.i\.d\.​P∗​\(𝐗∣𝐗∈A\)\\\{\\mathbf\{x\}\_\{i\}^\{\\mathrm\{in\}\}\\\}\_\{i=1\}^\{m\}\\overset\{\\mathrm\{i\.i\.d\.\}\}\{\\sim\}P^\{\*\}\(\\mathbf\{X\}\\mid\\mathbf\{X\}\\in A\)and\{𝐱iout\}i=1m​∼i\.i\.d\.​P∗​\(𝐗∣𝐗∈A¯\)\\\{\\mathbf\{x\}\_\{i\}^\{\\mathrm\{out\}\}\\\}\_\{i=1\}^\{m\}\\overset\{\\mathrm\{i\.i\.d\.\}\}\{\\sim\}P^\{\*\}\(\\mathbf\{X\}\\mid\\mathbf\{X\}\\in\\bar\{A\}\)\. We define the Monte Carlo estimator ofPNS⁡\(A,B\)\\mathrm\{PNS\}\(A,B\)as

PNS^\(A,B\)=\(1m∑i=1m𝕀\[f\(𝐱iin\)∈B\]\)\(1m∑i=1m𝕀\[f\(𝐱iout\)∈B¯\]\)\.\\widehat\{\\mathrm\{PNS\}\}\(A,B\)\\\!=\\\!\\left\(\\frac\{1\}\{m\}\\\!\\sum\_\{i=1\}^\{m\}\\\!\\mathbb\{I\}\\\!\\big\[f\(\\mathbf\{x\}\_\{i\}^\{\\mathrm\{in\}\}\)\\\!\\in\\\!B\\big\]\\\!\\right\)\\\!\\left\(\\frac\{1\}\{m\}\\\!\\sum\_\{i=1\}^\{m\}\\\!\\mathbb\{I\}\\\!\\big\[f\(\\mathbf\{x\}\_\{i\}^\{\\mathrm\{out\}\}\)\\in\\\!\\bar\{B\}\\big\]\\\!\\right\)\\\!\.\(26\)
By the law of large numbers, each empirical average converges almost surely to its corresponding conditional probability in \([21](https://arxiv.org/html/2609.18049#A1.E21)\)\. Consequently,

PNS^​\(A,B\)→m→∞a\.s\.PNS​\(A,B\)\.\\widehat\{\\mathrm\{PNS\}\}\(A,B\)\\xrightarrow\[m\\to\\infty\]\{\\mathrm\{a\.s\.\}\}\\mathrm\{PNS\}\(A,B\)\.\(27\)

## Appendix BDerivation of the Empirical and Differentiable PNS Objective

This appendix derives the empirical objective used in \([14](https://arxiv.org/html/2609.18049#S5.E14)\)\. Let the input variables be decomposed as𝐗=\(𝐈,𝐙\)\\mathbf\{X\}=\(\\mathbf\{I\},\\mathbf\{Z\}\), where𝐈\\mathbf\{I\}denotes the intervened variables and𝐙\\mathbf\{Z\}is treated as the background variables to be marginalized\. For an input regionA⊆Val𝐈A\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{I\}\}and an output regionB⊆Val𝐘B\\subseteq\\mathrm\{Val\}\_\{\\mathbf\{Y\}\}, the stochastic\-intervention\-based PNS can be written as

PNS\(𝐈,A,B\)=𝔼𝐳∼P⁡\(𝐙\)\[\\displaystyle\\mathrm\{PNS\}\(\\mathbf\{I\},A,B\)=\\mathbb\{E\}\_\{\\mathbf\{z\}\\sim P\(\\mathbf\{Z\}\)\}\\Big\[P⁡\(𝐘π⁡\(𝐈,PA\)∈B∣𝐳\)\\displaystyle P\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{I\};P^\{A\}\)\}\\in B\\mid\\mathbf\{z\}\)\(28\)⋅P\(𝐘π⁡\(𝐈,PA¯\)∈B¯∣𝐳\)\],\\displaystyle\\cdot P\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{I\};P^\{\\bar\{A\}\}\)\}\\in\\bar\{B\}\\mid\\mathbf\{z\}\)\\Big\],wherePA​\(𝐈\)=P⁡\(𝐈∣𝐈∈A\)P^\{A\}\(\\mathbf\{I\}\)=P\(\\mathbf\{I\}\\mid\\mathbf\{I\}\\in A\)andPA¯​\(𝐈\)=P⁡\(𝐈∣𝐈∈A¯\)P^\{\\bar\{A\}\}\(\\mathbf\{I\}\)=P\(\\mathbf\{I\}\\mid\\mathbf\{I\}\\in\\bar\{A\}\)\. Sinceffis deterministic,

P⁡\(𝐘π⁡\(𝐈,PA\)∈B∣𝐳\)=𝔼𝐢∼PA​\[𝕀⁡\(f⁡\(𝐢,𝐳\)∈B\)\],P\(\\mathbf\{Y\}\_\{\\pi\(\\mathbf\{I\};P^\{A\}\)\}\\in B\\mid\\mathbf\{z\}\)=\\mathbb\{E\}\_\{\\mathbf\{i\}\\sim P^\{A\}\}\\big\[\\mathbb\{I\}\(f\(\\mathbf\{i\},\\mathbf\{z\}\)\\in B\)\\big\],\(29\)and the complement term is defined analogously\.

Given a dataset𝒟=\{𝐱n\}n=1N\\mathcal\{D\}=\\\{\\mathbf\{x\}\_\{n\}\\\}\_\{n=1\}^\{N\}, each sample is decomposed accordingly as𝐱n=\(𝐢n,𝐳n\)\\mathbf\{x\}\_\{n\}=\(\\mathbf\{i\}\_\{n\},\\mathbf\{z\}\_\{n\}\)\. The empirical intervention weights are

ωA​\(𝐱j\)=𝕀⁡\(𝐢j∈A\)∑ℓ=1N𝕀⁡\(𝐢ℓ∈A\),ωA¯​\(𝐱j\)=𝕀⁡\(𝐢j∈A¯\)∑ℓ=1N𝕀⁡\(𝐢ℓ∈A¯\)\.\\omega^\{A\}\(\\mathbf\{x\}\_\{j\}\)=\\frac\{\\mathbb\{I\}\(\\mathbf\{i\}\_\{j\}\\in A\)\}\{\\sum\_\{\\ell=1\}^\{N\}\\mathbb\{I\}\(\\mathbf\{i\}\_\{\\ell\}\\in A\)\},\\qquad\\omega^\{\\bar\{A\}\}\(\\mathbf\{x\}\_\{j\}\)=\\frac\{\\mathbb\{I\}\(\\mathbf\{i\}\_\{j\}\\in\\bar\{A\}\)\}\{\\sum\_\{\\ell=1\}^\{N\}\\mathbb\{I\}\(\\mathbf\{i\}\_\{\\ell\}\\in\\bar\{A\}\)\}\.\(30\)Then the empirical estimator is

PNS^\(𝐈,A,B\)=1N∑k=1N\[\\displaystyle\\widehat\{\\mathrm\{PNS\}\}\(\\mathbf\{I\},A,B\)=\\frac\{1\}\{N\}\\sum\_\{k=1\}^\{N\}\\Big\[∑j=1NωA\(𝐱j\)𝕀\(f\(𝐢j,𝐳k\)∈B\)\]\\displaystyle\\sum\_\{j=1\}^\{N\}\\omega^\{A\}\(\\mathbf\{x\}\_\{j\}\)\\,\\mathbb\{I\}\\big\(f\(\\mathbf\{i\}\_\{j\},\\mathbf\{z\}\_\{k\}\)\\in B\\big\)\\Big\]\(31\)⋅\[\\displaystyle\\cdot\\Big\[∑j=1NωA¯\(𝐱j\)𝕀\(f\(𝐢j,𝐳k\)∈B¯\)\]\.\\displaystyle\\sum\_\{j=1\}^\{N\}\\omega^\{\\bar\{A\}\}\(\\mathbf\{x\}\_\{j\}\)\\,\\mathbb\{I\}\\big\(f\(\\mathbf\{i\}\_\{j\},\\mathbf\{z\}\_\{k\}\)\\in\\bar\{B\}\\big\)\\Big\]\.This estimator averages over the background part𝐳k\\mathbf\{z\}\_\{k\}while drawing the intervened part𝐢j\\mathbf\{i\}\_\{j\}from the empirical in\-region and out\-of\-region distributions\.

Substituting the softening relaxations in \([11](https://arxiv.org/html/2609.18049#S5.E11)\)–\([13](https://arxiv.org/html/2609.18049#S5.E13)\) and the mixing operation in \([15](https://arxiv.org/html/2609.18049#S5.E15)\) into the hard empirical estimator \([31](https://arxiv.org/html/2609.18049#A2.E31)\) yields the differentiable objective

PNS^​\(Aθ,𝐦,Bϕ\)=\\displaystyle\\widehat\{\\mathrm\{PNS\}\}\(A\_\{\\theta,\\mathbf\{m\}\},B\_\{\\phi\}\)=\(32\)1N​∑k=1N∑j=1Nωθ,𝐦A​\(𝐱j\)​sϕB​\(f⁡\(𝐱~j​k\)\)​∑j=1Nωθ,𝐦A¯​\(𝐱j\)​sϕB¯​\(f⁡\(𝐱~j​k\)\),\\displaystyle\\frac\{1\}\{N\}\\sum\_\{k=1\}^\{N\}\\\!\\sum\_\{j=1\}^\{N\}\\omega^\{A\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\\,s^\{B\}\_\{\\phi\}\\\!\\big\(f\(\\tilde\{\\mathbf\{x\}\}\_\{jk\}\)\\big\)\\sum\_\{j=1\}^\{N\}\\omega^\{\\bar\{A\}\}\_\{\\theta,\\mathbf\{m\}\}\(\\mathbf\{x\}\_\{j\}\)\\,s^\{\\bar\{B\}\}\_\{\\phi\}\\\!\\big\(f\(\\tilde\{\\mathbf\{x\}\}\_\{jk\}\)\\big\),

## Appendix CDetails on Experiments

### C\-ADatasets

We evaluate SNRE on four real\-world tabular datasets and two synthetic datasets\.German Credit\[[39](https://arxiv.org/html/2609.18049#bib.bib42)\]contains personal and financial attributes of credit applicants\. The label indicates whether the applicant is classified as good or bad credit\.Phishing Websites\[[42](https://arxiv.org/html/2609.18049#bib.bib41)\]consists of website and URL\-related attributes\. The label indicates whether a website is phishing or legitimate\.Mushroom\[[41](https://arxiv.org/html/2609.18049#bib.bib40)\]contains categorical attributes describing physical properties of mushrooms, such as cap shape, cap color, odor, gill size, stalk surface, veil type, and habitat\. The label indicates whether a mushroom is edible or poisonous\.Give Me Some Credit \(GMSC\)\[[40](https://arxiv.org/html/2609.18049#bib.bib39)\]contains financial and delinquency\-related attributes\. The label indicates whether an individual experiences serious delinquency within two years\.Synthetic Circlesis a two\-dimensional synthetic dataset constructed from concentric circular structures\. The label is determined by the constructed geometric region\.Synthetic Blobsis a two\-dimensional synthetic dataset constructed from Gaussian clusters with controlled geometric structure\. The label is generated according to the predefined cluster/region configuration\.

### C\-BBaselines

#### C\-B1Rule\-based explanation baselines

IDS\[[18](https://arxiv.org/html/2609.18049#bib.bib38)\]learns interpretable decision sets, i\.e\., unordered sets of if–then rules optimized for accuracy, conciseness, and low rule overlap\.SBRL\[[19](https://arxiv.org/html/2609.18049#bib.bib37)\]learns scalable Bayesian rule lists by optimizing a posterior over ordered if–then rules constructed\.FRL\[[20](https://arxiv.org/html/2609.18049#bib.bib36)\]learns falling rule lists, where the predicted probability is constrained to decrease monotonically along the ordered list\.DT\[[24](https://arxiv.org/html/2609.18049#bib.bib35)\]denotes a standard decision tree classifier trained by recursive feature splitting\. The input eventAAis obtained by taking the union of leaves that predict the target behavior\.FLDT\[[25](https://arxiv.org/html/2609.18049#bib.bib34)\]denotes a feature\-learning decision tree, which alternates between learning a sparse feature transformation and fitting a differentiable decision tree on the learned representations\.RRL\[[26](https://arxiv.org/html/2609.18049#bib.bib33)\]denotes Rule\-based Representation Learner, which learns non\-fuzzy logical rules through a differentiable relaxation and gradient\-based optimization\.CORELS\[[21](https://arxiv.org/html/2609.18049#bib.bib32)\]learns certifiably optimal rule lists for categorical data by optimizing regularized empirical risk with an optimality certificate\.SamRuLe\[[23](https://arxiv.org/html/2609.18049#bib.bib31)\]is a sampling\-based scalable rule\-list learner that approximates optimal rule lists on large datasets with statistical guarantees\.MDL\-RL\[[22](https://arxiv.org/html/2609.18049#bib.bib30)\]denotes an MDL\-based rule\-list learner that selects compact probabilistic rule lists according to the minimum description length principle\.DRNet\[[27](https://arxiv.org/html/2609.18049#bib.bib29)\]denotes a decision\-rule network that learns interpretable decision rule sets using a neural architecture with logical rule components\.IMLI\[[28](https://arxiv.org/html/2609.18049#bib.bib28)\]learns sparse propositional\-logic classification rules through an iterative learning process that jointly optimizes accuracy and rule size\.

#### C\-B2PNS\-based explanation baselines

FANS\[[14](https://arxiv.org/html/2609.18049#bib.bib27)\]learns feature subsets by maximizing necessity\-and\-sufficiency effects under prediction perturbations\.LEWIS\[[34](https://arxiv.org/html/2609.18049#bib.bib3)\]estimates global necessity and sufficiency scores through counterfactual interventions\.LENS\[[31](https://arxiv.org/html/2609.18049#bib.bib23)\]identifies local minimal sufficient factors and aggregates them into global feature scores\.NSE4T\[[32](https://arxiv.org/html/2609.18049#bib.bib24)\]estimates local necessity and sufficiency scores through feature perturbations\.CF2\[[33](https://arxiv.org/html/2609.18049#bib.bib25)\]combines factual and counterfactual reasoning to obtain necessary and sufficient explanations\.NSEG\[[15](https://arxiv.org/html/2609.18049#bib.bib26)\]optimizes a lower bound of PNS to learn necessary and sufficient masks\.

### C\-CEvaluation Metrics

Different experiments use different evaluation metrics\. We summarize them below\.

#### C\-C1Sufficiency and necessity scores

Let𝒟eval=\{𝐱k\}k=1n\\mathcal\{D\}\_\{\\mathrm\{eval\}\}=\\\{\\mathbf\{x\}\_\{k\}\\\}\_\{k=1\}^\{n\}be the evaluation set\. Given the learned hard feature mask𝐦∈\{0,1\}d\\mathbf\{m\}\\in\\\{0,1\\\}^\{d\}, the input and output events are defined as

A=\{𝐱\|g⁡\(𝐱,𝐦\)≤0\},B=\{𝐲\|h⁡\(𝐲\)≤0\}\.A=\\\{\\mathbf\{x\}\|g\(\\mathbf\{x\};\\mathbf\{m\}\)\\leq 0\\\},\\qquad B=\\\{\\mathbf\{y\}\|h\(\\mathbf\{y\}\)\\leq 0\\\}\.\(33\)We denote the samples inside and outside the input region by

𝒟A=\{𝐱j∈𝒟eval\|𝐱j∈A\},𝒟A¯=𝒟eval∖𝒟A\.\\mathcal\{D\}\_\{A\}=\\\{\\mathbf\{x\}\_\{j\}\\in\\mathcal\{D\}\_\{\\mathrm\{eval\}\}\|\\mathbf\{x\}\_\{j\}\\in A\\\},\\qquad\\mathcal\{D\}\_\{\\bar\{A\}\}=\\mathcal\{D\}\_\{\\mathrm\{eval\}\}\\setminus\\mathcal\{D\}\_\{A\}\.\(34\)
The empirical sufficiency score is computed as

PS^=1n∑k=1n1\|𝒟A\|∑𝐱j∈𝒟A𝕀\[f\(𝐦⊙𝐱j\+\(1−𝐦\)⊙𝐱k\)∈B\]\.\\widehat\{\\mathrm\{PS\}\}=\\frac\{1\}\{n\}\\sum\_\{k=1\}^\{n\}\\frac\{1\}\{\|\\mathcal\{D\}\_\{A\}\|\}\\sum\_\{\\mathbf\{x\}\_\{j\}\\in\\mathcal\{D\}\_\{A\}\}\\mathbb\{I\}\\\!\\left\[f\\\!\\left\(\\mathbf\{m\}\\odot\\mathbf\{x\}\_\{j\}\+\(1\-\\mathbf\{m\}\)\\odot\\mathbf\{x\}\_\{k\}\\right\)\\in B\\right\]\.\(35\)Here,𝐦⊙𝐱j\\mathbf\{m\}\\odot\\mathbf\{x\}\_\{j\}enforces the feature dimensions selected by𝐦\\mathbf\{m\}to take values from an in\-region sample, while\(1−𝐦\)⊙𝐱k\(1\-\\mathbf\{m\}\)\\odot\\mathbf\{x\}\_\{k\}, together with the empirical averaging over different samples𝐱k\\mathbf\{x\}\_\{k\}, marginalizes the feature dimensions not selected by𝐦\\mathbf\{m\}\.

Similarly, the empirical necessity score is computed as

PN^=1n∑k=1n1\|𝒟A¯\|∑𝐱j∈𝒟A¯𝕀\[f\(𝐦⊙𝐱j\+\(1−𝐦\)⊙𝐱k\)∉B\]\.\\widehat\{\\mathrm\{PN\}\}=\\frac\{1\}\{n\}\\sum\_\{k=1\}^\{n\}\\frac\{1\}\{\|\\mathcal\{D\}\_\{\\bar\{A\}\}\|\}\\sum\_\{\\mathbf\{x\}\_\{j\}\\in\\mathcal\{D\}\_\{\\bar\{A\}\}\}\\mathbb\{I\}\\\!\\left\[f\\\!\\left\(\\mathbf\{m\}\\odot\\mathbf\{x\}\_\{j\}\+\(1\-\\mathbf\{m\}\)\\odot\\mathbf\{x\}\_\{k\}\\right\)\\notin B\\right\]\.\(36\)It measures whether forcing the selected features to lie outsideAAmakes the model output fall outsideBB, while again marginalizing the unselected features through the evaluation samples\.

### C\-DImplementation

All predictors to be explained are three\-layer MLPs with two hidden layers and one output layer\. Adam is used as the optimizer\. Each dataset is split into training, validation, and test sets, and predictor training is stopped early according to the validation loss, with a maximum of 200 epochs and a patience of 20 epochs\.

For the regional\-explanation experiments, the hidden dimension is 64, the batch size is 1024, and the data split is 60%/20%/20%\. SNRE uses a learning rate of 0\.008 and an early\-stopping patience of 25, with hyperparameters selected on the validation set\.

Similar Articles

Relational Structural Causal Models

arXiv cs.AI

This paper introduces relational structural causal models, extending structural causal models to settings with varying objects and relations. It provides theoretical results for identification and proposes relational neural causal models that outperform non-relational baselines on simulated traffic scenes.