Short Answer

Constant Memory Size in Fixed-Window Attention

Consider the formula for constructing a memory component in a fixed-size window attention mechanism: Mem = (K_[i-n_c+1,i], V_[i-n_c+1,i]). Explain mathematically why the number of key-value pairs in Mem is always equal to the context window size, n_c, for any processing step i where i ≥ n_c.

0

1

Updated 2025-10-08

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science