Skip to content

Optimized Secure Two-Party Computation for Recurrent Neural Network Inference

Notifications You must be signed in to change notification settings

Samsara430381/2PC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OPAF: Optimized Secure Two-Party Computation Protocols for Nonlinear Activation Functions in Recurrent Neural Network

Introduction

This directory contains the code for the 2PC protocols from "OPAF: Optimized Secure Two-Party Computation Protocols for Nonlinear Activation Functions in Recurrent Neural Network".

Setup

For setting up the code:

  1. Set-up EzPC/SCI
  2. Replace the "CMakeList.txt" file in the SCI directory
  3. Move the "mytests" directory into the SCI directory
  4. Move the "MyProtocol" directory into the SCI/src directory

Compilation

cd EzPC/SCI
mkdir mybuild && cd mybuild
cmake ..
make -j 16

Running mytests

On successful compilation, the binaries will be created in mybuild/bin/.

Run mytests as follows to make sure everything works as intended:

./<mytest> r=1 [port=port] & ./<mytest> r=2 [port=port]

Acknowledgements

Our implementation includes code from the following external repository:

  • EzPC/SCI for fundamental building blocks.

About

Optimized Secure Two-Party Computation for Recurrent Neural Network Inference

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published