potentialpaper

CipherFlow: Compiling AI Programs for Efficient Cryptographically Secure Inference

Update NeurIPS 2026 submission 2b0g4FkPGD: 16 notes

@openreview[bot] · 2026-11-24 15:45 UTC · b832600b5b12 ·

Evidence

reviews/openreview/2b0g4fkpgd/notes/4tdnwyktwc.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/4tdnwyktwc.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "4TDnWYKTwC",
+ "replyTo": "QZ3fb3R85B",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 5iPu",
+ "content": {
+ "comment": "Thank you for the relatively fast response and clarifications. I do not have any questions at the moment."
+ },
+ "createdAt": "2026-08-02T16:22:04.482Z",
+ "modifiedAt": "2026-11-19T17:19:14.490Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=4TDnWYKTwC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/8zmeevxvmr.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/8zmeevxvmr.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "8ZmEEVxVMR",
+ "replyTo": "ea484w4lSI",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer KSA2",
+ "content": {
+ "title": "Response to Rebuttal",
+ "comment": "Thanks for the responses! Assuming these are properly incorporated into the final version, I remain positive about the paper."
+ },
+ "createdAt": "2026-08-02T09:37:44.316Z",
+ "modifiedAt": "2026-11-19T17:19:14.618Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=8ZmEEVxVMR",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/bfdkpsrblu.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/bfdkpsrblu.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "BFDKpsRblU",
+ "replyTo": "l7jB6x86so",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 5iPu",
+ "content": {
+ "comment": "Q1+ Q2: This is an interesting result. While I am mostly familiar with FHE, it has not occurred to me that communication cost in MPC could potentially perform worse in latency compared to FHE bootstrapping. I did not misunderstand the term \"free bootstrapping\". I am aware that switching to MPC and back effectively refreshes the noise, resulting in a \"bootstrapped\" ciphertext. This process (HE->MPC->HE), in fact, was what I leaned towards, and hence the question on removing HE bootstrapping. I feel that beyond just a simple ablation study, it would be helpful to also highlight this either in the main text or Appendix B. \n\nQ3 + state expansion: Thank you for drawing my attention to Figure 4. May I ask how did the coefficient \"8\" come about in the latency cost calculation?"
+ },
+ "createdAt": "2026-08-02T08:27:56.396Z",
+ "modifiedAt": "2026-11-19T17:19:14.603Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=BFDKpsRblU",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/cruusmn3lz.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/cruusmn3lz.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "cRUUSmn3lZ",
+ "replyTo": "tvHHHcFLP1",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer 5iPu",
+ "content": {
+ "comment": "Thank you for these clarifications."
+ },
+ "createdAt": "2026-08-02T08:29:54.438Z",
+ "modifiedAt": "2026-11-19T17:19:14.627Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=cRUUSmn3lZ",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/ea484w4lsi.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/ea484w4lsi.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "ea484w4lSI",
+ "replyTo": "6qD5vDgOnS",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "## W4 / Q4: Relation to EncFormer\n\nThank you for pointing us to EncFormer and we will cite and discuss it. EncFormer improves the underlying hybrid inference stack through Stage-Compatible Patterns, optimized FHE kernels, a complex CKKS–MPC conversion protocol, and communication-efficient MPC protocols for nonlinearities. Its cost analysis supports principled selection among FHE–MPC boundaries.\n\nCipherFlow addresses a complementary graph-level optimization problem: automatically selecting operator placements, conversions, and HE-level maintenance for a specific hardware and network environment, while enforcing feasibility and cryptographic-state compatibility across branched graphs. EncFormer’s kernels, packing layouts, and conversion protocols could therefore be represented as additional profiled actions, with their shape and parameter requirements encoded by CipherFlow’s feasibility constraints.\n\nEncFormer appeared contemporaneously with our work, so it was not included in the submitted experiments. We will add a detailed comparison in Related Work and evaluate its placement strategy or integrate its primitives where feasible in the revision.\n\n---\n\nWe hope the expanded technical details and the positioning against Matchmaker/EncFormer address the reviewer's concerns, and we thank the reviewer again for pointers that materially improve the paper's placement in the literature.",
+ "title": "Rebuttal 2"
+ },
+ "createdAt": "2026-07-28T16:10:49.985Z",
+ "modifiedAt": "2026-11-19T17:19:14.685Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=ea484w4lSI",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/g0hah7bp6v.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/g0hah7bp6v.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "g0HaH7BP6v",
+ "replyTo": "8ZmEEVxVMR",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your constructive comments throughout the review process and for the positive feedback."
+ },
+ "createdAt": "2026-08-02T16:21:31.526Z",
+ "modifiedAt": "2026-11-19T17:19:14.616Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=g0HaH7BP6v",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/k2ae1rvf1g.json modified

+++ b/reviews/openreview/2b0g4fkpgd/notes/k2ae1rvf1g.json
@@ -5,11 +5,12 @@
"kind": "meta_review",
"invitation": "Meta_Review",
"signature": "Area Chair yhjS",
"content": {
- "metareview": "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.\n\nReviewers 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.\n\nHowever, reviewers raised critical weaknesses regarding clarity, methodology, and evaluation:\n\n--Reviewer 5iPu points out confusing figures, ambiguous component counting (Line 189), and possible typos in Appendix B.\n\n--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.\n\n--Reviewers request missing comparisons with local greedy/random baselines, relevant prior works (e.g., CostSphere, Matchmaker, EncFormer), and empirical compiler scaling.\n\nAuthors 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."
+ "metareview": "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.\n\nReviewers 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.\n\nHowever, reviewers raised critical weaknesses regarding clarity, methodology, and evaluation:\n\n--Reviewer 5iPu points out confusing figures, ambiguous component counting (Line 189), and possible typos in Appendix B.\n\n--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.\n\n--Reviewers request missing comparisons with local greedy/random baselines, relevant prior works (e.g., CostSphere, Matchmaker, EncFormer), and empirical compiler scaling.\n\nAuthors 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.",
+ "final_justification": "Reviewers recognized clear empirical gains, and the authors satisfactorily clarified concerns on bootstrapping, cost modeling, baselines, scalability, and related work. The final version should incorporate the promised revisions. Note: Please add the source code link for the paper in the main text in the final version. I recommend acceptance."
},
"createdAt": "2026-07-22T05:44:25.032Z",
- "modifiedAt": "2026-11-18T15:25:08.360Z",
+ "modifiedAt": "2026-11-19T05:03:14.778Z",
"url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=K2aE1RVf1G",
"license": "CC-BY-4.0"
}

reviews/openreview/2b0g4fkpgd/notes/l7jb6x86so.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/l7jb6x86so.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "l7jB6x86so",
+ "replyTo": "8OJL7kHa59",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Rebuttal",
+ "comment": "We thank the reviewer for the careful reading. The review's central technical questions (Q1, Q2, and the \"FHE as baseline\" concern) all trace back to one point: **whether a ciphertext should be refreshed by a direct bootstrap or by an HE→MPC→HE round-trip is itself deployment-dependent — and the compiler decides it from measured costs rather than assuming either.** We answer the three questions with new quantitative results.\n\n---\n\n## Q1 - What happens if direct bootstrapping is removed?\n\nWe re-run CipherFlow with the bootstrap transition disabled, while retaining the other four action types and allowing ciphertext refresh through HE→MPC→HE round trips.\n\nRemoving bootstrapping degrades performance in GPU settings. At 10 Mbps, latency increases from 472 s to 1,828 s, making it 3.87× slower, because the original optimal plan uses 17 direct bootstraps to avoid costly HE→MPC→HE communication. At 100 Mbps, disabling bootstrapping increases latency by up to 1.23×.\n\nThese results show that conversion-based refresh does not universally replace direct bootstrapping. When computation is relatively cheap but communication is costly, direct bootstrapping can outperform conversion-based refresh. We will add this ablation to the appendix.\n\n## Q2 - Why profile bootstrapping if HE→MPC→HE refreshes the level?\n\nThe term “free bootstrapping” appears to have caused a misunderstanding. In Lines 135–137, we mean that an HE→MPC→HE round trip returns to HE with a fresh noise/level budget and can replace a direct bootstrap. We do not mean that this refresh has zero cost: the round trip still incurs two conversions, including computation, communication, protocol interaction, and representation alignment.\n\nDirect bootstrapping and conversion-based refresh consume different resources. A direct bootstrap remains entirely in HE, incurs no HE–MPC communication, and is primarily compute-bound. In contrast, an HE→MPC→HE round trip is communication-dependent and requires scale, packing, and representation conversion. Therefore, neither mechanism is universally cheaper. This trade-off is evident in the measured refresh costs for a tensor of shape `[1,128,768]`:\n\n| Refresh cost | 10 Mbps | 100 Mbps | 1 Gbps | 3 Gbps |\n|---|---|---|---|---|\n| HE→MPC→HE round-trip | 62.9 s | 6.3 s | 0.7 s | 0.2 s |\n| Direct bootstrap, **CPU** (51.6 s) | **bootstrap wins** | round-trip wins | round-trip wins | round-trip wins |\n| Direct bootstrap, **GPU** (1.7 s) | **bootstrap wins** | **bootstrap wins** | round-trip wins | round-trip wins |\n\nThe preferred mechanism changes with the deployment: direct bootstrapping is cheaper under constrained communication, whereas the conversion round trip becomes cheaper as bandwidth increases. Consequently, modeling FHE bootstrapping cost is necessary for the compiler to choose the lower-cost refresh path rather than imposing a static “never bootstrap” rule.\n\n---\n\n## On \"state expansion implies FHE is the baseline, switching to MPC only when too expensive\"\n\nWe would like to correct this impression: the state-expanded graph is fully symmetric between the two domains. Table 3 lists five transitions — HE execution, **MPC execution**, HE→MPC conversion, **MPC→HE conversion**, and bootstrapping — and MPC execution costs (local compute + communication volume + rounds × RTT) enter the objective exactly as HE costs do. Plans may start and end in either domain; nothing anchors the search at HE.\n\nFigure 4 provides direct empirical evidence that MPC is not treated as a fallback. MPC costs are already included in the optimization and, under many settings, lead to MPC-dominant solutions. On the CPU platform, the compiler selects pure-MPC plans, using HE for **0 of the 132 operators**, at every bandwidth of at least 100 Mbps (Fig. 4, left column). Conversely, on the GPU platform at low bandwidth, it selects pure-HE plans. These results would not arise if MPC costs were excluded from the planner's objective.\n\n---\n\n## Q3 — Is communication cost part of the cost metric?\nYes, as a first-class term. Appendix H, Lines 559–566, defines how communication volume and interaction rounds enter the deployment-specific cost metric. Every profiled action carries a triple (local compute `c_loc`, communication volume `b`, round count `r`), composed per deployment as\n\n> latency = `c_loc` + 8·`b`/BW + `r`·RTT (Appendix H)\n\n\nMPC operators and HE↔MPC conversions carry non-zero `b` and `r`; HE execution and bootstrapping are pure compute (`b` = `r` = 0). This composition is how bandwidth and RTT reshape the optimal plan across Fig. 3."
+ },
+ "createdAt": "2026-07-28T16:02:43.155Z",
+ "modifiedAt": "2026-11-19T17:19:14.874Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=l7jB6x86so",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/llpma3i08h.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/llpma3i08h.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "llpMa3i08H",
+ "replyTo": "4TDnWYKTwC",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your response and for considering our clarifications. We appreciate your constructive feedback and will incorporate the promised revisions into the final version."
+ },
+ "createdAt": "2026-08-02T16:24:29.758Z",
+ "modifiedAt": "2026-11-19T17:19:14.395Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=llpMa3i08H",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/masdgcth1g.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/masdgcth1g.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "masdGctH1G",
+ "replyTo": "Q2mqMj91x8",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for your response. We appreciate your positive feedback and will incorporate the discussed changes into the final version."
+ },
+ "createdAt": "2026-08-02T16:28:29.239Z",
+ "modifiedAt": "2026-11-19T17:19:14.375Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=masdGctH1G",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/owfdz0pbpx.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/owfdz0pbpx.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "OWFdz0pBPx",
+ "replyTo": "6qD5vDgOnS",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Rebuttal",
+ "comment": "We thank the reviewer for the positive assessment of the ideas and benchmarks and for the very relevant pointers, which we address below.\n\n## W1 / Q1: Optimizing for objectives other than end-to-end latency\n\nCipherFlow's planner minimizes additive per-action edge costs and is therefore not limited to latency. Each profiled action records compute time, communication volume $b$, round count $r$, and device type. These quantities can be reweighted to support objectives such as:\n\n- **Cloud monetary cost:** $c_{\\mathrm{cloud}} = t_{\\mathrm{compute}}\\cdot p_{\\mathrm{device}} + b\\cdot p_{\\mathrm{network}}$. As the reviewer anticipates, this can change assignments substantially: with typical cloud pricing (GPU hours and egress bandwidth expensive, CPU cheap), cost-optimal plans shift toward CPU-MPC in regimes where latency-optimal plans select GPU-HE. Because CipherFlow already separates device time and communication volume, this requires only changing the edge-cost function.\n- **Latency–communication trade-offs:** A weighted objective such as $\\alpha\\cdot\\mathrm{latency}+\\beta\\cdot\\mathrm{volume}$ requires no algorithmic change; we have already computed per-plan communication volumes for this rebuttal (see our response to Reviewer XPAg, W4). A strict communication budget could instead be handled by augmenting the planning state with accumulated volume.\n\nThroughput is different because it depends on concurrency, batching, and resource contention rather than additive single-request costs. Supporting it requires a serving-aware extension and remains future work. We will expand the Discussion and Limitations accordingly.\n\n## W2 / Q2: Technical details of the implementation\n\nOn the algorithmic side, we will provide the complete algorithmic specification in the revision, including: the full state definition $(i, d, \\ell)$ and all five transition rules with their feasibility conditions, the join-handling rules for branched regions (operand domain/level compatibility at residual and attention merges), and the full BlockFold procedure (SESE region extraction, per-region transfer-table construction, and macro-level composition with backtracking), together with a worked example on one encoder block.\n\nOn the systems side, the main implementation challenges are:\n\n1. **Restricted HE kernel contracts require feasibility-aware planning.** NEXUS kernels impose strict shape and packing constraints. For example, our HE LayerNorm path accepts [B,S,768] inputs without affine parameters, while the attention path expects packed [3,B,S,768] tensors with 12 heads; the SCI linear bridge also limits its batch dimension. CipherFlow encodes unsupported operator–shape combinations as infeasible transitions. Thus, a locally faster HE choice may be unavailable for the actual tensor shape or may restrict downstream feasibility.\n2. **Cryptographic state must be managed across kernels.** NEXUS kernels require suitable input levels and scales, while different operations consume the modulus chain at different rates. Re-entering HE from MPC produces a fresh ciphertext, whereas remaining in HE may require explicit maintenance, creating a bootstrap-versus-conversion trade-off. CipherFlow therefore tracks the remaining level $\\ell$ as part of the planning state rather than checking it post hoc.\n3. **HE joins require aligned branch states.** Ciphertext operations at residual and attention joins require compatible operand domains, levels, scales, and layouts. Because the underlying kernels do not perform this alignment automatically, BlockFold’s boundary-state transfer tables explicitly enforce cross-branch compatibility.\n\nTogether, these challenges motivate stateful, feasibility-aware planning rather than independent per-operator assignment.\n\n## W3 / Q3: Relation to Matchmaker\n\nThank you for pointing us to Matchmaker, we will cite and discuss it. Both works are deployment-aware, but optimize different decisions.\n\n**Matchmaker** operates within 2PC-MPC, combining CPU-oriented LSS and GPU-oriented FSS execution to improve batch throughput across deployment settings. Its optimization distributes requests across protocol/device configurations rather than assigning individual graph operators or tracking dataflow-dependent cryptographic state.\n\n**CipherFlow** performs per-operator HE/MPC placement for single-request latency on branched transformer graphs. Placement jointly determines conversions, ciphertext-level evolution, bootstrapping, and compatibility at residual and attention joins, motivating our state-expanded formulation and BlockFold.\n\nThe approaches are complementary: a Matchmaker-style protocol suite could serve as an MPC backend profiled by MicroBench, while CipherFlow optimizes HE/MPC placement above it. We will clarify this distinction in Related Work."
+ },
+ "createdAt": "2026-07-28T16:10:38.028Z",
+ "modifiedAt": "2026-11-19T17:19:14.712Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=OWFdz0pBPx",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/q2mqmj91x8.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/q2mqmj91x8.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "Q2mqMj91x8",
+ "replyTo": "Z0ng5o9Xi5",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Reviewer XPAg",
+ "content": {
+ "comment": "Thank you for your response and clarification. I remain relatively positive about this work, and would like to maintain my current score."
+ },
+ "createdAt": "2026-07-29T21:13:03.462Z",
+ "modifiedAt": "2026-11-19T17:19:14.635Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=Q2mqMj91x8",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/q6npax0zvc.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/q6npax0zvc.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "Q6NpAx0zvC",
+ "replyTo": "Z0ng5o9Xi5",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "## W5: Dynamic Shapes\n\nWe agree that CipherFlow currently assumes a static computation graph with fixed tensor shapes. MicroBench caches costs by operator type, tensor shape, and backend, so each previously unseen shape needs to be profiled only once, after which the result can be reused.\n\nAutoregressive decoding is more challenging because tensor shapes and execution characteristics evolve across decoding steps. Supporting such workloads may require runtime shape prediction and precompiled plans for anticipated decoding stages. We will clarify the current fixed-shape assumption and discuss dynamic-shape decoding as future work.\n\n## Q1: Comparison with CostSphere\n\nCostSphere formulates hybrid inference primarily as cost-driven HE/MPC assignment over an ordered operator sequence, whereas CipherFlow formulates it as deployment-specialized compilation of a stateful cryptographic program over a branched dataflow graph. The distinction is therefore not merely a different cost model or solver, but the optimization abstraction itself.\n\nFirst, CostSphere's switching formulation relates adjacent sequence positions and does not explicitly model joint cryptographic-state compatibility at residual or attention joins; CipherFlow enforces join feasibility and uses BlockFold to summarize branched regions. Second, CostSphere approximates HE-state evolution using a consecutive-FHE count and threshold-triggered bootstrapping, whereas CipherFlow propagates the remaining level ℓ using per-operator deltas and optimizes execution, conversion, and maintenance as explicit state transitions. Third, CostSphere primarily adapts learned costs across network settings on a CPU platform, while CipherFlow profiles the target CPU or GPU backend and specializes the plan jointly to hardware, bandwidth, and RTT; Figure 4 shows that hardware can reverse the optimal placement. Finally, CipherFlow's state-expanded shortest-path formulation and BlockFold provide scalable, feasibility-preserving planning over branched graphs, with O(NL²) composition and approximately 3.5-second BERT-base compilation.\n\nThus, CipherFlow is not merely a more accurate solver of the same assignment problem. Its novelty is a unified compiler formulation for deployment-specialized cryptographic-state evolution over branched neural graphs, where placement decisions affect downstream feasibility and joins couple the states of multiple execution paths. We will add a detailed comparison to Related Work.\n\n## Q2: Empirical compile-time scaling; MoE\n\nWe additionally measured the full compilation pipeline, including MicroBench cache lookup and materialization of the five baseline plans, on CPU:\n\n| Encoder blocks | 12 | 24 | 48 | 96 |\n| -------------- | ----: | ----: | -----: | -----: |\n| Operators | 132 | 264 | 528 | 1,056 |\n| Compile time | 3.0 s | 6.1 s | 13.0 s | 25.6 s |\n\nCompile time scales approximately linearly with model depth: increasing the operator count by $8\\times$ increases compilation time by $8.5\\times$. This is consistent with the linear dependence on $N$ in the $O(NL^2)$ bound when the HE level budget $L$ is fixed.\n\nFor MoE models, data-dependent expert routing violates our current static-graph assumption. Because experts within a layer often share the same structure, a possible extension is to compile reusable expert-level transfer tables (via BlockFold) and select among compatible precompiled plans at runtime. Modeling routing distributions and serving effects remains future work. We will add both the scaling results and this limitation to the revision.\n\n## Q3: Batched Inference and HE SIMD\n\nWe agree that batching may change the optimal plan. CKKS SIMD can pack multiple requests into ciphertext slots and amortize HE computation, while MPC communication generally grows with processed data. Thus, batching may shift some settings toward HE, depending on batch size and packing efficiency. \n\nCipherFlow can support batch-aware planning by profiling batched tensor shapes and including batch size in the plan key. Jointly optimizing batching and packing (in the spirit of Coyote's vectorization search) together with HE–MPC placement remains future work. As the reviewer notes, the Discussion (Section 5) already lists batching and serving effects as an explicit limitation; we will expand that paragraph with this analysis and cite Coyote.",
+ "title": "Rebuttal 2"
+ },
+ "createdAt": "2026-07-28T16:09:19.344Z",
+ "modifiedAt": "2026-11-19T17:19:14.794Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=Q6NpAx0zvC",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/qz3fb3r85b.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/qz3fb3r85b.json
@@ -0,0 +1,15 @@
+{
+ "schema": "review/1",
+ "id": "QZ3fb3R85B",
+ "replyTo": "BFDKpsRblU",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "Thank you for the follow-up and for the clarification. The shift in relative advantage between the two refresh paths (direct FHE bootstrapping and the HE→MPC→HE round-trip) across different computing environments is precisely what our work aims to emphasize: one is compute-bound and the other communication-dominated, so neither dominates universally, and the better choice follows from the measured costs of the target deployment. Following your suggestion, we will add this ablation study result to the appendix in the new revision and explicitly highlight the difference between the two noise-refreshing mechanisms.\n\n**The coefficient 8.** \nThe factor 8 in $c_{\\mathcal{D}} = c^{\\mathrm{loc}} + 8b/\\mathrm{BW} + r\\cdot\\mathrm{RTT}$ is the byte-to-bit conversion: MicroBench records the communication volume $b$ of each action in bytes (as reported by the protocol implementations' own accounting), while the deployment bandwidth $\\mathrm{BW}$ is specified in bits per second, following networking convention. The transfer-time term is therefore $8b/\\mathrm{BW}$ seconds. All three terms are expressed in the same time unit before summation. The factor is a fixed unit conversion, not a tunable or fitted parameter.\n\nWe hope these clarifications address the remaining questions. We are happy to provide any additional information or clarification if needed."
+ },
+ "createdAt": "2026-08-02T16:18:42.914Z",
+ "modifiedAt": "2026-11-19T17:19:14.453Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=QZ3fb3R85B",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/tvhhhcflp1.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/tvhhhcflp1.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "tvHHHcFLP1",
+ "replyTo": "8OJL7kHa59",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "comment": "## Clarity issues\n1. **Figure 2 repeated numbers.** The repetition is intentional: the numbers denote pipeline *stages*, not sequential steps. Two boxes sharing the same number are **independent components of the same stage, and both of their outputs feed the next stage**. In the revision we will clarify this stage-based semantics in the caption and mark parallel components as ②a/②b to make the convention explicit.\n2. **Line 189 \"three components\".** The three components are already introduced in Section 3: **MicroBench** at Line 189 (§3.1), State-Expanded Planning at Line 191 (§3.2), and BlockFold at Line 193 (§3.3). Figure 2 also marks each component with a dashed box. However, State-Expanded Planning (“StateExp”) is less visually prominent because its name is not emphasized in the text and its dashed region in the figure is relatively small, making it easy to overlook. We will make all three components equally explicit and visually salient.\n3. **Appendix B (L481–482).** The sentence should read \"…(detailed in Table 3). The two conversion directions are measured separately…\" — we will fix this in the revision. We will also complete Appendix D (StateExp) with the full transition-rule exposition and a worked example.\n\n---\n\nWe hope these clarifications show that the bootstrapping question the reviewer raises is not an inconsistency in the design but the very deployment-dependence the compiler is built to exploit — the planner selects conversion-based refresh where it is optimal and direct bootstrapping where communication constraints make it preferable, with up to 3.87× latency at stake. Together with the fixed presentation issues, we would be grateful if the reviewer would consider updating their assessment.",
+ "title": "Rebuttal 2"
+ },
+ "createdAt": "2026-07-28T16:04:05.406Z",
+ "modifiedAt": "2026-11-19T17:19:14.829Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=tvHHHcFLP1",
+ "license": "CC-BY-4.0"
+}

reviews/openreview/2b0g4fkpgd/notes/z0ng5o9xi5.json added

+++ b/reviews/openreview/2b0g4fkpgd/notes/z0ng5o9xi5.json
@@ -0,0 +1,16 @@
+{
+ "schema": "review/1",
+ "id": "Z0ng5o9Xi5",
+ "replyTo": "SJviR79B8S",
+ "kind": "comment",
+ "invitation": "Official_Comment",
+ "signature": "Authors",
+ "content": {
+ "title": "Rebuttal",
+ "comment": "We thank the reviewer for the thorough and constructive review.\n\n## W1: Greedy / Random per-node baselines\nThank you for this suggestion. We implemented both baselines using the same MicroBench profiles and the same $4\\times 4$ deployment grid as in §4:\n\n- **Greedy:** Assign each operator to the locally faster domain, then insert the conversions and bootstraps required for a valid plan.\n- **Random:** Sample 100 uniform random per-operator assignments per deployment setting and report the best and median.\n\nThe table reports baseline latency normalized by CipherFlow latency; higher is worse.\n\n| Model | Platform | Greedy | Random best-of-100| Random median|\n| ----- | -------: | -------------: | -------------------------: | --------------------: |\n| BERT | CPU | 1.37× | 10.9× | 16.3× |\n| BERT | GPU | **5.75×** | 14.0× | 18.6× |\n| ViT | CPU | 1.43× | 11.3× | 17.0× |\n| ViT | GPU | **5.39×** | 13.9× | 18.6× |\n\nGreedy never outperforms CipherFlow and can be substantially slower when locally preferred domains alternate across adjacent operators. On GPU at 10 Mbps, it assigns 108 of 132 operators to HE and 24 to MPC, inducing 72 HE–MPC conversions. Their overhead outweighs the local operator savings, making greedy 5.75× slower than CipherFlow’s all-HE plan.\n\nRandom assignments perform even worse: across the tested models and platforms, the worst-setting best-of-100 sample is 10.9–14.0× slower, while the median is 16.3–18.6× slower. These results show why placement must jointly account for operator, conversion, and HE-level-maintenance costs. We will add these baselines to the revision.\n\n## W2: Level-Dependent HE Execution Cost\n\nWe agree that CKKS operation latency can vary with the current modulus-chain level. Our current MicroBench profile uses one HE cost per operator, measured at the level used by the corresponding operator in the NEXUS pipeline, and therefore does not capture this variation explicitly.\n\nThis limitation is straightforward to address because the planner already tracks the remaining HE level $\\ell$ in each state. We can replace the current cost $c_i^{\\mathrm{HE}}$ with a level-dependent cost $c_i^{\\mathrm{HE}}(\\ell)$, obtained by profiling each representative operator at every legal level. This requires no change to the planning algorithm, and the state-space and time-complexity bounds remain $O(NL^2)$.\n\nWe will add level-parameterized HE profiling and report both the per-level runtime variation and whether it changes the selected plans or their predicted latency. We will also state the current single-level approximation explicitly as a limitation.\n\n## W3: Cost-model Validation vs Wall-clock\n\nAll MicroBench entries are wall-clock measurements on the target HE/MPC backends (CV: 1–5% on CPU and <1% on GPU). We additionally executed QK → Softmax → AV → LayerNorm → GeLU ($B=1$, $S=16$): localhost latency was 2.3 s versus a 2.5 s prediction, corresponding to 6–9% error. The nonlinear operators were within $\\pm 8\\%$, while the two attention matmuls were 30–37% faster than predicted.\n\nUnder different network settings, predictions remained conservative. Raw protocol rounds overestimate WAN latency because many rounds are pipelined; we will instead fit effective blocking rounds from shaped-network measurements. The largest reported speedup (16.5×, GPU/10 Mbps) uses an all-HE plan and contains no network term. We will add the predicted-versus-measured results and this refinement.\n\n## W4: Communication Volume of Selected Plans\n\nWe computed online communication across the $4\\times 4$ grid; representative BERT-base results are:\n\n| Platform / network | Ours latency (s) | Ours volume (GiB) | BumbleBee (GiB) | BOLT (GiB) | BLB (GiB) | All-MPC (GiB) |\n| ------------------- | ---------------: | ----------------: | --------------: | ---------: | --------: | ------------: |\n| GPU, 10 Mbps | 472 | **0.0** | 12.3 | 10.4 | 8.5 | 10.5 |\n| GPU, 3 Gbps / 80 ms | 127 | 10.2 | 12.3 | 10.4 | 8.5 | 10.5 |\n| CPU, 10 Mbps / 1 ms | 7,934 | 7.9 | 8.9 | 7.0 | 5.2 | 10.5 |\n| CPU, 1 Gbps / 20 ms | 486 | 10.5 | 8.9 | 7.0 | 5.2 | 10.5 |\n\nAt low bandwidth, CipherFlow chooses HE-heavy plans; at GPU/10 Mbps, all-HE has zero HE–MPC protocol communication versus 8.5–12.3 GiB for static hybrids. At high bandwidth, latency-optimal MPC-heavy plans may communicate more—for example, 10.2 versus 8.5 GiB for BLB on GPU/3 Gbps and 10.5 versus 5.2 GiB on CPU/1 Gbps. We will report this latency–volume trade-off."
+ },
+ "createdAt": "2026-07-28T16:08:22.589Z",
+ "modifiedAt": "2026-11-19T17:19:14.810Z",
+ "url": "https://openreview.net/forum?id=2b0g4FkPGD&noteId=Z0ng5o9Xi5",
+ "license": "CC-BY-4.0"
+}