We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Meta-Learning Fast Weight Language Models

Abstract: Dynamic evaluation of language models (LMs) adapts model parameters at test time using gradient information from previous tokens and substantially improves LM performance. However, it requires over 3x more compute than standard inference. We present Fast Weight Layers (FWLs), a neural component that provides the benefits of dynamic evaluation much more efficiently by expressing gradient updates as linear attention. A key improvement over dynamic evaluation is that FWLs can also be applied at training time so the model learns to make good use of gradient updates. FWLs can easily be added on top of existing transformer models, require relatively little extra compute or memory to run, and significantly improve language modeling perplexity.
Comments: EMNLP 2022 short paper
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2212.02475 [cs.CL]
  (or arXiv:2212.02475v1 [cs.CL] for this version)

Submission history

From: Kevin Clark [view email]
[v1] Mon, 5 Dec 2022 18:37:09 GMT (172kb,D)

Link back to: arXiv, form interface, contact.