Inferensys

Glossary

Concept Purity

A measure of how well the representations of a single concept are clustered together and separated from other concepts in the activation space, indicating the concept's internal consistency.
Finance professional using AI FP&A copilot on laptop, board presentation visible on screen, home office work session.
INTERPRETABILITY METRIC

What is Concept Purity?

Concept Purity is a metric that quantifies the internal consistency of a concept's representation in a neural network's activation space by measuring how well its activations are clustered together and separated from other concepts.

Concept Purity is a measure of how well the representations of a single concept are clustered together and separated from other concepts in the activation space, indicating the concept's internal consistency. It evaluates whether a concept forms a compact, well-defined region rather than a diffuse or overlapping set of activations, directly reflecting the quality of the learned representation.

High purity implies that the concept's activation vectors are tightly grouped and linearly separable from random or competing concepts, validating its use in techniques like TCAV. Low purity signals that the concept is entangled with others, making it an unreliable unit for concept-based explanations and causal interventions.

DIAGNOSTIC CRITERIA

Key Characteristics of High Concept Purity

Concept Purity is a diagnostic metric for the internal consistency of a learned representation. A high-purity concept exhibits tight intra-class clustering and strong inter-class separation in the activation space, ensuring that the concept vector is a reliable, monosemantic axis of meaning rather than a superposition of multiple entangled features.

01

Intra-Concept Clustering Cohesion

Measures how tightly the activations for a single concept are grouped. High purity requires that all exemplars of a concept—such as 'stripes'—map to a compact, dense region in the activation space. Silhouette Score and Davies-Bouldin Index are standard metrics for quantifying this compactness. Poor cohesion suggests the model is encoding multiple distinct sub-features under one label, a phenomenon known as polysemanticity.

02

Inter-Concept Separation Margin

Quantifies the distinctness of the boundary between different concept clusters. A pure concept is linearly separable from unrelated concepts with a wide margin. This is typically measured by training a linear probe and evaluating its classification accuracy. High separability confirms that the concept direction is not an artifact of noise but a distinct, orthogonal axis in the activation space.

03

Concept Vector Isotropy

Assesses whether the concept's representation is uniformly distributed in its local subspace or if it collapses to a narrow, degenerate cone. High isotropy indicates a robust representation that doesn't rely on a few outlier dimensions. This is often measured by the average cosine similarity of activations within the concept cluster; a value approaching 1.0 indicates a collapse, while a controlled, moderate value suggests a healthy, high-capacity representation.

04

Robustness to Concept Erasure

Tests purity by adversarially removing the concept's information. A pure concept can be cleanly erased via Concept Subspace Projection without degrading the model's performance on unrelated tasks. If erasing 'color' significantly harms 'texture' classification, the two concepts were entangled, indicating low purity. This interventionist test validates causal monosemanticity.

05

Signal-to-Noise Ratio in Activation Space

Evaluates the variance explained by the concept vector relative to total variance. High purity implies a high signal-to-noise ratio (SNR), where the concept direction captures the dominant source of variation for its exemplars. This is computed by projecting activations onto the Concept Activation Vector (CAV) and comparing the variance along that axis to the variance in orthogonal directions.

06

Cross-Model Transferability

A hallmark of a truly pure, universal concept is its stability across different architectures and random seeds. If a concept vector learned from one model can be used to accurately classify the same concept in another independently trained model, it exhibits high cross-model purity. This transferability validates that the concept captures a fundamental statistical regularity of the data rather than a model-specific idiosyncrasy.

CONCEPT PURITY

Frequently Asked Questions

Explore the critical metrics and methodologies used to evaluate the internal consistency and distinctness of high-level concepts within a neural network's activation space.

Concept Purity is a quantitative measure of how well the activation vectors representing a single human-understandable concept are clustered together and separated from the representations of other unrelated concepts in a neural network's latent space. It formally assesses the internal consistency of a concept's encoding. A high purity score indicates that the model has learned a tight, coherent, and non-overlapping representation for that concept, meaning its internal manifold is distinct. This is typically calculated by analyzing the distribution of activations for a set of exemplar inputs against a set of counterexamples, often using metrics like the silhouette score or the homogeneity of a k-nearest-neighbors graph within the concept's subspace. It is a foundational metric for validating the quality of discovered or predefined concepts before using them for interpretability analysis with techniques like Concept Activation Vectors (CAVs).

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.