MoDeGPT: Modular Decomposition for Large Language Model Compression

Chi-Heng Lin, Shangqian Gao, J. Smith, Abhishek Patel, Shikhar Tuli +3 more
2/12/2026

No official code found. Best implementation: cbacary/MoDeGPT (9 stars, last commit 2026-04-03).

Abstract

Large Language Models (LLMs) have reshaped the landscape of artificial intelligence by demonstrating exceptional performance across various tasks. However, substantial computational requirements make their deployment challenging on devices with limited resources. Recently, compression methods using low-rank matrix techniques have shown promise, yet these often lead to degraded accuracy or introduce significant overhead in parameters and inference latency. This paper introduces \textbf{Mo}dular \textbf{De}composition (MoDeGPT), a novel structured compression framework that does not need recovery fine-tuning while resolving the above drawbacks. MoDeGPT partitions the Transformer block into modules comprised of matrix pairs and reduces the hidden dimensions via reconstructing the module-level outputs. MoDeGPT is developed based on a theoretical framework that utilizes three well-established matrix decomposition algorithms -- Nystr\"om approximation, CR decomposition, and SVD -- and applies them to our redefined transformer modules. Our comprehensive experiments show MoDeGPT, without backward propagation, matches or surpasses previous structured compression methods that rely on gradient information, and saves 98% of compute costs on compressing a 13B model. On \textsc{Llama}-2/3 and OPT models, MoDeGPT maintains 90-95% zero-shot performance with 25-30% compression rates. Moreover, the compression can be done on a single GPU within a few hours and increases the inference throughput by up to 46%.

View on arXivView PDF

Code Implementations(1)

cbacary/MoDeGPTCommunity70%

An implementation of the MoDeGPT LLM compression from the ICLR 2025 Conference paper: Modular Decomposition For Large Language Model Compression.

91Shell, PythonOct 2, 20256 months ago
iclr-2025iclr-2025-oralllamallama2llama3+7 more

Similar Papers

Cite this paper

@article{lin2026modegpt,
  title  = {MoDeGPT: Modular Decomposition for Large Language Model Compression},
  author = {Chi-Heng Lin and Shangqian Gao and J. Smith and Abhishek Patel and Shikhar Tuli and Yilin Shen and Hongxia Jin and Yen-Chang Hsu},
  year   = {2026},
  eprint = {2408.09632},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2408.09632},
  journal = {ICLR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.09632.svg)](https://codeofpaper.com/paper/2408.09632)

Discussion