Bridging the Gap: Analyzing Methods to Improve Temporal Generalizability of Large Language Models

datacite.rightsrestricted
dc.contributor.advisorChen, Danqi
dc.contributor.authorAgarwal, Anubhav
dc.date.accessioned2023-07-28T14:14:56Z
dc.date.accessioned2026-09-29T21:54:47Z
dc.date.available2023-07-28T14:14:56Z
dc.date.available2026-09-29T21:54:47Z
dc.date.created2023-04-19
dc.date.issued2023-07-28
dc.description.abstractEspecially with the advent of publicly available, interactive Large Language Models like ChatGPT, the ability of massive pretrained networks to mimic, assist, or even replace human communication has become widely recognized. However, the fact that these representations encode information once, at training time, has been noted as a key issue for improving these models. The single instance of training means these models often struggle to represent text some time away from when the model was created, or to maintain an understanding of malleable factual information. With these issues in mind, we consider dynamic evaluation and k-nearest-neighbor language modeling as potential methods to improve temporal generalization, testing them with the same model on identical tasks in order to facilitate comparison. We then propose some novel model structures that apply these modifications in conjunction to further improve performance. We observe improvements to language-modeling perplexity in scientific and news datasets through all of our modifications. The continuous dynamic evaluation model can improve perplexity by more than 10% in a testing period four years from training time, reducing or even reversing the rate of temporal decay. We observe similar performance benefits in a k-Nearest-Neighbor Language model, as well as in our novel model formulations.en_US
dc.format.mimetypeapplication/pdf
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/dsp01k3569762b
dc.identifier.urihttps://theses-dissertations.princeton.edu/handle/88435/dsp01k3569762b
dc.language.isoenen_US
dc.titleBridging the Gap: Analyzing Methods to Improve Temporal Generalizability of Large Language Modelsen_US
dc.typePrinceton University Senior Theses
pu.contributor.authorid920228433
pu.date.classyear2023en_US
pu.departmentComputer Scienceen_US
pu.mudd.walkinNoen_US
pu.pdf.coverpageSeniorThesisCoverPage

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
AGARWAL-ANUBHAV-THESIS.pdf
Size:
59.45 MB
Format:
Adobe Portable Document Format
Download

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
LICENSE.txt
Size:
252 B
Format:
Plain Text
Description:
Download