Exact estimation

ExactEstimator scores every coalition and hands the payoffs to an estimand plugin: ground truth for sampling estimators on short prompts.

Enumeration scope

\(n\) players need all \(2^n\) coalitions: 64 for “Cancel my old phone plan today”, over a million at \(n = 20\). ExplainRunner scores \(v(N)\) from the base generation (the unmasked prompt’s output) at no extra call. With the full table Shapley values add up exactly (Shapley values and axioms).

Estimand delegation

\[\text{ExactEstimator} \rightarrow \{v(S)\}_{S} \xrightarrow{\text{EstimandAggregator}} (\phi_1, \ldots, \phi_n)\]

The plugin (Shapley, Banzhaf or a semivalue) weights the marginal contributions. Samplers use the same plugins, so exact is their reference.

Legacy parity

Shapley values match PreciseShapExplainer of legacy MLLM-Shap on additive games; both use the full \(2^n\) table. Other differences: Coming from legacy MLLM-Shap.

Further reading