Time is Encoded in the Weights of Finetuned Language Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Nylund, Kai, Gururangan, Suchin, Smith, Noah A.
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929195489165312
author Nylund, Kai
Gururangan, Suchin
Smith, Noah A.
author_facet Nylund, Kai
Gururangan, Suchin
Smith, Noah A.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2312_13401
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Time is Encoded in the Weights of Finetuned Language Models
Nylund, Kai
Gururangan, Suchin
Smith, Noah A.
Computation and Language
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.
title Time is Encoded in the Weights of Finetuned Language Models
topic Computation and Language
url https://arxiv.org/abs/2312.13401