Concept Vector Arithmetic is the process of applying linear operations to concept vectors in a model's activation space to synthesize novel semantic meanings. By adding the vector for "smiling" to the vector for "woman" and subtracting the vector for "man," one can navigate the latent space to a region encoding the composite concept of a "smiling woman," demonstrating that high-level abstractions are encoded as directional forces.
Glossary
Concept Vector Arithmetic

What is Concept Vector Arithmetic?
Concept Vector Arithmetic is the technique of performing linear algebraic operations, such as addition and subtraction, on concept vectors within a neural network's activation space to construct new, semantically composite representations.
This technique relies on the empirical property that concept directions learned by linear probes are semantically decomposable. The resulting composite vector is not merely a mathematical artifact; its validity is tested by measuring the model's sensitivity to the new direction using methods like TCAV. This arithmetic enables the controlled generation of counterfactual explanations and the systematic auditing of a model's internal conceptual alignment.
Key Characteristics of Concept Vector Arithmetic
Concept vector arithmetic enables the composition and decomposition of high-level semantic abstractions by performing linear operations on their learned representations within a neural network's activation space.
Linear Semantic Composition
The foundational principle that concepts encoded as vectors can be meaningfully combined using standard linear algebra operations. Because concept vectors capture directional semantics in activation space, vector addition produces a new direction representing the composite concept. For example, adding a vector for 'stripes' to a vector for 'horse' yields a direction associated with 'zebra'. This property emerges from the linear representation hypothesis, which posits that high-level features are encoded as linear directions in a model's latent space. The resulting composite vector can be used to steer generation or probe model understanding without retraining.
Concept Subtraction and Analogy
Subtracting one concept vector from another isolates differentiating semantic attributes, enabling analogical reasoning in activation space. The classic example follows the form: king - man + woman ≈ queen. This operation removes the 'male' semantic component from 'king' and adds the 'female' component, arriving at the vector for 'queen'. This demonstrates that concept vectors encode disentangled attributes that can be independently manipulated. In practice, subtraction is used for concept erasure—projecting activations orthogonal to a sensitive attribute vector to remove unwanted bias from representations.
Directional Steering via Scalar Multiplication
Multiplying a concept vector by a scalar coefficient and adding it to an activation controls the intensity of that concept's influence on model behavior. A positive coefficient amplifies the concept's presence; a negative coefficient suppresses it. This technique, known as activation steering, allows precise, continuous control over generated outputs. For instance, scaling a 'formality' vector can shift language model outputs from casual to professional register without altering the underlying prompt. The linearity of this operation makes it computationally efficient and compatible with real-time inference pipelines.
Orthogonal Decomposition for Concept Isolation
Any activation vector can be decomposed into components that are parallel and orthogonal to a concept direction using vector projection. The parallel component represents the degree to which the concept is present; the orthogonal component captures all other information. This decomposition enables:
- Concept removal: discarding the parallel component to erase a concept
- Concept measurement: computing the scalar projection length as a quantitative sensitivity score
- Disentanglement analysis: verifying that manipulating one concept does not corrupt orthogonal semantic dimensions This mathematical property underpins techniques like Concept Erasure and TCAV sensitivity calculations.
Semantic Interpolation and Blending
Linear interpolation between two concept vectors creates a continuous spectrum of intermediate semantic states. By computing v_interp = (1-α)v_concept_A + αv_concept_B for α in [0,1], models can generate outputs that smoothly transition between concepts. This enables:
- Morphological blending: generating hybrid visual concepts like a 'tiger-lion' blend
- Style transfer: interpolating between artistic style vectors
- Attribute dials: creating user-facing sliders that adjust specific semantic dimensions in real time The smoothness of the interpolation validates that concepts form a continuous semantic manifold rather than discrete clusters.
Algebraic Validation via Counterfactual Testing
The validity of concept vector arithmetic is empirically verified through counterfactual intervention. After performing an operation—such as adding a 'smiling' vector to a neutral face encoding—the resulting activation is decoded or passed through the remainder of the network. The output is inspected to confirm that the intended semantic change occurred without unintended side effects. Statistical tests compare the effect against random direction vectors to ensure the result is not an artifact. This validation loop is essential for building trustworthy concept-based explanations and ensuring that discovered concept directions are causally meaningful rather than correlational.
Frequently Asked Questions
Explore the mechanics of performing linear operations on concept vectors to compose, decompose, and manipulate semantic representations within neural network activation spaces.
Concept vector arithmetic is the process of performing linear algebraic operations—primarily addition and subtraction—on concept vectors within a neural network's activation space to construct new, semantically composite representations. It works by leveraging the empirical property that directions in a model's latent space often encode meaningful, human-interpretable attributes in a linearly separable manner. For example, if you have a vector for king, subtract the vector for man, and add the vector for woman, the resulting vector points near the representation of queen. This technique, popularized by word embeddings like Word2Vec, extends to deep neural networks where a Concept Activation Vector (CAV) defines a direction for a high-level concept. Arithmetic on these CAVs allows for controlled semantic manipulation, such as adding a smiling vector to a face encoding or subtracting a noise concept from an audio signal. The operation is purely geometric: it shifts the model's internal representation along a specific conceptual axis, enabling the synthesis of novel concepts without retraining.
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
Explore the foundational concepts that enable semantic manipulation in activation space through linear operations on concept vectors.
Concept Activation Vector (CAV)
A direction in activation space that represents a human-understandable concept. Derived by training a linear classifier to separate examples of the concept from random counterexamples. CAVs form the fundamental vectors upon which arithmetic operations are performed, enabling the construction of composite semantic directions.
Activation Space
The high-dimensional vector space formed by the outputs of a specific neural network layer. Individual directions within this space can encode semantically meaningful concepts. Concept vector arithmetic relies on the property that this space is approximately linear, allowing vector addition and subtraction to produce semantically coherent results.
Concept Subspace Projection
The mathematical operation of decomposing an activation vector into components aligned with and orthogonal to a concept vector. Essential for concept arithmetic, as it allows isolating specific semantic components before recombining them. Used to project representations onto concept directions for manipulation or analysis.
Concept Embedding
A dense vector representation of a semantic concept that captures its relational properties. Learned either from exemplar data or derived from activation space. Concept embeddings support arithmetic by providing the vector operands that can be added or subtracted to traverse the semantic manifold of the model's learned representations.
Concept Intervention
The act of directly modifying internal activations during inference to increase or decrease concept presence. Concept vector arithmetic enables targeted interventions by adding or subtracting concept vectors from activations, allowing causal testing of how semantic manipulations affect model outputs.
Concept Erasure
A technique for removing specific concept information from latent representations by projecting activations onto a subspace orthogonal to the concept vector. The inverse of concept addition, erasure uses vector subtraction and orthogonal projection to selectively eliminate unwanted semantic attributes from a model's internal state.

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