atlas

Research map / Architectures and efficiency / RNNs and normalization

PrivCirNet: Efficient Private Inference via Block Circulant Transformation

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Distributed LLM inference systems · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PrivCirNet, a protocol/network co-optimization for hybrid HE/MPC private DNN inference that uses block circulant weight transformation, a new HE encoding (CirEncode), loss-aware initialization and latency-aware ILP block-size search, plus layer fusion.

Problem

HE-based private DNN inference has very high linear-layer computation cost (HE multiplications and rotations), making latency orders of magnitude higher than plaintext inference; prior HE encodings and pruning are not fully compatible with efficient BSGS rotation schemes.

Approach

Replace dense weight matrices with block circulant matrices so each circulant block becomes a 1D convolution computed by a single HE-Pmult with coefficient encoding; a new nested encoding (CirEncode) combines coefficient and SIMD encodings across blocks to cut HE-Pmult by factor b and HE-Rot by sqrt(b); layer-wise block sizes are chosen by an ILP over second-order loss sensitivity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use block circulant transformation with CirEncodeMobileNetV2 · Tiny ImageNetlatency versus Bolt: 1.9× latency reductionHelped
use block circulant transformation with CirEncodeResNet-18 · Tiny ImageNetlatency versus Bolt: 5.0× latency reductionHelped
use block circulant transformation with CirEncodeViT · Tiny ImageNetlatency versus Bolt: 1.3× latency reductionHelped
use block circulant transformation with CirEncodeMobileNetV2 · ImageNetaccuracy versus SpENCNN: 4.2%Helped
use CirEncode with block size 8GEMM and convolution microbenchmarks · GEMM and convolution microbenchmarksHE rotations: 70 -> 10Helped
use CirEncode with block size 8GEMM and convolution microbenchmarks · GEMM and convolution microbenchmarksHE-Pmult: 2504 -> 155Helped
replace uniform or Frobenius block-size assignment with loss-aware assignment (ablation)MobileNetV2 and ViT · CIFAR-10, CIFAR-100, and Tiny ImageNet at 50%, 25%, and 12.5% latency limitationsTop-1 accuracyHelped
remove CirEncode (ablation)PrivCirNet on MobileNetV2 · Tiny ImageNetlatencyHurt
remove CirEncode (ablation)PrivCirNet on MobileNetV2 · Tiny ImageNetaccuracyHurt
add latency-aware block-size assignment (ablation)PrivCirNet on MobileNetV2 · Tiny ImageNetaccuracyHelped
add fusion methods (ablation)PrivCirNet on MobileNetV2 · Tiny ImageNetlatencyHelped
add fusion methods (ablation)PrivCirNet on MobileNetV2 · Tiny ImageNetaccuracyNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 Tiny ImageNet ImageNet

Benchmarks: CIFAR-10 CIFAR-100 Tiny ImageNet ImageNet

Metrics: top-1 accuracy latency (s) HE-Rot count HE-Pmult count

Baselines: Bolt Neujeans Cheetah CrypTFlow2 Falcon SpENCNN

Builds on: Bolt Cheetah Neujeans SpENCNN CirCNN

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy