Inferensys

Glossary

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.
Large-scale analytics wall displaying performance trends and system relationships.
INTERPRETABILITY VISUALIZATION

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.

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.

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.

VISUALIZING CONCEPT INFLUENCE

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.

01

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.

Per-pixel
Resolution Granularity
Directional
Derivative Type
02

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.

All layers
Profiling Scope
Depth-specific
Abstraction Level
03

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.

p < 0.05
Typical Threshold
Two-sided
T-Test Type
04

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.

N-concepts
Simultaneous Analysis
Competitive
Interaction Type
05

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.

Causal
Measurement Type
Activation-level
Intervention Point
06

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.

Frame-level
Temporal Resolution
Sequential
Data Type
CONCEPT SENSITIVITY MAPS

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?'

CONCEPT SENSITIVITY MAP

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.

03

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.

04

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.

05

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.

06

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.

INTERPRETABILITY COMPARISON

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.

FeatureConcept Sensitivity MapStandard Saliency MapGradient × 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

Prasad Kumkar

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.