- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 3
Read review
Summary
The paper proposes a compiler framework for secure transformer inference. The main goal is to optimize end-to-end latency by dynamically assigning MPC and HE-based secure computation protocols based on available hardware/network conditions. To enable this, the framework includes a micro benchmarking tool that establishes cost parameters. The empirical evaluation demonstrates significant performance gains compared to HE/MPC protocol assignments in recent hybrid frameworks.
Strengths and weaknesses
Strengths: The high-level ideas of the paper are presented clearly and in an accessible way. The newly identified hybrid strategies show clear benefits in end-to-end latency compared to static standard assignments of recent hybrid MPC/HE frameworks (cf. Figure 3). The benchmarks are conducted using state-of-the-art MPC/HE building blocks/implementations.
Weaknesses:
The work is limited in optimizing execution/assignment only in terms of end-to-end latency. However, there are many other aspects that users would like to optimize for deployment, including monetary execution costs in cloud environments, which will significantly change assignments due to often higher costs for bandwidth and GPU compute compared to CPU compute.
The write-up significantly lacks technical details both on the algorithm design (also the pseudocode provided in the appendix is only very high level) as well as technical implementation of the inference system based on NEXUS CKKS and SHAFT MPC.
There exist several related works that are relevant yet not considered. Most prominently, the Matchmaker system by Jawalkar et al. that optimizes CPU/GPU assignment for FSS-based MPC to maximize throughput. There are also more recent works in MPC/HE hybrid secure transformer inference (e.g., EncFormer, TDSC'26) that could be considered in the performance evaluation.
Questions
- Would it be possible to adapt the optimization approach for other goals than end-to-end latency? (cloud execution cost, throughput, etc.)
- Can you describe some of the technical challenges in implementing both the compiler framework and secure inference based on NEXUS and SHAFT?
- How do your ideas relate to the optimization approach in Matchmaker?
- Have you considered the approach and assignment of EncFormer in your evaluation?
Limitations
The paper in its very last paragraph discusses some limitations and ideas for future work. However, this discussion could be significantly expanded, considering some of the limitations/weaknesses discussed above.
Paper formatting concerns
N/A
Final justification
The authors in their rebuttal provided robust discussions of open questions posed in my review. Assuming these will be incoporated in the final version, I increade my overall rating to recommend acceptance.
Meta-review
This paper presents CipherFlow, a hardware-aware compiler designed to optimize end-to-end latency for hybrid HE-MPC secure transformer inference. By combining profiling-based cost estimation with state-expanded path search and block folding, the framework dynamically assigns cryptographic operators based on deployment environments.
Reviewers highlight the paper's key strengths: a practical latency-minimization formulation, solid hardware/network-aware profiling, and effective search space reduction for transformer models, yielding clear empirical gains over static hybrid baselines.
However, reviewers raised critical weaknesses regarding clarity, methodology, and evaluation:
--Reviewer 5iPu points out confusing figures, ambiguous component counting (Line 189), and possible typos in Appendix B.
--Reviewer XPAg notes potential misestimations in HE levels, unvalidated cost-model predictions versus real wall-clock runtime, and missing discussions on communication volume and dynamic shapes. Reviewer KSA2 emphasizes the lack of technical implementation details and optimization beyond latency.
--Reviewers request missing comparisons with local greedy/random baselines, relevant prior works (e.g., CostSphere, Matchmaker, EncFormer), and empirical compiler scaling.
Authors should address Reviewer 5iPu's concerns regarding FHE bootstrapping necessities, and clarify issues raised by Reviewers XPAg and KSA2 regarding cost-model validation, baselines, and implementation details.