A Theory of Retrieval with Incremental Memory: Causal Influence of Writes and Predictive Gains
Abstract
Incremental-memory predictors store information as they process inputs, and a write can affect later queries and writes. We ask how omitting one write changes expected prediction loss and how to evaluate the predictive gain of whole memory against a fixed reference predictor. We develop TRIM (Theory of Retrieval with Incremental Memory) for causal query--read--update--write systems. We decompose signed single-write influence exactly into direct-deletion, regeneration, and query-change contributions. Under suitable conditions, the direct-deletion contribution vanishes as memory grows, but the regeneration contribution can remain nonzero even as the selected-write weight vanishes. For a fixed omitted write, we give sufficient conditions for the regeneration contribution to vanish. We also bound approximation errors for whole-memory and regenerated-memory gains, even when queries depend on stored values.