acceptodds
Published as a conference paper at NeurIPS 2026

Capricorn: Highly Efficient and Secure Mixture of Experts Inference Framework

Lushan Song, Xiaojian Liang, Shishuai Du, Jun J Sim, Yingting Liu, Xin Zhang, Jiang-Ming Yang, Pu Duan

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 maintaining the original model inference accuracy.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_VkHdOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
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

  1. 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.

  2. 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.

  3. 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.

  1. 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.

  2. 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.

  3. 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.

  4. 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
  1. 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?

  2. 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?

  3. 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

Paper formatting concerns

N/A

Final justification

The response has addressed my main concerns, and I would like to improve my score from 4 to 5.

Reviewer_6PCEOpenReview ↗
Rating
5
Clarity
3
Confidence
2
Originality
3
Quality
4
Significance
3
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

Paper formatting concerns

None

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

Reviewer_kSqeOpenReview ↗
Rating
4
Clarity
2
Confidence
2
Originality
2
Quality
3
Significance
3
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.

Paper formatting concerns

NA

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.

Comments on the paper

1 comment
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."

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.