SCHUR-A*: Layer-wise Optimal Expert Pruning for MoEs via Schur-Complement Guided A* Search

Zheng Chen, Yang Weifeng, Jianxiao Tang, Buhui YaoICML 2026

Sparse Mixture-of-Experts (MoE) models, such as Mixtral and DeepSeek-V2, have successfully decoupled computational cost from model capacity, revolutionizing LLM scaling. However, they introduce a significant deployment hurdle: the "memory wall." While only a fraction of experts are activated for any given token, the entire massive parameter set must reside in GPU memory. Pruning redundant experts is a logical solution, but identifying which experts to remove without degrading model performance remains a complex challenge.

In the paper "SCHUR-A: Layer-wise Optimal Expert Pruning for MoEs via Schur-Complement Guided A Search," researchers introduce a framework that moves beyond simple ranking to find the mathematically optimal subset of experts for every layer.

The Problem: Combinatorial Synergies

Existing pruning methods typically rank experts independently based on activation frequency or weight magnitude. The authors argue this approach is fundamentally flawed because it ignores combinatorial synergies. An expert that appears "weak" in isolation might possess niche knowledge that makes it indispensable when paired with others.

Previous reconstruction-based methods attempted to account for these synergies but relied on greedy search algorithms. Given the massive search space of modern MoEs (often featuring 64 to 128+ experts per layer), greedy searches frequently get trapped in local optima, failing to find the best overall combination of experts.

The SCHUR-A* Framework

To overcome these limitations, the authors formulate MoE pruning as a reconstruction-driven subset selection problem. The goal is to find the specific subset of experts that minimizes the distortion of a layer's output. The framework relies on three core innovations:

  1. SCHUR-A* Search: The authors employ the A search algorithm to navigate the combinatorial space. To make this computationally tractable, they derive a novel, admissible heuristic based on the Schur complement*. This provides a mathematically rigorous upper bound on the potential reward of adding more experts, allowing the algorithm to safely prune suboptimal branches and guarantee a globally optimal selection.
  2. Vectorized Gain Computation: To handle layers with a high number of experts, the team developed a scheme utilizing cached Cholesky updates. This reduces computational complexity from cubic ($O(m \cdot |S|^3)$) to quadratic ($O(m \cdot |S|^2)$), enabling the search to converge in minutes.
  3. Adaptive Budgeting (Kneedle): Rather than applying a flat pruning ratio across the entire model, the framework uses the Kneedle algorithm to detect the "knee point" of diminishing returns for each specific layer. This dynamically allocates the pruning budget based on the actual redundancy of each layer.

Key Insights

  • Synergy Over Individual Strength: The research mathematically proves that optimal subsets often include individually "weak" experts that complement the broader group, validating the need for combinatorial search.
  • The Overfitting Trap: While the authors calculated optimal refitted weights for the experts using calibration data, they discovered that reverting to the original gating weights (a "Mask-Only" approach) generalized significantly better to unseen test data. Refitted weights tended to overfit the small calibration set (512 sequences from the C4 corpus).
  • U-Shaped Redundancy: Adaptive budgeting revealed a "U-shaped" redundancy pattern across MoE layers. The first and last layers are highly critical with minimal redundancy, whereas the middle layers contain significant "dead weight" that can be aggressively pruned.

Empirical Results

Evaluated on state-of-the-art fine-grained MoEs like Qwen3-30B-A3B, ERNIE-4.5-21B-A3B, and DeepSeek-V2-Lite, SCHUR-A* demonstrated superior trade-offs.

On Qwen3-30B-A3B, the method pruned approximately 42% of experts while maintaining an average accuracy of 0.661 across benchmarks (including MMLU, ARC, HellaSwag, GSM8K, and HumanEval). By contrast, the strongest baseline (REAP) saw accuracy plummet to 0.518 at a 50% pruning ratio.

Furthermore, SCHUR-A achieved a 92-95% overlap* with the true global optimum (verified via brute-force search on smaller models) but at a fraction of the computational cost, typically converging in just 1–2 minutes per layer on a single NVIDIA A100 GPU.

Limitations and Future Directions

The authors note a few areas for future refinement:

  • Numerical Stability: In half-precision (FP16/BF16) environments, highly correlated experts can create ill-conditioned matrices that cause Cholesky decomposition to fail; Singular Value Decomposition (SVD) is suggested as a more robust alternative.
  • Layer-wise vs. Global Optimization: The current method optimizes each layer in isolation. Future work could explore block-wise or end-to-end optimization to account for cross-layer dependencies.
  • Gating Constraints: Unconstrained weight refitting sometimes violates the probabilistic nature of MoE gating, suggesting that incorporating Non-Negative Least Squares (NNLS) could improve future iterations.

Summary updated

BibTeX
@inproceedings{chen2026schur,
  author = {Zheng Chen and Yang Weifeng and Jianxiao Tang and Buhui Yao},
  title = {{SCHUR-A*: Layer-wise Optimal Expert Pruning for MoEs via Schur-Complement Guided A* Search}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=D2AH8pDyU9},
}
Figure