Process-Tensor Tomography of SGD: Measuring Non-Markovian Memory via Back-Flow of Distinguishability
Vasileios Sevetlidis, George Pavlidis
TL;DR
This paper reframes SGD dynamics as a classical process-tensor and introduces a two-step A/B protocol to detect memory via back-flow of distinguishability, quantified by $\\Delta_{BF} = D_2 - D_1$ with $D \\in \\{TV, JS, Hell\\}$ on probe predictions. By implementing a causal break that resets optimizer buffers, the authors provide a falsifiable test: a positive back-flow implies observable memory that can be collapsed by breaking memory channels, thus falsifying the operational Markov condition at the observable level. They validate the approach across CIFAR-100 and Imagenette with multiple architectures, finding that momentum and data overlap amplify back-flow while resets reduce it, with sign flips indicating nontrivial order-sensitivity. The work yields a model-agnostic diagnostic for training memory, enabling principled comparisons of optimizers, curricula, and schedules and offering guidance for memory-aware curriculum design. Overall, the back-flow witness connects mechanism and measurement to quantify and potentially control non-Markovian effects in practical SGD training.
Abstract
This work proposes neural training as a \emph{process tensor}: a multi-time map that takes a sequence of controllable instruments (batch choices, augmentations, optimizer micro-steps) and returns an observable of the trained model. Building on this operational lens, we introduce a simple, model-agnostic witness of training memory based on \emph{back-flow of distinguishability}. In a controlled two-step protocol, we compare outcome distributions after one intervention versus two; the increase $Δ_{\mathrm{BF}} = D_2 - D_1>0$ (with $D\in\{\mathrm{TV}, \mathrm{JS}, \mathrm{H}\}$ measured on softmax predictions over a fixed probe set) certifies non-Markovianity. We observe consistent positive back-flow with tight bootstrap confidence intervals, amplification under higher momentum, larger batch overlap, and more micro-steps, and collapse under a \emph{causal break} (resetting optimizer state), directly attributing the effect to optimizer/data-state memory. The witness is robust across TV/JS/Hellinger, inexpensive to compute, and requires no architectural changes. We position this as a \emph{measurement} contribution: a principled diagnostic and empirical evidence that practical SGD deviates from the Markov idealization. An exploratory case study illustrates how the micro-level signal can inform curriculum orderings. "Data order matters" turns into a testable operator with confidence bounds, our framework offers a common stage to compare optimizers, curricula, and schedules through their induced training memory.
