Reproduce “MoDeGPT: Modular Decomposition for Large Language Model Compression” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Chi-Heng Lin, Shangqian Gao, James Seale Smith, Abhishek Patel, Shikhar Tuli, Yilin Shen, Hongxia Jin, Yen-Chang Hsu
MoDeGPT, developed by Samsung Research America and Florida State University, presents a training-free, modular decomposition framework for Large Language Model compression. The approach reduces LLM size by 25-30% while retaining 90-95% zero-shot performance and accelerating inference throughput by up to 46%, enabling more efficient deployment on edge devices.
Key insights
- Joint matrix decomposition at the module level effectively achieves structured dimension reduction without introducing additional parameters or adapters.
- Different types of Transformer modules (MLP, MHA Key-Query, MHA Value-Output) require specific low-rank approximation algorithms (Nyström, CR, SVD) for optimal compression.
- A global, non-uniform sparsity allocation strategy, guided by layer importance, significantly outperforms uniform compression, allowing some layers to tolerate up to 82% sparsity with minimal accuracy impact.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.