[Paper Review] PyVertical: A Vertical Federated Learning Framework for Multi-headed SplitNN
PyVertical is an open-source framework enabling vertical federated learning with SplitNN and Private Set Intersection to align data across owners, demonstrated on a dual-headed MNIST setup.
We introduce PyVertical, a framework supporting vertical federated learning using split neural networks. The proposed framework allows a data scientist to train neural networks on data features vertically partitioned across multiple owners while keeping raw data on an owner's device. To link entities shared across different datasets' partitions, we use Private Set Intersection on IDs associated with data points. To demonstrate the validity of the proposed framework, we present the training of a simple dual-headed split neural network for a MNIST classification task, with data samples vertically distributed across two data owners and a data scientist.
Motivation & Objective
- Enable training of neural networks on vertically partitioned data without sharing raw data.
- Link data points across owners using Private Set Intersection to align samples by ID.
- Demonstrate a dual-headed SplitNN architecture in a vertically partitioned MNIST setup.
- Provide an open-source tool for researchers to explore vertical federated learning with split networks.
Proposed method
- Model is split into segments held by data owners and a central data scientist.
- PSI is used to align data points by shared IDs before training so datasets are indexed consistently.
- Each data owner trains a localSplitNN segment to map their features to an intermediate representation; outputs are concatenated and fed to the data scientist's segment.
- Backpropagation propagates gradients through all segments during training.
- The framework leverages PySyft to preserve privacy and enable secure, collaborative learning.
Experimental results
Research questions
- RQ1Can vertical partitioning of features across multiple owners support effective neural network training via SplitNN?
- RQ2Can PSI reliably align data points across datasets to enable joint training without exposing raw data?
- RQ3Is a dual-headed SplitNN viable for MNIST when features are vertically distributed across two data owners and labels are held by a data scientist?
Key findings
- PyVertical enables training of a dual-headed SplitNN on vertically partitioned MNIST datasets.
- Each data owner maps 392-length input to a 64-length intermediate vector; the data scientist maps a 128-length concatenation to a 10-class softmax.
- Training uses a learning rate of 0.01 for data owners and 0.1 for the data scientist; batches are of size 128.
- The data scientist orchestrates training and computes loss, then backpropagates gradients to data owners.
- The approach demonstrates the principle of vertical federated learning with SplitNN and PSI in a privacy-preserving setting.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.