BitDelta:你的微调可能只值一比特
BitDelta: Your Fine-Tune May Only Be Worth One Bit
AI总结:
针对LLM微调信息冗余问题,提出BitDelta方法将微调权重增量量化为1 bit,在几乎不损失性能的情况下将多租户场景的GPU内存需求降低10倍以上。
摘要:
大型语言模型(LLMs)通常分两阶段训练:在大型互联网规模数据集上进行预训练,以及针对下游任务进行微调。鉴于预训练的计算需求更高,直观上可以假设微调给模型增加的新信息较少,因此更具可压缩性。我们通过将微调模型的权重分解为其预训练组件和一个额外的 delta 来探索这一假设。我们引入了一种简单的方法 BitDelta,它成功地将该 delta 量化为 1 bit,且不损害性能。这一有趣的发现不仅突显了微调期间所增加信息的潜在冗余性,还对微调模型的多租户服务和多租户存储具有重要意义。通过支持使用单个高精度基础模型并伴随多个 1-bit delta,BitDelta 将 GPU 内存需求降低了 10 倍以上,这在多租户设置中也可转化为更优的生成延迟。我们通过对 Llama-2 和 Mistral 模型系列以及高达 70B 参数的模型进行实验验证了 BitDelta,展示了在所有测试设置中性能下降极小。
英文摘要:
Large Language Models (LLMs) are typically trained in two phases: pre-training on large internet-scale datasets, and fine-tuning for downstream tasks. Given the higher computational demand of pre-training, it's intuitive to assume that fine-tuning adds less new information to the model, and is thus more compressible. We explore this assumption by decomposing the weights of fine-tuned models into their pre-trained components and an additional delta. We introduce a simple method, BitDelta, which successfully quantizes this delta down to 1 bit without compromising performance. This interesting finding not only highlights the potential redundancy of information added during fine-tuning, but also has significant implications for the multi-tenant serving and multi-tenant storage of fine-tuned models. By enabling the use of a single high-precision base model accompanied by multiple 1-bit deltas, BitDelta dramatically reduces GPU memory requirements by more than 10x, which can also be translated to enhanced generation latency in multi-tenant settings. We validate BitDelta through experiments across Llama-2 and Mistral model families, and on models up to 70B parameters, showcasing minimal performance degradation over all tested settings.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。