Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

CrypTFlow2: Practical 2-Party Secure Inference

About

We present CrypTFlow2, a cryptographic framework for secure inference over realistic Deep Neural Networks (DNNs) using secure 2-party computation. CrypTFlow2 protocols are both correct -- i.e., their outputs are bitwise equivalent to the cleartext execution -- and efficient -- they outperform the state-of-the-art protocols in both latency and scale. At the core of CrypTFlow2, we have new 2PC protocols for secure comparison and division, designed carefully to balance round and communication complexity for secure inference tasks. Using CrypTFlow2, we present the first secure inference over ImageNet-scale DNNs like ResNet50 and DenseNet121. These DNNs are at least an order of magnitude larger than those considered in the prior work of 2-party DNN inference. Even on the benchmarks considered by prior work, CrypTFlow2 requires an order of magnitude less communication and 20x-30x less time than the state-of-the-art.

Deevashwer Rathee, Mayank Rathee, Nishant Kumar, Nishanth Chandran, Divya Gupta, Aseem Rastogi, Rahul Sharma• 2020

Related benchmarks

TaskDatasetResultRank
Private Inference EfficiencyIn-queue inputs LAN Online phase
Communication Overhead (MiB)32.1
48
Private Inference EfficiencyIn-queue inputs WAN2 Online phase
Latency (s)27.3
48
Online overhead computationLAN
Communication (MiB)32.1
32
Online overhead computationWAN2
Latency (s)27.3
32
Online overhead computationWAN 1
Latency (s)25.5
32
Online overhead computationWAN3
Time (s)23.5
32
Online overhead computationWAN4
Execution Time (s)25
32
Private Inference EfficiencyIn-queue inputs WAN1 Online phase
Time (s)25.5
32
Private Inference EfficiencyIn-queue inputs WAN3 Online phase
Inference Time (s)23.5
32
Private Inference EfficiencyIn-queue inputs WAN4 Online phase
Time (s)25
32
Showing 10 of 27 rows

Other info

Follow for update