[KongchangAI]
PaperFelid 框架

Felid

An optimization framework for Transformer fine-tuning under fully homomorphic encryption (FHE). Through flexible packing strategies, operation-specific matrix evaluation algorithms, and function bootstrapping that fuses activation functions, it reduces the number of rotations, relinearizations, and bootstrappings at the ciphertext-operation level, achieving substantial acceleration.

Timeline (last 90 days)

Nov 23

Felid is a framework for Transformer fine-tuning under fully homomorphic encryption.

Unverified50%
Nov 23

Felid adopts a flexible packing strategy and supports variable numbers of batched inputs.

Unverified50%
Nov 23

Felid uses operation-specific matrix evaluation algorithms to reduce the number of rotations, relinearizations and bootstrappings.

Unverified50%
Nov 23

Felid uses functional bootstrapping to fold the computation of element-wise activation functions into the bootstrapping step.

Unverified50%
Nov 23

Compared with the latest state-of-the-art work, Felid achieves a 30-fold reduction in ciphertext rotations and relinearizations across all matrix operations.

Unverified50%
Nov 23

Felid achieves a 2.5-fold reduction in bootstrapping calls across the entire computation pipeline.

Unverified50%
Nov 23

Felid completed fine-tuning of a 2-layer BERT-style model with a batch size of 16 within 650 seconds.

Unverified50%
Nov 23

Compared with state-of-the-art work, Felid achieves an 8-fold speedup in end-to-end fine-tuning.

Unverified50%
Nov 23

Felid compresses the fine-tuning time of a 2-layer BERT to 650 seconds, but there is still a gap to the practical deployment of large-scale models.

Unverified50%

All Facts (9)

Source Articles