Learn Before
Formula

Formula for Neural Network Memory Update

When a memory component operates as a neural network, its update mechanism can be formulated as a general mathematical function: Mem=Update(Skv,Mempre)\mathrm{Mem} = \mathrm{Update}(S_{\mathrm{kv}}, \mathrm{Mem}_{\mathrm{pre}}). Here, Mem\mathrm{Mem} and Mempre\mathrm{Mem}_{\mathrm{pre}} denote the memory outputs at the current and prior steps, while SkvS_{\mathrm{kv}} is a set of key-value pairs representing the recent states of the model. This flexible formulation enables the creation of diverse memory models by altering the Update()\mathrm{Update}(\cdot) function and the contents of SkvS_{\mathrm{kv}}.

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