Label space refers to the complete set of possible target values or output variables (e.g., 'fraud'/'not fraud', sales amounts, diagnostic categories) in a supervised learning problem. In Vertical Federated Learning (VFL), this space is uniquely owned by a single party, the label owner, while the corresponding input features are distributed across other feature owners. This separation creates the fundamental collaborative structure of VFL, where parties with different data attributes must work together without exposing their raw data.
Glossary
Label Space

What is Label Space?
In Vertical Federated Learning (VFL), the label space is a core concept defining the target variable for a machine learning task, which is held exclusively by one participant.
The security and orchestration of the VFL process are heavily dictated by the label space's ownership. The label owner typically initiates training, computes the final loss, and coordinates the secure aggregation of gradients or intermediate outputs from feature owners. Protecting the privacy of both the label values and the distributed features during this exchange is paramount, often enforced via cryptographic protocols like homomorphic encryption or secure multi-party computation (MPC) to prevent data reconstruction.
Key Characteristics of Label Space in VFL
In Vertical Federated Learning, the label space is the set of target values for prediction, uniquely held by a single coordinating party. Its characteristics define the system's architecture, security model, and training dynamics.
Centralized Ownership
The label space is exclusively held by a single party, known as the label owner or active party. This centralizes orchestration and loss calculation. All other participants are feature owners (passive parties) who hold subsets of the input features. This asymmetry creates a client-server-like topology where the label owner typically acts as the server, coordinating the training rounds and aggregating updates from feature owners.
Architectural Anchor for Model Splitting
The physical location of the label space determines the cut layer in a split neural network. The model is divided so that:
- Feature owners compute the forward pass up to the cut layer on their local features, producing intermediate outputs (embeddings).
- These outputs are sent to the label owner, which holds the latter layers of the model that consume the embeddings and compute the final prediction against the local labels. This split ensures raw features and raw labels are never exchanged, only mathematically transformed intermediate values.
Primary Source of Privacy Risk
The label space is a high-value target and a potential leakage point. Adversaries may attempt:
- Label Inference Attacks: A malicious feature owner could use repeated intermediate outputs and the resulting gradient updates from the label owner to infer the private labels.
- Property Inference Attacks: To deduce statistical properties of the label distribution. Defenses are architected around the label owner, employing homomorphic encryption for received embeddings or differential privacy by adding noise to its gradient broadcasts to protect the label space.
Orchestrator of the Training Protocol
The label owner executes the core vertical training protocol:
- Initiation: Broadcasts the initial model architecture and public keys (if using encryption).
- Coordination: Manages the synchronized forward and backward passes across parties.
- Loss & Gradient Calculation: Computes the loss function using its local labels and calculates gradients for its portion of the model.
- Aggregation & Update: Securely aggregates gradients from feature owners (e.g., via secure aggregation) and updates the global model. This central role is distinct from Horizontal FL, where the server typically holds no data.
Determinant of Problem Type
The nature of the label space defines the machine learning task for the entire VFL system:
- Binary Classification: Label space is
{0, 1}. - Multi-class Classification: Label space is a set of
Cdiscrete classes. - Regression: Label space is a continuous range
R. The choice of final activation function (e.g., sigmoid, softmax, linear) and loss function (e.g., BCE, cross-entropy, MSE) is implemented by the label owner, directly impacting the gradients propagated back to feature owners.
Bottleneck for Entity Alignment
Before training begins, the aligned entity space must be established. The label owner's sample IDs (e.g., user IDs) form the basis for this alignment. Using protocols like Private Set Intersection (PSI), the label owner and each feature owner confidentially discover their common samples without revealing their full ID lists. Only data for these intersected entities participates in training. The size and quality of this intersection directly limit the effective training dataset size.
The Role of Label Space in VFL Training
In Vertical Federated Learning (VFL), the label space is a critical, centralized component that dictates the learning objective and orchestrates the collaborative training process across distributed feature owners.
The label space is the complete set of target values or output variables for the aligned entities in a VFL system. It is exclusively held by a single label owner, who uses it to calculate loss and initiate backpropagation. This centralizes the learning objective, as feature owners possess only input data and lack the labels needed for supervised training. The label owner's role is therefore pivotal, acting as the computational anchor that drives the global model's convergence by securely coordinating gradient flows.
During training, feature owners compute intermediate outputs from their local model segments and encrypted features. These are sent to the label owner, who combines them to complete the forward pass, computes the loss against its private labels, and calculates gradients. These gradients are then propagated back to the feature owners to update their respective model parts. This process ensures raw features and labels never leave their respective owners, enforcing a strict privacy-by-architecture separation between the distributed feature space and the centralized label space.
Label Space: Vertical vs. Horizontal Federated Learning
A comparison of how the target variable (label space) is distributed across participants in the two primary federated learning paradigms.
| Feature | Vertical Federated Learning (VFL) | Horizontal Federated Learning (HFL) |
|---|---|---|
Label Space Distribution | Concentrated (Typically one label owner) | Distributed (Each client has a local label space) |
Primary Data Partition | Features are partitioned by column across parties for the same entities. | Samples are partitioned by row across clients; each client has a full feature set. |
Typical Use Case | Cross-silo collaboration between organizations with different data attributes on overlapping users (e.g., bank + e-commerce). | Cross-device training across a population of similar devices (e.g., smartphones, IoT sensors). |
Label Owner Role | Central orchestrator; holds labels and typically the top model segment. | No central label owner; all participating clients are symmetric peers. |
Model Architecture | Split neural network, divided between feature owners and label owner. | Typically, each client trains a full, identical model copy locally. |
Privacy Focus | Preventing leakage of raw features and intermediate representations between parties. | Preventing leakage of individual client's local data samples and model updates. |
Communication Overhead per Round | High (requires exchange of intermediate outputs/gradients for each aligned sample). | Lower (typically involves transmitting full model parameter updates). |
Entity Alignment Required | ||
Cryptographic Prerequisites | Private Set Intersection (PSI) for alignment; secure aggregation for gradients. | Secure aggregation for model updates; optional differential privacy. |
Frequently Asked Questions
In Vertical Federated Learning (VFL), the label space is a foundational concept defining the target variable for a machine learning task. These questions address its role, security, and practical implementation.
In machine learning, the label space is the complete set of all possible values for the target variable (the output) that a model is trained to predict. It defines the scope of the prediction task. For a classification problem, the label space is the set of classes (e.g., {"cat", "dog", "bird"}). For regression, it is the continuous range of possible numerical values (e.g., house prices from $100k to $1M). The structure of the label space directly determines the model's final output layer and loss function.
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
These concepts define the core components, protocols, and security mechanisms that enable collaborative model training across vertically partitioned data.
Vertical Data Partition
The foundational data structure for VFL, where different features (columns) describing the same set of entities (rows) are held by separate parties. This is distinct from horizontal partitioning, where different parties hold different rows with the same features.
- Example: Hospital A holds patient lab results, while Hospital B holds the same patients' imaging data and an insurer holds the billing codes.
Entity Alignment
The privacy-preserving process of identifying matching records (e.g., the same customer or device) across the vertically partitioned datasets held by different parties. This is a critical prerequisite for VFL, as training requires aligned samples.
- Primary Method: Private Set Intersection (PSI) protocols allow parties to compute the overlap of their private ID sets without revealing non-matching IDs.
Split Neural Network
The model architecture used in VFL, where a single neural network is divided into segments distributed across parties. The cut layer defines the boundary.
- Forward Pass: A feature owner computes an intermediate output up to the cut layer and sends it to the label owner, who completes the forward pass and calculates the loss.
- Backward Pass: Gradients are propagated backwards through the network segments to update each party's local model parameters.
Secure Aggregation Protocols
Cryptographic methods for combining model updates (e.g., gradients or intermediate outputs) from multiple parties without revealing any individual contribution. This protects against inference attacks that could reconstruct private data from a single party's update.
- Common Techniques: Utilize secure multi-party computation (MPC) or homomorphic encryption to perform computations on encrypted data.
Vertical Training Protocol
The defined sequence of communication and computation steps that coordinating parties follow to execute a training round. It orchestrates the entire lifecycle:
- Alignment Phase: Securely align entity IDs using PSI.
- Training Loop: Iterate through distributed forward/backward propagation and secure aggregation.
- Aggregation & Update: The central server (often the label owner) aggregates updates and broadcasts the new global model state.
Privacy-Preserving Vertical FL
The overarching discipline applying cryptographic and statistical techniques to VFL to prevent data leakage. It addresses risks beyond raw data exposure, such as inferring features from gradients or intermediate outputs.
- Key Techniques:
- Differential Privacy (DP): Adds calibrated noise to updates.
- Homomorphic Encryption (HE): Allows computation on ciphertext.
- Multi-Party Computation (MPC): Enables joint computation without revealing inputs.

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