2025-09-05 · 进阶 · 机器学习 · 自然语言处理

Delta Activations: A Representation for Finetuned Large Language Models

本文提出了一种名为Delta Activations的方法,通过测量模型内部激活相对于基模型的差异,将微调模型表示为向量嵌入,以促进对微调语言模型的理解和组织。

更新于 2025-09-05。作者:Zhiqiu Xu、Amish Sethi、Mayur Naik、Ser-Nam Lim。

中文摘要

强大的开源大型语言模型(LLMs)的成功使得社区能够创建大量针对特定任务和领域的后训练模型。然而,由于元数据不一致和存储库无结构,导航和理解这些模型仍然具有挑战性。我们引入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.

解读

一句话总结

本文提出了一种名为Delta Activations的方法,通过测量模型内部激活相对于基模型的差异,将微调模型表示为向量嵌入,以促进对微调语言模型的理解和组织。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源