Formula

Formula for FIFO Update of Compressive Memory

The update process for the compressive memory, CMem\mathrm{CMem}, operates as a First-In, First-Out (FIFO) queue. The function takes the newly compressed key-value pairs, CkvkC_{\mathrm{kv}}^{k}, appends them to the queue, and drops the oldest entries from the previous compressive memory state, CMempre\mathrm{CMem}_{\mathrm{pre}}. This produces the updated memory state according to the formula: CMem=FIFO(Ckvk,CMempre)\mathrm{CMem} = \mathrm{FIFO}(C_{\mathrm{kv}}^{k}, \mathrm{CMem}_{\mathrm{pre}})

Image 0

0

1

Updated 2026-04-23

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course