© 2025 Subramaniyam (Sam) Pooni
All Rights Reserved
Proprietary & Confidential
Appendix G

EMA Scoring Algorithm

Mathematical foundation, α parameter selection, and comparison to LRU.

G.1 EMA Update Rule

scoret(p) = α × attentiont(p) + (1 - α) × scoret-1(p)

This creates a "memory" of attention importance that decays gradually.

G.2 Properties

G.3 α Selection

αHalf-Life (steps)Use Case
0.0513.5Very stable, long memory
0.16.6Recommended default
0.23.1Faster adaptation

G.4 EMA vs LRU

Result: +15% hit rate improvement over LRU