Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

PocketLLM: Ultimate Compression of Large Language Models via Meta Networks

About

As Large Language Models (LLMs) continue to grow in size, storing and transmitting them on edge devices becomes increasingly challenging. Traditional methods like quantization and pruning struggle to achieve extreme compression of LLMs without sacrificing accuracy. In this paper, we introduce PocketLLM, a novel approach to compress LLMs in a latent space via meta-networks. A simple encoder network is proposed to project the weights of LLMs into discrete latent vectors, which are then represented using a compact codebook. A lightweight decoder network is employed to map the codebook's representative vectors back to the original weight space. This method allows for significant compression of the large weights in LLMs, consisting solely of a small decoder, a concise codebook, and an index. Extensive experiments show that PocketLLM achieves superior performance even at significantly high compression ratios, e.g., compressing Llama 2-7B by 10x with a negligible drop in accuracy.

Ye Tian, Chengcheng Wang, Jing Han, Yehui Tang, Kai Han• 2025

Related benchmarks

TaskDatasetResultRank
Language ModelingWikiText2 v1 (test)
Perplexity5.27
396
Zero-shot ReasoningReasoning Suite Zero-shot (PIQA, HellaSwag, WinoGrande, ARC-e, ARC-c) (val test)
Average Accuracy71.3
305
Zero-shot Question AnsweringEvaluation Suite (WinoGrande, PiQA, HellaSwag, ARC-E, ARC-C) Zero-shot
WinoGrande Accuracy69.39
35
Language ModelingC4 v1 (test)
Perplexity6.86
11
Showing 4 of 4 rows

Other info

Follow for update