- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper proposes FELID, an FHE-based system for non-interactive transformer fine-tuning over encrypted data. The main contribution is not a new model architecture, but a set of ciphertext-level optimizations: flexible interleaved packing, operation-specific matrix evaluation algorithms, and functional bootstrapping. The reported results are strong: roughly 30× fewer rotations/relinearizations, 2.5× fewer bootstrapping calls, and 8× end-to-end speedup over the main prior baseline on a 2-layer BERT-style model.
Strengths and weaknesses
Strengths:
This paper targets an important and relatively underexplored problem: efficient privacy-preserving fine-tuning of transformers, rather than only encrypted inference. The proposed packing strategy and matrix-evaluation algorithms are technically meaningful and well aligned with the computational bottlenecks of CKKS-based FHE. The paper also provides detailed algorithmic descriptions and cost breakdowns across CPMM, LoRA CCMM, kernel attention, classification head computation, and bootstrapping. The experimental results are promising, and the authors make a reasonable effort to compare fairly with prior work by reproducing the baseline under the same FHE library and hardware setting.
Weaknesses:
- The security model is relatively narrow: it assumes an honest-but-curious server and does not address malicious behavior, verifiable computation, side channels, or integrity of encrypted model updates.
- The privacy leakage profile is underspecified; it is unclear what metadata is exposed through batch size, sequence length, model structure, training schedule, or optimizer behavior.
- The CKKS approximation error analysis is mostly empirical, with limited discussion of how numerical errors propagate through forward pass, backward pass, and optimization.
- The evaluation is limited to a 2-layer BERT-style model and three GLUE tasks, which makes it difficult to assess scalability to larger transformer models.
Questions
- Could the authors clarify the exact leakage profile of the protocol? What information is visible to the server beyond ciphertexts?
- How robust is the method to CKKS approximation error during full training?
- How does FELID scale to larger models, such as BERT-base or deeper transformer architectures? I understand the author may have limited computational resources, but if possible, I want to know the scalability of FELID.
- Can the authors provide a more detailed ablation study separating the contribution of each component?
Limitations
The paper should more clearly discuss its limitations, especially the narrow honest-but-curious threat model, the lack of protection against malicious or faulty servers. Furthermore, the authors shall better address scalability, since experiments are limited to a small 2-layer BERT-style model. A brief discussion of practical deployment costs and societal implications would also strengthen the paper.
Paper formatting concerns
NA
Final justification
I'm happy to raise my confidence to 4 and keep my already positive score assessment. I'm positive about the paper.
We thank Reviewer
CVqcfor the helpful suggestions. We address your concerns as follows:W1: The security model is relatively narrow: it assumes an honest-but-curious server and does not address malicious behavior, verifiable computation, side channels, or integrity of encrypted model updates.
Yes, we follow the same security model as prior works on non-interactive FHE-based privacy-preserving fine-tuning [25, 27, 28, 32, 36, 37]. We understand that stronger threat models could be considered. However, supporting such settings would require additional mechanisms, including verifiable FHE or zero-knowledge proofs for computation correctness and side-channel-resilient implementations. Since our focus is on improving the efficiency of FHE-based fine-tuning, these extensions are left as future work and are beyond the scope of this paper.
W2 & Q1: Clarify the exact leakage profile of the protocol Thank you for the suggestion. In our protocol, the server receives only public FHE parameters, public/evaluation keys, and ciphertexts. Under the semantic security of CKKS, ciphertexts do not reveal the underlying plaintext values. Therefore, the server does not learn the client’s input or any intermediate results.
The server could learn some fine-tuning-related parameters that is inherent to the algorithms: model architecture, hidden dimension, LoRA rank, batch size, maximum sequence length, and number of epochs. These parameters are determined by the public computation setup.
The base model weights are also visible to the server, which follows the common privacy-preserving AI-as-a-Service/ML-as-a-Service setting used in prior FHE Transformer works [25, 27, 28, 32, 36, 37]. The client’s input data and encrypted trainable weights remain protected by FHE.
We will revise the paper to explicitly state that the leakage consists of public CKKS parameters and fine-tuning-related parameters, while plaintext data values, labels, gradients, updates, and outputs remain hidden from the server. We will also clarify that implementation-level side channels are outside the scope of this work.
W3 & Q2: How robust is the method to CKKS approximation error during full training
We performed an additional noise-propagation experiment to evaluate how CKKS approximation error accumulates through a full training step. we use the trained 2-layer Gaussian-kernel checkpoint and cyclically replicate its layers to construct deeper models. we run forward pass, backward pass, and AdamW-HE update on the first batch of MRPC, RTE, and STS-B with batch size 16, and report the mean and maximum value of the absolute error.
These results show that Felid is robust to CKKS approximation error in the evaluated full-step training flow. The error does not blow up through forward propagation, backward propagation, or encrypted optimizer updates, and remains small compared with the scale of model activations and updates.
W4 & Q3 : How does FELID scale to larger models, such as BERT-base or deeper transformer architectures?
In theory, FELID is extensible to larger models since Transformer layers have the same structure and thus our framework can support deeper models without changing the evaluation algorithms.
In experiments:
The estimated runtime for fine-tuning a 12-layer BERT-style model with batch size 16 on a single GPU is about 1 hour per batch, still around 8× speedup over SoTA baseline[28].
For the same hidden size, sequence length, and batch size, the dominant layer-wise runtime scales approximately linearly with the number of Transformer layers.
Our noise-propagation experiment (in W3&Q2) also shows that CKKS approximation error does not grow significantly with depth.
Peak memory is independent of the number of Transformer layers. For better scalability, model weights and intermediate outputs needed for backward propagation are stored in files and loaded into memory only when required. Therefore, the peak memory consists of evaluation keys, peak ciphertext memory, and is independent of the number of Transformer layers. The peak memory with a batch size of 16 is 58.4GB.
1. The evaluation keys, including relinearization keys, rotation keys, and bootstrapping keys, take 53.8GB. Their size is determined by the encryption parameters and the FHE library implementation and does not increase with model depth or batch size.
2. The peak ciphertext memory is 4.6GB, including 48 ciphertexts for X and 288 ciphertexts for encrypted weights, with each ciphertext taking about 14MB. The peak number of ciphertexts is linearly with the batch size: for batch size 4, the peak is 12 + 72 = 84 ciphertexts; for batch size 64, the peak is 192 + 1152 = 1344 ciphertexts. Since ciphertext size is determined by encryption parameters and implementation, this part also does not depend on model depth. So the peak ciphertext memory across different batch size is 1.15GB to 18.4GB no matter how deep the model is. Overall, the peak memory ranges from about 55GB to 72.2GB for batch sizes 4 to 64, which is compatible with modern high-memory GPUs.
Similar Preprocessing cost for different numbers of Transformer layers. Finally, we measured preprocessing overhead. The preprocessing stage consists of: (1) setup and key generation, which takes 8.96 seconds to generate the context, public keys, and evaluation keys, and is independent of model depth and batch size; and (2) packing and encryption of inputs, which takes 0.18 seconds for a batch size of 16, scales approximately linearly with batch size, and is independent of model depth. Therefore, the total preprocessing cost ranges from about 9.0 seconds to 9.68 seconds for batch sizes 4 to 64, regardless of the number of Transformer layers.
Although our method already achieves an 8× speedup over SoTA baseline[28], fine-tuning a large model, e.g., a 12-layer BERT-style model, is still computationally expensive, and we cannot conduct full-task fine-tuning for such a large model within the rebuttal period. As highlighted in the meta-review, scalability has long been a fundamental bottleneck for homomorphic encryption. While this challenge remains open, our work represents a meaningful step forward by substantially improving efficiency, achieving an 8× speedup over the state of the art.
Q4: Ablations study on contribution of each component
There are 4 components contribute to the performance speedups: (i) flexible interleaved packing, (ii) operation-specific encrypted matrix-evaluation algorithms, (iii) reduced multiplicative depth and the resulting reduction in bootstrapping frequency, and (iv) functional bootstrapping.
First, we emphasize that the four components are not fully orthogonal and exhibit strong interdependencies, making it infeasible to provide a completely independent attribution breakdown.
Clarification on Component Interdependencies. In general, (i), (ii), and (iii) are interdependent, while (iii) and (iv) are also interdependent. Specifically, (ii) is designed around (i), while the reduced multiplicative depth reported in Table 2 directly changes the bootstrapping schedule. Moreover, in the full end-to-end flow shown in Figure 4, ciphertext levels must be carefully scheduled according to the multiplicative depth consumed by each operation. Therefore, a purely independent attribution is difficult.
Additional Cumulative component-level breakdown. Although Section 4.1 reports separate improvements for matrix operations, functional bootstrapping, and bootstrapping counts, to makes the attribution clearer, we provide the following cumulative component-level breakdown.
In summary:
We will include this attribution table and discussion in the revised paper.