Felid: A flexible and efficient design for Transformer fine-tuning on encrypted dataFelid: A Flexible and Efficient Design for Transformer Fine-Tuning over Encrypted Data
AI summary
The researchers propose Felid, which uses fully homomorphic encryption (FHE) to fine-tune Transformers on encrypted data. Its packing strategy supports batching with a flexible number of inputs, and specialized matrix algorithms reduce ciphertext rotations and relinearizations per matrix operation by 30× and FHE bootstrapping calls by 2.5×. The system completes fine-tuning of a 2-layer BERT-like model with batch size 16 in 650 seconds, 8× faster than SOTA.