arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.27591cs.LG
收藏

梯度变换器:学习为大语言模型生成更新

Gradient Transformer: Learning to Generate Updates for LLMs

Department of Data Science, New Jersey Institute of Technology, Newark, NJ, USA(数据科学系,新泽西理工学院,新泽西州诺克斯维尔);Qatar Computing Research Institute, HBKU, Doha, Qatar(卡塔尔计算研究所,HBKU,多哈)

Binh-Nguyen Nguyen, Khang Tran, NhatHai Phan, Issa Khalil

AI总结:

提出一种无数据知识蒸馏框架,利用梯度变换器将微调后小语言模型的更新向量转换为大语言模型的更新向量,实现无需私有数据即可更新大模型。

摘要:

许多组织缺乏计算资源在私有(不可共享)数据上微调大语言模型(LLM)以获得更好的效用,而单独微调小语言模型(TinyLM)效果不佳。为解决这一瓶颈,我们提出一种无数据知识蒸馏框架,该框架基于在私有数据上微调的TinyLM生成LLM更新向量。更新向量是从初始模型到其在数据集上微调版本的参数变化向量,捕捉微调过程中累积梯度步骤的效果。我们框架的关键思想是一种新颖的梯度变换器(Gradient Transformer),它将TinyLM的更新向量转换为LLM的更新向量。正如从影子数据集中推导出的,Grad-Transformer捕捉了TinyLM和LLM更新向量之间的相关性,使得第三方提供商能够在给定组织的TinyLM更新向量的情况下生成LLM更新向量,而无需访问组织的私有数据。该框架支持多组织协作以共同更新LLM,提高了性能和成本效率。在语言建模和推理任务上的大量实验表明,即使在严格的差分隐私保护下,Grad-Transformer也显著优于最先进的知识蒸馏基线。

英文摘要:

Many organizations lack computational resources to fine-tune large language models (LLMs) on private (unshareable) data for better utility, while fine-tuning tiny language models (TinyLMs) alone performs poorly. To address this bottleneck, we propose a data-free knowledge distillation framework that generates LLM update vectors based on TinyLMs fine-tuned on private data. An update vector is a vector of parameter changes from an initial model to its fine-tuned version on a dataset, capturing the effect of cumulative gradient steps during fine-tuning. The key idea of our framework is a novel Gradient Transformer that transforms TinyLM's update vectors into LLM's update vectors. As derived from shadow datasets, Grad-Transformer captures the correlation between TinyLM and LLM update vectors, enabling third-party providers to generate LLM update vectors given the organization's TinyLM update vectors without accessing the organization's private data. The framework supports multi-organization collaboration to jointly update LLMs, improving performance and cost-efficiency. Extensive experiments across language modeling and reasoning tasks show that Grad-Transformer remarkably outperforms state-of-the-art knowledge distillation baselines, even under strict differential privacy protection.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑