任务矩阵:用于跨模型微调转移的线性映射
Task Matrices: Linear Maps for Cross-Model Finetuning Transfer
AI总结:
本文提出任务矩阵,通过线性变换提升跨模型微调转移性能,验证了预训练与微调架构间的线性编码存在,并展示了高效可推广的数据近似方法。
摘要:
可解释性研究结果表明,当模型受到上下文提示的偏置影响时,大型视觉和语言模型会学习隐式的线性编码。然而,类似线性表示在更一般的适应制度中是否存在尚未得到验证。在本工作中,我们提出了任务矩阵的概念,即从基础模型到微调嵌入状态的线性变换。我们证明,对于视觉和文本模型以及十个不同的数据集,基础模型加上任务矩阵可以取得超越线性探测的结果,有时甚至接近微调水平。我们的结果验证了预训练和微调架构之间存在跨层线性编码的存在。此外,我们还展示了一种基于数据的近似方法,这种近似方法既高效又可推广到多个领域。我们公开了我们的实现。
英文摘要:
Results in interpretability suggest that large vision and language models learn implicit linear encodings when models are biased by in-context prompting. However, the existence of similar linear representations in more general adaptation regimes has not yet been demonstrated. In this work, we develop the concept of a task matrix, a linear transformation from a base to finetuned embedding state. We demonstrate that for vision and text models and ten different datasets, a base model augmented with a task matrix achieves results surpassing linear probes, sometimes approaching finetuned levels. Our results validate the existence of cross-layer linear encodings between pretrained and finetuned architectures. Moreover, we show that a data-based approximation for such encodings is both efficient and generalizable to multiple domains. We make our implementation publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。