A Concept Activation Vector (CAV) is a direction in a neural network's activation space that corresponds to a human-defined, high-level concept, such as 'stripes' or 'financial risk.' Developed as part of the Testing with Concept Activation Vectors (TCAV) framework, CAVs provide a model-agnostic, quantitative measure of a model's sensitivity to a given concept for a specific prediction. This transforms abstract neuron activations into interpretable, concept-based explanations.
Glossary
Concept Activation Vectors (CAVs)

What is Concept Activation Vectors (CAVs)?
A technique for interpreting neural networks by linking internal activations to human-understandable concepts.
CAVs are created by training a linear classifier to distinguish between activations generated by data containing the concept and random counterexamples. The vector orthogonal to this classifier's decision boundary defines the CAV. When grounded in an enterprise knowledge graph's ontology, these concepts gain formal definitions and relationships, enabling deterministic factual grounding for explanations and allowing systematic testing of model behavior against a controlled vocabulary of business entities and relationships.
Key Features of Concept Activation Vectors
Concept Activation Vectors (CAVs) are a technique for interpreting the internal states of a neural network by measuring its sensitivity to user-defined, high-level concepts, which can be grounded in a knowledge graph's ontology.
Concept-Driven Interpretability
CAVs move beyond low-level feature attribution (e.g., pixel saliency) to measure a model's sensitivity to human-understandable concepts. A concept is defined by a set of example data points (e.g., images of 'stripes' or text containing 'financial risk'). The CAV is the vector normal to a linear boundary that separates activations for concept examples from random examples in a model's latent space. This provides a direct answer to: 'Is concept X used by the model for this prediction?'
Testing with Concept Activation (TCAV)
Testing with Concept Activation (TCAV) is the primary quantitative method using CAVs. It calculates a directional derivative to measure the sensitivity of a model's prediction for a class (e.g., 'zebra') to a concept (e.g., 'stripes'). The result is a TCAV score—the fraction of class inputs for which the concept is positively influential. For example, a TCAV score of 0.8 for 'stripes' on 'zebra' predictions means 80% of zebra images relied positively on the stripe concept. This provides a global, class-level understanding of concept importance.
Integration with Knowledge Graphs
CAVs bridge the gap between statistical learning and symbolic knowledge. A knowledge graph's ontology provides a formal, structured source for concept definitions and relationships.
- Concept Grounding: Ontology classes (e.g.,
dbo:Company,schema:FinancialProduct) provide authoritative, reusable concept definitions. - Relationship Awareness: CAVs can test for related concepts (e.g., 'liquidity' and 'volatility') to explain a financial prediction, with the KG defining their semantic relationship.
- Bias Detection: Concepts representing protected attributes (e.g., gender, ethnicity) defined in a governance ontology can be used to audit models for unfair reliance.
Model-Agnostic and Layer-Specific
CAVs are model-agnostic; they interpret the model's internal activations, not its architecture. They are also layer-specific, providing a view into how conceptual understanding evolves through the network.
- Early Layers: CAVs often correspond to low-level features (edges, textures).
- Deep Layers: CAVs align with high-level, abstract concepts (e.g., 'corporate merger', 'medical anomaly').
- Analytical Process:
- Select a model layer to probe.
- Gather activations for concept examples and random counterexamples.
- Train a linear classifier (e.g., SVM) to distinguish them.
- The classifier's normal vector is the CAV for that concept at that layer.
Quantitative and Human-Aligned Evaluation
CAV-based explanations are evaluated with both statistical and human-centric metrics.
- Statistical Significance: Uses a two-sample t-test to ensure the CAV direction is meaningful compared to random directions.
- Sensitivity Scores: The TCAV score provides a clear, quantitative measure of concept influence.
- User Studies: Explanations are validated by measuring if they improve human task performance (e.g., trust calibration, error detection) compared to other methods like saliency maps. This dual evaluation ensures explanations are both mathematically sound and practically useful.
Applications in Enterprise AI Governance
CAVs are a core tool for algorithmic explainability and interpretability in regulated industries.
- Auditing & Compliance: Generate evidence for concepts used in credit scoring or hiring models to satisfy Right to Explanation requirements.
- Bias & Fairness Audits: Test for unwanted reliance on concepts like demographic proxies.
- Model Debugging: Identify if a model uses spurious concepts (e.g., 'watermark' for diagnosing a disease).
- Domain Expert Collaboration: Allows subject matter experts (e.g., radiologists, loan officers) to define and test relevant concepts, creating a shared language between engineers and stakeholders.
CAVs vs. Other Explainability Methods
A technical comparison of Concept Activation Vectors (CAVs) against other prominent explainability techniques, highlighting their unique approach to concept-based interpretation.
| Method / Feature | Concept Activation Vectors (CAVs) | Feature Attribution (e.g., SHAP, LIME) | Saliency & Attention Maps | Surrogate Models (e.g., Decision Trees) |
|---|---|---|---|---|
Core Mechanism | Measures sensitivity to user-defined, high-level concepts in activation space | Attributes prediction to input features via perturbation or game theory | Highlights influential input pixels/tokens via gradients or attention weights | Approximates black-box model with a globally interpretable model |
Interpretation Level | Concept-level (human-semantic) | Feature-level (input dimensions) | Input-level (pixels, tokens) | Model-level (global logic) |
Knowledge Graph Grounding | Possible (if surrogate uses KG features) | |||
Requires Concept Definitions | ||||
Model-Agnostic | Typically true | |||
Explanation Scope | Global & Local | Primarily Local | Local | Global |
Output Format | Concept sensitivity scores (TCAV) | Feature importance scores/plots | Heatmap overlay on input | Interpretable rules or tree |
Intrinsic to Model Architecture | True for attention-based models | |||
Typical Fidelity Score | 0.7 - 0.9 (TCAV p-value) | 0.8 - 0.95 (SHAP correlation) | 0.5 - 0.8 (gradient correlation) | 0.6 - 0.85 (surrogate accuracy) |
Computational Cost | Medium (requires concept datasets) | High (many model evaluations) | Low (single forward/backward pass) | Medium (train surrogate model) |
Primary Use Case | Auditing model understanding of human concepts | Debugging predictions & justifying decisions | Visualizing what the model 'sees' | Understanding overall model behavior |
Frequently Asked Questions
Concept Activation Vectors (CAVs) are a core technique in Explainable AI (XAI) for interpreting neural networks by linking their internal activations to human-understandable concepts, often grounded in a knowledge graph's ontology.
A Concept Activation Vector (CAV) is a vector in a neural network's activation space that represents the direction corresponding to a user-defined, high-level concept. It is a technique from the field of Interpretable Machine Learning that provides a model-agnostic explanation by measuring a network's sensitivity to abstract ideas like 'striped,' 'medical,' or 'financial risk.' The CAV is derived by training a linear classifier to distinguish between activations generated by data points that contain the concept and those that do not; the vector orthogonal to the classifier's decision boundary becomes the CAV. This allows practitioners to query whether a specific internal representation of the model is 'concept-aware.'
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
Concept Activation Vectors (CAVs) are a key technique for interpreting neural networks. The following terms represent the broader ecosystem of methods and metrics for making AI decisions transparent and auditable.
Explainable AI (XAI)
Explainable AI (XAI) is the overarching field of artificial intelligence focused on creating methods and techniques that make the outputs and internal workings of machine learning models understandable to human stakeholders. It encompasses all post-hoc and intrinsic methods for generating explanations.
- Goal: Provide transparency, build trust, and ensure compliance with regulations like the EU AI Act.
- Scope: Includes techniques like saliency maps, feature importance, rule extraction, and counterfactual explanations.
- Relation to CAVs: CAVs are a specific XAI technique that provides concept-based explanations for a model's latent space.
Saliency Maps
Saliency Maps are visual or numerical attributions that highlight the specific pixels in an image or tokens in text that were most influential for a model's prediction. For graphs, they highlight important nodes, edges, or features.
- Mechanism: Typically calculate the gradient of the output score with respect to the input features.
- Contrast with CAVs: While saliency maps show low-level feature importance (e.g., pixels), CAVs measure sensitivity to high-level, human-defined concepts (e.g., 'stripes', 'financial risk').
Counterfactual Explanations
Counterfactual Explanations answer the question: "What minimal changes to the input would have led to a different model output?" They are actionable, human-understandable statements.
- Example: "Your loan was denied. If your annual income had been $5,000 higher, it would have been approved."
- Relation to CAVs: Both provide intuitive explanations. Counterfactuals operate on the input feature space, while CAVs explain behavior in the model's internal activation space using conceptual directions.
SHAP (SHapley Additive exPlanations)
SHAP is a unified framework for explaining model predictions based on Shapley values from cooperative game theory. It attributes the prediction of any model to each input feature's contribution.
- Core Principle: Fairly distributes the 'payout' (prediction) among the 'players' (input features).
- Model-Agnostic: Can be applied to any machine learning model.
- Contrast with CAVs: SHAP explains predictions via input feature attribution. CAVs explain model internals via concept sensitivity in latent space. They are complementary lenses.
Interpretability vs. Explainability
These are two core, distinct objectives in transparent AI.
- Interpretability (Transparency): The ability to understand a model's mechanics directly from its structure without external aids. Examples include linear regression coefficients or a decision tree's splitting rules.
- Explainability: The use of external, post-hoc methods to provide understandable reasons for a black-box model's behavior or outputs. LIME, SHAP, and CAVs are explainability techniques.
- Key Difference: Interpretability is an inherent property of a simple model; explainability is a capability applied to a complex model.
Faithfulness Metric
The Faithfulness Metric is a critical evaluation measure for post-hoc explanations. It quantifies how accurately an explanation reflects the true reasoning process of the underlying model.
- Measurement: Correlates the importance scores assigned by the explanation (e.g., which concepts a CAV says are important) with the actual impact on the model's output when those features/concepts are perturbed.
- Purpose: Distinguishes plausible-sounding explanations from those that are truly faithful to the model's function. A high-fidelity CAV would correctly predict how concept removal changes a prediction.

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