ResCode: Accurate Expert Compression of Sparse MoE Models via Residual-code Restoration

Hyunwoo Yang, Minjun Kim, U Kang


Abstract
How can we accurately compress a sparse mixture-of-experts (SMoE) model? SMoE models are widely adopted in modern LLMs for reducing activated computation, but their deployment remains memory-intensive due to extensive expert parameters. To address this bottleneck, expert compression reduces redundant expert parameters. However, previous methods decrease the number of experts involved in token-dependent routing, inducing output deviations from the original model. Expert decomposition is a promising alternative, but existing approaches suffer from three major limitations: a single shared base, component memory overhead, and suboptimal objectives. In this work, we introduce five desired properties for accurate expert compression. Then, we propose ResCode, an accurate expert decomposition method based on residual-code restoration. ResCode forms compact expert clusters, coalesces residuals into cluster-shared low-rank bases, and learns compact codes to accurately recover the original routed outputs. ResCode provides the state-of-the-art performance for compressing SMoE models on various tasks, achieving up to 2.43 percentage points higher average accuracy than the strongest baseline.
Anthology ID:
2026.emnlp-main.2691
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
61227–61245
Language:
URL:
https://aclanthology.org/2026.emnlp-main.2691/
DOI:
Bibkey:
Cite (ACL):
Hyunwoo Yang, Minjun Kim, and U Kang. 2026. ResCode: Accurate Expert Compression of Sparse MoE Models via Residual-code Restoration. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 61227–61245, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
ResCode: Accurate Expert Compression of Sparse MoE Models via Residual-code Restoration (Yang et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.2691.pdf