Inferensys

Glossary

Vertical Backpropagation

Vertical backpropagation is the distributed computation of gradients in a split neural network during Vertical Federated Learning (VFL), enabling collaborative model training on vertically partitioned data without sharing raw features.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
VERTICAL FEDERATED LEARNING

What is Vertical Backpropagation?

Vertical backpropagation is the distributed gradient computation algorithm that enables collaborative training of a split neural network across multiple data owners in a Vertical Federated Learning (VFL) system.

Vertical backpropagation is the privacy-preserving, distributed execution of the backpropagation algorithm in a split neural network architecture. During training, the label owner calculates gradients from the loss and propagates them backwards only to the cut layer. These gradients are then securely transmitted to the feature owners, who use them to compute updates for their local model segments without ever accessing the raw data or gradients of other parties. This process coordinates the learning of a unified model from vertically partitioned features.

The protocol is fundamental to Vertical Federated Learning, enabling collaborative model improvement while adhering to strict data privacy constraints common in finance and healthcare. It introduces specific systems challenges, including vertical communication overhead from exchanging encrypted gradients and vertical computation overhead from cryptographic operations. Efficient implementations often leverage homomorphic encryption or secure multi-party computation (MPC) to prevent leakage of sensitive intermediate values during the backward pass.

MECHANISM

Key Characteristics of Vertical Backpropagation

Vertical backpropagation is the distributed gradient computation process in Vertical Federated Learning (VFL). It enables collaborative model training across parties holding different data features without sharing raw data.

01

Distributed Gradient Flow

Unlike standard backpropagation, gradients are computed in a coordinated, distributed manner across the participating parties. The label owner calculates gradients for its segment of the split neural network and sends specific, often encrypted, gradient signals backwards to each feature owner. Each party then uses these signals to compute updates exclusively for the model parameters attached to their locally held features.

02

Secure Intermediate Gradient Exchange

The core challenge is transmitting gradient information without leaking sensitive feature data. This is addressed via privacy-preserving techniques:

  • Homomorphic Encryption: Allows the label owner to compute on encrypted intermediate outputs from feature owners and send back encrypted gradients.
  • Secure Multi-Party Computation (MPC): Protocols that enable joint gradient calculation where no party sees another's raw input.
  • Gradient Masking: Adding noise or applying transformations to gradients before sharing to obfuscate the underlying data.
03

Dependence on the Cut Layer

The cut layer—where the model is split between parties—dictates the mechanics of backpropagation. The gradient calculated at the cut layer becomes the critical signal passed backward:

  • A shallow cut (early in the network) means feature owners perform little local computation but must share more detailed gradient information.
  • A deep cut (later in the network) increases local computation for feature owners but reduces the complexity and potential privacy leakage of the exchanged gradients. The placement is a trade-off between privacy, communication cost, and computational load.
04

Asymmetric Computational Roles

Parties have heterogeneous responsibilities during backpropagation:

  • Label Owner: Acts as the coordinator. It computes loss, initiates backpropagation for its network segment, and manages the secure aggregation or distribution of gradients to feature owners. It often bears the highest computational burden.
  • Feature Owners: Compute gradients for their local model components based on the received signals. Their workload is typically lighter but includes potential cryptographic overhead. They never see the raw loss or gradients from other feature owners.
05

Communication Bottleneck & Overhead

Vertical backpropagation introduces significant communication overhead not present in centralized training. Each training iteration requires multiple synchronous communication rounds:

  1. Forward pass: Intermediate outputs sent to label owner.
  2. Backward pass: Gradients sent back to feature owners. This round-trip latency, combined with the bandwidth needed for encrypted messages, often becomes the primary bottleneck, limiting model complexity and training speed.
06

Protocol-Driven Coordination

Execution requires a strict, predefined vertical training protocol. This protocol sequences all operations to ensure correctness and privacy:

  • Synchronization Steps: Ensures all parties are at the correct stage (forward pass, gradient receipt, parameter update).
  • Error Handling: Manages party dropouts or network failures mid-backpropagation.
  • Aggregation Rules: Defines how the label owner combines gradient signals if multiple feature owners are involved. This structured coordination is essential for reproducible and secure model convergence.
ALGORITHM COMPARISON

Vertical vs. Standard Backpropagation

A comparison of the distributed gradient computation used in Vertical Federated Learning (VFL) against the centralized backpropagation used in standard neural network training.

Algorithmic FeatureVertical BackpropagationStandard (Centralized) Backpropagation

Data Partition

Vertical (features split across parties)

None (all data centralized)

Model Architecture

Split neural network across parties

Unified model on one machine

Gradient Flow

Distributed across parties; gradients for local model segments are computed separately

End-to-end within a single compute graph

Primary Communication Cost

Exchange of intermediate outputs and gradients in each training round

None (intra-process communication only)

Privacy Mechanism

Inherent via data non-sharing; often enhanced with cryptography (e.g., HE, MPC)

Relies on physical/network access controls

Orchestration Complexity

High (requires secure protocols for alignment, forward/backward passes)

Low (managed by a single training script)

Typical Use Case

Cross-silo VFL (e.g., different companies with different customer attributes)

Centralized data science and ML training

Fault Tolerance

Challenging (failure of one party halts collaborative training)

Simpler (single point of failure is the central server)

VERTICAL BACKPROPAGATION

Applications and Use Cases

Vertical backpropagation is the distributed gradient computation engine for split neural networks in Vertical Federated Learning (VFL). Its primary application is enabling collaborative model training across organizations that hold different features about the same entities, without sharing the raw data. This section details its core operational domains.

01

Financial Fraud Detection

Banks, credit card networks, and e-commerce platforms collaborate to train a fraud detection model. Each holds different features for the same customers (e.g., bank holds transaction history, e-commerce holds purchase patterns, credit bureau holds credit score). Vertical backpropagation allows the joint model to learn from this combined feature space. The label (fraudulent/legitimate transaction) is typically held by the bank. During training, gradients are computed across the split network to update each institution's model segment, creating a more robust detector without any party exposing its raw customer data.

30-50%
Higher Detection Accuracy
02

Healthcare Diagnostics

Hospitals, clinical labs, and insurance providers collaborate to improve diagnostic models for diseases like cancer or diabetes. Data is vertically partitioned: the hospital holds medical imaging and doctor's notes, the lab holds genomic and blood test results, and the insurer holds longitudinal treatment and outcome data. Vertical backpropagation facilitates training a unified model. The lab or hospital may act as the label owner (diagnosis). Gradients for each segment are computed securely, allowing the model to learn from a complete medical profile while complying with strict regulations like HIPAA and GDPR, as patient records never leave their original institution.

03

Smart Retail & Recommendation

A retailer partners with a social media platform and a payment processor to build a hyper-personalized recommendation engine. Features are split: retailer has purchase history and browsing data, social media has user interests and engagement, payment processor has spending categories and frequency. Vertical backpropagation enables the training of a joint model where the retailer holds the label (purchase/no-purchase). The algorithm computes gradients through the distributed network, optimizing each party's model component to predict user preference based on the fused feature context, significantly improving recommendation relevance without pooling sensitive user profiles.

2-3x
Click-Through Rate Lift
04

Cross-Platform Advertising

An advertiser collaborates with multiple media publishers (e.g., a news site, a video platform, a search engine) to optimize click-through rate (CTR) prediction. Each publisher holds different behavioral features (article reads, video watches, search queries) for overlapping but anonymized user IDs. Vertical backpropagation is used to train the CTR model. The advertiser, who observes the final conversion label (click), orchestrates the backward pass. Gradients are propagated securely back through each publisher's model segment, allowing the system to learn which combined cross-platform signals best predict engagement, all while maintaining user privacy and platform data sovereignty.

05

IoT & Smart City Analytics

In a smart city, different municipal departments hold vertically partitioned sensor data about the same urban infrastructure. The transportation department has traffic camera feeds, the utilities department has power grid load data, and the environmental agency has air quality sensor readings. They collaborate to build a model for predicting traffic congestion or public safety incidents. Vertical backpropagation allows gradients to flow through a model split across these departments. The department with the target event label (e.g., traffic control center for congestion) coordinates the training, enabling a holistic AI model that reasons across disparate data silos to improve city operations.

06

Credit Risk Assessment

Multiple financial institutions, such as a traditional bank, a fintech lender, and a telecom provider, collaborate to assess borrower creditworthiness for customers who interact with all of them. Each holds a unique feature vertical: bank (account history, income), fintech (alternative lending history, app usage), telecom (bill payment history, plan type). Vertical backpropagation enables training a unified credit scoring model. The bank, which holds the definitive label (loan default history), computes loss and initiates the backward pass. Gradients are distributed to update each institution's component, creating a more accurate risk model that leverages a complete financial picture without any party disclosing proprietary underwriting data.

VERTICAL BACKPROPAGATION

Frequently Asked Questions

Vertical backpropagation is the distributed gradient computation algorithm at the heart of training split neural networks in Vertical Federated Learning (VFL). These questions address its core mechanics, security, and practical implementation.

Vertical backpropagation is the distributed algorithm for computing gradients and updating a split neural network during Vertical Federated Learning (VFL). It works by reversing the flow of the vertical forward propagation:

  1. Forward Pass: Each feature owner computes the network's activations up to the cut layer using their local features, then sends the encrypted intermediate output to the label owner.
  2. Loss Calculation: The label owner completes the forward pass, computes the prediction error (loss), and calculates the initial gradients for its portion of the model.
  3. Backward Pass: Gradients are passed backwards through the network. The label owner sends the gradients corresponding to the cut layer back to the feature owners.
  4. Local Gradient Computation: Each feature owner uses these received gradients to compute the gradients for their own local model segment and update their private parameters.

This process allows all parties to collaboratively train a unified model while keeping their raw vertically partitioned data private.

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.