mlsanityData to 7 Oct 2026

MemoryPrompt: A Light Wrapper to Improve Context Tracking in Pre-trained Language Models

arXiv 2402.15268 ↗First posted 23 Feb 2024cs.CL cs.AI cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer-based language models (LMs) track contextual information through large, hard-coded input windows. We introduce MemoryPrompt, a leaner approach in which the LM is complemented by a small auxiliary recurrent network that passes information to the LM by prefixing its regular input with a sequence of vectors, akin to soft prompts, without requiring LM finetuning. Tested on a task designed to probe a LM's ability to keep track of multiple fact updates, a MemoryPrompt-augmented LM outperforms much larger LMs that have access to the full input history. We also test MemoryPrompt on a long-distance dialogue dataset, where its performance is comparable to that of a model conditioned on the entire conversation history. In both experiments we also observe that, unlike full-finetuning approaches, MemoryPrompt does not suffer from catastrophic forgetting when adapted to new tasks, thus not disrupting the generalist capabilities of the underlying LM.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 15 of its 25 references that are in the map. First posted on arXiv 23 Feb 2024.

Builds on

15 of 25 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  3. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  8. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  9. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 361
  10. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  11. 2021Beyond Goldfish Memory: Long-Term Open-Domain Conversationcited by 266
  12. 2022Block-Recurrent Transformerscited by 107
3 more
  1. 2023Scaling Transformer to 1M tokens and beyond with RMTcited by 97
  2. 2023Neurons in Large Language Models: Dead, N-gram, Positionalcited by 88
  3. 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.