Capricorn: Highly Efficient and Secure Mixture of Experts Inference Framework
Lushan Song, Xiaojian Liang, Shishuai Du, Jun Jie Sim, Yingting Liu, Xin Zhang, Jiang-Ming Yang, Pu Duan
NeurIPS 2026
Abstract. The rapid advancement of Large Language Models (LLMs) based on Mixture-of-Experts (MoE) architecture has enhanced a growing demand for secure inference frameworks that protect both client inputs and server model weights. However, existing secure MoE inference frameworks suffer from two limitations: (1) a costly two-stage secure routing pipeline that uses expensive secure Top- and secure equality test protocols, resulting in significant computational and communication overhead, and (2) secure evaluation of nonlinear activations like SiLU requires several multiplication and comparison operations, resulting in significant communication overhead.
In this paper, we present Capricorn, a highly efficient and secure MoE inference framework that overcomes the two limitations above. Firstly, Capricorn utilizes a novel one-stage routing pipeline that reduces both the total number of Top- protocol invocations and their input data size. At the same time, we propose a lightweight method to generate one-hot token selection matrices locally, thus avoiding expensive secure equality tests. Secondly, we design a secure and precise SiLU protocol, which uses secure lookup tables (LUTs) with dynamic bit-width and precision to reduce communication overhead. Extensive experiments demonstrate that Capricorn achieves up to and speedup in secure routing and secure SiLU protocols, respectively, compared to the state-of-the-art (SOTA) framework CryptoMoE (NeurIPS'25), while achieving comparable task-level accuracy.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
An important concern that resonates across multiple reviewers is on end-to-end evaluation vis a vis: "The current results seem to focus mostly on separate components or a single MoE layer, so I was not fully able to judge the cost of secure inference for a complete MoE LLM. Could the authors report at least one full-model result, including latency, communication, memory usage, communication rounds, and online/offline cost?", "The evaluation is not fully end-to-end. The runtime evaluation focuses on secure routing, secure SiLU, and a single MoE layer. It does not convincingly demonstrate full private autoregressive MoE LLM inference. This limits the strength of the system-level claim",
and "The reported model accuracy is evaluated in plaintext floating point. This does not fully capture the effect of fixed-point encoding, truncation, LUT precision, secure comparison, and secret-shared computation in the actual secure protocol. For a secure inference paper, end-to-end fixed-point secure-protocol accuracy should be reported."
Read meta-review
Meta-review
An important concern that resonates across multiple reviewers is on end-to-end evaluation vis a vis: "The current results seem to focus mostly on separate components or a single MoE layer, so I was not fully able to judge the cost of secure inference for a complete MoE LLM. Could the authors report at least one full-model result, including latency, communication, memory usage, communication rounds, and online/offline cost?", "The evaluation is not fully end-to-end. The runtime evaluation focuses on secure routing, secure SiLU, and a single MoE layer. It does not convincingly demonstrate full private autoregressive MoE LLM inference. This limits the strength of the system-level claim",
and "The reported model accuracy is evaluated in plaintext floating point. This does not fully capture the effect of fixed-point encoding, truncation, LUT precision, secure comparison, and secret-shared computation in the actual secure protocol. For a secure inference paper, end-to-end fixed-point secure-protocol accuracy should be reported."
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work aims at the challenge of efficient privacy-preserving inference for Mixture-of-Experts models. The authors propose Capricorn, a secure MoE inference framework under a two-party semi-honest setting. The system focuses on improving the balanced-routing paradigm used in CryptoMoE. It introduces a one-stage expert-wise routing pipeline that removes token-wise top-k selection and avoids secure equality tests through local one-hot token selection matrix generation. It also proposes a LUT-based piecewise-linear SiLU protocol with dynamic bit-width and precision choices. The paper evaluates Capricorn on several MoE models and reports substantial runtime and communication improvements over CryptoMoE.
Strengths and weaknesses
Strengths
-
The one-stage routing idea is simple but effective. Observing that, under balanced routing, all experts participate and each expert only needs to select its assigned tokens is a useful engineering insight. This reduces the need for token-wise top-k selection and avoids some expensive equality-based one-hot generation costs.
-
The LUT-based SiLU protocol is practical. Replacing heavier polynomial/Fourier-style approximations with piecewise-linear LUT evaluation and dynamic bit-width optimization can reduce communication while maintaining reasonable approximation accuracy.
-
The evaluation is relatively focused and includes direct comparison with CryptoMoE. The reported speedups in WAN settings are significant, especially for the secure routing component, where communication dominates.
Weakness.
-
The one-stage routing changes the original MoE routing semantics. In standard sparse MoE routing, each token is first assigned to its top-k experts. Capricorn removes this token-wise top-k stage and lets each expert directly select its top-t tokens from all token candidates. This can assign a token to an expert that is not among the token’s original top-k choices. Therefore, the method is not merely a more efficient implementation of the same routing function; it modifies the routing behavior. The paper should discuss this distinction more clearly.
-
The SiLU contribution is mostly an engineering optimization. LUT-based nonlinear evaluation and piecewise-linear approximation are known techniques. The novelty here lies mainly in parameter choices, dynamic bit-width, and integration into secure MoE inference. The paper should better compare with broader LUT-based nonlinear protocols, not only with the polynomial approximation used in CryptoMoE.
-
The evaluation is not fully end-to-end. The runtime evaluation focuses on secure routing, secure SiLU, and a single MoE layer. It does not convincingly demonstrate full private autoregressive MoE LLM inference. This limits the strength of the system-level claim.
-
The reported model accuracy is evaluated in plaintext floating point. This does not fully capture the effect of fixed-point encoding, truncation, LUT precision, secure comparison, and secret-shared computation in the actual secure protocol. For a secure inference paper, end-to-end fixed-point secure-protocol accuracy should be reported.
Questions
-
Is the one-stage routing protocol intended to compute exactly the same routing function as CryptoMoE, or is it a new routing rule? If it is a new rule, how often does it select experts outside each token’s original top-k set?
-
Why is full model accuracy evaluated in plaintext floating point rather than under the actual fixed-point secure protocol? What is the end-to-end accuracy with secret sharing, truncation, LUT precision, and secure comparison included?
-
How does Capricorn compare with SecMoE when the token count is small, given that the balanced-routing paradigm may not always dominate select-then-compute routing?
Limitations
yes
Final justification
The response has addressed my main concerns, and I would like to improve my score from 4 to 5.
Formatting concerns
N/A
4 comments
Response to Reviewer VkHd [1/2]
We sincerely thank Reviewer VkHd for your time and insightful feedback. We are grateful for the positive assessment of our work and the constructive comments, which help us significantly improve our paper. All comments have been carefully addressed. We hope our responses address all the concerns. Below, we provide point-by-point responses to each comment, along with additional explanations and experimental results where necessary.
[Response to W1 & Q1] Routing rule difference.
As illustrated in Figure 1, Capricorn’s one-stage routing is a modified routing rule, rather than an exact or mathematically equivalent replacement for CryptoMoE’s routing. The modification avoids token-wise secure top- invocations, thereby substantially reducing MPC cost. We will clarify this distinction explicitly in the revised manuscript.
We take DeepSeekMoE with a batch size of 64 as an example to directly show the differences across six datasets between the two routing rules. Let and denote the expert-token assignments produced by the two routing rules across all routed layers and tokens. Routing overlap measures the fraction of CryptoMoE assignments that are also retained by Capricorn, i.e., $ \frac{\left|A_{\mathrm{CryptoMoE}} \cap A_{\mathrm{Capricorn}}\right|} {\left|A_{\mathrm{CryptoMoE}}\right|}. $ Outside top- measures the fraction of Capricorn assignments for which the assigned expert does not belong to the corresponding token’s top- candidate set under CryptoMoE. Overall, Capricorn retains % of the non-secure assignments, while % of its assignments fall outside the original top-. These percentages use different denominators and show that Capricorn mainly adds new expert paths while retaining the original ones. At the output level, the logit relative error is , with a Top-1 agreement of %. Thus, Capricorn preserves most CryptoMoE assignments but is neither assignment- nor output-equivalent.
| Dataset | Routing overlap | Outside Top- | Logit relative | Top-1 agreement |
|---|---|---|---|---|
| OpenBookQA | 96.96% | 54.63% | 0.066 | 91.47% |
| ARC-Easy | 97.50% | 53.90% | 0.065 | 91.24% |
| ARC-Challenge | 97.74% | 53.66% | 0.064 | 91.90% |
| HellaSwag | 98.34% | 52.90% | 0.051 | 92.92% |
| PIQA | 97.25% | 55.32% | 0.059 | 92.15% |
| WinoGrande | 97.07% | 53.08% | 0.057 | 92.76% |
| Micro aggregate | 98.20% | 53.10% | 0.053 | 92.80% |
[Response to W2] SiLU contribution.
Our contribution is not the generic use of a LUT, but a SiLU-specific protocol with coefficient-aware bit-width encoding. By exploiting the distinct numerical ranges and precision requirements of the slopes and intercepts in the piecewise-linear SiLU approximation, Capricorn encodes the input, slopes, and intercepts using , , and bit-width/precision configurations, respectively. This tailored encoding reduces LUT communication while preserving approximation accuracy.
We additionally compare Capricorn with a controlled fixed-bit-width LUT baseline to isolate the benefit of dynamic bit width. As shown below, dynamic bit width reduces communication by %–% and WAN runtime by up to %. Under LAN, the runtime is comparable because the coefficient ring-extension overhead offsets part of the communication benefit.
| Length | Protocol | Communication (MB) | Runtime LAN (s) | Runtime WAN (s) |
|---|---|---|---|---|
| Fixed | 114.61 | 6.36 ± 0.27 | 7.97 ± 0.34 | |
| Dynamic | 96.42 | 6.67 ± 0.25 | 7.91 ± 0.15 | |
| Fixed | 431.69 | 10.40 ± 0.12 | 17.05 ± 0.22 | |
| Dynamic | 358.94 | 10.73 ± 0.30 | 15.58 ± 0.15 | |
| Fixed | 1725.32 | 37.21 ± 1.39 | 60.76 ± 0.37 | |
| Dynamic | 1434.32 | 35.55 ± 1.40 | 57.35 ± 0.54 |
Response to Reviewer VkHd [2/2]
【Response to W3】End-to-end evaluation
We conduct an additional complete two-party secure inference experiment on Google V-MoE (checkpoint: vmoe_s32_last2_ilsvrc2012_randaug_light1), which contains eight layers, including two MoE layers and six dense layers, with eight experts per MoE layer. Both Capricorn and CryptoMoE reuse BumbleBee[1] and SPU[2] for the common Transformer backbone and differ only in the MoE-specific protocols. Therefore, the performance difference reflects the effect of their MoE-layer protocols.
Neither framework uses a separate data-independent preprocessing phase. Consequently, all latency and communication costs reported below are incurred online. The reported latency and communication are amortized over all input tokens. Memory reports the larger of the two parties’ peak resident-memory measurements during one complete inference. Capricorn reduces communication by % and latency by % under LAN and % under WAN, demonstrating that its MoE-layer optimizations remain effective when integrated into a complete model.
| Network | Framework | Latency (s/token) | Communication (MB/token) | Memory (GB/inference) |
|---|---|---|---|---|
| LAN | CryptoMoE | 4.01 ± 0.02 | 134.56 | 34.21 |
| Capricorn | 3.57 ± 0.02 | 104.20 | 39.59 | |
| WAN | CryptoMoE | 30.00 ± 0.04 | 134.56 | 34.23 |
| Capricorn | 17.57 ± 0.04 | 104.20 | 39.58 |
[1] Wen-jie Lu, Zhicong Huang, Zhen Gu, Jingyu Li, Jian Liu, Kui Ren, Cheng Hong, Tao Wei, and WenGuang Chen. “BumbleBee: Secure Two-Party Inference Framework for Large Transformers.” Network and Distributed System Security Symposium (NDSS), 2025.
[2] J. Ma, Y. Zheng, J. Feng, et al. “SecretFlow-SPU: A Performant and User-Friendly Framework for Privacy-Preserving Machine Learning.” In 2023 USENIX Annual Technical Conference (USENIX ATC ’23), pp. 17–33, 2023.
[Response to W4 & Q2] Accuracy evaluation over fixed-point.
We re-evaluate all approximate-SiLU configurations using fixed-point emulation. As shown in the table below, across all three models, two batch sizes, and six tasks, the differences among the six combinations are smaller than the reported standard errors. These results indicate that neither the routing modification nor the SiLU approximation causes a measurable degradation in task-level accuracy. We will include the per-task results in the revision.
| Model | Batch | Routing | Exact SiLU | Polynomial | Piecewise-linear |
|---|---|---|---|---|---|
| DeepSeek | 16 | Two-stage | 64.31% ± 1.20% | 64.49% ± 1.21% | 64.30% ± 1.21% |
| One-stage | 64.81% ± 1.20% | 64.46% ± 1.21% | 64.71% ± 1.21% | ||
| 64 | Two-stage | 64.60% ± 1.21% | 64.62% ± 1.20% | 64.61% ± 1.21% | |
| One-stage | 64.85% ± 1.20% | 65.02% ± 1.21% | 64.65% ± 1.21% | ||
| Qwen | 16 | Two-stage | 63.61% ± 1.21% | 63.77% ± 1.21% | 63.57% ± 1.21% |
| One-stage | 63.80% ± 1.21% | 64.08% ± 1.21% | 64.32% ± 1.21% | ||
| 64 | Two-stage | 63.66% ± 1.21% | 64.10% ± 1.21% | 64.13% ± 1.21% | |
| One-stage | 64.05% ± 1.21% | 64.24% ± 1.21% | 64.41% ± 1.21% | ||
| OLMoE | 16 | Two-stage | 65.58% ± 1.21% | 65.51% ± 1.22% | 65.02% ± 1.22% |
| One-stage | 65.86% ± 1.21% | 66.05% ± 1.21% | 66.06% ± 1.21% | ||
| 64 | Two-stage | 65.74% ± 1.21% | 65.92% ± 1.21% | 65.82% ± 1.21% | |
| One-stage | 66.04% ± 1.21% | 66.52% ± 1.21% | 65.92% ± 1.21% |
[Response to Q3] Comparsion against SecMoE
As SecMoE's implementation is unavailable, we construct a SecMoE-style select-then-compute MoE layer using the same cryptographic backend as Capricorn and evaluate DeepSeekMoE with token counts of 1 and 8. The results show that Capricorn achieves lower runtime than the SecMoE-style select-then-compute approach at small token counts. This is because SecMoE requires a large number of ciphertext-ciphertext multiplications for expert computation, resulting in substantial HE overhead.
| Network | Tokens | Framework | Runtime (s) | Communication (MB) |
|---|---|---|---|---|
| LAN | 1 | Capricorn | 15.14 | 234.50 |
| SecMoE | 306.67 | 196.36 | ||
| 8 | Capricorn | 21.57 | 372.45 | |
| SecMoE | 1717.26 | 301.88 | ||
| WAN | 1 | Capricorn | 50.87 | 234.50 |
| SecMoE | 344.33 | 196.36 | ||
| 8 | Capricorn | 80.67 | 372.45 | |
| SecMoE | 1838.52 | 301.88 |
Thanks for the response. The clarification has addressed my main concerns. I will improve my scores.
We sincerely thank you for your thoughtful follow-up and for raising your score. We also appreciate your constructive feedback, which helped us improve the paper.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a novel framework (Capricorn) for secure multi-party MoE inference, with significant efficiency improvements compared the current state-of-the-art. Capricorn achieves that via an improvement routing mechanism (dropping the per-token top-k expert selection) and an improved secure SiLU implementation. Authors show these efficiency gains in practice, and empirically confirm that their framework does not affect the model utility.
Strengths and weaknesses
Quality
The paper looks quite strong to me:
- The setup and the threat model is well established in the literature
- The improvements proposed (routing and SiLU) are sensible and confirmed empirically.
- Authors verify the correctness of their method with utility measurements.
- The empirical measurements simulate different network conditions, showing efficiency gains in different regimes
One caveat: I am not an expert in MPC and have not verified that proposed improvements do not introduce information leakage. It looks sensible from my limited understanding of the field, but I might be missing important details.
Clarity
The paper is generally well-written and positions itself well within the field. Section 2 (Preliminaries) does a good job explaining the necessary background and laying out the notation. The general flow of the paper is also clear -- even though I'm not an expert in MPC. Figure 4 specifically is very clear and convincing.
One weakness I would highlight is Figures 2 and 3 could do a better job explaining the trust boundaries and how the computation is shared between the client and the server.
Some statements on the security guarantees also seem to quietly assume reasonable but unstated security conventions:
- "server learns nothing about the data" -- while it learns the sequence length
- "client learns nothing about model's weights" -- apart from the prediction itself, which does carry some information about models's weights.
Those are purely stylistic issues, but addressing those would make the paper more friendly for some readers.
Significance
The paper proposes a genuine and significant improvement for secure multi-party inference, and advanced the state of the art.
Originality
The paper strikes a good balance between novel ideas and building on the prior work. The work is an improvement on previously proposed approaches (e.g. multi-stage top-k expert selection in CryptoMoE), and uses relevant security tools (e.g. LUTs).
Questions
On the utility impact, I am convinced SiLU implementation is close to the non-secure counterpart. However, the expert selection must be quite different (given prior evidence of a dense "expert core" activated for most predictions). Have you quantified how different the expert selection is compared to the non-secure inference, and why does your protocol has absolutely no impact on utility (I think at least a moderate drop is expected)
Limitations
yes
Final justification
I thank the authros for their response, and I'm looking forward to seeing revised Figures 2 and 3: the trust boundary explanation was very useful at least for me.
I maintain my positive assessment of the paper
Formatting concerns
None
3 comments
Response to Reviewer 6PCE
We extend our heartfelt thanks to Reviewer 6PCE for your time and insightful feedback. We are grateful for the highly positive assessment of our work and the constructive comments, which help us significantly improve our paper. All comments have been carefully addressed. We hope our responses address all the concerns. Below, we provide point-by-point responses to each comment, along with additional explanations and experimental results where necessary.
[Response to weakness] Security boundaries
We will revise Figures 2 and 3 to explicitly mark the client/server trust boundaries, the values held by each party, and local versus secure joint operations. We will also clarify that denotes a secret-shared value and that computations over such values are jointly performed without reconstructing intermediate results.
In summary, only the main configurable parameters are public in Capricorn, while all data-dependent routing information remains secret and no intermediate values are reconstructed within the MoE layer.
-
Public information: The model architecture and tensor shapes, protocol parameters such as , the LUT containing the piecewise-linear coefficients , and the sequence length unless padding is used.
-
Information kept secret: Client inputs, server model and router weights, routing scores, selected token indices, per-expert one-hot token selection matrices, expert-token assignments, LUT indices, and intermediate activations.
-
Reconstructed: No intermediate value is reconstructed within the MoE layer.
-
Guarantee: Every expert processes a fixed public capacity , so transcript sizes and communication patterns do not reveal expert-token assignments or LUT accesses. Capricorn inherits semi-honest security from the invoked secure subprotocols, such as Top-, comparison, LUT, multiplication, truncation, MUX, and matrix multiplication. Sequential composition of these subprotocols yields the stated security guarantee.
[Response to question] Routing rule difference
We take DeepSeekMoE with a batch size of 64 as an example to directly show the differences across six datasets between the two routing rules. Let and denote the expert-token assignments produced by the two routing rules across all routed layers and tokens. Routing overlap measures the fraction of non-secure assignments retained by Capricorn, i.e., $ \frac{\left|A_{\mathrm{Nonsecure}} \cap A_{\mathrm{Capricorn}}\right|} {\left|A_{\mathrm{Nonsecure}}\right|}. $ Outside top- measures the fraction of Capricorn assignments for which the assigned expert does not belong to the corresponding token’s top- candidate set under non-secure assignments. Overall, Capricorn retains % of the non-secure assignments, while % of its assignments fall outside the original top-. These percentages use different denominators and show that Capricorn mainly adds new expert paths while retaining the original ones. At the output level, the logit relative error is , with a Top-1 agreement of %. Thus, Capricorn preserves most CryptoMoE assignments but is neither assignment- nor output-equivalent.
| Dataset | Routing overlap | Outside Top- | Logit relative | Top-1 agreement |
|---|---|---|---|---|
| OpenBookQA | 96.96% | 54.63% | 0.066 | 91.47% |
| ARC-Easy | 97.50% | 53.90% | 0.065 | 91.24% |
| ARC-Challenge | 97.74% | 53.66% | 0.064 | 91.90% |
| HellaSwag | 98.34% | 52.90% | 0.051 | 92.92% |
| PIQA | 97.25% | 55.32% | 0.059 | 92.15% |
| WinoGrande | 97.07% | 53.08% | 0.057 | 92.76% |
| Micro aggregate | 98.20% | 53.10% | 0.053 | 92.80% |
Why does this not cause an accuracy drop? The results show that Capricorn mainly adds expert-token assignments while retaining nearly all assignments selected by non-secure inference, rather than replacing the original expert paths. Although the additional expert contributions measurably perturb the logits, % of token-level Top-1 predictions remain unchanged. Moreover, downstream accuracy is a discrete metric and changes only when these perturbations alter the final ranking of candidate answers. Therefore, substantial assignment differences need not translate into a moderate accuracy drop. Our results demonstrate the robustness of task-level accuracy to the routing modification, rather than an absence of computational impact.
I thank the authros for their response, and I'm looking forward to seeing revised Figures 2 and 3: the trust boundary explanation was very useful at least for me.
I maintain my positive assessment of the paper
We sincerely thank you for your positive assessment and constructive comments. We will explicitly explain the trust boundaries in the revised Figures 2 and 3.
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies secure inference for MoE-based LLMs in a two-party setting. It consider a semi-honest threat model, where the client keeps the input private, and the server keeps the model weights private. Existing works like CrytoMoE includes two main computing costs. One cost comes from two-stage secure routing, which uses secure Top-K and secure equality tests. The other cost comes from secure SiLU evaluation, which requires costly nonlinear computation.
Capricorn reduces this overhead by changing how routing and activation evaluation are handled. Instead of selecting experts for each token and then checking the assignment securely, each expert selects its top-t tokens from the input tokens. This allows the one-hot selection matrices to be built locally and removes the need for secure equality tests. For SiLU, Capricorn replaces direct secure nonlinear evaluation with secure lookup tables based on piecewise-linear approximation. It further adjusts the bit-width and precision dynamically, so the protocol avoids using the same expensive representation for all cases.
Strengths and weaknesses
Strengths
S1. I found the problem setting useful and important. Secure inference for MoE-based LLMs is harder than secure inference for dense models because the protocol also needs to deal with routing and expert selection. The paper looks at this MoE-specific problem instead of treating the model as a normal dense model, which makes the direction interesting.
S2. The efficiency results are encouraging. The paper reports lower runtime and communication than CryptoMoE for routing, SiLU evaluation, and single-MoE-layer inference. The experiments also include several MoE models and multiple QA and reasoning datasets. These results suggest that Capricorn can reduce some important costs in secure MoE inference.
Weaknesses
W1. I was not fully sure whether the one-stage routing keeps the same routing rule as the original MoE computation. My understanding is that CryptoMoE first does token-wise top-k selection and then expert-wise top-t dispatch, while Capricorn lets each expert select its top-t tokens from all input tokens. These two steps do not seem clearly the same to me. It would help if the paper explained whether this is meant to be an exact replacement of the original routing rule or an approximate one. I would also find it useful to see routing overlap, expert-token assignment differences, and output or logit differences.
W2. The current accuracy results are useful, but I do not think they fully check the effect of the routing change. Similar downstream accuracy may still happen even if token assignments or logits change a lot. For this reason, it would make the paper stronger to separate the routing change from the SiLU approximation and report how closely the new routing and outputs match the original computation.
W3. I could not find a clear explanation of what information may be revealed by the whole Capricorn protocol. The paper uses secure tools such as secret sharing, secure Top-K, secure comparison, and secure LUTs, but I was less clear about the full protocol. In particular, I was unsure whether routing scores, selected token indices, one-hot selection matrices, expert-token assignment patterns, and LUT access patterns are hidden. A more formal discussion of this point, or a security proof for the whole protocol, would make the security claim easier to check.
W4. I also found it hard to tell which part of the design gives the main speedup. The routing improvement seems to include several changes, such as removing token-wise top-k, changing the candidate set, and avoiding secure equality tests by building one-hot matrices locally. The SiLU improvement also includes secure LUTs, piecewise-linear approximation, and dynamic bit-width and precision. Since most experiments compare the full Capricorn design with CryptoMoE, more separate tests would be useful. For example, the paper could add a fixed-bit-width LUT baseline and routing baselines that change only one part at a time.
W5. The evidence for large-scale use seems somewhat limited compared with the paper’s claim of a full secure inference framework for MoE-based LLMs. The main efficiency results are mostly tests on separate parts and a single-MoE-layer setting. Because of this, I was not fully able to judge the cost of complete secure inference for an MoE LLM. It would be useful to report end-to-end latency, communication, memory usage, communication rounds, and online/offline costs for full-model inference, including both prefill and decoding.
W6. Some experimental details could be clearer so that readers can repeat and check the results. The paper reports hardware, network settings, models, and datasets, but I could not find enough detail about the exact baseline settings, model checkpoints, prompts, random seeds, scripts, or variation across runs. I may also be reading the table incorrectly, but the average column of Table 6 for the DeepSeekMoE/Ours row seems worth checking. Adding these details would make the reported speedup and accuracy results easier to verify.
Questions
Q1. I was not fully clear whether Capricorn keeps the same routing rule as CryptoMoE. My understanding is that CryptoMoE first does token-wise top-k selection and then does expert-wise top-t dispatch, while Capricorn lets each expert select its top-t tokens from all input tokens. If this understanding is correct, could the authors clarify whether the new routing gives the same result as the original two-stage routing, or whether it is a modified routing rule? A small example and some numbers on routing overlap, expert-token assignment differences, and output or logit differences would be very helpful.
Q2. The accuracy results are useful, but I had difficulty telling how much of the result comes from the routing change and how much comes from the SiLU approximation. Could the authors add separate tests where only the routing rule is changed, and where only the SiLU approximation is changed? This would make it easier to understand why the final accuracy stays close to the original model.
Q3. I was also unsure what information may be revealed in the full Capricorn protocol. For example, are the routing scores, selected token indices, one-hot selection matrices, expert-token assignment patterns, and LUT indices always kept secret-shared, or are some of them opened during the protocol? A clear clarify of what is public, what stays secret, and what is reconstructed would make the security claim easier to check.
Q4. Which component is responsible for the main efficiency gain? The routing improvement seems to include several changes at the same time, such as removing token-wise top-k, avoiding secure equality tests, and building one-hot matrices locally. The SiLU part also includes secure LUTs and dynamic bit-width or precision. Could the authors report the cost of these choices separately? For the SiLU part, a fixed-bit-width LUT baseline or a direct CipherGPT-style LUT baseline would help show how much of the gain comes from Capricorn’s own design.
Q5. Can the authors provide stronger end-to-end and reproducibility evidence? The current results seem to focus mostly on separate components or a single MoE layer, so I was not fully able to judge the cost of secure inference for a complete MoE LLM. Could the authors report at least one full-model result, including latency, communication, memory usage, communication rounds, and online/offline cost?
Limitations
The paper includes a limitation section in Appendix E, which mainly discusses lower efficiency for a small number of tokens and the bottleneck from linear operations in the LAN setting.
Final justification
Thank you for the detailed response and the additional experiments. The rebuttal has addressed most of my main concerns. Nevertheless, one point should be stated clearly in the revised paper, i.e., Capricorn’s one-stage routing is a modified routing rule, rather than an exact or mathematically equivalent replacement for CryptoMoE’s two-stage routing. I think this distinction is important for readers to correctly understand the scope of the method.
Formatting concerns
NA
5 comments
Response to Reviewer kSqe [1/3]
We sincerely thank Reviewer kSqe for your time and insightful feedback. We are grateful for the positive assessment of our work and the constructive comments, which help us significantly improve our paper. All comments have been carefully addressed. We hope our responses address all the concerns and bring the paper up to acceptance. Below, we provide point-by-point responses to each comment, along with additional explanations and experimental results where necessary.
[Response to W1 & Q1] Routing rule difference.
Your understanding is correct. As illustrated in Figure 1, Capricorn’s one-stage routing is a modified routing rule, rather than an exact or mathematically equivalent replacement for CryptoMoE’s routing. The modification avoids token-wise secure top- invocations, thereby substantially reducing MPC cost. We will clarify this distinction explicitly in the revised manuscript.
We take DeepSeekMoE with a batch size of 64 as an example to directly show the differences across six datasets between the two routing rules. Let and denote the expert-token assignments produced by the two routing rules across all routed layers and tokens. Routing overlap measures the fraction of CryptoMoE assignments that are also retained by Capricorn, i.e., $ \frac{\left|A_{\mathrm{CryptoMoE}} \cap A_{\mathrm{Capricorn}}\right|} {\left|A_{\mathrm{CryptoMoE}}\right|}. $ Outside top- measures the fraction of Capricorn assignments for which the assigned expert does not belong to the corresponding token’s top- candidate set under CryptoMoE. Overall, Capricorn retains % of the non-secure assignments, while % of its assignments fall outside the original top-. These percentages use different denominators and show that Capricorn mainly adds new expert paths while retaining the original ones. At the output level, the logit relative error is , with a Top-1 agreement of %. Thus, Capricorn preserves most CryptoMoE assignments but is neither assignment- nor output-equivalent.
| Dataset | Routing overlap | Outside Top- | Logit relative | Top-1 agreement |
|---|---|---|---|---|
| OpenBookQA | 96.96% | 54.63% | 0.066 | 91.47% |
| ARC-Easy | 97.50% | 53.90% | 0.065 | 91.24% |
| ARC-Challenge | 97.74% | 53.66% | 0.064 | 91.90% |
| HellaSwag | 98.34% | 52.90% | 0.051 | 92.92% |
| PIQA | 97.25% | 55.32% | 0.059 | 92.15% |
| WinoGrande | 97.07% | 53.08% | 0.057 | 92.76% |
| Micro aggregate | 98.20% | 53.10% | 0.053 | 92.80% |
[Response to W2 & Q2] Additional accuracy evaluation.
We presented four routing-activation combinations in Table 4: two-stage routing with exact SiLU (“Sparse”) or polynomial SiLU approximation (“CryptoMoE”), and one-stage routing with exact SiLU (“Dense”) or piecewise-linear SiLU approximation (“Capricorn”). To complete the controlled ablation, we conduct two additional experiments: two-stage routing with the piecewise-linear SiLU approximation and one-stage routing with the polynomial SiLU approximation. We report six-task averages below and will provide per-task results in the revised manuscript.
Adopting Reviewer VkHd’s suggestion, the approximate-SiLU configurations are evaluated under fixed-point emulation. Across all three models, two batch sizes, and six tasks, the differences among the six combinations are smaller than the reported standard errors. These results indicate that neither the routing modification nor the SiLU approximation causes a measurable degradation in task-level accuracy.
| Model | Batch | Routing | Exact SiLU | Polynomial | Piecewise-linear |
|---|---|---|---|---|---|
| DeepSeek | 16 | Two-stage | 64.31% ± 1.20% | 64.49% ± 1.21% | 64.30% ± 1.21% |
| One-stage | 64.81% ± 1.20% | 64.46% ± 1.21% | 64.71% ± 1.21% | ||
| 64 | Two-stage | 64.60% ± 1.21% | 64.62% ± 1.20% | 64.61% ± 1.21% | |
| One-stage | 64.85% ± 1.20% | 65.02% ± 1.21% | 64.65% ± 1.21% | ||
| Qwen | 16 | Two-stage | 63.61% ± 1.21% | 63.77% ± 1.21% | 63.57% ± 1.21% |
| One-stage | 63.80% ± 1.21% | 64.08% ± 1.21% | 64.32% ± 1.21% | ||
| 64 | Two-stage | 63.66% ± 1.21% | 64.10% ± 1.21% | 64.13% ± 1.21% | |
| One-stage | 64.05% ± 1.21% | 64.24% ± 1.21% | 64.41% ± 1.21% | ||
| OLMoE | 16 | Two-stage | 65.58% ± 1.21% | 65.51% ± 1.22% | 65.02% ± 1.22% |
| One-stage | 65.86% ± 1.21% | 66.05% ± 1.21% | 66.06% ± 1.21% | ||
| 64 | Two-stage | 65.74% ± 1.21% | 65.92% ± 1.21% | 65.82% ± 1.21% | |
| One-stage | 66.04% ± 1.21% | 66.52% ± 1.21% | 65.92% ± 1.21% |
Response to Reviewer kSqe [2/3]
【Response to W3 & Q3】Security boundaries
In summary, only the main configurable parameters are public in Capricorn, while all data-dependent routing information remains secret and no intermediate values are reconstructed within the MoE layer.
-
Public information: The model architecture and tensor shapes, protocol parameters such as , the LUT containing the piecewise-linear coefficients , and the sequence length unless padding is used.
-
Information kept secret: Client inputs, server model and router weights, routing scores, selected token indices, per-expert one-hot token selection matrices, expert-token assignments, LUT indices, and intermediate activations.
-
Reconstructed: No intermediate value is reconstructed within the MoE layer.
-
Guarantee: Every expert processes a fixed public capacity , so transcript sizes and communication patterns do not reveal expert-token assignments or LUT accesses. Capricorn inherits semi-honest security from the invoked secure subprotocols, such as Top-, comparison, LUT, multiplication, truncation, MUX, and matrix multiplication. Sequential composition of these subprotocols yields the stated security guarantee.
We will add this explicit leakage statement and composition argument to the revised manuscript.
【Response to W4 & Q4】Component-level speedup attribution
Routing. These optimizations are strongly interdependent because removing token-wise top- changes the input representation for every subsequent stage. In CryptoMoE, the selected expert IDs remain secret-shared, which requires a secure equality check to convert the selected token IDs into one-hot matrices. On the other hand, applying top- for each expert over the same publicly indexed tokens changes the candidate set from to , removes secret-ID-based regrouping, and allows the selected position labels to be locally unpacked into secret-shared one-hot matrices without equality tests.
We therefore provide a component-level evaluation and isolate every component that admits an implementable controlled comparison. Here, we exclude the components shared by both protocols: routing-score computation and token retrieval using the generated one-hot matrices. We report DeepSeekMoE with batch size 16 as a representative example below. Results for batch sizes 32 and 64 show the same trend and will be included in the revised manuscript. The results identify expert-wise top- is the primary source of the routing gain. Capricorn further eliminates token-wise top- and secret-ID regrouping, while local one-hot generation incurs no communication and negligible runtime.
| Framework | Component | Communication (MB) | Runtime LAN (s) | Runtime WAN (s) |
|---|---|---|---|---|
| CryptoMoE | Token-wise top- | 6.79 | 2.49 ± 0.04 | 151.83 ± 0.04 |
| Token-priority scores | 0.38 | 0.71 ± 0.01 | 18.91 ± 0.01 | |
| Expert-wise top- | 46.51 | 16.42 ± 0.24 | 944.36 ± 0.09 | |
| One-hot matrix generation | 0.14 | 0.19 ± 0.001 | 10.49 ± 0.002 | |
| Capricorn | Expert-wise top- | 0.44 | 0.17 ± 0.002 | 4.59 ± 0.004 |
| One-hot matrix generation | 0.00 |
SiLU. We additionally compare Capricorn with a controlled fixed-bit-width LUT baseline to isolate the benefit of dynamic bit width. As shown below, dynamic bit width reduces communication by %–% and WAN runtime by up to %. Under LAN, the runtime is comparable because the coefficient ring-extension overhead offsets part of the communication benefit.
| Length | Protocol | Communication (MB) | Runtime LAN (s) | Runtime WAN (s) |
|---|---|---|---|---|
| Fixed | 114.61 | 6.36 ± 0.27 | 7.97 ± 0.34 | |
| Dynamic | 96.42 | 6.67 ± 0.25 | 7.91 ± 0.15 | |
| Fixed | 431.69 | 10.40 ± 0.12 | 17.05 ± 0.22 | |
| Dynamic | 358.94 | 10.73 ± 0.30 | 15.58 ± 0.15 | |
| Fixed | 1725.32 | 37.21 ± 1.39 | 60.76 ± 0.37 | |
| Dynamic | 1434.32 | 35.55 ± 1.40 | 57.35 ± 0.54 |
Response to Reviewer kSqe [3/3]
【Response to W5 & Q5】End-to-end evaluation
We conduct an additional complete two-party secure inference experiment on Google V-MoE (checkpoint: vmoe_s32_last2_ilsvrc2012_randaug_light1), which contains eight layers, including two MoE layers and six dense layers, with eight experts per MoE layer. Both Capricorn and CryptoMoE reuse BumbleBee[1] and SPU[2] for the common Transformer backbone and differ only in the MoE-specific protocols. Therefore, the performance difference reflects the effect of their MoE-layer protocols.
Neither framework uses a separate data-independent preprocessing phase. Consequently, all latency and communication costs reported below are incurred online. The reported latency and communication are amortized over all input tokens. Memory reports the larger of the two parties’ peak resident-memory measurements during one complete inference. Capricorn reduces communication by % and latency by % under LAN and % under WAN, demonstrating that its MoE-layer optimizations remain effective when integrated into a complete model.
| Network | Framework | Latency (s/token) | Communication (MB/token) | Memory (GB/inference) |
|---|---|---|---|---|
| LAN | CryptoMoE | 4.01 ± 0.02 | 134.56 | 34.21 |
| Capricorn | 3.57 ± 0.02 | 104.20 | 39.59 | |
| WAN | CryptoMoE | 30.00 ± 0.04 | 134.56 | 34.23 |
| Capricorn | 17.57 ± 0.04 | 104.20 | 39.58 |
[1] Wen-jie Lu, Zhicong Huang, Zhen Gu, Jingyu Li, Jian Liu, Kui Ren, Cheng Hong, Tao Wei, and WenGuang Chen. “BumbleBee: Secure Two-Party Inference Framework for Large Transformers.” Network and Distributed System Security Symposium (NDSS), 2025.
[2] J. Ma, Y. Zheng, J. Feng, et al. “SecretFlow-SPU: A Performant and User-Friendly Framework for Privacy-Preserving Machine Learning.” In 2023 USENIX Annual Technical Conference (USENIX ATC ’23), pp. 17–33, 2023.
【Response to W6 】Experimental details
Thank you for catching this issue. The DeepSeekMoE/Ours average in Table 6 contains an arithmetic typo: the correct value is 64.697, not 65.697. This correction does not affect our conclusions.
We use the public checkpoints deepseek-ai/deepseek-moe-16b-base, Qwen/Qwen1.5-MoE-A2.7B, and allenai/OLMoE-1B-7B-0125-Instruct. Accuracy is evaluated zero-shot using the task definitions and prompts from lm-evaluation-harness commit e916aa4. Following CryptoMoE, we use a capacity factor of in all evaluations. For the CryptoMoE baseline, we use the authors’ open-source implementation. Runtime and accuracy are averaged over five runs, and we will report mean ± standard error in the revised manuscript. Upon acceptance, we will release our code and reproduction scripts.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Dear Area Chair NjDr,
We sincerely thank you and the reviewers for your time and insightful comments. We have carefully addressed the shared concern regarding end-to-end evaluation and summarize the relevant additional experiments below.
Full-model secure inference. We conducted an additional complete two-party secure inference experiment using Google V-MoE. Detailed results are provided in our response to W5 & Q5 for Reviewer kSqe and W3 for Reviewer vkHD.
Fixed-point accuracy. We re-evaluated the end-to-end accuracy of four routing–activation combinations using fixed-point emulation. Detailed results are provided in our response to W4 & Q2 for Reviewer vkHD.
The concerns mentioned in the meta-review are addressed in these responses. After reviewing our rebuttal and additional experiments, reviewers have also indicated that their main concerns had been addressed and raised their scores accordingly.