arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.13401cs.CL
收藏

时间被编码在微调语言模型的权重中

Time is Encoded in the Weights of Finetuned Language Models

Paul G. Allen School of Computer Science & Engineering, University of Washington(华盛顿大学保罗·G·艾伦计算机科学与工程学院);Allen Institute for AI(艾伦人工智能研究所)

Kai Nylund, Suchin Gururangan, Noah A. Smith

AI总结:

本文提出时间向量工具,通过在特定时间数据上微调并减去原始权重来定制语言模型,实验证明该方法能提升对应时间段的性能,且可通过插值适应未来时间段。

摘要:

我们提出了时间向量,这是一种将语言模型定制到新时间段的简单工具。时间向量是通过在单一时间(例如某年或某月)的数据上微调语言模型,然后减去原始预训练模型的权重来创建的。该向量指定了权重空间中的一个方向,正如我们的实验所示,它提升了该时间段文本上的性能。针对相邻时间段特化的时间向量在流形中似乎位置更近。利用这一结构,我们在时间向量之间进行插值以生成新模型,这些模型在中间和未来时间段上表现更好,且无需任何额外训练。我们证明了我们的发现在不同任务、领域、模型规模和时间尺度上的一致性。我们的结果表明,时间被编码在微调模型的权重空间中。

英文摘要:

We present time vectors, a simple tool to customize language models to new time periods. Time vectors are created by finetuning a language model on data from a single time (e.g., a year or month), and then subtracting the weights of the original pretrained model. This vector specifies a direction in weight space that, as our experiments show, improves performance on text from that time period. Time vectors specialized to adjacent time periods appear to be positioned closer together in a manifold. Using this structure, we interpolate between time vectors to induce new models that perform better on intervening and future time periods, without any additional training. We demonstrate the consistency of our findings across different tasks, domains, model sizes, and time scales. Our results suggest that time is encoded in the weight space of finetuned models.

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

↑