paper-with-me

Papers

ASVD: Activation-aware Singular Value Decomposition for Compressing Large Language Models

2023-12-10 · Zhihang Yuan, Yuzhang Shang, Yue Song, Qiang Wu, Yan Yan, Guangyu Sun

In this paper, we introduce a new post-training compression paradigm for Large Language Models (LLMs) to facilitate their wider adoption. We delve into LLM weight low-rank decomposition, and find that the challenges of this task stem from the distribution variance in the LLM activations and the sensitivity difference among various kinds of layers. To address these issues, we propose a training-free approach called Activation-aware Singular Value Decomposition (ASVD). Specifically, ASVD manages activation outliers by transforming the weight matrix based on the activation distribution. This transformation allows the outliers in the activation matrix to be absorbed into the transformed weight matrix, thereby enhancing decomposition accuracy. Additionally, we propose an efficient iterative calibration process to optimize layer-specific decomposition by addressing the varying sensitivity of different LLM layers. In this way, ASVD can compress a network by 10%-30%. Based on the success of the low-rank decomposition of projection matrices in the self-attention module, we further introduce ASVD to compress the KV cache. By reducing the channel dimension of KV activations, memory requirements for KV cache can be largely reduced. ASVD can further achieve 50% KV cache reductions without performance drop in a training-free manner. Code is anonymously available in supplementary materials.

📄 PDF Abstract BibTeX arXiv:2312.05821

Code (1)

hahnyuan/asvd4llm 공식 구현 pytorch

Tasks

Sensitivity

Similar Papers 제목 키워드 기반

AdaSVD: Adaptive Singular Value Decomposition for Large Language Models

2025-02-03 · Li Zhiteng, Xia Mingyuan, Zhang Jingyuan, Hui Zheng 외

Large language models (LLMs) have achieved remarkable success in natural language processing (NLP) tasks, yet their substantial memory requirements present significant challenges for deployment on resource-constrained de…

Why Smaller Is Slower? Dimensional Misalignment in Compressed LLMs

2026-03-05 · Jihao Xin, Tian Lyu, Qilong Pan, Kesen Wang 외 arxiv

Post-training compression reduces LLM parameter counts but often produces irregular tensor dimensions that degrade GPU performance -- a phenomenon we call \emph{dimensional misalignment}. We present a full-stack analysis…

Activation Map Compression through Tensor Decomposition for Deep Learning

2024-11-10 · Le-Trung Nguyen, Aël Quélennec, Enzo Tartaglione, Samuel Tardieu 외

Internet of Things and Deep Learning are synergetically and exponentially growing industrial fields with a massive call for their unification into a common framework called Edge AI. While on-device inference is a well-ex…

Deep LearningTensor Decomposition

QUAD: Quantization and Parameter-Efficient Tuning of LLM with Activation Decomposition

2025-03-25 · Yuxuan Hu, Xiaodong Chen, Cuiping Li, Hong Chen 외

Large Language Models (LLMs) excel in diverse applications but suffer inefficiency due to massive scale. While quantization reduces computational costs, existing methods degrade accuracy in medium-sized LLMs (e.g., Llama…

parameter-efficient fine-tuningQuantization

Accelerating Diffusion Transformer via Increment-Calibrated Caching with Channel-Aware Singular Value Decomposition

2025-05-09 · CVPR 2025 1 · ZhiYuan Chen, Keyi Li, Yifan Jia, Le Ye 외

Diffusion transformer (DiT) models have achieved remarkable success in image generation, thanks for their exceptional generative capabilities and scalability. Nonetheless, the iterative nature of diffusion models (DMs) r…

Image Generation