potentialpaper

Send the Brain, Keep the Body: Hybrid Private Transformer Inference with Minimal Secret Control

Anonymous authors

ICLR 2027

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Hybrid private inference combines the computational strengths of homomorphic encryption (HE) and secure multiparty computation (MPC), but repeatedly converting intermediate states between them incurs substantial communication. Prior work optimizes operator partitioning and evaluation, but still organizes HE--MPC execution around transfers of intermediate states. We observe that the secret decisions involved in nonlinear evaluation can be separated from the high-dimensional numerical state. Based on this observation, we introduce \textbf{SHRINK}, a hybrid Transformer inference architecture with decoupled data and control paths. \textsc{SHRINK} sends MPC only decision-critical information, while HE continues the main computation on retained ciphertexts. MPC generates secret controls that HE applies to existing ciphertexts, enabling continued HE evaluation across nonlinear boundaries. We exploit Transformer structure to design compact control protocols for GELU, attention, and LayerNorm. We further tailor ciphertext representations and feedback to the HE operations that use these controls, and reuse control computations across data blocks, reducing communication and redundant homomorphic computation. On BERT-base and BERT-large, \textsc{SHRINK} reduces communication by 8.4$\times$--1048.6$\times$ compared with hybrid inference baselines, while maintaining accuracy close to that of plaintext inference without retraining.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
19 Sep 2026ICLR 2027submittedICLR 2027Under reviewreviews ↓[1]PDF[1]
Missing a version?

ICLR 2027

Under review · 3 reviews · OpenReview

Updated 25 Nov 2026, 10:37 UTC.

Reviewer xNWKOpenReview ↗
Rating
1/4
Confidence
4/4
Soundness
1/3
Presentation
1/3
Informativeness
1/3
Read review
Summary

The work targets on reducing the communication and computational overheads during converting intermediate states between HE and MPC in secure transformer inference. The paper proposed several control protocols for GELU, Softmax and Layernorm. The paper conducted experiments on BERT-base and BERT-large to show its improvements. The motivation makes sense, but the technical and experimental details are a bit difficult to follow.

Strengths

The paper includes many figures to explain the technical details. The figures are nice.

The paper considers baselines from both HE-only methods and HE+MPC methods.

Weaknesses
  1. The work only considers 3 functions in transformer and only tests the proposed methods in BERT style models. It’s unclear that whether the proposed method can be applied to other transformer models like Llama, and whether the proposed GELU control can be used in other activations like Silu.

  2. The implementation details are missing. The paper doesn’t provide codebase and also doesn’t clear describe the library, HE parameters, security levels and other reproducibility details.

  3. The paper misses some important related works and baselines in secure transformer inference like MOAI[1], ARION[2], PUMA[3] etc

  4. The description is unclear. For example, Table 2, it doesn’t introduce what is P(x). In section 4.1, there are many notations in Figure 2 such as PR(x), QR(x), EP(), but authors don’t explain them.

[1] MOAI: Module-optimizing architecture for non-interactive secure transformer inference. ICLR 2026

[2] ARION: Attention-optimized transformer inference on encrypted data[J]. Cryptology ePrint Archive, 2025.

[3] Puma: Secure inference of llama-7b in five minutes[J]. Security and Safety, 2025, 4: 2025014.

Questions for the authors
  1. How to decide the parameters like K, R in the proposed method? How will them affect the efficiency and accuracy?

  2. In Table 3, does the latency of SHRINK considers the communication latency? What network setting is used in this evaluation?

  3. What packing methods and matrix multiplication algorithms are used in SHRINK?

Reviewer enraOpenReview ↗
Rating
2/4
Confidence
4/4
Soundness
2/3
Presentation
2/3
Informativeness
2/3(+1)
Read review
Summary

The paper presents SHRINK, a hybrid HE–MPC framework for private Transformer inference that retains intermediate states in HE and uses MPC to generate compact, input-dependent controls. It develops protocols for GELU, attention, and LayerNorm, together with projection-based ciphertext feedback compression and computation scheduling. In particular, its dense-attention protocol reduces communication from quadratic to linear in sequence length while retaining quadratic attention computation. The paper provides interface-level security proofs and conditional numerical error bounds. Experiments on BERT-base and BERT-large across five GLUE tasks report 8.4× and 11.0× lower communication than BLB, respectively, with near-plaintext accuracy without retraining. Ablations and sequence-length experiments examine the contributions of individual mechanisms and communication scaling.

Strengths
  • SHRINK retains the attention scores in HE and exchanges only row-level statistics and controls, reducing attention communication from quadratic to linear in sequence length while preserving dense computation. The reported 8.4×/11.0× communication reductions over BLB on BERT-base/large。

  • The projected-feedback construction preserves the ciphertext obtained after the prescribed projection, and Figure 9 demonstrates why feedback representation matters: HE-based LayerNorm refinement alone increases communication by approximately 9%, whereas combining it with projected feedback reduces communication by 33.6%.

Weaknesses
  • The numerical guarantees remain conditional, with limited evidence that their assumptions hold throughout execution. The attention approximation assumes a bounded score domain, while GELU channel allocation depends on LayerNorm output norms and upstream arithmetic-error budgets. The paper does not clearly establish that these conditions remain satisfied across the complete network. Table 10’s local-error measurements use one instrumented MRPC execution per model and cover only attention-output LayerNorm.

  • The security theorem does not clearly establish the full private-inference guarantee. Theorem B.6 compares the concrete protocol with an ideal-interface execution that retains the surrounding HE computation and local state. This establishes a useful interface-level result, but the paper does not clearly connect that reference execution to an end-to-end functionality exposing only the prescribed output and permitted leakage.

Questions for the authors

see above.

Reviewer Pso7OpenReview ↗
Rating
2/4
Confidence
2/4
Soundness
2/3
Presentation
3/3
Informativeness
2/3
Read review
Summary

SHRINK separates encrypted numerical state from compact secret controls in hybrid HE–MPC inference. MPC selects branches, scales and reciprocal seeds, while HE evaluates retained ciphertexts and reuses shared controls. The study evaluates communication, latency and accuracy on BERT-base and BERT-large without retraining.

Strengths
  1. To me, the strongest contribution is the change in interaction dimension. Sections 3–4 export row statistics and secret controls while dense attention stays in HE; Section C.5 explains the resulting O(S) communication. This goes beyond accelerating the same conversion and makes a substantive distinction from BLB’s operator fusion.

  2. Table 3 reports 8.4×/11.0× less communication than BLB for Base/Large, with the component accounting in Table 12 supporting the totals. Table 5 retains near-plaintext accuracy without retraining. This combination persuades me: the reduction is large, the quality loss is small, and the evaluation includes a GPU-capable hybrid comparator.

Weaknesses
  1. I am less convinced by the architectural attribution. Section C.5 constructs some dense counterfactuals by replicating measured conversion batches rather than optimizing a dense interface independently. Section 6.2 also combines control, refresh and representation changes. A comparison using the same approximation, refresh and packing would help me judge how much the state/control separation itself contributes.

  2. The numerical guarantees in Sections A.3 and C.3 depend on local contracts. Table 10 profiles validation-set ranges, but its encrypted residual checks use one instrumented MRPC execution per model and attention-output LayerNorm. I would like evidence covering both normalization positions and the evaluated tasks, especially the effect of guarded normalization relative to the original model.

  3. I would read the broad latency comparison in Table 3 cautiously because several baselines are CPU-only while SHRINK uses a GPU. The GPU BLB comparison is useful, so this does not dismiss the runtime result. It limits how much of the headline speedup I would attribute to the protocol under matched resources.

Questions for the authors
  1. With the same approximation, refresh and packing, how much communication and latency reduction comes from retained state and compact control alone?

  2. Do the Section C.3 contracts hold at both LayerNorm positions across the evaluated checkpoints, and what accuracy change comes specifically from the variance guard?

  3. Which Table 3 speedups persist with matched hardware and preprocessing accounting, particularly against GPU BLB?

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…

This paper is under review