Inferensys

Glossary

Vertical Computation Overhead

Vertical computation overhead is the additional processing cost incurred by each party in a Vertical Federated Learning (VFL) system due to cryptographic operations and the execution of only a portion of the full model.
ML engineer managing model versions on laptop, version history visible, technical Git-like workflow.
VERTICAL FEDERATED LEARNING

What is Vertical Computation Overhead?

The additional processing cost incurred in a Vertical Federated Learning (VFL) system due to cryptographic operations and distributed model execution.

Vertical computation overhead is the additional processing cost incurred by each participant in a Vertical Federated Learning (VFL) system. This overhead stems primarily from two sources: executing cryptographic protocols like homomorphic encryption or secure multi-party computation (MPC) to protect intermediate data, and performing the local forward and backward passes on only a segment of the split neural network. Unlike centralized training, where one machine runs the full model, VFL requires each feature owner and the label owner to compute their portion, multiplying the total compute load across the federation.

This overhead directly impacts system feasibility and cost. The cryptographic operations for privacy preservation are computationally intensive, often orders of magnitude slower than plaintext arithmetic. Furthermore, the split neural network architecture forces repeated computation and communication of intermediate outputs and gradients at the cut layer. Managing this overhead is a core engineering challenge, requiring optimizations in algorithm design, hardware acceleration, and efficient cryptographic primitive selection to make VFL practical for production deployments.

VERTICAL COMPUTATION OVERHEAD

Primary Sources of Computation Overhead

In Vertical Federated Learning (VFL), computation overhead refers to the extra processing burden each party incurs beyond standard local model training. This overhead stems from cryptographic operations and the execution of only a partial model segment.

01

Cryptographic Operations

The core privacy guarantee in VFL relies heavily on cryptographic protocols, which introduce significant computational cost. Key operations include:

  • Homomorphic Encryption (HE): Enables computations on encrypted data. Performing additions and multiplications on ciphertexts is orders of magnitude slower than on plaintext.
  • Secure Multi-Party Computation (MPC): Protocols for jointly computing a function over private inputs. The communication rounds and secret-sharing schemes add substantial latency.
  • Private Set Intersection (PSI): Used for the initial entity alignment phase. Cryptographic PSI, while secure, is computationally intensive compared to plaintext matching. This cryptographic layer is the primary differentiator from centralized training and a major source of overhead.
02

Partial Model Execution

In the split neural network architecture, each feature owner executes only a portion of the full model, up to the cut layer. This creates inefficiencies:

  • Underutilized Hardware: The local model segment is often smaller than the device's full computational capacity (e.g., GPU), leading to poor resource utilization.
  • Idle Time: After sending its intermediate output, a feature owner must wait for the label owner to complete the forward pass, compute the loss, and propagate gradients back before it can resume computation. This synchronous dependency creates bubbles of idle time.
  • Memory Overhead: Despite a smaller model, the system must maintain context and gradients for the distributed training process, adding memory management complexity.
03

Secure Aggregation & Gradient Computation

The vertical training protocol requires secure coordination for gradient calculation and aggregation.

  • Vertical Gradient Computation: Gradients must be computed and passed securely backwards through the split network. This often involves masking or encrypting gradient values before transmission.
  • Vertical Secure Aggregation: Protocols like Secure Aggregation from horizontal FL are adapted for VFL to combine updates from multiple feature owners without revealing individual contributions. This aggregation phase involves additional cryptographic masking and summation steps.
  • Multi-Round Protocols: A single training step may require multiple communication rounds between parties to complete securely, multiplying the base computational cost.
04

Entity Alignment Preprocessing

Before training begins, parties must identify overlapping entities using secure entity resolution, typically via Private Set Intersection (PSI). While often a one-time cost, it is a non-trivial source of pre-training overhead.

  • Cryptographic PSI for large datasets (millions of records) can require significant compute time and memory.
  • Ongoing Alignment: In dynamic systems where entity sets change, alignment may need to be re-run periodically, incurring recurring overhead. This foundational step ensures samples are matched correctly but adds a substantial computational preamble to the VFL workflow.
05

Communication & Computation Coupling

VFL tightly interweaves communication and computation, creating overhead that doesn't exist in local training.

  • Encryption/Decryption Cycles: Every exchanged intermediate output or gradient must be encrypted by the sender and decrypted by the receiver (or computed on under HE). These cycles are CPU-intensive.
  • Synchronization Points: The protocol mandates strict synchronization between parties at the cut layer. Devices must pause computation to send/receive data, and faster devices wait for slower ones, reducing overall system efficiency.
  • Protocol Overhead: The vertical inference protocol for prediction requires a similar secure, multi-step process, meaning overhead persists into the production deployment phase.
06

Comparative Overhead vs. Horizontal FL

Vertical computation overhead differs fundamentally from Horizontal Federated Learning.

  • Horizontal FL: Overhead is primarily from training full models on many devices and communicating complete model updates. Computation is high but standard forward/backward passes.
  • Vertical FL: Overhead is primarily from cryptographic operations and coordinated execution of partial models. The raw training computation per device may be lower, but the cryptographic and coordination costs are uniquely high.
  • Asymmetry: In VFL, the label owner often bears the highest load, performing the majority of the model's forward/backward pass and managing the cryptographic protocol for all feature owners.
VERTICAL COMPUTATION OVERHEAD

How Computation Overhead Manifests in VFL

This section details the specific computational burdens incurred by participants in a Vertical Federated Learning (VFL) system, which extend beyond standard model training.

Vertical computation overhead is the additional processing cost incurred by each party in a VFL system due to cryptographic operations and the execution of only a portion of the full model. Unlike standard training, this overhead primarily stems from secure multi-party computation (MPC) protocols and homomorphic encryption applied to intermediate results and gradients. Each feature owner must perform local forward passes on its model segment and then encrypt the outputs before transmission, while the label owner handles encrypted aggregation and backpropagation, multiplying the computational load.

This overhead manifests as increased latency per training round and higher resource consumption on participant hardware. The cost scales with model complexity, the frequency of communication rounds, and the cryptographic security level required. Consequently, system architects must balance privacy guarantees with practical training timelines, often requiring optimized split neural network architectures and efficient cryptographic libraries to make VFL feasible for production use cases.

COMPUTATION OVERHEAD MATRIX

Comparing Overhead: VFL vs. Centralized vs. Horizontal FL

A comparison of computational overhead across three machine learning paradigms, focusing on the sources and magnitude of additional processing costs beyond core model training.

Computation Overhead SourceVertical Federated Learning (VFL)Centralized TrainingHorizontal Federated Learning (HFL)

Cryptographic Operations (Encryption/Decryption)

Secure Multi-Party Computation (MPC)

Partial Model Execution

Intermediate Result Transmission

Gradient Aggregation Overhead

Low-Medium

None

High

Client-Side Compute per Round

High

None

Medium

Server-Side Compute per Round

Medium

High

High

Per-Round Latency (Typical)

2-10 sec

< 1 sec

5-30 sec

Idle Compute Waste

Low

None

High

VERTICAL FEDERATED LEARNING

Strategies to Mitigate Computation Overhead

Vertical Federated Learning introduces significant computational costs beyond standard training. These strategies focus on reducing the burden of cryptographic operations and partial model execution.

01

Model Architecture Optimization

Designing the split neural network to minimize the complexity of the portion computed by each party directly reduces local computation. Key techniques include:

  • Strategic Cut Layer Placement: Placing the cut layer earlier in the network reduces the depth (and thus computational load) of the local model segment each feature owner must run.
  • Lightweight Local Sub-models: Replacing standard layers (e.g., large transformers) with efficient alternatives like MobileNet blocks or distilled models for the feature owner's segment.
  • Asymmetric Architecture Design: Allocating more complex layers to the party with greater computational resources (often the label owner).
02

Cryptographic Acceleration

The cryptographic protocols for secure aggregation and homomorphic encryption are primary sources of overhead. Mitigation involves:

  • Hardware Acceleration: Utilizing GPUs, Tensor Cores, or dedicated cryptographic hardware (e.g., Intel SGX, AMD SEV) to offload encryption/decryption operations.
  • Efficient Cryptosystem Selection: Choosing partial homomorphic encryption (e.g., Paillier) over fully homomorphic encryption when possible, as it is orders of magnitude faster for specific operations like gradient addition.
  • Hybrid Privacy Approaches: Combining lightweight secure multi-party computation (MPC) protocols for most steps with heavier encryption only for the most sensitive data exchanges.
03

Computation Offloading & Orchestration

Dynamically managing where computations occur can balance the load. This includes:

  • Server-Assisted Computation: The central coordinator (or label owner) can pre-compute and distribute certain non-sensitive components or handle the more intensive parts of cryptographic operations.
  • Selective Participation: In each training round, only a subset of feature owners with sufficient available compute resources are selected to participate, preventing stragglers from bottlenecking the system.
  • Pipeline Parallelism: Overlapping the computation of one party's local forward pass with the cryptographic operations or gradient computation of another party to hide latency.
04

Gradient Compression & Sparsification

Reducing the size and precision of the values communicated also reduces the computational cost of processing them. Techniques include:

  • Quantization: Converting 32-bit floating-point gradients or intermediate outputs to lower precision (e.g., 8-bit integers) before encryption and transmission, which speeds up subsequent cryptographic operations.
  • Top-k Gradient Sparsification: Only transmitting the largest k% of gradient values, setting the rest to zero. This creates sparse matrices that are faster to encrypt and aggregate.
  • Error Feedback: Compensating for the information loss from compression by adding the compression error from the previous step to the current gradient, maintaining model convergence.
05

Federated Feature Selection

Reducing the dimensionality of the problem at its source lowers perpetual computation costs. This involves:

  • Privacy-Preserving Importance Scoring: Using federated algorithms to calculate feature importance (e.g., via federated SHAP values or correlation with labels) without exposing raw data.
  • Iterative Pruning: Collaboratively identifying and removing non-informative or redundant features from the training process over several VFL rounds.
  • Projection to Lower Dimensions: Applying federated Principal Component Analysis (PCA) or autoencoders to project high-dimensional feature sets onto a lower-dimensional, more computationally manageable subspace.
06

Asynchronous & Stale-Synchronous Training

Relaxing strict synchronization requirements avoids idle waiting, which is a waste of compute cycles.

  • Asynchronous VFL: Allowing feature owners to submit updates as soon as they are ready, without waiting for others. The aggregator applies updates immediately, though this can introduce stability challenges.
  • Stale-Synchronous Parallel (SSP): A bounded-asynchrony model where a server proceeds with aggregation once it has received updates from a defined majority of parties, tolerating stragglers up to a pre-set staleness threshold.
  • Adaptive Learning Rates: Dynamically adjusting the learning rate for updates based on their staleness to mitigate the negative effects of asynchrony on model convergence.
VERTICAL COMPUTATION OVERHEAD

Frequently Asked Questions

This FAQ addresses the critical performance considerations and technical trade-offs inherent to the cryptographic and distributed computational processes of Vertical Federated Learning.

Vertical computation overhead is the additional processing cost incurred by each participating party in a Vertical Federated Learning (VFL) system due to the execution of cryptographic privacy operations and the distributed nature of computing only a segment of the full machine learning model.

Unlike centralized training, VFL requires each feature owner to perform a partial forward pass on their local model segment and then engage in secure multi-party computation (MPC) or homomorphic encryption protocols to protect the exchanged intermediate results. This cryptographic processing, alongside the need to manage communication rounds for vertical forward propagation and vertical backpropagation, introduces significant extra computational cycles compared to a local training run. The overhead is a direct trade-off for the strong privacy guarantees VFL provides.

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.