A concept bank is a structured collection of high-level, human-understandable concepts—such as 'stripes,' 'wheels,' or 'smiling'—each represented by a concept activation vector (CAV) in a model's activation space. It pairs each concept with a labeled probe dataset of positive and negative examples, enabling consistent, reproducible testing of a model's sensitivity to specific semantic abstractions using techniques like Testing with CAVs (TCAV).
Glossary
Concept Bank

What is Concept Bank?
A concept bank is a curated repository of pre-defined, labeled concept vectors and their associated probe datasets, serving as a standardized library for auditing and interpreting machine learning models.
By providing a shared, version-controlled library of concepts, a concept bank standardizes the interpretability workflow across teams and models. It allows researchers to audit for unintended biases, validate alignment with domain knowledge, and compare concept importance across different model architectures without the overhead of manually curating probe datasets for every analysis.
Key Features of a Concept Bank
A Concept Bank is a curated, versioned library of pre-validated concept vectors and their associated probe datasets, serving as the standardized test harness for auditing neural network representations.
Pre-Computed Concept Activation Vectors
The bank stores the actual CAV vectors derived from probe datasets for common model architectures and layers. This eliminates the need for every researcher to retrain linear classifiers on the same concepts.
- Architecture-specific: Separate CAVs stored for ResNet-50, InceptionV3, ViT, and other common backbones
- Layer-indexed: Vectors catalogued by layer depth, from early texture detectors to late semantic layers
- Normalized: All vectors are unit-length and stored in a consistent format for immediate use in TCAV directional derivative calculations
- Provenance metadata: Each vector records the training accuracy, dataset version, and statistical significance metrics
Concept Taxonomy and Ontology
Concepts are organized into a hierarchical taxonomy that mirrors human semantic understanding, enabling structured navigation and relational queries across the bank.
- Hierarchical nesting: 'Dog' is a child of 'Animal' and 'Mammal', with inherited probe constraints
- Cross-referencing: Related concepts like 'striped' and 'textured' are linked for comparative analysis
- Domain-specific collections: Separate sub-banks for medical imaging concepts, autonomous driving hazards, and NLP sentiment dimensions
- Semantic similarity search: Find concepts by embedding proximity in a language model space
Statistical Validation Metadata
Every concept in the bank includes pre-computed statistical significance test results against random baselines, so users can immediately filter for concepts that are genuinely encoded in the network.
- Two-sided t-test p-values: Stored for each concept-class pair from the TCAV significance procedure
- Concept purity scores: Measures of how tightly clustered the concept's activations are relative to other concepts
- Separability indices: Quantifies how linearly separable the concept is from confounders in the activation space
- Cross-model consistency: Tracks whether a concept is reliably detected across different architectures, indicating a robust semantic encoding
Programmatic Access and Integration
The Concept Bank exposes a REST API and Python SDK for seamless integration into model auditing pipelines, enabling automated regression testing for concept sensitivity across model versions.
- Query by concept name: Retrieve CAVs, probe datasets, and metadata with a single function call
- Batch TCAV testing: Submit a model checkpoint and receive a complete concept sensitivity report
- CI/CD integration: Automatically flag when a new model version loses sensitivity to a critical concept like 'safety' or 'fairness'
- Custom concept upload: Researchers can contribute new validated concepts back to the bank with peer review
Concept Intervention Primitives
Beyond passive auditing, the bank provides pre-computed orthogonal projection matrices for concept erasure and activation steering, enabling causal intervention experiments.
- Concept erasure matrices: Projection operators that remove a concept's information from activations for fairness interventions
- Activation steering vectors: Pre-computed directions to amplify or suppress a concept during inference
- Counterfactual generation: Use concept vectors to generate 'what-if' examples where a concept is added or removed
- Causal effect benchmarks: Stored measurements of how much each concept's manipulation changes the output distribution
Frequently Asked Questions
A concept bank is a foundational resource for interpretability research, providing standardized, reusable abstractions for auditing neural networks. These answers address the most common technical and strategic questions about building and using concept libraries.
A concept bank is a curated, structured repository of pre-defined, human-understandable concepts, each represented by a Concept Activation Vector (CAV) and an associated labeled probe dataset. It serves as a standard library for auditing and interpreting neural network models. Instead of explaining a prediction with low-level features like pixels or tokens, a concept bank allows engineers to query a model's sensitivity to high-level abstractions such as 'stripes,' 'wheels,' or 'anxious tone.' The bank typically contains the concept's name, a vector direction in a specific model's activation space, and a set of positive and negative example images or text snippets used to train the linear classifier that defines the vector. This standardization enables reproducible, comparative interpretability analysis across different models and research teams.
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 bank relies on a network of interrelated techniques for discovery, validation, and application. The following cards detail the core mechanisms that transform raw activation spaces into a curated, auditable library of semantic vectors.
Concept Activation Vector (CAV)
The fundamental building block of a concept bank. A CAV is a vector in a neural network's activation space that represents 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 normal vector to the decision boundary defines the concept's direction.
- Origin: Derived from the activations of any hidden layer.
- Property: Encodes a semantic abstraction, not just a visual feature.
- Usage: Forms the directional basis for sensitivity testing in TCAV.
Testing with CAVs (TCAV)
The primary auditing technique that utilizes a concept bank. TCAV quantifies a model's sensitivity to a user-defined concept by measuring the directional derivative of a class prediction towards the CAV. It produces a score indicating how much a concept influenced a prediction.
- Process: Computes the gradient of the output with respect to activations, projected onto the CAV.
- Validation: Uses a two-sided t-test against random vectors to ensure statistical significance.
- Output: A TCAV score, a fraction of inputs positively sensitive to the concept.
Automatic Concept Extraction (ACE)
An automated discovery algorithm that populates a concept bank without manual curation. ACE clusters image patches that activate similar spatial patterns in a network, treating each cluster as a candidate concept. It then uses TCAV to test the significance of these discovered concepts.
- Input: A dataset of images for a target class.
- Method: Multi-scale segmentation and activation-vector clustering.
- Result: A ranked list of automatically discovered, significant concepts for a class.
Concept Bottleneck Model (CBM)
An inherently interpretable architecture that relies on a concept bank as a prediction bottleneck. A CBM 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 reasoning to be fully transparent.
- Structure: Input → Concept Predictor → Concept Scores → Final Predictor.
- Intervention: Allows direct editing of concept scores to fix errors.
- Trade-off: Interpretability is guaranteed, but accuracy may be slightly lower than an unconstrained model.
ConceptSHAP
A method that applies Shapley values from cooperative game theory to quantify the importance of individual concepts from a bank for a specific prediction. ConceptSHAP fairly distributes the credit for a model's output among the set of active concepts, providing a rigorous, game-theoretic attribution.
- Mechanism: Calculates the marginal contribution of each concept across all possible concept coalitions.
- Property: Satisfies efficiency, symmetry, and null player axioms.
- Use Case: Auditing which concepts were most decisive for a single decision.
Concept Erasure
A technique for removing a specific, often sensitive, concept's information from a model's latent representation. Using a concept vector from the bank, concept erasure projects activations onto a subspace orthogonal to the concept vector, effectively deleting that semantic information.
- Operation: A linear projection matrix
P = I - vv^Tis applied to activations. - Goal: Mitigate bias or forget private information without retraining.
- Verification: TCAV can be used post-erasure to confirm the concept is no longer detectable.

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