Inferensys

Glossary

Concept Bank

A curated collection of pre-defined, labeled concept vectors and their associated probe datasets, used as a standard library for auditing and interpreting various models.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
INTERPRETABILITY INFRASTRUCTURE

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.

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).

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.

INTERPRETABILITY INFRASTRUCTURE

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.

02

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
03

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
04

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
05

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
06

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
CONCEPT BANK CLARIFICATIONS

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.

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.