How weights are represented
In TFHE, model weights and activations are represented with integers. [1]
How nonlinear functions are implemented
Nonlinear functions must be implemented with a Programmable Bootstrapping (PBS) operation. [2]
What PBS does
PBS implements a table lookup (TLU) operation on encrypted data while also refreshing ciphertexts to allow arbitrary computation. [3]
Sources
- The Hugging Face source says: In TFHE, model weights and activations are represented with integers. Towards Encrypted Large Language Models with FHE
- The Hugging Face source says: Nonlinear functions must be implemented with a Programmable Bootstrapping (PBS) operation. Towards Encrypted Large Language Models with FHE
- The Hugging Face source says: PBS implements a table lookup (TLU) operation on encrypted data while also refreshing ciphertexts to allow arbitrary computation. Towards Encrypted Large Language Models with FHE