Inferensys

Glossary

Vertical Multi-Party Computation (MPC)

Vertical Multi-Party Computation (MPC) is a cryptographic protocol enabling joint AI model training on vertically partitioned data without exposing raw inputs.
Data scientist building training data pipeline on laptop, data preprocessing visible, technical workspace.
PRIVACY-PRESERVING MACHINE LEARNING

What is Vertical Multi-Party Computation (MPC)?

Vertical Multi-Party Computation (MPC) is a cryptographic framework that enables multiple organizations to jointly train a machine learning model on their combined, vertically partitioned data without any party revealing its private raw data to the others.

Vertical Multi-Party Computation (MPC) specifically addresses the vertically partitioned data scenario, where different parties hold different features (columns) about the same entities (rows). The core mechanism uses secure multi-party computation protocols to perform calculations over this distributed data. These protocols allow mathematical operations—like computing gradients or activation functions—on encrypted or secret-shared data, ensuring that no single party can reconstruct another's sensitive input features during the collaborative model training process.

In practice, MPC protocols for vertical federated learning often involve secret sharing or homomorphic encryption to compute on distributed data. A common architecture is the split neural network, where the model is divided at a cut layer. Feature owners compute intermediate results on their local data, which are then securely combined using MPC to complete the forward and backward passes. This approach provides stronger, cryptographic privacy guarantees compared to methods that rely solely on algorithmic techniques like differential privacy, making it suitable for highly regulated collaborations.

VERTICAL FEDERATED LEARNING

Core Characteristics of Vertical MPC

Vertical Multi-Party Computation (MPC) uses cryptographic protocols to enable joint model training on vertically partitioned data, where different parties hold different features about the same entities, without exposing the raw data.

01

Cryptographic Data Partitioning

The foundational principle of Vertical MPC is the vertical partition of the feature space. Each participating party (e.g., a bank and a retailer) holds a distinct, non-overlapping set of features (columns) for a shared set of entities (rows). MPC protocols allow computation across these partitions while the raw data remains encrypted and localized. For example, a bank's credit history and a retailer's purchase history for the same customers can be used to train a fraud detection model without either party seeing the other's dataset.

02

Secure Entity Alignment via PSI

Before training can begin, parties must identify their common entities (e.g., user IDs) without revealing their full lists. This is achieved using Private Set Intersection (PSI), a core MPC protocol. PSI allows two or more parties to compute the intersection of their private ID sets, learning only which IDs they have in common and nothing about the non-intersecting IDs. This secure entity resolution is a critical, privacy-preserving prerequisite for aligning samples in Vertical MPC.

03

Split Model Architecture

The machine learning model is architecturally divided into segments, typically using a split neural network. Each party holds a portion of the model corresponding to its local features.

  • Feature Owners: Compute the forward pass on their local features up to a designated cut layer, producing an intermediate output.
  • Label Owner: Receives these encrypted intermediate outputs, completes the forward pass, computes the loss, and initiates backpropagation. This architecture ensures no single party has the complete model or data view.
04

Privacy-Preserving Forward/Backward Pass

Training occurs through a coordinated vertical training protocol.

  • Vertical Forward Propagation: Feature owners compute on local data and send encrypted intermediate results to the label owner.
  • Vertical Backpropagation: The label owner computes gradients and sends back encrypted gradient messages relevant to each feature owner's model segment. Techniques like homomorphic encryption or secret sharing are used so computations can be performed on ciphertext, preventing leakage of raw features or intermediate values.
05

Formal Privacy Guarantees

Vertical MPC provides stronger, cryptographically enforced privacy compared to heuristic methods. Its guarantees are based on mathematical proofs under defined adversarial models (semi-honest or malicious). These protocols are designed to prevent:

  • Data Reconstruction: An adversary cannot invert intermediate outputs to recover raw input features.
  • Membership Inference: It is infeasible to determine if a specific entity's data was part of the training set.
  • Gradient Leakage: Individual model updates do not reveal information about the local dataset.
06

Communication & Computation Overhead

The primary trade-off for strong cryptographic privacy is significant overhead.

  • Vertical Communication Overhead: Each training round requires multiple rounds of encrypted communication for forward/backward passes, increasing latency.
  • Vertical Computation Overhead: Cryptographic operations (encryption, decryption, secure multi-party arithmetic) are computationally intensive, often orders of magnitude slower than plaintext operations. This makes Vertical MPC suitable for high-value, sensitive data scenarios where privacy is paramount and resources are available.
COMPARISON

Vertical MPC vs. Other Privacy Techniques

A feature comparison of Vertical Multi-Party Computation (MPC) against other core privacy-preserving techniques used in federated and collaborative learning.

Feature / PropertyVertical MPCHomomorphic Encryption (HE)Differential Privacy (DP)Traditional VFL (Plaintext)

Primary Privacy Guarantee

Cryptographic (input privacy during computation)

Cryptographic (data encrypted end-to-end)

Statistical (output indistinguishability)

Protocol-based (no raw data sharing)

Data Partition Compatibility

Vertical & Horizontal

Any

Any

Primarily Vertical

Supports Joint Model Training

Cryptographic Overhead

High (interactive protocols)

Very High (compute-intensive ops)

Low (noise addition)

None

Communication Overhead

High (multiple rounds per op)

Low (after setup)

Low

Moderate (intermediate outputs)

Formal Privacy Proofs

Protects Against Malicious Adversaries

Model Accuracy Impact

None (exact computation)

None (exact computation)

Yes (noise reduces utility)

Potential (from intermediate data)

Real-Time Inference Support

Common Use Case

Secure joint training on aligned vertical data

Outsourced computation on encrypted data

Releasing aggregate statistics or models

Collaborative training with trusted coordinator

PRIVACY-PRESERVING COLLABORATION

Vertical MPC Use Cases

Vertical Multi-Party Computation (MPC) enables joint analytics and model training across organizations that hold different data features about the same entities, such as customers or devices, without any party revealing its raw data. These use cases are foundational in regulated industries where data sovereignty and privacy are non-negotiable.

01

Cross-Bank Credit Scoring

Multiple financial institutions, such as a bank and a credit card company, collaborate to build a more accurate credit risk model. Each holds different features (e.g., mortgage history vs. transaction data) for overlapping customers. Using Vertical MPC, they compute a joint model. The label owner (e.g., the bank with default records) learns only the final prediction, while feature owners learn nothing about each other's data or the specific model parameters, complying with financial regulations like GDPR and CCPA.

20-30%
Improvement in Default Prediction
02

Healthcare Diagnostics & Research

A hospital holds patient imaging data, a lab holds genomic sequences, and a pharmacy holds medication history—all for the same patient cohort. Vertical MPC allows these entities to train a diagnostic model for a disease like cancer without creating a centralized, vulnerable dataset.

  • Entity alignment via Private Set Intersection (PSI) matches patient records securely.
  • A split neural network trains across the parties, with intermediate outputs protected by cryptographic protocols.
  • This enables precision medicine initiatives while preserving Protected Health Information (PHI) under HIPAA and other frameworks.
03

Fraud Detection in FinTech Ecosystems

An e-commerce platform, a payment processor, and a digital wallet provider can jointly detect sophisticated fraud patterns. The e-commerce platform has browsing history, the processor has transaction metadata, and the wallet has login behavior. Vertical MPC facilitates training an anomaly detection model where the label owner (e.g., the processor with confirmed fraud tags) orchestrates the process. Secure aggregation of gradients ensures no single party can infer another's feature set, preventing collusion and protecting consumer privacy across the transaction chain.

04

Personalized Advertising & Marketing

A retailer, a social media platform, and a logistics company aim to predict customer lifetime value or churn. The retailer has purchase history, the platform has engagement data, and the logistics firm has delivery patterns. Vertical MPC enables the creation of a unified customer profile model without sharing raw data, which would violate user trust and privacy policies.

The vertical inference protocol allows for real-time, privacy-preserving predictions for ad targeting. This mitigates the risk of data leakage and protects competitive intelligence while improving campaign ROI.

05

Supply Chain Optimization

A manufacturer, a shipping company, and a retailer collaborate to optimize inventory and predict delays. Each possesses vertically partitioned features: production schedules, GPS logistics data, and point-of-sale data. Using Vertical MPC, they train a predictive model for demand forecasting or bottleneck identification.

  • The vertical training protocol coordinates gradient exchanges between the parties' local model segments.
  • Homomorphic encryption may be used to compute on encrypted intermediate results.
  • This creates a resilient, intelligent supply chain without exposing proprietary operational data.
06

Smart City & IoT Data Fusion

Different municipal departments or utility companies hold sensor data for traffic flow, energy consumption, and public safety incidents across the same geographic grid. Vertical MPC allows for the training of models to optimize traffic light timing, predict grid load, or allocate emergency services.

Feature owners (e.g., transit and energy departments) contribute their data features securely. The label owner (e.g., city planning with target outcomes) learns the model's predictions to inform policy. This use case demonstrates how Vertical MPC enables public-private partnerships and cross-agency collaboration while maintaining strict data governance for citizen data.

VERTICAL MULTI-PARTY COMPUTATION (MPC)

Frequently Asked Questions

Vertical Multi-Party Computation (MPC) is a cryptographic technique enabling collaborative machine learning on vertically partitioned data without exposing raw data. This FAQ addresses its core mechanisms, applications, and relationship to federated learning.

Vertical Multi-Party Computation (MPC) is a cryptographic protocol that enables multiple parties, each holding different features (columns) about the same entities, to jointly compute a function—such as training a machine learning model—while keeping their respective input data private. It works by employing secure computation primitives like secret sharing or garbled circuits to allow distributed computation over encrypted or obfuscated data. In a typical vertical ML scenario, parties compute partial results locally, then engage in a series of secure, interactive protocols to combine these results into a final model update or prediction, without any single party ever seeing another's raw feature values. The core guarantee is that nothing is learned beyond the predefined output of the computation.

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.