Skip to content

Non-interactive protocol for secure transformer inference based on RNS-CKKS.

License

Notifications You must be signed in to change notification settings

Kevin-Zh-CS/NEXUS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NEXUS

NEXUS is the first non-interactive protocol for secure transformer inference.


Installing SEAL

NEXUS uses a modified (bootstrapping-friendly) version of Microsoft SEAL version 4.1.

Please install the SEAL library thirdparty/SEAL-4.1-bs included as part of this repository (follow the instructions in the above link) before compiling NEXUS.


Compiling NEXUS

Once Microsoft SEAL 4.1 is installed, to build NEXUS simply run:

mkdir build
cd build
cmake ..
make

This should produce two binary executables inside the build directory:

  • bin/main
  • bin/bootstrapping

NEXUS-CUDA

We also provide a GPU accelerated implementation of NEXUS under the directory cuda.

For detailed instructions on how to compile and run NEXUS-CUDA, see README.md


Preprint

@misc{cryptoeprint:2024/136,
      author = {Jiawen Zhang and Jian Liu and Lipeng He and Xinpeng Yang and Wen-jie Lu and Yinghao Wang and Kejia Chen and Xiaoyang Hou and Kui Ren and Xiaohu Yang},
      title = {Secure Transformer Inference Made Non-interactive},
      howpublished = {Cryptology {ePrint} Archive, Paper 2024/136},
      year = {2024},
      url = {https://eprint.iacr.org/2024/136}
}

About

Non-interactive protocol for secure transformer inference based on RNS-CKKS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages