Inferensys

Glossary

Vertical Training Protocol

A vertical training protocol is the defined sequence of communication and computation steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning system.
ML engineer managing model training cluster on laptop, GPU utilization visible, technical deep learning setup.
VERTICAL FEDERATED LEARNING

What is Vertical Training Protocol?

A technical definition of the core operational sequence in Vertical Federated Learning (VFL).

A Vertical Training Protocol is the defined sequence of communication and computation steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning (VFL) system. It formally specifies the orchestration of forward propagation, backpropagation, and secure aggregation across a split neural network where different participants hold different features about the same entities. The protocol ensures collaborative model updates while preserving data privacy by design, preventing the exchange of raw input data between the feature owners and the label owner.

The protocol's phases typically include secure entity alignment, the exchange of encrypted intermediate outputs and gradients, and the application of privacy techniques like homomorphic encryption or secure multi-party computation (MPC). Its design directly governs critical system trade-offs, including vertical communication overhead, computation overhead, and the strength of privacy guarantees. Frameworks implementing these protocols abstract the complexity of distributed, privacy-preserving coordination for machine learning engineers.

VERTICAL TRAINING PROTOCOL

Core Components of a Protocol

A vertical training protocol defines the exact sequence of communication and cryptographic steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning (VFL) system.

01

Entity Alignment Phase

The initial, privacy-preserving step where parties identify the overlapping set of entities (e.g., customer IDs) across their vertically partitioned datasets without revealing non-intersecting records. This is typically achieved using a Private Set Intersection (PSI) protocol. The output is a cryptographically secure, aligned sample index used for all subsequent training computations.

02

Forward Propagation & Cut Layer

The distributed forward pass of a split neural network. Each feature owner computes the network's forward pass on their local features up to a predefined cut layer. The output of this layer, called the intermediate output or embeddings, is then securely transmitted (often encrypted) to the label owner or the next party in the chain to complete the forward pass and compute the loss.

03

Backward Propagation & Gradient Computation

The label owner computes the initial loss gradient and propagates it backward to the cut layer. The gradient with respect to the intermediate output is then sent back to each feature owner. Each party uses this received gradient to compute gradients for their own portion of the model (their local layers) and update their local model parameters. This step ensures the label owner never sees raw features, and feature owners never see raw labels.

04

Secure Aggregation & Update

A cryptographic step to combine model updates (e.g., gradients or updated intermediate parameters) from multiple parties without exposing any single party's contribution. Techniques include:

  • Secure Multi-Party Computation (MPC)
  • Homomorphic Encryption
  • Differential Privacy noise addition This prevents inference attacks and provides formal privacy guarantees, forming the core of a privacy-preserving vertical FL system.
05

Communication & Synchronization

The protocol must define the message-passing sequence, failure handling, and state synchronization between heterogeneous parties. This manages vertical communication overhead and vertical computation overhead. Key considerations include:

  • Handling dropped or slow clients
  • Version control for model parts
  • Ensuring all parties are aligned on the current global model state before proceeding to the next round.
06

Inference Protocol

The protocol for making predictions after training. A vertical inference protocol requires the same secure collaboration: feature owners compute their portion of the forward pass on new data and send the encrypted intermediate result to the label owner, who completes the computation and returns the final prediction. This ensures data privacy is maintained during model usage.

ARCHITECTURAL DECISIONS

Protocol Design Considerations & Trade-offs

Key design choices and their implications for building a robust and efficient Vertical Training Protocol.

Design DimensionCentralized OrchestrationPeer-to-Peer OrchestrationHybrid Orchestration

Orchestrator Role

Label Owner

Rotating Feature Owner

Dedicated Third-Party Server

Communication Topology

Star (Hub-and-Spoke)

Ring or Mesh

Hierarchical Star

Single Point of Failure

Protocol Complexity

Low

High

Medium

Scalability to Many Parties

Limited (<10)

Good

Excellent

Fault Tolerance

Low

High

Medium

Setup & Coordination Overhead

Low

High

Medium

Typical Cryptographic Overhead

Medium

High

Medium-High

VERTICAL TRAINING PROTOCOL

Common Protocol Patterns & Implementations

A vertical training protocol is the defined sequence of communication and computation steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning system. These patterns define how data privacy is maintained while enabling collaborative model improvement.

01

Split Neural Network Protocol

This is the foundational architectural pattern for VFL. The model is vertically split at a designated cut layer. Feature owners compute the forward pass up to this layer, generating intermediate outputs (embeddings). These outputs are securely sent to the label owner, who completes the forward pass, calculates the loss, and initiates backpropagation. The protocol defines the exact sequence for exchanging these intermediate results and gradients.

  • Example: A bank (label owner with loan default labels) collaborates with a retailer (feature owner with purchase history). The retailer's local model processes transaction data and sends encrypted embeddings to the bank, which combines them with credit data to predict risk.
02

Secure Aggregation with Homomorphic Encryption

A protocol pattern where cryptographic privacy is enforced. Feature owners encrypt their intermediate outputs or gradients using homomorphic encryption before sending them to the label owner or an aggregator. Computations (like summation for aggregation) are performed directly on the ciphertext. This prevents any party from inspecting the raw data contributions of others.

  • Key Mechanism: The label owner can compute the aggregated gradient needed for its model portion without decrypting any single client's update.
  • Use Case: Essential in highly regulated scenarios (e.g., healthcare VFL) where even intermediate feature representations must remain confidential.
03

Multi-Party Computation (MPC) Protocol

A pattern that distributes the training computation itself across parties using secret sharing. Instead of sending intermediate outputs, the data and model weights are secret-shared among participants. The protocol coordinates a series of local computations and secure exchanges that collectively compute the forward pass, loss, and gradients, with no single party ever reconstructing another's raw input.

  • Contrast with HE: Often more communication-efficient than pure homomorphic encryption but involves more complex coordination.
  • Implementation: Common frameworks like PySyft and TF Encrypted provide MPC backends for implementing such VFL protocols.
04

Entity Alignment with PSI Protocol

A critical pre-training protocol phase. Before model updates begin, parties must identify their common samples (entities) without revealing their full datasets. This is achieved via a Private Set Intersection (PSI) protocol.

  • Process: Parties (e.g., a hospital and an insurance provider) encode their private user IDs. Through a cryptographic protocol, they learn only the intersection of IDs (the aligned entities) and nothing about non-matching IDs.
  • Foundation: This aligned ID list becomes the basis for all subsequent sample-wise operations in the training protocol, ensuring all parties compute on the same batch of entities.
05

Differential Privacy-Integrated Protocol

A pattern that adds formal, mathematical privacy guarantees by integrating differential privacy (DP) mechanisms into the training loop. Feature owners or the label owner add carefully calibrated noise to their shared quantities (gradients or intermediate outputs).

  • Protocol Step: After computing a local update, a party adds noise from a distribution (e.g., Gaussian) before sharing it. The protocol specifies the privacy budget (epsilon) and the noise scale.
  • Trade-off: Provides strong privacy against inference attacks but can slow model convergence and reduce final accuracy—a managed trade-off defined in the protocol parameters.
06

FederatedBoost / Tree-Based Protocols

A common pattern for vertical federated learning with tree-based models (e.g., Gradient Boosting Decision Trees). The protocol coordinates the secure construction of a global tree by finding the best split points across federated features.

  • Mechanism: The label owner calculates gradients and sends them to feature owners. Each feature owner computes potential split gains for its features locally. Using a secure aggregation sub-protocol (like MPC), parties compare these encrypted gains to jointly decide the globally best split without revealing individual feature histograms.
  • Framework Example: FederatedForest and SecureBoost are implementations of this protocol pattern.
VERTICAL TRAINING PROTOCOL

Frequently Asked Questions

A vertical training protocol defines the exact sequence of communication and computation steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning (VFL) system. These FAQs address its core mechanisms, security, and practical implementation.

A vertical training protocol is the defined sequence of communication and computation steps that coordinating parties follow to execute a complete training round in a Vertical Federated Learning (VFL) system. It orchestrates how feature owners and the label owner collaboratively compute forward and backward passes on a split neural network without sharing raw data. The protocol specifies the exchange of encrypted intermediate outputs and gradients, the application of secure aggregation, and the synchronization of model updates to ensure privacy and correctness throughout the decentralized training process.

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.