Learn Before
Formula

General Formula for Recurrent Memory Update

In the general formulation of recurrent memory update, Mem\mathrm{Mem} and Mempre\mathrm{Mem}_{\mathrm{pre}} represent the memory outputs at the current and previous steps, respectively. SkvS_{\mathrm{kv}} denotes a set of key-value pairs representing the model's recent states. The general relationship is expressed as: Mem=Update(Skv,Mempre)\mathrm{Mem} = \mathrm{Update}(S_{\mathrm{kv}}, \mathrm{Mem}_{\mathrm{pre}}). By selecting different configurations for the Update()\mathrm{Update}(\cdot) function and the set SkvS_{\mathrm{kv}}, various memory models can be developed.

Image 0

0

1

Updated 2026-04-22

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