# Exactly Computing do-Shapley Values

do-Shapley 값의 정확한 계산

R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando 외 1명 · arXiv · 2026년 2월 6일

- **연구 문제** do-Shapley 값은 가능한 모든 개입 집합을 평가해야 하므로 변수 수가 늘면 계산이 지수적으로 어려워집니다.
- **연구 방법** 그래프 구조로 같은 가치를 갖는 coalition을 equivalence class로 묶어 irreducible sets 수 r에 선형인 정확 계산을 제시하고, 예산이 제한된 경우 boundary sampler로 class를 찾아 추정합니다.
- **주요 결과** 정확 알고리즘은 r에 선형인 시간에 실행되며, 구조 인지 추정기는 m≈r 근처에서 기준선보다 낮은 오차를 보이고 m≥r에서는 정확 계산으로 전환됩니다.

## do-Shapley 값 계산의 지수적 비용 문제

do-Shapley 값은 do-연산자로 정의된 개입 가치 함수 ν(S)=E\[Y\|do(S=x\_S)\]에 Shapley 값을 적용한 인과 귀속 값입니다. 변수 i의 값은 coalition S에 i를 추가할 때의 한계 기여를 가중 합산하여 얻으며, 이 계산은 원래 2^d개의 항을 평가해야 합니다. 따라서 변수 수 d가 커지면 정확한 계산과 추정 모두 빠르게 어려워집니다.

이 논문은 SCM의 그래프 구조 때문에 여러 개입이 같은 효과를 갖는다는 점에 주목합니다. 같은 가치를 갖는 coalition들은 하나의 equivalence class로 묶이며, 저자들은 이 class의 개수 r을 기준으로 계산량을 다시 잡습니다. 또한 식별 가능성 검사도 모든 coalition마다 수행하면 비용이 커지므로, 이 논문은 이를 singleton 질의 검사로 줄이는 문제도 함께 다룹니다.

## basis와 closure로 묶은 equivalence class 계산

coalition S의 basis는 Y로 가는 directed path가 S와 만나는 노드들로 정의되고, closure는 Y로 가는 모든 directed path가 S와 교차하는 노드들로 정의됩니다. basis와 closure 사이의 coalition들은 같은 가치 ν(S)를 가지므로 하나의 equivalence class를 이룹니다. 원문은 이 class들이 2^d개 coalition의 partition을 이룬다고 설명합니다.

![Figure 1: An example Structural Causal Model (SCM) and the corresponding lattice of coalitions. Because of the graph structure, intervening on some nodes is re…](https://refivu.com/papers/30abef3a-87cd-47b1-b138-b8cd5f1bfaa7/figures/figure-0e172bce550157f89480a73aed25b4db.png?thumb=512)

**Figure 1** .An example Structural Causal Model (SCM) and the corresponding lattice of coalitions. Because of the graph structure, intervening on some nodes is redundant. For example, setting {X1, X2, X3, X4} has the same effect as setting {X3} because X3 blocks all directed paths from the other nodes to Y . For such a class, we refer to its smallest coalition (e.g., {X3}) as thebasis, and the largest coalition (e.g.,{X 1, X2, X3, X4}) as theclosure.

[원문](https://arxiv.org/abs/2602.07203v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt · Exactly Computing do-Shapley Values · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

정확 계산에서는 Shapley 값을 ϕ\_i=Σ\_j ν(c\_j)·w\_i(c\_j) 형태로 바꿉니다. 여기서 w\_i(c)는 class 안의 coalition들에 대한 가중 합이며, 원문은 이를 O(d) 시간에 계산할 수 있다고 보고합니다. 원문 Algorithm 2는 closed set을 큰 크기부터 탐색하여 모든 class를 찾고, 전체 정확 계산 비용을 O(r(d+e+T))로 제시합니다. 여기서 e는 edge 수, T는 가치 함수 한 번의 질의 시간입니다.

## 고정 예산에서의 boundary sampler와 doEstimator

r을 미리 알 수 없고 질의 예산 m이 제한된 경우 저자들은 boundary sampler를 제안합니다. 이 방법은 후보 class를 기대 가중치 크기 E\_i\[\|w\_i(c)\|\]에 비례하여 우선순위 큐에서 뽑고, 뽑은 class의 이웃 coalition을 FindClass로 분석하여 아직 보지 않은 class만 큐에 넣습니다. 원문은 이 방법이 m번 질의에서 min(m,r)개의 distinct class를 확인하도록 보장한다고 주장하며, 실행 비용은 O(m·d(d+e))로 제시합니다.

doEstimator는 이 sampler로 class를 찾은 뒤 두 경우로 나눕니다. m≥r이면 발견된 class로 정확 계산을 수행합니다. m\<r이면 발견된 class에서 질의 없이 coalition을 시뮬레이션하여 생성한 자료를 LeverageSHAP 또는 RegressionMSR 같은 기존 추정기에 넣습니다. 저자들은 이 구성이 기존 추정 기계를 그대로 재사용하고 데이터 생성 과정만 바꾼다고 설명합니다.

## 식별 가능성의 singleton 검사

원문은 do-Shapley 값 ϕ\_i가 식별 가능한 것이 모든 j∈\[d\]에 대해 ν({j})가 식별 가능한 것과 동치라고 주장합니다. 식별 가능성은 관측 분포로부터 인과 질의를 유일하게 결정할 수 있는지를 뜻하며, 이 논문은 이를 판정하기 위해 ID algorithm을 사용합니다. 기존 방식은 r개의 class마다 검사해야 하지만, 이 결과에 따르면 d개의 singleton 검사로 충분합니다.

다만 부록 증명은 비식별성을 설명하는 hedge 구조와 ID algorithm의 정확성에 의존합니다. 따라서 이 결과는 주어진 DAG와 non-parametric 식별 조건에서의 주장이며, 매개변수 가정이 있는 경우의 식별 여부까지 확장하지 않습니다.

## 실제 tabular 데이터에서의 SCM 실험 설정

실험은 TALENT 벤치마크의 tabular 데이터셋을 사용합니다. 정확한 기준값을 얻기 위해, 조상 노드로 제한한 뒤 모든 coalition의 ν(S)를 계산할 수 있는 차원의 데이터셋만 선택했습니다. 실제 데이터에는 참 인과 그래프가 없으므로, GRaSP와 BIC 점수로 CPDAG를 학습하고 이를 DAG로 바꾼 뒤 Gradient Boosting Regressor로 조건부 분포를 적합하여 SCM을 오라클 가치 함수로 사용합니다.

비교 대상은 구조를 모르는 RegressionMSR과 LeverageSHAP입니다. 제안된 doRegressionMSR과 doLeverageSHAP은 같은 추정 기계를 쓰고, 학습 coalition만 boundary sampler가 찾은 class에서 가져옵니다. 평가지표는 예산 비율 m/r에 따른 Relative MSE이며, 여러 데이터셋의 결과를 집계합니다.

## 구조 인지 추정기의 오차 비교와 정확 전환

Figure 5 설명에 따르면 집계된 Relative MSE는 구조 인지 추정기가 기준선보다 일관되게 낮습니다. 특히 예산이 r보다 작은 구간에서 doRegressionMSR이 가장 낮은 오차를 보였다고 원문은 보고합니다. m=r 지점에서는 발견된 class가 모두 확인되므로 정확 계산으로 전환되고, doRegressionMSR과 doLeverageSHAP의 오차가 기계 정밀도 수준까지 떨어집니다. 원문은 기준선이 m=2r에서도 정확도에 도달하지 못했다고 보고합니다.

![Figure 12: Estimator Convergence (Aggregated), Clipped View.The Relative Mean Squared Error (MSE) of Shapley value estimates versus the budget ratio m/r, aggre…](https://refivu.com/papers/30abef3a-87cd-47b1-b138-b8cd5f1bfaa7/figures/figure-6ff0574b018e594bb62bfe15520a8ebf.png?thumb=512)

**Figure 12** .Estimator Convergence (Aggregated), Clipped View.The Relative Mean Squared Error (MSE) of Shapley value estimates versus the budget ratio m/r, aggregated across all datasets. This is the same plot as Figure 5, but where we have adjusted the view to more clearly show the distinctions in estimator performance for whenm/r≤1.

[원문](https://arxiv.org/abs/2602.07203v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt · Exactly Computing do-Shapley Values · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

![Table 5: Relative MSE statistics by budget ratio (m/r)](https://refivu.com/papers/30abef3a-87cd-47b1-b138-b8cd5f1bfaa7/figures/figure-dace0a1894067efdea2eb95818f41543.png?thumb=512)

**Table 5** .Relative MSE statistics by budget ratio (m/r).

[원문](https://arxiv.org/abs/2602.07203v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt · Exactly Computing do-Shapley Values · 원문 그림 인용 · 원본 PDF 30쪽에서 그림 영역을 추출했습니다.

이 결과는 TALENT에서 선택된 learned SCM과 Relative MSE 지표에서 얻은 관찰입니다. 원문은 모든 방법의 실행 시간이 구조 탐색 때문에 더 길다고도 보고하므로, 오차 감소는 추가 계산과 함께 읽어야 합니다.

![Figure 13: Computational Cost.Average wall-clock time (seconds) versus budget ratio ( m/r). The structure-aware estimators (i.e. “do”-variants) incur a consist…](https://refivu.com/papers/30abef3a-87cd-47b1-b138-b8cd5f1bfaa7/figures/figure-6efc2f7e911d9a6014c50c7e1bc004eb.png?thumb=512)

**Figure 13** .Computational Cost.Average wall-clock time (seconds) versus budget ratio ( m/r). The structure-aware estimators (i.e. “do”-variants) incur a consistent runtime overhead compared to their structure-agnostic counterparts. This additional cost represents the time required for graph traversal and boundary sampling to identify distinct equivalence classes. The more computationally demanding structural exploration is the necessary trade-off to achieve the orders-of-magnitude reduction in estimation error seen in e.g. Figure 5.

[원문](https://arxiv.org/abs/2602.07203v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt · Exactly Computing do-Shapley Values · 원문 그림 인용 · 원본 PDF 29쪽에서 그림 영역을 추출했습니다.

## 실제 데이터에서의 class 수와 복잡도

논문은 r이 최악의 경우 d에서 2^d까지 가능하다는 점을 그림 3의 구조로 보여 줍니다. 그러나 실험에서 TALENT 데이터의 관측된 r은 최악의 2^d보다 대체로 낮게 나타났다고 원문은 보고합니다. 이는 학습된 인과 그래프가 실제 tabular 도메인에서 희소하다는 저자들의 해석과 함께 제시됩니다.

따라서 정확 알고리즘의 선형 시간성은 r이 작은 경우에 실질적인 이점이 있습니다. 반대로 r이 큰 그래프에서는 정확 계산의 이득이 줄어들며, 이 논문의 실험은 그런 구조까지 대표한다고 볼 수 없습니다.

## 무작위 층화 샘플링과 적용 범위의 한계

무작위 층화 샘플링을 시도한 Appendix D의 방법은 비용이 m에 대해 이차적으로 증가한다고 원문은 설명합니다. 그래서 빠른 근사를 목표로 하는 이 논문은 boundary sampler를 선택합니다.

또한 실험은 learned SCM을 오라클로 사용하므로, 학습된 그래프와 구조 방정식이 실제 인과 구조와 다를 수 있다는 점을 함께 고려해야 합니다. 원문은 결론에서 더 큰 그래프와 graph misspecification에 대한 민감도를 향후 과제로 남깁니다.

## 논문 정보

- **저자**: R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 2월 6일
- **등록일**: 2026년 10월 30일
- **수정일**: 2026년 2월 6일
- **버전**: v1
- **arXiv**: 2602.07203
- **분류**: cs.LG · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2602.07203v1) · [원문 PDF ↗](https://arxiv.org/pdf/2602.07203v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Structural Causal Models (SCM) are a powerful framework for describing complicated dynamics across the natural sciences. A particularly elegant way of interpreting SCMs is do-Shapley, a game-theoretic method of quantifying the average effect of $d$ variables across exponentially many interventions. Like Shapley values, computing do-Shapley values generally requires evaluating exponentially many terms. The foundation of our work is a reformulation of do-Shapley values in terms of the irreducible sets of the underlying SCM. Leveraging this insight, we can exactly compute do-Shapley values in time linear in the number of irreducible sets $r$, which itself can range from $d$ to $2^d$ depending on the graph structure of the SCM. Since $r$ is unknown a priori, we complement the exact algorithm with an estimator that, like general Shapley value estimators, can be run with any query budget. As the query budget approaches $r$, our estimators can produce more accurate estimates than prior methods by several orders of magnitude, and, when the budget reaches $r$, return the Shapley values up to machine precision. Beyond computational speed, we also reduce the identification burden: we prove that non-parametric identifiability of do-Shapley values requires only the identification of interventional effects for the $d$ singleton coalitions, rather than all classes.

## 원문 인용

R. Teal Witter, Álvaro Parafita, Tomas Garriga, Maximilian Muschalik, Fabian Fumagalli, Axel Brando, Lucas Rosenblatt (2026). Exactly Computing do-Shapley Values. arXiv:2602.07203v1. https://arxiv.org/abs/2602.07203v1

**BibTeX**

```
@misc{witter2026exactly,
  title = {{Exactly Computing do-Shapley Values}},
  author = {R. Teal Witter and Álvaro Parafita and Tomas Garriga and Maximilian Muschalik and Fabian Fumagalli and Axel Brando and Lucas Rosenblatt},
  year = {2026},
  eprint = {2602.07203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.07203v1}
}
```

## 이 논문의 용어

- [Shapley value](https://refivu.com/terms/f702ac842da6-shapley-value)
- [Hedge](https://refivu.com/terms/1f6f69769ade-hedge)
- [GRaSP](https://refivu.com/terms/db92b116d259-grasp)
- [closure](https://refivu.com/terms/078895b7cdbf-closure)
- [equivalence class](https://refivu.com/terms/746883693ba8-equivalence-class)
- [relative MSE](https://refivu.com/terms/d2faf3ac22e0-relative-mse)
- [Shapley interaction index](https://refivu.com/terms/6c4584e2eddf-shapley-interaction-index)

## 다른 논문 해설

- [Adaptive Protein Tokenization](https://refivu.com/papers/6cd4c445-3e9f-4efe-bd9d-eed8e416f18b-adaptive-protein-tokenization.md)
- [Position: Epistemic uncertainty estimation methods are fundamentally incomplete](https://refivu.com/papers/ba6a6554-9b15-4d8c-8255-84c995ebfab1-position-epistemic-uncertainty-estimation-methods-are.md)
- [Magnitude Distance: A Geometric Measure of Dataset Similarity](https://refivu.com/papers/fb7d90f0-c1e3-4073-88d3-80ec60998efa-magnitude-distance-a-geometric-measure-of-dataset-similarity.md)
- [Interpretable Discovery of One-parameter Subgroups: A Modular Framework for Elliptical, Hyperbolic, and Parabolic Symmetries](https://refivu.com/papers/3c232603-b40c-46cb-8109-d82e584a4ff8-interpretable-discovery-of-one-parameter-subgroups-a-modular.md)
- [Categorical Flow Maps](https://refivu.com/papers/a4628ddc-ab4a-451a-b90e-4d763d516757-categorical-flow-maps.md)
- [Why Deep Jacobian Spectra Separate: Depth-Induced Scaling and Singular-Vector Alignment](https://refivu.com/papers/8df6ed88-cb58-4bb7-9b97-21543d14ee83-why-deep-jacobian-spectra-separate-depth-induced-scaling.md)
- [From Kepler to Newton: Inductive Biases Guide Learned World Models in Transformers](https://refivu.com/papers/c554d1e3-f28f-4f41-9470-a136cc8409de-from-kepler-to-newton-inductive-biases-guide-learned.md)
- [Pruning at Initialisation through the lens of Graphon Limit: Convergence, Expressivity, and Generalisation](https://refivu.com/papers/b8f85e2d-d990-42f9-a5b6-3fda39d9c7d6-pruning-at-initialisation-through-the-lens-of-graphon.md)
- [Reparameterization Proximal Policy Optimization](https://refivu.com/papers/e2a6633f-9d04-4b1c-871d-7cd8c5ec46d5-reparameterization-proximal-policy-optimization.md)
- [Dichotomy of Feature Learning and Unlearning: Fast-Slow Analysis on Neural Networks with Stochastic Gradient Descent](https://refivu.com/papers/d22616f1-d062-41c9-96ea-b861b94b978c-dichotomy-of-feature-learning-and-unlearning-fast-slow.md)
- [A Unified Density Operator View of Flow Control and Merging](https://refivu.com/papers/897e7d07-4af1-4536-a196-1a3511d0b69f-a-unified-density-operator-view-of-flow-control.md)
- [TerraBind: Fast and Accurate Binding Affinity Prediction through Coarse Structural Representations](https://refivu.com/papers/c67c89d8-e6d3-462c-8b8a-625138519eff-terrabind-fast-and-accurate-binding-affinity-prediction.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/30abef3a-87cd-47b1-b138-b8cd5f1bfaa7-exactly-computing-do-shapley-values)
