The Efficiency Property ensures that the total Shapley value distribution across all input features perfectly accounts for the model's output deviation from the baseline value. This axiom, also called local accuracy or additivity, mandates that no portion of the prediction remains unexplained, providing a complete and faithful decomposition of the model's decision for a specific instance.
Glossary
Efficiency Property

What is the Efficiency Property?
The Efficiency Property is a fundamental axiom in SHAP that guarantees the sum of all feature attributions exactly equals the difference between the model's prediction and the baseline value.
By enforcing that the sum of feature attributions equals f(x) - E[f(X)], the property transforms the abstract game-theoretic concept of fair distribution into a practical, auditable accounting ledger. This guarantees that the explanation model is not an approximation but an exact match to the original model's output at the point of explanation, which is critical for regulatory compliance and debugging.
Key Characteristics of the Efficiency Property
The Efficiency property is a foundational axiom of Shapley Additive Explanations that guarantees a complete and fair accounting of a model's prediction. It ensures that the sum of all feature attributions exactly equals the difference between the model's output and the expected baseline value, leaving no residual contribution unexplained.
Complete Attribution Accounting
Efficiency mandates that the explanation model's output perfectly matches the original model's prediction for a specific instance. This is formally expressed as: f(x) = φ₀ + Σᵢ φᵢ, where f(x) is the model's prediction, φ₀ is the baseline expected value, and φᵢ are the individual Shapley values for each feature. This property ensures that the total prediction is fully decomposed into additive feature contributions with no unexplained residual.
Local Accuracy Guarantee
Also known as the Local Accuracy property, Efficiency ensures that the explanation is faithful to the model at the individual prediction level. When you sum all SHAP values for a single instance and add the baseline, you recover the exact model output. This is critical for high-stakes auditing where every unit of the prediction must be accounted for, such as in credit denial or medical diagnosis explanations.
Baseline Value Integration
The Efficiency property explicitly incorporates the baseline value φ₀, which represents the model's expected output across the background dataset. This baseline acts as the starting point from which features push the prediction higher or lower. Without Efficiency, the relationship between the baseline and the final prediction would be ambiguous, undermining the additive nature of the explanation.
Distinction from Consistency and Missingness
Efficiency works in concert with the other Shapley axioms but serves a distinct role:
- Efficiency: Guarantees the sum of attributions equals the prediction difference
- Missingness: Ensures absent features receive zero attribution
- Consistency: Ensures that if a feature's contribution increases, its attribution does not decrease Together, these three properties uniquely define the Shapley value solution.
Practical Verification in SHAP
In practice, you can verify the Efficiency property by summing the SHAP values for any instance and comparing to the model output. For a prediction of 0.82 with a baseline of 0.50, the sum of all SHAP values must equal exactly 0.32. Libraries like the official shap package enforce this property by construction in both KernelSHAP and TreeSHAP implementations.
Additive Feature Attribution Foundation
Efficiency is the defining characteristic of the Additive Feature Attribution class of explanation models. Any method that satisfies this property expresses a prediction as a linear sum of feature effects. This additive structure is what makes SHAP explanations intuitive for human interpretation, as each feature's impact can be understood independently and then combined to reconstruct the full prediction.
Frequently Asked Questions
Clear answers to common questions about the Efficiency Property in Shapley Additive Explanations, covering its mathematical definition, practical implications, and relationship to other SHAP axioms.
The Efficiency Property is a fundamental Shapley axiom that guarantees the sum of all feature attributions for a given prediction exactly equals the difference between the model's output and the baseline value. Mathematically, if (\phi_i) represents the SHAP value for feature (i), then (\sum_{i=1}^{M} \phi_i = f(x) - \mathbb{E}[f(X)]). This ensures a complete, additive decomposition of the prediction with no unexplained residual. The property works by distributing the total prediction gap across all features according to their marginal contributions across all possible feature coalitions. For example, if a model predicts a house price of $450,000 and the baseline is $320,000, the SHAP values for square footage, bedrooms, location, and all other features will sum to exactly $130,000. This makes SHAP explanations locally accurate and fully accountable, which is critical for regulatory compliance and debugging.
Efficiency vs. Other Shapley Axioms
How the Efficiency property compares to the other core Shapley axioms in defining fair attribution.
| Axiom | Efficiency | Symmetry | Dummy / Missingness | Additivity |
|---|---|---|---|---|
Core Requirement | Sum of attributions equals prediction difference from baseline | Identical contributions yield identical values | Zero contribution features get zero attribution | Combined game values equal sum of individual game values |
Mathematical Form | ∑ᵢ φᵢ = f(x) - E[f(X)] | If f(S∪{i}) = f(S∪{j}) ∀S, then φᵢ = φⱼ | If f(S∪{i}) = f(S) ∀S, then φᵢ = 0 | φᵢ(v+w) = φᵢ(v) + φᵢ(w) |
Primary Role | Ensures complete accountability | Ensures fairness across equals | Ensures no credit for non-contributors | Ensures consistency across models |
Violation Consequence | Unexplained residual in prediction | Arbitrary bias between equivalent features | Non-zero attribution to absent features | Inconsistent explanations for ensemble models |
SHAP Implementation | Enforced by design in all SHAP methods | Automatically satisfied by Shapley formula | Corresponds to Missingness property in SHAP | Enables SHAP to explain ensemble models |
Audit Relevance | Critical for regulatory compliance | Important for fairness audits | Essential for feature selection validation | Useful for model comparison |
Computational Verification | Sum SHAP values and compare to f(x)-baseline | Check attributions of swapped identical features | Verify zero attribution for constant features | Check SHAP of ensemble equals weighted sum of SHAPs |
Interdependency | Depends on all other axioms for uniqueness | Works with Efficiency to prevent arbitrary splits | Works with Efficiency to anchor baseline | Works with Efficiency to handle model composition |
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
The Efficiency Property is one of three fundamental axioms in the SHAP framework. Explore the other axioms and core concepts that define how Shapley values distribute credit among features.
Local Accuracy
The axiom requiring that the sum of all feature attributions plus the baseline value exactly equals the model's original prediction for a specific instance. This guarantees the explanation is a faithful, additive decomposition of the output.
- Mathematical form: f(x) = φ₀ + Σᵢ φᵢ
- Ensures no prediction magnitude is lost or created during explanation
- Works in tandem with Efficiency to provide a complete accounting of the model's decision
Missingness
The axiom stating that features not present in the original input must receive an attribution of exactly zero. This prevents absent features from being credited or blamed for a prediction they did not influence.
- Enforces that x'ᵢ = 0 implies φᵢ = 0
- Critical for handling sparse inputs and missing data
- Distinguishes SHAP from methods that may assign non-zero importance to absent features
Consistency
The property ensuring that if a model changes so a feature's marginal contribution increases (or stays the same) across all subsets, its SHAP value must not decrease. This guarantees attributions track true feature importance.
- Formalized as: if f'ₓ(S ∪ i) - f'ₓ(S) ≥ fₓ(S ∪ i) - fₓ(S) for all S, then φᵢ(f', x) ≥ φᵢ(f, x)
- Prevents counterintuitive attribution reversals
- Ensures SHAP values are monotonic with respect to feature impact
Baseline Value
The expected model output computed across the background dataset, representing the prediction when no feature information is known. The Efficiency Property uses this as the starting point from which all feature contributions are measured.
- Denoted as φ₀ = E[f(X)]
- Acts as the intercept term in the additive explanation model
- Choice of background dataset significantly impacts SHAP value interpretation
- Observational vs. Interventional: baseline computation differs based on whether feature correlations are preserved
Marginal Contribution
The difference in prediction when a feature is added to a specific subset of other features. This is the atomic unit of Shapley value computation, measuring a feature's incremental impact.
- Formula: Δᵢ(S) = f(S ∪ {i}) - f(S)
- Computed across all 2ⁿ⁻¹ possible subsets for exact Shapley values
- Efficiency Property ensures the weighted average of all marginal contributions sums to the total prediction difference
- Forms the basis for both KernelSHAP and TreeSHAP estimation algorithms

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us