Skip to main content
QUICK REVIEW

[Paper Review] Learning What to Remember: Long-term Episodic Memory Networks for Learning from Streaming Data

Hyunwoo Jung, Moonsu Han|arXiv (Cornell University)|Dec 11, 2018
Domain Adaptation and Few-Shot LearningComputer Science4 citations
TL;DR

This paper proposes Long-term Episodic Memory Networks (LEMN), a reinforcement learning-based memory management framework that learns to selectively retain important memory entries in streaming data by assessing both relative and historical importance. LEMN outperforms rule-based and baseline RL methods on path-finding, episodic QA, and long-form question answering tasks by dynamically managing memory to preserve long-term informative content.

ABSTRACT

Current generation of memory-augmented neural networks has limited scalability as they cannot efficiently process data that are too large to fit in the external memory storage. One example of this is lifelong learning scenario where the model receives unlimited length of data stream as an input which contains vast majority of uninformative entries. We tackle this problem by proposing a memory network fit for long-term lifelong learning scenario, which we refer to as Long-term Episodic Memory Networks (LEMN), that features a RNN-based retention agent that learns to replace less important memory entries based on the retention probability generated on each entry that is learned to identify data instances of generic importance relative to other memory entries, as well as its historical importance. Such learning of retention agent allows our long-term episodic memory network to retain memory entries of generic importance for a given task. We validate our model on a path-finding task as well as synthetic and real question answering tasks, on which our model achieves significant improvements over the memory augmented networks with rule-based memory scheduling as well as an RL-based baseline that does not consider relative or historical importance of the memory.

Motivation & Objective

  • Address the scalability challenge in memory-augmented networks when processing large, continuous data streams.
  • Overcome the limitation of fixed-capacity memory by learning to evict unimportant entries in lifelong learning scenarios.
  • Develop a retention mechanism that considers both relative importance among memory entries and their historical significance.
  • Enable efficient long-term memory management without prior knowledge of future tasks.
  • Improve performance on sequential and long-context reasoning tasks by preserving semantically critical information.

Proposed method

  • Introduce a retention agent based on a spatio-temporal RNN that computes retention probabilities for each memory entry.
  • Train the retention agent via reinforcement learning to maximize future task performance by deciding which entries to evict.
  • Use content-based addressing to read from and write to an external memory module with fixed size N.
  • Integrate the retention agent with a base network (e.g., BiDAF) to process sequential input and update memory selectively.
  • Compute retention scores based on both current relevance and historical importance, enabling long-term memory preservation.
  • Apply the model to streaming data by processing sequences step-by-step, updating memory only when necessary.

Experimental results

Research questions

  • RQ1Can a reinforcement learning agent effectively learn to manage long-term episodic memory in streaming data without prior task knowledge?
  • RQ2Does considering both relative and historical importance of memory entries improve retention performance compared to rule-based or non-contextual RL methods?
  • RQ3How does the proposed LEMN framework perform on long-context reasoning tasks such as question answering and path-finding?
  • RQ4To what extent does the retention mechanism preserve semantically critical information over extended sequences?
  • RQ5Can the model generalize across diverse tasks with varying memory requirements and data stream lengths?

Key findings

  • LEMN significantly outperforms FIFO (first-in, first-out) scheduling on all tasks, achieving 45.21% ExactMatch on the verified TriviaQA subset.
  • The ST-LEMN variant achieved 49.04% F1 score on the distant supervision set of TriviaQA, surpassing all baselines.
  • On the Large task in episodic QA, IM-LEMN reduced error rate from 32.40 (FIFO) to 9.00, demonstrating strong generalization.
  • The ST-LEMN model achieved 3.90 error rate on the Noisy task, outperforming the next best method by over 40%.
  • Visualization confirmed that LEMN retained key entities like 'Italy' in memory while discarding irrelevant sentences.
  • Ablation studies showed that incorporating historical importance improved performance, confirming the value of temporal context in retention decisions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.