paper-with-me

홈 › Papers

Pruning via Merging: Compressing LLMs via Manifold Alignment Based Layer Merging

2024-06-24 · Deyuan Liu, Zhanyue Qin, Hairu Wang, Zhao Yang, Zecheng Wang, Fangying Rong, Qingbin Liu, Yanchao Hao, Xi Chen, Cunhang Fan, Zhao Lv, Zhiying Tu, Dianhui Chu, Bo Li, Dianbo Sui

While large language models (LLMs) excel in many domains, their complexity and scale challenge deployment in resource-limited environments. Current compression techniques, such as parameter pruning, often fail to effectively utilize the knowledge from pruned parameters. To address these challenges, we propose Manifold-Based Knowledge Alignment and Layer Merging Compression (MKA), a novel approach that uses manifold learning and the Normalized Pairwise Information Bottleneck (NPIB) measure to merge similar layers, reducing model size while preserving essential performance. We evaluate MKA on multiple benchmark datasets and various LLMs. Our findings show that MKA not only preserves model performance but also achieves substantial compression ratios, outperforming traditional pruning methods. Moreover, when coupled with quantization, MKA delivers even greater compression. Specifically, on the MMLU dataset using the Llama3-8B model, MKA achieves a compression ratio of 43.75% with a minimal performance decrease of only 2.82\%. The proposed MKA method offers a resource-efficient and performance-preserving model compression technique for LLMs.

📄 PDF Abstract BibTeX arXiv:2406.16330

Code (1)

sempraety/pruning-via-merging 공식 구현 pytorch

Tasks

MMLUModel CompressionQuantization

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

MINI-LLM: Memory-Efficient Structured Pruning for Large Language Models

2024-07-16 · Hongrong Cheng, Miao Zhang, Javen Qinfeng Shi

As Large Language Models (LLMs) grow dramatically in size, there is an increasing trend in compressing and speeding up these models. Previous studies have highlighted the usefulness of gradients for importance scoring in…

GPUMultiple-choice

PPC-GPT: Federated Task-Specific Compression of Large Language Models via Pruning and Chain-of-Thought Distillation

2025-02-21 · Tao Fan, Guoqiang Ma, Yuanfeng Song, Lixin Fan 외

Compressing Large Language Models (LLMs) into task-specific Small Language Models (SLMs) encounters two significant challenges: safeguarding domain-specific knowledge privacy and managing limited resources. To tackle the…

Knowledge DistillationPrivacy PreservingText Generation

Compressing Image-to-Image Translation GANs Using Local Density Structures on Their Learned Manifold

2023-12-22 · Alireza Ganjdanesh, Shangqian Gao, Hirad Alipanah, Heng Huang

Generative Adversarial Networks (GANs) have shown remarkable success in modeling complex data distributions for image-to-image translation. Still, their high computational demands prohibit their deployment in practical s…

Density EstimationImage-to-Image TranslationKnowledge DistillationTranslation

SGLP: A Similarity Guided Fast Layer Partition Pruning for Compressing Large Deep Models

2024-10-14 · Yuqi Li, Yao Lu, Zeyu Dong, Chuanguang Yang 외

The deployment of Deep Neural Network (DNN)-based networks on resource-constrained devices remains a significant challenge due to their high computational and parameter requirements. To solve this problem, layer pruning …

Computational Efficiencyimage-classificationImage Classification

Self-Distillation as a Performance Recovery Mechanism for LLMs: Counteracting Compression and Catastrophic Forgetting

2026-04-17 · Chi Liu, Xin Chen, Xu Zhou, Fangbo Tu 외 arxiv

Large Language Models (LLMs) have achieved remarkable success, underpinning diverse AI applications. However, they often suffer from performance degradation due to factors such as catastrophic forgetting during Supervise…