Inferensys

Glossary

Vertical Federated Averaging (VFA)

Vertical Federated Averaging (VFA) is a collaborative learning algorithm that aggregates model updates from multiple feature owners in a vertically partitioned data setting to train a global model without sharing raw data.
Data engineer managing feature store on laptop, feature definitions visible, casual data engineering session.
FEDERATED EDGE LEARNING

What is Vertical Federated Averaging (VFA)?

A core algorithm for collaborative model training on vertically partitioned data.

Vertical Federated Averaging (VFA) is a class of distributed optimization algorithms designed for the vertical data partition setting, where different parties hold different features about the same entities. Unlike Horizontal Federated Averaging (FedAvg), which averages complete model weights, VFA coordinates the secure aggregation of partial model updates—such as gradients or intermediate outputs—from multiple feature owners to a central label owner without sharing raw data. Its primary goal is to construct a unified global model while preserving data privacy across organizational boundaries.

The algorithm operates by defining a split neural network architecture with a designated cut layer. Each feature owner performs a vertical forward propagation on its local features, producing an encrypted intermediate output sent to the label owner. The label owner completes the forward pass, calculates the loss, and initiates vertical backpropagation. Gradients are then securely aggregated—often using cryptographic protocols like secure multi-party computation (MPC) or homomorphic encryption—to update the respective model segments held by each party, completing one vertical training round.

ALGORITHM MECHANICS

Key Characteristics of VFA

Vertical Federated Averaging (VFA) is a class of collaborative learning algorithms designed for the vertical data partition setting, where updates from feature owners are aggregated to form a global model. Its core characteristics address the unique privacy, communication, and coordination challenges of this architecture.

01

Split Model Architecture

VFA operates on a split neural network where the model is partitioned at a designated cut layer. Feature owners compute the forward pass on their local features up to this layer, producing intermediate outputs (embeddings). These outputs are securely sent to the label owner, who completes the forward pass, computes the loss, and initiates vertical backpropagation. This architecture ensures raw feature data never leaves its owner's device.

02

Secure Aggregation of Vertical Updates

Unlike horizontal FL which averages complete model weights, VFA aggregates updates from vertically partitioned model segments. This involves securely combining:

  • Intermediate outputs from feature owners for the forward pass.
  • Gradients w.r.t. these intermediate outputs during backpropagation. Aggregation uses cryptographic techniques like homomorphic encryption or secure multi-party computation (MPC) to prevent the label owner from inferring raw feature values from the individual updates, a process known as vertical secure aggregation.
03

Prerequisite of Entity Alignment

A foundational requirement for VFA is entity alignment—identifying the overlapping set of samples (e.g., the same customers) across the vertically partitioned datasets held by different parties. This is typically achieved using privacy-preserving protocols like Private Set Intersection (PSI) or secure entity resolution. Training only proceeds on this aligned subset, making the efficiency and privacy of the alignment protocol critical to overall system performance.

04

Asymmetric Participant Roles

VFA defines distinct, asymmetric roles for participants:

  • Feature Owners: Hold subsets of features for aligned entities. They compute the first segment of the model and are typically passive participants receiving gradients.
  • Label Owner: Holds the target values (labels) and often acts as the coordinating server. It computes the final layers, loss, and orchestrates the training protocol. This asymmetry differentiates VFA from horizontal FL and influences protocol design, trust models, and incentive structures.
05

Communication Pattern & Overhead

VFA incurs a unique vertical communication overhead. Each training round requires multiple exchanges per sample/batch:

  1. Feature owners → Label Owner: Intermediate outputs.
  2. Label Owner → Feature Owners: Gradients w.r.t. those outputs. This pattern is more frequent and fine-grained than the single weight exchange in horizontal Federated Averaging. The overhead is a key bottleneck, driving research into compression and efficient encryption for intermediate results.
06

Privacy-Preserving Computation Core

The core computation in VFA is inherently privacy-preserving by design, but often augmented with additional guarantees. The base protocol prevents direct data sharing. To defend against potential inference from gradients or intermediate outputs, VFA systems commonly integrate:

  • Differential Privacy (DP): Adding calibrated noise to gradients or embeddings.
  • Homomorphic Encryption (HE): Performing computations on encrypted intermediate outputs.
  • Multi-Party Computation (MPC): Cryptographically splitting computations. This layered approach provides defense-in-depth for sensitive vertical data.
ARCHITECTURAL COMPARISON

VFA vs. Horizontal Federated Averaging

A technical comparison of the two primary federated learning paradigms based on how data is partitioned across participants.

FeatureVertical Federated Averaging (VFA)Horizontal Federated Averaging (HFA)

Data Partition Scheme

Vertical (feature-wise). Different parties hold different features for the same set of entities.

Horizontal (sample-wise). Different parties hold the same features for different sets of entities.

Typical Use Case

Cross-silo collaboration between organizations with complementary data on the same users/entities (e.g., bank & e-commerce).

Cross-device training across a population of similar devices (e.g., smartphones, IoT sensors).

Sample Alignment Requirement

Model Architecture

Split neural network. Model is divided between feature owners and a label owner.

Single, complete model. Each client trains a full copy of the same model architecture.

Primary Communication Payload

Intermediate outputs (embeddings) and gradients for the cut layer.

Full model parameter updates (e.g., weights, gradients).

Cryptographic Focus

Secure multi-party computation (MPC) for forward/backward pass; Private Set Intersection (PSI) for alignment.

Secure aggregation for summing client updates; differential privacy on client gradients.

Statistical Challenge

Learning from a partial feature view per party; coordinating gradient flow across split model.

Non-IID data distribution across clients; client drift.

System Heterogeneity Impact

High. Requires continuous coordination between a small number of powerful but heterogeneous silos.

Managed. Server handles many intermittent, resource-constrained clients via client selection.

VERTICAL FEDERATED AVERAGING

Practical Applications of VFA

Vertical Federated Averaging (VFA) enables collaborative model training across organizations that hold different data features about the same entities. Its primary applications are in industries where data privacy is paramount and joint feature sets are required for accurate predictions.

VERTICAL FEDERATED AVERAGING (VFA)

Frequently Asked Questions

Vertical Federated Averaging (VFA) is a foundational algorithm for collaborative machine learning on vertically partitioned data. These questions address its core mechanisms, distinctions, and practical implementation.

Vertical Federated Averaging (VFA) is a collaborative training algorithm designed for the vertical data partition setting, where different parties (e.g., a bank and an e-commerce site) hold different features about the same entities (e.g., customers). It works by coordinating a split neural network across these parties. In a typical VFA round: 1) Feature owners compute intermediate outputs from their local model segment using their private features. 2) These outputs are securely sent to the label owner. 3) The label owner completes the forward pass, computes the loss, and initiates vertical backpropagation. 4) Gradients are passed back to each feature owner to update their respective model segments. The 'averaging' occurs in the aggregation of these distributed gradient updates to form a coherent global model, often using secure aggregation protocols.

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.