Repository navigation
EncFormer v2.0.0
This release updates the implementation and evaluation artifact associated with the paper:
EncFormer: Secure and Efficient Transformer Inference over Encrypted Data
Accepted as a Regular Paper in the IEEE Transactions on Dependable and Secure Computing (TDSC).
The artifact now runs as two separate parties. The server performs the CKKS computation with evaluation keys only, and the client holds the secret key. EzPC/SCI evaluates the non-linear layers between them. See the README for setup and usage.
bash scripts/2pc.sh <idx> <layers> <gpu>classifies an SST-2 sentence with the two-party protocol.- Requires an NVIDIA GPU with at least 40 GB of memory (v1.0.0: 24 GB).
- The SST-2 checkpoint is unchanged from v1.0.0;
encformer-sst2.tar.gzfrom the v1.0.0 Release remains valid. EncFormer-v2.0.0.zipis the self-contained archive of this release, including the checkpoint (SHA-256 inEncFormer-v2.0.0.zip.sha256).
License: MIT