A Vertical Inference Protocol is the defined sequence of secure communication and computation steps that enables multiple parties to collaboratively generate predictions using a model trained on vertically partitioned data. After training, the protocol coordinates the feature owners—who hold different subsets of input features for the same entities—to compute partial results without exposing their raw data. These partial outputs are then securely combined, typically by a label owner or a neutral coordinator, to produce the final prediction. This process ensures that the confidential feature data held by each participant never leaves its local environment during the inference phase.
Glossary
Vertical Inference Protocol

What is a Vertical Inference Protocol?
A protocol governing the collaborative use of a trained, vertically split model for making predictions while preserving data privacy.
The protocol's architecture is dictated by the split neural network design established during training, particularly the location of the cut layer. During inference, each feature owner performs a local forward pass on its segment of the model and transmits the encrypted intermediate output to the next party. This requires cryptographic techniques like homomorphic encryption or secure multi-party computation (MPC) to prevent data leakage. The protocol must efficiently manage communication overhead, latency, and the orchestration of steps to provide a practical, privacy-preserving alternative to centralizing data for model deployment in regulated industries.
Key Components of the Protocol
A Vertical Inference Protocol defines the secure, multi-step process for generating predictions using a model whose components are split across different organizations. Each component below represents a critical technical function required for private, collaborative inference.
Coordinated Forward Pass
The core computational sequence where each feature owner executes their local model segment on their private features. They produce an encrypted intermediate output (or embedding) which is passed to the label owner or a computation server. The label owner then completes the forward pass using the aggregated intermediate results to produce the final prediction. This process ensures no single party reconstructs the complete input feature vector.
Secure Aggregation Layer
A cryptographic mechanism that combines the intermediate outputs from multiple feature owners without revealing any individual contribution. Common techniques include:
- Homomorphic Encryption (HE): Allows computations on ciphertext.
- Secure Multi-Party Computation (MPC): Distributes the computation so no party sees another's raw input.
- Trusted Execution Environments (TEEs): Provide a hardware-isolated secure enclave for computation. This layer is the primary defense against data reconstruction attacks during inference.
Privacy-Preserving Activation
The protocol must handle non-linear activation functions (e.g., ReLU, Sigmoid) securely after the secure aggregation step. This is a significant challenge because most cryptographic schemes work natively only on linear operations. Solutions include:
- Polynomial approximations of activation functions compatible with HE.
- Garbled circuits within MPC protocols to evaluate the function.
- Two-server protocols where non-linearities are computed in a decomposed, privacy-preserving manner.
Inference Orchestrator
The central service (often run by the label owner or a neutral third party) that manages the inference workflow. Its responsibilities include:
- Request Routing: Directing prediction requests to the correct feature owners.
- Sequence Enforcement: Ensuring the forward pass steps occur in the correct, synchronized order.
- Result Composition: Collecting and securely aggregating outputs before applying the final model layers.
- Audit Logging: Recording protocol execution for compliance and debugging, without logging sensitive data.
Post-Inference Privacy Guard
Mechanisms applied to the final prediction output to prevent model inversion or membership inference attacks. Even the prediction score can leak information about the training data. Guards include:
- Output Perturbation: Adding calibrated noise to the prediction (Differential Privacy).
- Prediction Discretization: Returning only a class label or a bounded score range instead of a precise probability.
- Access Control: Enforcing policies on who can query the model and at what frequency.
Communication & State Channels
The network and messaging infrastructure that connects participants. Key requirements:
- Low-Latency Links: To meet real-time inference SLAs (e.g., <100ms for fraud detection).
- Authenticated Channels: All parties must cryptographically verify each other's identity.
- State Management: The protocol must handle scenarios where a feature owner is temporarily offline, often using queuing mechanisms or fault-tolerant aggregation algorithms to proceed with available parties.
Inference vs. Training Protocols in VFL
A comparison of the core operational phases in Vertical Federated Learning, highlighting the distinct communication patterns, security requirements, and computational roles for feature and label owners.
| Protocol Feature | Vertical Training Protocol | Vertical Inference Protocol |
|---|---|---|
Primary Objective | Iteratively improve model parameters via gradient-based optimization on a training dataset. | Generate predictions (labels) for new, unseen data samples using the finalized, trained model. |
Core Communication Flow | Bidirectional and iterative. Features → intermediate outputs → gradients → parameter updates. | Unidirectional. Features → intermediate output → final prediction (label). |
Active Participant Roles | All parties (feature owners and label owner) are active; all compute and exchange data in each round. | Feature owners are active to compute inputs; label owner is active to compute the final output. No updates are exchanged. |
Cryptographic Overhead | High. Often requires homomorphic encryption or secure multi-party computation for every gradient/update exchange to protect training data. | Lower. May rely on simpler encryption for intermediate outputs, but no sensitive gradients are shared. Inference can sometimes use plaintext with privacy checks. |
Data Sensitivity | Extremely high. Raw feature data and label data are indirectly exposed via repeated gradient sharing, requiring strong protection. | High. New input features are exposed via their intermediate representations, but the risk profile differs as the model is static. |
Orchestration Complexity | High. Requires robust synchronization, failure recovery, and secure aggregation across many iterative rounds. | Moderate. A single forward pass per prediction. Requires coordination but no multi-round state management. |
Typical Latency per Round/Query | Seconds to minutes per training round, depending on model size and crypto operations. | < 1 second to a few seconds per prediction, dominated by network latency and single forward pass computation. |
Output | Updated model parameters (weights) distributed to all parties holding parts of the split neural network. | A prediction or classification label, returned to the initiating party (often a feature owner or an end-user). |
Common Use Cases for Vertical Inference
The Vertical Inference Protocol enables collaborative predictions using a model split across organizations. After training, feature owners provide inputs without exposing their raw data, allowing the label owner to generate a final prediction. This is critical for scenarios where post-training data privacy is as important as training privacy.
Cross-Bank Credit Scoring
A bank (label owner) holds loan repayment histories. A fintech (feature owner) holds alternative transaction data for the same customers. Using a pre-trained vertical model, the fintech can securely provide transaction-derived features for a loan application, enabling the bank to generate a more accurate risk score without either party seeing the other's proprietary data.
- Key Mechanism: The fintech computes the intermediate output from its local model segment and sends it to the bank.
- Privacy Guarantee: Raw transaction data never leaves the fintech's secure environment.
Healthcare Diagnostics with Multi-Institutional Data
A hospital's diagnostic AI model is trained using its patient labels and features from a medical research institute (e.g., genomic markers). During inference, for a new patient, the institute provides the genomic features via the secure protocol. The hospital combines this with its clinical data to produce a diagnosis, preserving patient confidentiality across both entities.
- Compliance: Aligns with regulations like HIPAA and GDPR by avoiding centralization of sensitive health data.
- Use Case: Enables rare disease diagnosis by leveraging specialized, distributed data sources.
Personalized Advertising without PII Leakage
An e-commerce platform (label owner, with purchase history) wants to predict user purchase intent. A social media platform (feature owner, with engagement data) can participate in inference. The social platform computes an embedding from user activity and sends it to the e-commerce platform's model, generating a personalized ad score without sharing browsing history or identifying individual users.
- Data Minimization: Only non-identifiable model intermediates are exchanged.
- Industry Application: Facilitates cooperative marketing while respecting user privacy norms and regulations.
Fraud Detection in Financial Consortia
Multiple banks form a consortium to improve fraud detection. Each bank holds different features (e.g., domestic transactions, international wire patterns) for shared corporate clients. A central fraud model is trained vertically. For a new transaction, each bank provides its local inference output. These are aggregated to produce a consortium-wide fraud probability, protecting each bank's proprietary transaction patterns.
- Security Benefit: Prevents a single bank from reverse-engineering another's fraud detection rules or customer behavior.
- Operational Model: Enables collective defense without a centralized, vulnerable data lake.
Smart Grid Load Forecasting
A utility company (label owner) needs to forecast electricity demand. A smart meter manufacturer (feature owner #1) holds real-time consumption patterns, and a weather data provider (feature owner #2) holds hyper-local forecasts. During inference, both feature owners compute their respective model outputs. The utility securely aggregates these to predict grid load, optimizing generation without accessing granular household or proprietary weather data.
- System Efficiency: Enables precise, real-time forecasting critical for balancing renewable energy sources.
- Data Sovereignty: Meter and weather data remain under the control of their respective owners.
Manufacturing Predictive Maintenance
An OEM (label owner) holds failure data for industrial machines. A component supplier (feature owner) holds detailed sensor telemetry from its parts. Using a vertically trained model, the supplier can provide a real-time health signature derived from its sensors. The OEM combines this with its own operational data to predict failures, enabling proactive maintenance without either party exposing core intellectual property (sensor algorithms or failure root causes).
- Supply Chain Collaboration: Creates a closed-loop quality system across organizational boundaries.
- Value Preservation: Protects the supplier's sensor analytics and the OEM's maintenance know-how.
Frequently Asked Questions
A vertical inference protocol defines the secure, collaborative process for making predictions using a vertically split model after training, where feature owners provide inputs without revealing them.
A Vertical Inference Protocol is a defined sequence of secure communication and computation steps that enables multiple parties to collaboratively generate predictions using a vertically split model, where each party holds a different subset of features for the same entity. Unlike training, the protocol is executed after model convergence to perform privacy-preserving prediction on new data samples. Its core function is to orchestrate the flow of encrypted or masked intermediate outputs from feature owners to the label owner, who computes the final prediction, ensuring no raw feature data is exposed.
Key Mechanism: The protocol reactivates the same split neural network architecture used during training. Each feature owner computes a forward pass on their local feature subset up to the pre-defined cut layer. They then apply a privacy technique (e.g., homomorphic encryption, secret sharing) to the resulting intermediate output before sending it to the label owner. The label owner aggregates these contributions, completes the forward pass through its portion of the model, and produces the final prediction, which may be returned to a requesting party.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms
These terms define the core cryptographic, architectural, and procedural components that enable secure, collaborative prediction in a vertically partitioned machine learning system.
Split Neural Network
A split neural network is the model architecture used in Vertical Federated Learning where the network is partitioned across different data owners. The model is divided at a cut layer, with each party holding and computing a specific segment of the model based on their local features. During inference, the feature owner computes the forward pass up to the cut layer, producing an intermediate output that is securely passed to the label owner to complete the prediction.
Secure Multi-Party Computation (MPC)
Secure Multi-Party Computation (MPC) is a cryptographic subfield that enables multiple parties to jointly compute a function over their private inputs without revealing those inputs to each other. In the context of a vertical inference protocol, MPC protocols are used to perform the final prediction calculation. This allows the label owner to combine encrypted intermediate outputs from feature owners to compute the final model output, ensuring no single party learns another's raw feature data during the inference process.
Homomorphic Encryption (HE)
Homomorphic Encryption (HE) is a form of encryption that allows computations to be performed directly on ciphertext, generating an encrypted result that, when decrypted, matches the result of operations performed on the plaintext. In vertical inference, a feature owner can encrypt their intermediate output using the label owner's public key. The label owner can then perform the remaining model computations on this ciphertext, producing an encrypted prediction. Only the authorized result recipient (e.g., the feature owner) holds the private key to decrypt the final output.
Private Set Intersection (PSI)
Private Set Intersection (PSI) is a foundational cryptographic protocol used before training or inference can begin in Vertical Federated Learning. It allows two or more parties to discover the common set of entities (e.g., user IDs) in their vertically partitioned databases without revealing any information about entities not in the intersection. This entity alignment step is critical for ensuring all parties are computing on the same batch of samples during a coordinated inference request, forming the aligned sample set for the protocol.
Label Owner
The label owner is the coordinating party in a Vertical Federated Learning system that holds the target values (labels) for the aligned entities. In the inference protocol, the label owner typically:
- Possesses the portion of the split model from the cut layer to the output.
- Orchestrates the inference request, coordinating with feature owners.
- Receives and securely aggregates intermediate outputs.
- Computes or facilitates the computation of the final prediction, often using cryptographic protocols like MPC or HE to preserve privacy.
Vertical Training Protocol
The vertical training protocol is the defined sequence of steps used to collaboratively train the split model. It is the direct precursor to the inference protocol. Understanding training is essential for inference because:
- The cut layer and model architecture are established during training.
- The training protocol defines the trust and cryptographic assumptions between parties.
- The inference protocol uses the same data flow and communication patterns but in a single, forward-pass-only execution to generate predictions with the already-trained model.

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.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us