Concept

Moving Average of Keys and Values for Memory Component

A straightforward method for creating summary vectors for the memory component (Mem\mathrm{Mem}) is to compute the moving average of past keys and values. For instance, Mem\mathrm{Mem} can be constructed from the unweighted moving average of the last ncn_c key and value vectors, providing a simple yet effective way to summarize history.

Image 0

0

1

Updated 2026-05-02

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