Sensitivity-n, also known as the Dummy or Null Feature axiom, is a mathematical requirement for feature attribution methods stating that if a model's output is functionally independent of a specific input feature, that feature must receive an attribution of exactly zero. This principle ensures that explanations do not falsely assign importance to variables that the model ignores, providing a critical sanity check for the faithfulness of an interpretability technique.
Glossary
Sensitivity-n

What is Sensitivity-n?
A foundational axiom for evaluating the correctness of feature attribution methods, ensuring that irrelevant features receive zero importance.
The axiom is a core component of the axiomatic attribution framework, which evaluates methods like Integrated Gradients and DeepLIFT. A violation of Sensitivity-n occurs when a method assigns a non-zero importance score to a constant feature or a feature to which the model's weights are disconnected, indicating a fundamental flaw in the explanation's logic and undermining trust in the model's audit trail.
Key Characteristics of Sensitivity-n
Sensitivity-n, also known as the Insensitivity axiom, is a foundational mathematical constraint for feature attribution methods. It mandates that if a model's output is functionally independent of a specific input feature, that feature must receive an attribution score of exactly zero.
The Core Axiom: Insensitivity
Sensitivity-n states that if a feature x_i does not mathematically influence the model's output F(x)—meaning the partial derivative of F with respect to x_i is zero everywhere in the local input domain—then the attribution assigned to x_i must be exactly zero. This prevents attribution methods from hallucinating importance for features the model ignores.
- Formal Definition: If ∂F(x)/∂x_i = 0 for all points in a neighborhood, then Attribution(x_i) = 0.
- Contrast with Sensitivity: Sensitivity (the 'n' is often dropped) requires non-zero attribution when a feature does affect the output; Sensitivity-n handles the opposite case.
- Violation Example: A method that assigns non-zero importance to a constant input pixel that is multiplied by a zero weight fails this axiom.
Distinction from Completeness
While Completeness ensures the sum of attributions equals the output difference, Sensitivity-n ensures individual feature fidelity. A method can satisfy Completeness by distributing attribution across all features, but it fails Sensitivity-n if it assigns a non-zero score to a feature with a zero gradient.
- Completeness: Σ Attributions = F(x) - F(baseline)
- Sensitivity-n: If feature is functionally irrelevant, its attribution must be 0.
- Combined Strength: Together, these axioms guarantee that the attribution vector is both exhaustive (sums correctly) and sparse (ignores truly unused features).
Role in Axiomatic Attribution Frameworks
Sensitivity-n is one of the key axioms proposed by Sundararajan, Taly, and Yan in their 2017 paper on Integrated Gradients. It serves as a critical filter for evaluating the mathematical soundness of any attribution technique.
- Benchmark Axiom: Methods like DeepLIFT and LRP were designed with this constraint in mind.
- Failure Case: Raw Gradient × Input can violate Sensitivity-n when the gradient is zero but the input value is non-zero, incorrectly yielding a zero attribution for a relevant feature, or vice versa in edge cases.
- Guarantee: Integrated Gradients provably satisfies Sensitivity-n by integrating gradients along a path, ensuring that features with zero gradient everywhere contribute nothing.
Practical Implications for Model Debugging
When debugging a model, Sensitivity-n guarantees that features shown with zero attribution are genuinely disconnected from the prediction. This allows engineers to confidently prune irrelevant inputs or identify dead neurons.
- Feature Selection: Safely remove features that consistently receive zero attribution across a dataset.
- Architecture Validation: If a known critical feature receives zero attribution, it signals a vanishing gradient problem or a disconnected sub-network.
- Compliance: For regulated industries, proving that a protected attribute (e.g., race) has zero attribution requires an axiom like Sensitivity-n to ensure the explanation is not hiding its influence.
Relationship to Implementation Invariance
Sensitivity-n works in tandem with Implementation Invariance. Two functionally identical networks must not only produce the same output but also the same attributions. Sensitivity-n ensures that if one network architecture ignores a feature, the attribution method cannot arbitrarily assign importance to it just because of a different internal weight configuration.
- Functional Equivalence: If Network A and Network B compute the exact same function F(x), their attributions for a feature with zero gradient must both be zero.
- Prevents Gaming: Without this axiom, an attribution method could be manipulated by simply adding a disconnected computational branch to the network.
Limitations and Edge Cases
Sensitivity-n only applies to features with a strictly zero gradient in a local neighborhood. It does not require zero attribution for features with a small but non-zero influence, which is governed by the related Sensitivity axiom.
- Local vs. Global: A feature might have a zero gradient at a specific input point but influence the output elsewhere. Sensitivity-n applies locally.
- Discrete Inputs: For text or categorical data, gradients are not directly defined, requiring embedding-space approximations.
- Shattered Gradients: In deep networks, noisy gradients can make it computationally difficult to verify if a gradient is truly zero or just numerically small, complicating strict enforcement.
Frequently Asked Questions
Clear answers to common questions about the Sensitivity-n axiom, its mathematical foundations, and its role in evaluating and designing faithful feature attribution methods.
The Sensitivity-n axiom, also known as the Sensitivity or Dummy axiom, is a fundamental mathematical principle in the axiomatic attribution framework that requires a feature attribution method to assign a value of exactly zero to any input feature that is mathematically independent of the model's output. Formally, if a function f(x) does not depend on a specific input variable x_i—meaning the partial derivative of f with respect to x_i is zero everywhere, or the function's value never changes regardless of the value of x_i—then the attribution A_i for that feature must be zero. This axiom ensures that attribution methods do not hallucinate importance for features that the model literally ignores. It is one of the core axioms proposed alongside Implementation Invariance and Completeness in the foundational work on Integrated Gradients, serving as a critical sanity check for the faithfulness of any explanation technique. A method that violates Sensitivity-n risks misleading users by highlighting irrelevant inputs, undermining trust in the model's decision-making process.
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
Explore the foundational axioms and related methods that define rigorous feature attribution, ensuring explanations are mathematically faithful to the model's decision logic.
Completeness Axiom
The principle that the sum of all feature attributions must equal the difference between the model's output for the input and a baseline. Sensitivity-n is a weaker corollary of this axiom. If completeness holds, the attribution method accounts for the total output magnitude, leaving no relevance unassigned.
Implementation Invariance
An axiom requiring that two functionally identical networks produce identical attributions. Gradient-based methods like Gradient × Input violate this, while Integrated Gradients and DeepLIFT satisfy it. Sensitivity-n alone does not guarantee implementation invariance.
DeepLIFT
Explains predictions by comparing neuron activations to a reference state. DeepLIFT's Rescale Rule satisfies Sensitivity-n by ensuring that a feature with zero difference from the reference receives zero contribution. It avoids the gradient saturation problem common in raw gradients.
Gradient Saturation
A failure mode where the gradient of the output with respect to a critical feature is near-zero because the network has saturated. This violates Sensitivity-n in practice—a feature the model depends on receives zero attribution. Methods like Integrated Gradients and DeepLIFT are designed to overcome this.
Axiomatic Attribution Framework
A formal evaluation system for feature importance methods. Key axioms include:
- Sensitivity-n: Zero-dependence implies zero attribution
- Completeness: Attributions sum to output difference
- Implementation Invariance: Identical functions yield identical attributions
- Linearity: Attributions preserve linear combinations

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