A Concept Sensitivity Map is a visualization that spatially or structurally localizes where a model's prediction is most reactive to a specific, high-level concept. It is generated by computing the directional derivative of a class score with respect to a Concept Activation Vector (CAV) across different input regions or network nodes, producing a heatmap of concept influence.
Glossary
Concept Sensitivity Map

What is Concept Sensitivity Map?
A visualization that highlights the regions of an input or the nodes in a computational graph that are most sensitive to perturbations along a specific concept direction.
Unlike standard saliency maps that highlight important pixels, a Concept Sensitivity Map reveals why those pixels matter by linking them to semantic abstractions like 'stripes' or 'metallic texture.' This technique, central to Testing with CAVs (TCAV), allows engineers to validate whether a model's internal reasoning aligns with domain knowledge by visually auditing where a concept is encoded in the input or the activation space.
Key Characteristics of Concept Sensitivity Maps
Concept Sensitivity Maps provide a spatial or topological visualization of where and how strongly a high-level concept influences a model's decision. They bridge the gap between abstract concept vectors and the concrete input features or network nodes that drive predictions.
Spatial Sensitivity Quantification
A Concept Sensitivity Map computes the directional derivative of a class prediction score with respect to perturbations along a Concept Activation Vector (CAV) at every spatial location in the input. This produces a heatmap where high-intensity regions indicate areas where the concept's presence strongly influences the model's output. Unlike standard saliency maps that show importance to a class, these maps show importance to a concept, enabling fine-grained semantic auditing.
Layer-Wise Sensitivity Profiling
Beyond input-space maps, sensitivity can be mapped across a network's computational graph. By measuring concept sensitivity at each layer's activation space, engineers can identify which layers are most responsible for encoding and transforming a concept. This profiling reveals the depth of abstraction at which a concept becomes functionally relevant, distinguishing between early-layer texture sensitivity and late-layer semantic sensitivity.
Statistical Significance Masking
Raw sensitivity values can be noisy. Robust Concept Sensitivity Maps apply statistical significance testing—typically a two-sided t-test—to compare concept sensitivity against a null distribution of random vector sensitivities. Only regions or nodes with statistically significant sensitivity (e.g., p < 0.05 after correction) are displayed, ensuring the map reflects genuine concept encoding rather than random activation patterns.
Multi-Concept Comparative Mapping
A single input can be simultaneously analyzed for sensitivity to multiple concepts, producing comparative sensitivity maps. For example, a medical image can be mapped for sensitivity to 'edema,' 'lesion,' and 'artifact' concepts simultaneously. This allows clinicians and engineers to see which concepts compete or cooperate in a prediction, revealing the model's conceptual decision boundaries and potential reliance on spurious correlations.
Concept Intervention Heatmaps
An advanced form of sensitivity mapping involves causal concept intervention: directly editing activations to amplify or suppress a concept and measuring the output change. The resulting map shows not just correlation but causal influence of a concept on the prediction. This technique is critical for verifying that a model's reliance on a concept is functionally necessary, not merely correlational, for safety-critical applications.
Temporal Sensitivity Mapping
For sequence models processing video or time-series data, Concept Sensitivity Maps extend into the temporal dimension. They highlight which frames or time steps are most sensitive to a concept, revealing when a model 'recognizes' a concept in a sequence. This is essential for debugging action recognition models or financial forecasting systems where concept timing is critical to the decision.
Frequently Asked Questions
Explore the key questions surrounding Concept Sensitivity Maps, the visualization technique used to identify which regions of an input or computational graph are most responsive to high-level conceptual perturbations.
A Concept Sensitivity Map is a visualization that highlights the spatial regions of an input or the specific nodes in a computational graph that are most responsive to perturbations along a defined Concept Activation Vector (CAV). It works by computing the directional derivative of a model's prediction score with respect to an infinitesimal shift in the activations toward a specific concept direction. This process generates a heatmap where high-intensity areas indicate that changing the latent representation at that location to be more aligned with the concept would significantly alter the model's output. Unlike standard saliency maps that highlight importance for a class, a concept sensitivity map answers the question: 'Where does the model encode the abstract idea of stripes or metallic texture?'
Practical Applications in AI Auditing
Concept Sensitivity Maps translate abstract mathematical vectors into actionable visual diagnostics, allowing auditors to pinpoint exactly where and how strongly a high-level concept influences a model's reasoning.
Concept Attribution Matrices
A matrix visualization that cross-references concepts against output classes to create a global interpretability dashboard. Each cell displays the aggregated sensitivity score, often derived from TCAV or ConceptSHAP.
- Rows represent user-defined concepts (e.g., 'fur', 'wheel', 'wing')
- Columns represent model output classes (e.g., 'cat', 'car', 'plane')
- Cell intensity and color encode the magnitude and direction of influence
This matrix allows auditors to rapidly verify that a model relies on semantically appropriate concepts for each class and flags concept leakage, where an irrelevant concept spuriously drives a prediction.
Counterfactual Concept Perturbation
This interactive application allows an auditor to virtually intervene on a concept's activation and observe the resulting shift in the sensitivity map and final prediction. By dragging a slider to amplify or suppress a concept, the map updates in real-time.
- Tests causal influence: Does suppressing 'red' change the 'stop sign' sensitivity map?
- Validates concept disentanglement: Does modifying one concept leave others unchanged?
- Generates counterfactual explanations: 'If the concept of 'rust' were reduced, the model would classify this as a functional bridge.'
This turns a static map into a dynamic diagnostic tool for probing model reasoning.
Statistical Significance Masking
Raw sensitivity values can be noisy. This application overlays a statistical significance mask derived from a two-sided t-test comparing concept sensitivities against random vector baselines. Only regions or layers where the concept's influence is statistically significant are highlighted.
- Filters out spurious activations that are merely artifacts of network noise
- Provides confidence bounds for the sensitivity map, crucial for high-stakes auditing
- Uses the same statistical framework as TCAV to ensure methodological consistency
This transforms a qualitative heatmap into a quantitative, auditable artifact suitable for compliance documentation.
Concept Drift Monitoring Dashboard
A temporal application that tracks how a concept's sensitivity map evolves as the model is retrained or fine-tuned over time. Successive maps are compared using structural similarity indices to detect concept drift.
- Alerts auditors when a model's reliance on a critical concept (e.g., 'tumor margin') degrades
- Visualizes catastrophic forgetting of concepts during incremental learning
- Correlates sensitivity shifts with changes in validation accuracy to diagnose performance regressions
This dashboard is a key component of MLOps governance, ensuring that model updates do not silently erode conceptual alignment with domain knowledge.
Concept Sensitivity Map vs. Standard Saliency Maps
A comparison of visualization techniques that highlight input regions driving model predictions, contrasting concept-level sensitivity with pixel-level gradient attribution.
| Feature | Concept Sensitivity Map | Standard Saliency Map | Gradient × Input |
|---|---|---|---|
Granularity of Explanation | High-level semantic concepts | Low-level input pixels | Low-level input pixels |
Operates in Activation Space | |||
Requires Concept Definition | |||
Uses Directional Derivatives | |||
Human-Interpretable Output | |||
Captures Non-Linear Interactions | |||
Statistical Significance Testing | |||
Computational Cost | Moderate | Low | Low |
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
A concept sensitivity map visualizes how a model's predictions respond to perturbations along specific concept directions. The following related terms form the foundational toolkit for building, validating, and interpreting these maps.
Concept Activation Vector (CAV)
A CAV is a direction in a neural network's activation space that encodes a high-level, human-understandable concept. It is derived by training a linear classifier to distinguish between examples of the concept and random counterexamples. The resulting vector normal to the decision boundary represents the concept's axis, enabling quantitative sensitivity analysis.
Testing with CAVs (TCAV)
TCAV quantifies a model's sensitivity to a user-defined concept by computing the directional derivative of a class prediction score along the CAV direction. The technique produces a TCAV score, which is the fraction of inputs for which the prediction increases with concept intensity. Statistical significance is validated using a two-sided t-test against random vectors.
Directional Derivative
The directional derivative measures the instantaneous rate of change of a model's prediction score with respect to an infinitesimal shift in the input's activations along a specific concept vector. Mathematically, it is the dot product of the gradient of the prediction with respect to activations and the unit CAV. This value directly populates a concept sensitivity map.
Concept Attribution
Concept attribution assigns a relevance or importance score to a high-level concept for a specific model prediction. Unlike feature attribution, which operates on raw inputs, this process works on semantic abstractions. Methods include:
- ConceptSHAP: Applies Shapley values to concepts
- Concept Relevance Propagation (CRP): Decomposes decisions through latent concept layers
Concept Intervention
Concept intervention is the causal manipulation of a model's internal activations during inference to increase or decrease the presence of a concept. By directly editing the activation vector along a CAV direction and observing the output change, practitioners can verify whether a concept truly causes a prediction, moving beyond correlation to causation in sensitivity maps.
Concept Bottleneck Model (CBM)
A CBM is an inherently interpretable architecture that first predicts a set of predefined human-understandable concepts from the input and then uses only those concept scores to make the final prediction. This forces the model to reason through concepts explicitly, making sensitivity maps a natural byproduct of the architecture rather than a post-hoc analysis tool.

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