PuzzleMoE: Efficient Compression of Large Mixture-of-Experts Models via Sparse Expert Merging and Bit-packed inference

Yushu Zhao, Zheng Wang, Minjia Zhang · DOI

Abstract

PuzzleMoE is a novel, training-free compression framework designed to reduce the memory footprint of Mixture-of-Experts (MoE) models by 50% while maintaining high accuracy. By employing a dual-mask strategy for element-wise expert merging and a bit-packing technique that utilizes underused exponent bits in Bfloat16 tensors, PuzzleMoE achieves significant memory savings and up to a 1.28× inference speedup. Evaluation across several state-of-the-art MoE models demonstrates that PuzzleMoE outperforms existing pruning and merging techniques, particularly in maintaining accuracy at high compression ratios.

Introduction

Mixture-of-Experts (MoE) architectures, such as Mixtral-8x7B, have become a standard for scaling Large Language Models (LLMs) by activating only a subset of parameters per token. However, these models suffer from a significant "memory tax," requiring the entire model's weights to be loaded into VRAM regardless of the activation sparsity. For instance, Mixtral-8x7B typically requires multiple high-end GPUs just to hold weights in Bfloat16. Existing solutions like expert dropping or coarse-grained merging often lead to substantial accuracy loss or introduce significant metadata overhead. PuzzleMoE addresses these challenges through a system-algorithm co-design that enables efficient, fine-grained compression without retraining.

Methodology

Sparse Expert Merging (The Dual-Mask Strategy)

PuzzleMoE moves beyond coarse-grained matrix averaging by operating at the element-wise level. It utilizes a "Dual-Mask" strategy to decide which weights to preserve or merge:

  • Similarity Mask: Identifies weights that are nearly identical across expert pairs, representing shared knowledge that can be safely averaged.
  • Saliency Mask: Uses the Wanda metric (weight magnitude multiplied by input activation norm) to identify critical, unique weights that must be protected.

By combining these masks, PuzzleMoE preserves the specialized knowledge of individual experts while compressing redundant parameters.

Overview of the Sparse Expert Merging process using saliency and similarity masks.

Bit-Packed Inference

To eliminate the memory overhead of storing binary masks and sign bits, PuzzleMoE exploits a quirk of the Bfloat16 format. The researchers observed that LLM weight exponents typically occupy a narrow range (112 to 128).

By shifting these exponents into a 5-bit range (0-31), 3 bits are freed within the standard 16-bit word. These "free" bits are used to store the expert selection mask and original sign bits directly within the weight tensor. A custom CUDA kernel decodes these bits on-the-fly during matrix multiplication (GEMV), reducing memory bandwidth bottlenecks.

Bit-packing strategy exploiting the narrow distribution of Bfloat16 exponents.

Experimental Evaluation

Setup and Datasets

The authors evaluated PuzzleMoE across four state-of-the-art MoE models: Mixtral-8x7B, DeepSeek-MoE, Qwen1.5-MoE, and Qwen3-MoE. Performance was measured using general benchmarks (MMLU, ARC, HellaSwag), reasoning tasks (GSM8K, Math-500), and language modeling (WikiText-2).

Key Results

  • Accuracy Preservation: At 50% compression, PuzzleMoE outperformed prior methods by up to 16.7% on MMLU. On Mixtral-8x7B, it maintained 72.6% average accuracy, significantly higher than other merging methods which often dropped below 65%.
  • Inference Speed: The custom decoding kernel enabled a 1.28× speedup on Mixtral-8x7B by reducing memory access latency.
  • Compression Efficiency: The process is highly efficient, taking only 2 minutes to compress Mixtral-8x7B on two A100 GPUs.
  • Quantization Compatibility: PuzzleMoE can be combined with 3-bit weight quantization to achieve an 80% total compression ratio with minimal performance degradation.

Discussion and Limitations

While PuzzleMoE excels at general tasks and maintains high efficiency, it faces challenges on extremely difficult reasoning tasks (e.g., AIME25), where a performance gap of approximately 10 points persists compared to uncompressed models. Additionally, the current bit-packing implementation is optimized for pairwise expert merging; merging three or more experts would require a more complex encoding strategy. Future work may involve incorporating these merging principles into the initial training phase to further close the accuracy gap.

Summary updated

BibTeX
@inproceedings{zhao2026puzzlemoe,
  author = {Yushu Zhao and Zheng Wang and Minjia Zhang},
  title = {{PuzzleMoE: Efficient Compression of Large Mixture-of-Experts Models via Sparse Expert Merging and Bit-packed inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=D7pFsC7UAr},
}
Figure