Pivot

This repository contains the implementation of Privacy preserving vertical federated learning for tree-based models. This paper proposes a private and efficient solution for tree-based models, including decision tree (DT), random forest (RF), and gradient boosting decision tree (GBDT), under the vertical federated learning (VFL) setting. The solution is based on a hybrid of threshold partially homomorphic encryption (TPHE) and secure multiparty computation (MPC) techniques.

Dependencies

Run the test with Docker

You can build the docker image using tools/docker/Dockerfile (test passed on Ubuntu20.04), or download the pre-built image from docker hub here.

After building the image, follow the steps in tools/docker/README.md to run the test on a single machine.

Build from source

If want to build from source, you can follow the steps in tools/docker/Dockerfile, but need to update some configurations on your host machine.

Configuration

Build programs

Basic protocol

Enhanced protocol

Citation

If you use our code in your research, please kindly cite:

@article{DBLP:journals/pvldb/WuCXCO20,
  author    = {Yuncheng Wu and
               Shaofeng Cai and
               Xiaokui Xiao and
               Gang Chen and
               Beng Chin Ooi},
  title     = {Privacy Preserving Vertical Federated Learning for Tree-based Models},
  journal   = {Proc. {VLDB} Endow.},
  volume    = {13},
  number    = {11},
  pages     = {2090--2103},
  year      = {2020}
}

Contact

To ask questions or report issues, please drop us an email.