Concept

Recurrent Update for Memory Caching

A fixed-size memory cache can be maintained through a recurrent update mechanism, as depicted by a recurrent network acting as a cache. At each time step i, the new key-value pair, denoted as S_kv, is combined with the memory state from the previous step, Mem_pre. An Update function processes these two inputs to compute the new, compressed memory state, Mem. This approach allows the model to summarize an arbitrarily long history of key-value pairs into a constant-size memory representation, such as a single key and value pair (Size = 1 x 2).

Image 0

0

1

Updated 2025-10-07

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences