NoWag: A Unified Framework for Shape Preserving Compression of Large Language Models

Lawrence Liu, Inesh Chakrabarti, Yixiao Li, Mengdi Wang, Tuo Zhao +1 more
4/20/2025
1 citation
cs.LGcs.AI

Official code: LawrenceRLiu/NoWag (12 stars, Jupyter Notebook, GPL-3.0, last commit 2025-12-05).

Abstract

Large language models (LLMs) exhibit remarkable performance across various natural language processing tasks but suffer from immense computational and memory demands, limiting their deployment in resource-constrained environments. To address this challenge, we propose NoWag (Normalized Weight and Activation Guided Compression), a unified framework for one-shot shape preserving compression algorithms.

Show full abstract

We apply NoWag to compress Llama-2 (7B, 13B, 70B) and Llama-3 (8B, 70B) models using two popular shape-preserving techniques: vector quantization (NoWag-VQ) and unstructured/semi-structured pruning (NoWag-P). Our results show that NoWag-VQ significantly outperforms state-of-the-art one-shot vector quantization methods, while NoWag-P performs competitively against leading pruning techniques. These findings highlight underlying commonalities between these compression paradigms and suggest promising directions for future research. Our code is available at https://github.com/LawrenceRLiu/NoWag

View on arXivView PDF

Code Implementations(1)

LawrenceRLiu/NoWagOfficial100%
GPL-3.0

Official implementation of NoWag: A Unified Framework for Shape Preserving Compression of Large Language Models [COLM 2025]

122Jupyter Notebook, PythonAug 14, 202412 months agoGPL-3.0

Similar Papers

Cite this paper

@article{liu2025nowag,
  title  = {NoWag: A Unified Framework for Shape Preserving Compression of Large Language Models},
  author = {Lawrence Liu and Inesh Chakrabarti and Yixiao Li and Mengdi Wang and Tuo Zhao and Lin F. Yang},
  year   = {2025},
  eprint = {2504.14569},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.14569v5}
}

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/2504.14569.svg)](https://codeofpaper.com/paper/2504.14569)

Discussion