Reproduce “Lift Yourself Up: Retrieval-augmented Text Generation with Self Memory” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Xin Cheng, Di Luo, Xiuying Chen, Lemao Liu, Dongyan Zhao, Rui Yan

Selfmem is an iterative framework that enhances retrieval-augmented text generation by leveraging the model's own outputs as dynamically refined 'self-memory'. The system achieved state-of-the-art performance across machine translation, abstractive summarization, and dialogue generation tasks, also improving few-shot Large Language Model outputs.

Key insights

  • The text most closely resembling the inference-time data distribution is often the model's own high-quality output, making it a valuable source of memory.
  • Relying on model-free evaluation metrics for memory selection is crucial, as the generator's internal confidence might select candidates within its 'confidence region' that offer no new information gain.
  • An iterative feedback loop where a model's own improved generations are used to create better memory can lead to continuous self-improvement in text generation capabilities.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.