将增量参数视为JPEG图像:基于离散余弦变换的无数据增量压缩 Seeing Delta Parameters as JPEG Images: Data-Free Delta Compression with Discrete Cosine Transform 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-03-09
👁️ 预览文献
💡 AI 中文简介
这篇论文提出了一种名为Delta-DCT的方法,用于压缩微调模型与预训练模型之间的参数差异(增量参数),以降低存储和部署成本。该方法受JPEG图像压缩启发,将增量参数分组为块,评估重要性并分配不同量化位宽,然后转换到离散余弦变换域进行量化。它无需训练或数据校准,在1比特等效压缩率下,性能与原始微调模型相当甚至更好,并在多种模型上验证有效。
领域深度学习模型压缩与加速
适合谁读需要一定专业背景(了解模型微调、压缩和Transformer架构)
核心贡献首次提出无数据的增量压缩方法,受JPEG启发利用DCT;无需训练或数据校准,在1比特等效压缩率下性能媲美或超越原始微调模型。
关键数据在1比特等效增量压缩率下,性能与原始微调模型相当或更好;在7B到13B的大语言模型、RoBERTa、T5、视觉Transformer变体和多模态BEiT-3模型上验证有效。
推荐理由如果你对模型压缩感兴趣,这篇论文提供了一种新颖的无数据方法,能大幅降低存储成本而不损失性能,值得一读!
关键词["增量压缩", "离散余弦变换", "无数据压缩", "模型微调", "量化", "Transformer模型"]

原文摘要

查看英文原文摘要

With transformer-based models and the pretrain-finetune paradigm becoming mainstream, the high storage and deployment costs of individual finetuned models on multiple tasks pose critical challenges. Delta compression attempts to lower the costs by reducing the redundancy of delta parameters (i.e., the difference between the finetuned and pre-trained model weights). However, existing methods usually face problems including data accessibility and training requirements. To tackle this issue, we introduce Delta-DCT, the first data-free delta compression method inspired by classic JPEG image compression, leveraging the Discrete Cosine Transform (DCT). We first (a) group delta parameters within a layer into patches. Then we (b) assess the importance of each patch and allocate them with different quantization bit-widths. Afterwards, we (c) convert these patches to the DCT domain and conduct quantization to each patch based on the allocated bit-width. The proposed Delta-DCT does not require any training or data calibration, while achieving performance comparable to or even surpassing original finetuned models under 1-bit equivalent delta compression ratios on different kinds of models including: (1) recently-released LLMs of different sizes from 7B to 13B, (2) relatively smaller language models including RoBERTa and T5 models, (3) variants of vision transformer models, and (4) multi-modal BEiT-3 models.