arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2509.04442cs.LGcs.AIcs.CLcs.IR
收藏

Delta Activations:一种用于微调后大语言模型的表示方法

Delta Activations: A Representation for Finetuned Large Language Models

University of Pennsylvania(宾夕法尼亚大学);University of Central Florida(佛罗里达中央大学)

Zhiqiu Xu, Amish Sethi, Mayur Naik, Ser-Nam Lim

AI总结:

针对开源微调大语言模型难以梳理理解的问题,提出Delta Activations方法,通过对比基座模型的内部激活变化将微调模型表示为向量嵌入,可用于聚类、模型选择与融合,助力模型复用。

摘要:

功能强大的开源大语言模型(LLM)的成功,让学界和业界得以构建大量适配特定任务与领域的后训练模型。但由于元数据不一致、仓库非结构化,梳理和理解这些模型仍颇具挑战。我们提出Delta Activations方法,通过衡量微调模型相对于基座模型的内部激活变化,将微调模型表示为向量嵌入。该表示可支持按领域和任务进行有效聚类,揭示模型生态的结构。Delta Activations还具备优良特性:在不同微调设置下均表现鲁棒,且当混合微调数据集时呈现加性属性。此外,我们证明Delta Activations可通过小样本微调嵌入任务,并进一步探索了其在模型选择与模型融合中的应用。我们希望Delta Activations能推动公开可用模型的复用实践。代码可在https://github.com/OscarXZQ/delta_activations获取。

英文摘要:

The success of powerful open source Large Language Models (LLMs) has enabled the community to create a vast collection of post-trained models adapted to specific tasks and domains. However, navigating and understanding these models remains challenging due to inconsistent metadata and unstructured repositories. We introduce Delta Activations, a method to represent finetuned models as vector embeddings by measuring shifts in their internal activations relative to a base model. This representation allows for effective clustering by domain and task, revealing structure in the model landscape. Delta Activations also demonstrate desirable properties: it is robust across finetuning settings and exhibits an additive property when finetuning datasets are mixed. In addition, we show that Delta Activations can embed tasks via few-shot finetuning, and further explore its use for model selection and merging. We hope Delta Activations can facilitate the practice of reusing publicly available models. Code is available at https://github.com/OscarXZQ/delta_activations.

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

↑