Manuscript Offprint
arXiv:2610.08624Early Memory Selection for Balanced Adam
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Alberto Fernández-Hernández
Universitat Politècnica de València
Valencia, Spain
Cristian Pérez-Corral
Universitat Politècnica de València
Valencia, Spain
Jose I. Mestre
Universitat Politècnica de València
Valencia, Spain
Manuel F. Dolz
Universitat Jaume I
Castelló de la Plana, Spain
Abstract
We propose a method for choosing the shared memory parameter in Adam from a short pilot training. The selected remains fixed during the subsequent full training. A local model of Adam's normalized direction balances sampling variability against the delay introduced by averaging past gradients. This balance gives a cubic memory rule, whose two coefficients are estimated from gradient probes at a few pilot checkpoints. The estimator uses the numerator and denominator jointly, preserving their covariance. With a 200-update pilot and sixteen probe gradients at each of four checkpoints, a seed-matched retrospective evaluation on eleven vision and language workloads reduces mean relative validation gap by 40.7% and worst-quarter mean gap by 44.3% against the grid representative of shared 0.95. The mean gap is also 32.3% lower than that of the best constant chosen across all eleven workloads.
1 INTRODUCTION
Adam's memory is a statistical timescale: it determines which past gradients still influence the current update (Kingma and Ba, 2015). A short memory responds quickly to changes and retains more sampling variability. A long memory averages that variability more effectively and follows a changing gradient with a delay. The useful timescale therefore depends on the dynamics of the task. A single fixed default makes
Enrique S. Quintana-Ortí
Universitat Politècnica de València
Valencia, Spain
a compromise across those dynamics; early measurement offers a way to choose the timescale for the workload at hand.
Recent language-model experiments show that setting the two parameters equal can retain strong training performance (Orvieto and Gower, 2025). This family is called balanced Adam: . It reduces tuning to one memory while preserving coordinate-wise normalization. A shared value around 0.95 is a useful empirical reference. The remaining choice still matters: one memory per training is different from one memory for every training. This raises a concrete question: can a short observation of gradient dynamics choose a useful fixed memory for each workload?
Adam normalizes an averaged gradient by an averaged squared gradient, so the errors of its two moments act jointly. We retain their covariance and analyze how averaging reduces fluctuations while delaying the response to a changing direction. A first-order local model separates these two effects and gives a memory rule in units . Grouped gradient probes and checkpoint differences estimate its coefficients. Completed fixed-memory trainings evaluate the resulting choices.
The contributions are:
-
A joint-moment tracking objective that separates retained noise from delay and yields a cubic memory law. Its sensitivity formula explains why useful calibration tolerates coefficient error.
-
An explicit early finite-probe rule and a finite-resolution lag interpretation, with a quantified population-model allowance for endpoint uncertainty.
-
An eleven-workload evaluation against every fixed grid memory, with matched training recipes, task-level calibration, dense timing sensitivity, and gradient-equivalent cost accounting.
Different fixed values serve different tasks well. Our selector uses gradients to choose a memory for each run. On the evaluated suite it reduces mean, maximum, and tail gap compared with every fixed grid value, including the best constant selected from all validation outcomes. Code and reproducible evaluation material are available at https://github.com/AlbertoFdezHdez/Adam_beta_rule_cubic.
Adam’s statistical structure and shared memories. Balles and Hennig (2018) analyze the interaction between sign, magnitude, and variance in Adam. Orvieto and Gower (2025) provide extensive empirical support for equal memory parameters and a statistical perspective on Adam. These results motivate the shared-memory family. A complementary budget-based rule relates its memory to a useful training horizon (Fernández-Hernández et al., 2026). The present rule obtains its selection signal from early normalized-direction variability and temporal change.
relationships and optimization guarantees. Ahn et al. (2024) interpret Adam through online learning of updates and follow-the-regularized-leader. Nguyen (2026) analyze both sides of , whose optimality depends on the adversary model. Their criterion relates the memories under online regret; ours chooses a shared memory from an observed gradient process under local tracking risk. Stochastic-differential-equation analyses explain scaling with batch size (Malladi et al., 2022), whereas we hold the training recipe fixed and measure its early dynamics.
Learning optimizer parameters. Chandra et al. (2022) differentiate through optimizers to learn their hyperparameters, including both Adam memories. MADA jointly learns memory and optimizer-interpolation coefficients through online hypergradient descent; its fixed-state variant reuses the optimizer learned at the end of another training (Ozkara et al., 2024). Our rule instead uses an early noise-lag measurement to choose one shared , fixed for full training.
Adaptive momentum and moment estimation. Topollai and Choromanska (2026) derive online momentum adaptation from a two-plane objective model. Their AdamW variant adapts the first-moment memory while keeping the second-moment memory fixed, with layerwise adaptation in language models. YellowFin estimates curvature and gradient statistics to tune SGD's momentum and learning rate (Zhang and Mitliagkas, 2019). Kalman-Adam estimates first and second moments using separate Bayesian filters (Ali and Bhatt, 2026). The present method retains Adam's exponential averages and calibrates their common timescale early, using fluctuations and change of their joint normalized target. Online memory adaptation and early fixed shared-memory selection provide complementary ways to use information from the training problem.
3 WHAT SHOULD THE MEMORY TRACK?
Choosing a memory starts with identifying what Adam’s numerator and denominator jointly estimate. This statistical reference gives a directly analyzable objective: the tracking error of the normalized update direction.
3.1 Adam and its population reference
Let be the parameters and an effective-batch gradient, including accumulation and the recipe's gradient processing. From zero initial moments Adam computes
(1)
The superscript means coordinatewise squaring. Square roots and division are coordinatewise, with outside the root. The gradient update is ; AdamW additionally applies decoupled weight decay (Loshchilov and Hutter, 2019).
At a fixed reference time, the expectation is over a fresh effective-batch gradient at the current parameters. Write , , and define
This normalized population direction includes gradient variability in its denominator. In one coordinate,
and give for small epsilon; a deterministic gradient of one gives . Thus the reference combines the gradient's sign with a magnitude determined by its mean and second moment. If clipping is used, is the mean clipped gradient. The reference describes what Adam's processed moments track.
3.2 The joint effect of moment errors
In one coordinate, first-order perturbation gives
An overestimated numerator increases the update, whereas an overestimated denominator decreases it. Their errors can therefore partly compensate. Because both moments use the same gradient samples, their covariance matters. The following diagonal matrices give the coordinatewise sensitivities of the normalized direction to each moment:
Differentiation assumes . Practical probes use a separately specified numerical floor.
4 A LOCAL NOISE-LAG BALANCE
The next question is how averaging affects a direction that moves steadily over a short window. The quantity to minimize is the expected squared difference between the first-order Adam direction and the current normalized population direction. This tracking risk separates smoothing and delay; it supplies a statistical objective for choosing memory, which is subsequently evaluated through training losses.
4.1 Explicit local assumptions
The assumptions describe a local approximation. A differentiable moment curve has a constant term and a linear term in its first-order expansion; these motivate affine means over the window. Holding the covariance fixed is the corresponding local approximation for noise. Independence across ages isolates the effect of temporal averaging. This last condition is an additional modeling assumption, since adaptive training can introduce temporal dependence. Dependence between numerator and denominator errors at the same age is retained throughout. Appendix B explains how deviations enter the approximation residual.
Assumption 1 (Local first-order moment model). Fix an update and a history of observations. Their ages are : age zero is the current observation, and age one is one update old. The current moment means and their changes per update are deterministic, with . The model's moment observations at age are and . The random vectors are centered deviations from these means. Their pairs are independent across ages and share one finite covariance; the two vectors in a pair may be dependent.
For example, says that the expected gradient in coordinate i increases by 0.01 per update under this model. The model describes fluctuations of both moments around their local means. Actual gradient observations and their squares impose additional joint structure; the stated covariance can retain it. The theorem is exact for the specified linearized model, and its use for nonlinear Adam is a local approximation.
Define the direction innovation and slope by
Here is the direction error caused by one noisy moment observation, and is the first-order change of the normalized direction in one update. Their size is summarized by
measures squared normalized-direction fluctuation per observation and includes the cross contribution . measures squared direction change per update. Random fluctuations accumulate through squared averaging weights; a systematic slope accumulates through the mean age of the observations.
For balanced memory , bias correction gives weights
The weights sum to one. Define their mean age and squared-weight sum . The first measures delay in updates; the second measures the fraction of independent observation noise retained by the average. For an ordinary average of N observations, this squared-weight sum is .
Theorem 1 (Finite-history balanced tracking risk). Under Assumption 1, the first-order error is
and its mean squared norm equals
For ,
At , and .
Proof. The averaged first-moment deviation is ; the second-moment deviation has the same form with . Applying the linear sensitivities gives the displayed error. The innovation sum is centered, so expanding the squared error leaves its variance plus the squared lag . For different ages, independence and centering give . Thus the variance is , proving the risk identity. The weight formulas follow from the geometric sums worked out in Appendix A.
Equation (7) is the mechanism: longer memory suppresses noise and increases lag. Scalar weight formulas make this risk directly computable. For any fixed linear map P, the theorem also holds in its measurement geometry: replace , by , in (5).
4.2 From tracking risk to a memory value
In memory units , 0.9 corresponds to , and 0.99 to . First consider a history long relative to the memory, so that is small. Then (7) approaches
For positive coefficients its unique minimizer solves
The derivative vanishes there, and the left-hand side increases strictly from zero to infinity on . This equation is readily solved in one dimension. For a closed-form approximation, when H is large relative to one replace by and by H. This second simplification gives
Indeed, vanishes when . More noise favors a longer average; faster direction change favors a shorter one. For and this gives , hence . These values illustrate the local model. Appendix A gives the constrained and zero-coefficient cases.
4.3 Sensitivity to coefficient errors
Finite measurements introduce coefficient uncertainty. The next result quantifies its effect on the continuous memory and the resulting model risk.
Proposition 1 (Continuous memory sensitivity). For the interior leading model, suppose positive estimates satisfy and . Their minimizer satisfies
Writing , its relative model risk is
Proof. Dividing the two cubic formulas and taking logs gives . The triangle inequality gives the bound. To compare risks, use the optimality identity . Substituting makes the noise term and the lag term . Their sum divided by proves (12).
The numbers , describe multiplicative coefficient accuracy on a log scale; a factor-two error has magnitude log 2. The cube root attenuates such errors. More importantly, excess relative risk equals : near the optimum, risk changes quadratically with memory error. Doubling with accurate changes memory by and increases leading risk by about 5.8%. Thus useful memory calibration can tolerate appreciable coefficient error. The practical rule additionally has sampling and grid-rounding effects.
5 ESTIMATING THE COEFFICIENTS FROM A PILOT
The memory rule in (11) requires two coefficients: the variability of the normalized direction at fixed parameters, and its change as training proceeds. We estimate the first by comparing gradient groups at one checkpoint and the second by comparing checkpoints. This section specifies the measurements and derives the scaling of both estimates; Section 6 then turns them into a .
5.1 Measurement design and moment estimates
Let be an integer pilot length in optimizer updates and its shared memory. Choose distinct integer lags , with , and measure at and . Write for the longest lag. At each checkpoint , freeze the parameters and collect fresh gradients . Each uses the same effective batch and gradient processing as a training update, including accumulation and clipping when prescribed. The pilot length, pilot , lags, and probe allocation are measurement hyperparameters.
The sample means estimate the two population moments together:
Apply the same normalization as in (2):
The optimizer’s makes this defined even when a sample second moment is zero. Estimating both moments from the same gradients preserves their joint fluctuations.
Split the gradients into equal groups, where divides . For group , compute its moment means and normalized direction by the same formulas restricted to its gradients. A fixed linear map specifies the measurement geometry; it may be the identity or a storage-saving projection. Define the pooled vector and group vectors . The same is used at every checkpoint. Theorem 1 applies in this geometry with noise coefficient and slope coefficient . All norms below refer to these measured vectors.
5.2 Estimating variability at fixed parameters
At the final pilot checkpoint, use
The multiplier corrects for averaging inside each group. In the local linearized model, a group averages independent direction innovations, so its variance trace is . Centering independent groups around their mean retains the fraction of this variance. The expected mean squared group deviation is therefore ; multiplying by recovers . This is the same degrees-of-freedom correction as in sample variance, together with the correction for group size.
Nonlinear normalization adds a second contribution: normalizing pooled moments can differ from averaging separately normalized groups. The following identity quantifies that contribution without an approximation.
Proposition 2 (Dispersion decomposition). For group vectors , their mean , and any pooled vector ,
(15)
Proof. Write and expand the square. The cross terms average to zero because . The remaining terms give (15).
Thus (14) includes both group scatter and pooling displacement. In a linear observation model the displacement vanishes and the estimate is unbiased for . In the nonlinear implementation the identity makes the pooling displacement measurable. Appendix E reports that contribution for every workload.
5.3 Estimating change between checkpoints
For each observed lag n, measure the squared secant
The division by puts different time separations on a common per-update scale. Consider the local observation model , where is the population direction at checkpoint and is its measurement error. Assume an affine projected direction, , and centered independent errors with a common finite expected squared norm. Define , the combined error energy of two endpoints. Then
Indeed, the secant is . Its cross term has zero expectation, and the two endpoint error energies add. A persistent slope gives the intercept ; endpoint uncertainty gives the inverse-square term.
This relation motivates a two-coefficient least-squares fit:
Distinct lags give a full-rank design. Under (16), the unconstrained fit is unbiased for : write the response as the design times these coefficients plus a mean-zero residual, then apply the linear least-squares map. This argument permits correlated responses, as occurs when secants share the final checkpoint. Least squares estimates the mean lag relation; its use here rests on that relation rather than a Gaussian likelihood assumption.
Enforce the two components' nonnegative interpretation by setting and . The implemented estimate is the fitted change at the longest observed lag:
It estimates change at resolution L, combining persistent change with endpoint uncertainty. The subscript “emp” distinguishes this finite-probe quantity from the population slope . The clipping is a specified post-processing step; the unbiasedness calculation above concerns the unconstrained fit. The next section explains why the rule retains both components.
6 FROM MEASURED CHANGE TO A FIXED MEMORY
With finitely many probes, a small population slope and uncertain endpoints can produce comparable measured changes. We use the total change observable at lag L in the memory objective. The first result identifies the resulting allowance relative to the ideal local tracking risk; the rule then follows by the same minimization as in Section 4.
6.1 A tracking objective at measurement resolution
Under the observation model of Section 5, define . This is an expected squared measured slope, rather than a new population derivative. Replacing by charges delay at the resolution of the pilot measurements.
Proposition 3 (Finite-resolution lag allowance). Under Assumption 1 and the centered, independent, equal-variance affine endpoint model in (16), fix . For each and history length , define
This measurement-resolution objective satisfies
Proof. The endpoint calculation gives . Substituting this into the definition of gives . The first two terms are the tracking risk in Theorem 1, measured through .
The additional term is the endpoint uncertainty multiplied by squared delay. Longer lags reduce it as ; more accurate endpoint measurements reduce . The identity concerns expected coefficients under the stated local model. Applying the stationary and large-memory approximations yields . The measured coefficients from Section 5 supply a plug-in version of this objective. Appendix B.2 quantifies the effect of finite coefficient accuracy on its memory decision.
6.2 Selecting and specifying the algorithm
Given the two estimates, minimize
For positive coefficients its unconstrained minimizer is
The cubic exponent and factor four come from differentiating (20), exactly as in (11). The measurement design determines the coefficients; minimization determines the memory.
Choose a finite nonempty grid , with endpoints and . Restrict memory to , convert it using , and round to the nearest grid value in distance, breaking ties toward the smaller . This is the discretization used in the evaluation. If an estimated coefficient is zero, use the minimizing boundary specified in Appendix C.
Table 1 gives the general procedure. Its measurement hyperparameters are , , the lags, m, G, and P; the candidate range is set by G. Section 7 specifies one common instance for all workloads and evaluates the resulting fixed- trainings.
7 EMPIRICAL EVALUATION
7.1 Workloads and comparison protocol
We evaluate early memory selection on eleven vision and language workloads: two Llama-style causal models, two GPT-2-style causal models, two ResNets, two ViTs, Swin-T, EfficientNet-B0, and T5-small. Tasks are image classification, causal language modeling, and span-corruption denoising. Table 2 reports each selected and its gap to the workload-specific grid reference. Appendix D specifies architectures, data, optimizer settings, schedules, and validation.
Table 1: Early selection of a fixed shared memory. Measurements are made during the pilot; the full training uses the selected throughout.
| 1 | Run pilot updates with shared . At and , collect probe gradients with parameters fixed. |
|---|---|
| 2 | Compute pooled and group moment estimates, normalize them using (13), and store their images under . |
| 3 | Estimate variability using (14); fit (17) and compute change using (18). |
| 4 | Apply (21), restrict memory to the candidate range, convert to , and round to . |
| 5 | Restart from the pilot's initialization and use this fixed shared with the prescribed full-training recipe. |
The common measurement design is , , , , and lags , so . This gives checkpoints 100, 150, 180, and 200. The fixed map is a 1,024-coordinate signed-bucket projection with tensor-size balancing; Appendix C defines it exactly. Epsilon is , as in the training optimizer. The four-group allocation, decision time, and measurement spacing are examined in Appendix E.
The shared-memory grid is
It is approximately logarithmic in memory units. Shared 0.94377 is the grid representative nearest the empirical reference 0.95; 0.96838 is the best benchmark-wide constant by mean gap after examining all eleven fixed values. These serve distinct roles: a near-0.95 reference and a stronger hindsight comparator. Table 3 also includes 0.9, and Appendix E.3 reports the complete grid. For each workload, candidates use the same prescribed learning-rate recipe, and the selector chooses their shared .
For each workload, the pilot and every grid candidate start from the same initialization, generated with seed 1 (the same pretrained checkpoint for T5). This pairing holds the initial weights fixed when comparing memories. Let be workload 's smallest recorded validation loss, and its finite-grid reference. Define
Early gradient measurements determine ; candidate validation losses then evaluate that decision. The finite-grid reference gives the evaluation scale. All workloads use the same 16-probe budget, checkpoints, objective, and rounding. Reported metrics are equal-workload mean, maximum, and , the average of the worst gaps. These are descriptive statistics from a retrospective fixed- evaluation. Appendix E.13 reports common-seed comparisons (Table 17); Appendix E.8 analyzes decision timing, Appendix E.9 measurement spacing, and Appendix E.12 validation summaries.
7.2 Improving the fixed-memory compromise
The goal is a useful task-specific memory: reduce large calibration errors while keeping well-served tasks close to their grid reference. Table 2 shows the oracle , the selected , and the resulting gap for every task. The rule selects 0.9 for the four causal language-model tasks, 0.96838 for EfficientNet, both ResNets, and T5, and 0.94377 for Swin and both ViTs. Thus one common calculation produces different memory horizons from different measured dynamics.
Table 3 makes the fixed-memory compromise visible. With 0.9 the largest gap occurs on ViT/TinyImageNet; with 0.94377 it occurs on ResNet/Food; with 0.96838 it occurs on Swin/Caltech. Changing the constant changes which task carries the largest calibration cost. The measured selector reduces mean gap by against the near-0.95 reference and by against the best universal constant. Its maximum gap is below the smallest maximum attained by any fixed grid memory, and its CVaR is also smaller than every fixed value. Workload-specific calibration therefore improves both the average compromise and its largest residual error on this suite.
The tasks contributing the gains change with the comparator, as expected when correcting a universal compromise. Against 0.94377, ResNet losses improve by on Food-101 and on ImageNet100, while Swin and both ViTs retain the reference configuration. Against 0.96838, the ResNet choices coincide and the gains move to Swin and ViT/CIFAR-100, whose losses improve by and . The four causal tasks have gaps below . The result is useful calibration across tasks rather than another universal constant. Appendix E.4 provides every signed comparison, including the smaller increases offset by these corrections.
7.3 Stability of calibration
We examine coefficient sensitivity, grid decisions, and validation gaps separately. Proposition 1 quantifies coefficient sensitivity under the local score. A perturbation of each observed variability-to-change ra-
Table 2: Early memory choices and their distance to the workload-specific grid reference. Pilot and candidate trainings use the same initialization (seed 1). Oracle minimizes the smallest recorded validation loss over the eleven grid candidates and is used only for evaluation. The selector uses early gradient measurements. Gaps are percentages.
| Network | Dataset | Oracle | Selected | Relative gap (%) |
|---|---|---|---|---|
| EfficientNet-B0 | Cars | 0.82217 | 0.96838 | 1.0124 |
| Llama60M | C4 | 0.94377 | 0.90000 | 0.2582 |
| Llama60M | SlimPajama | 0.94377 | 0.90000 | 0.1175 |
| NanoGPT | OpenWebText | 0.94377 | 0.90000 | 0.1157 |
| NanoGPT | WikiText-103 | 0.94377 | 0.90000 | 0.1613 |
| ResNet50 | Food-101 | 0.99684 | 0.96838 | 1.0613 |
| ResNet50 | ImageNet100 | 0.96838 | 0.96838 | 0.0000 |
| Swin-T | Caltech-256 | 0.94377 | 0.94377 | 0.0000 |
| T5-small | BookCorpus | 0.98222 | 0.96838 | 0.0039 |
| ViT-B/16 | CIFAR-100 | 0.94377 | 0.94377 | 0.0000 |
| ViT-B/16 | TinyImageNet | 0.99000 | 0.94377 | 1.3339 |
Table 3: Workload-specific calibration versus universal fixed memories. Gaps are percentages. Best fixed minimizes mean gap over all eleven fixed grid choices using their validation outcomes. Lower is better.
| Mean | Maximum | ||
|---|---|---|---|
| Fixed 0.90000 | 1.4292 | 3.8770 | 3.3543 |
| Fixed 0.94377 | 0.6236 | 2.4853 | 2.0409 |
| Best fixed 0.96838 | 0.5461 | 2.1862 | 1.4304 |
| Tracking rule | 0.3695 | 1.3339 | 1.1359 |
tio preserves every selected . The stationary root, leading-grid score, stationary-grid score, and exact finite-history grid score at also recover the same eleven choices (Appendix E).
Across 351 decision updates from 150 to 500 on the same pilots, mean gap improves over 0.94377 at 339 updates (96.6%) and CVaR improves at all 351. Mean gap improves over the best global fixed value 0.96838 at 288 updates (82.1%). Appendix E.8 gives the dense audit. Using the final loss or the mean of the last three losses retains mean-gap reductions of 20.5% and 11.0% against their respective best fixed memories (Appendix E.12). These are sensitivity checks under matched initialization; Appendix E.13 separately examines reuse across initializations.
7.4 Cost and required information
A 200-update pilot supplies four measured checkpoints, requiring 64 additional effective-batch gradients. Moment aggregation and fixed projection cost operations and additional storage for a fixed probe budget. Each checkpoint stores one pooled and four group directions of 1,024 coordinates; the scalar fit and memory conversion have constant cost.
After restarting, a full training of updates has gradient-equivalent surplus . Our design gives , or for . This counts one probe as one training gradient evaluation; loading, transfers, sketches, and restarting add wall-clock costs. Appendix C describes the dense measurement record and compact collection.
8 DISCUSSION AND CONCLUSION
Early gradient measurements choose one shared for full training. A joint-moment model explains its noise-lag objective; grouped probes and a temporal fit make the coefficients measurable. On the matched benchmark, the rule reduces mean, maximum, and tail gap compared with every fixed grid memory. Different tasks supply the gains against different constants, showing how measured memory selection improves the compromise made by a universal default.
ACKNOWLEDGEMENTS
This research was funded by the projects PID2023-146569NB-C21 and PID2023-146569NB-C22 supported by MICIU/AEI/10.13039/501100011033 and ERDF/UE. Alberto Fernández-Hernández was supported by the predoctoral grant PREP2023-001826 supported by MICIU/AEI/10.13039/501100011033 and ESF+. Cristian Pérez-Corral received support from the Conselleria de Educación, Cultura, Universidades y Empleo (reference CIACIF/2024/412) through the European Social Fund Plus 2021–2027 (FSE+) program of the Comunitat Valenciana.
Jose I. Mestre was supported by the predoctoral grant ACIF/2021/281 of the Generalitat Valenciana. Manuel F. Dolz was supported by grant CNS2025-165098 funded by MICIU/AEI/10.13039/501100011033 and by the Plan Gen-T grant CIDEXG/2022/013 of the Generalitat Valenciana.
AI USE STATEMENT
The authors take full responsibility for the scientific content and final manuscript, including AI-assisted material. Generative AI supported theoretical development, data analysis, literature search, writing, and internal review.
References
Ahn, K., Zhang, Z., Kook, Y., and Dai, Y. (2024). Understanding Adam optimizer via online learning of updates: Adam is FTRL in disguise. In International Conference on Machine Learning.
Ali, M. and Bhatt, R. (2026). Kalman-Adam: Optimal bayesian moment estimation for memory-efficient and generalizable deep learning. Knowledge-Based Systems, 342:115907.
Balles, L. and Hennig, P. (2018). Dissecting adam: The sign, magnitude and variance of stochastic gradients. In International Conference on Machine Learning.
Bossard, L., Guillaumin, M., and Van Gool, L. (2014). Food-101: Mining discriminative components with random forests. In European Conference on Computer Vision.
Chandra, K., Xie, A., Ragan-Kelley, J., and Meijer, E. (2022). Gradient descent: The ultimate optimizer. In Advances in Neural Information Processing Systems, volume 35.
Deng, J., Dong, W., Socher, R., Li, L.-J., Li, K., and Fei-Fei, L. (2009). Imagenet: A large-scale hierarchical image database. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., and Houlsby, N. (2021). An image is worth words: Transformers for image recognition at scale. In International Conference on Learning Representations.
Fernández-Hernández, A., Pérez-Corral, C., Mestre, J. I., Dolz, M. F., and Quintana-Ortí, E. S. (2026). Refresh-scaling the memory of balanced Adam. arXiv:2605.10119.
Gokaslan, A. and Cohen, V. (2019). Openwebtext corpus. Open-source reproduction of the WebText corpus.
Griffin, G., Holub, A., and Perona, P. (2007). Caltech-256 object category dataset. Technical report, California Institute of Technology.
He, K., Zhang, X., Ren, S., and Sun, J. (2016). Deep residual learning for image recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.
Kingma, D. P. and Ba, J. (2015). Adam: A method for stochastic optimization. In International Conference on Learning Representations.
Krause, J., Stark, M., Deng, J., and Fei-Fei, L. (2013). Collecting a large-scale dataset of fine-grained cars. In ICCV Workshop on Fine-Grained Visual Categorization.
Krizhevsky, A. (2009). Learning multiple layers of features from tiny images. Technical report, University of Toronto.
Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., Zhang, Z., Lin, S., and Guo, B. (2021). Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF International Conference on Computer Vision.
Loshchilov, I. and Hutter, F. (2019). Decoupled weight decay regularization. In International Conference on Learning Representations.
Malladi, S., Lyu, K., Panigrahi, A., and Arora, S. (2022). On the sdes and scaling rules for adaptive gradient algorithms. In Advances in Neural Information Processing Systems.
Merity, S., Xiong, C., Bradbury, J., and Socher, R. (2017). Pointer sentinel mixture models. In International Conference on Learning Representations.
Nguyen, Q. M. (2026). How to set in Adam: An online learning perspective. In Algorithmic Learning Theory, volume 313, pages 1–16. PMLR.
Orvieto, A. and Gower, R. M. (2025). In search of adam's secret sauce. In Advances in Neural Information Processing Systems.
Ozkara, K., Karakus, C., Raman, P., Hong, M., Sabach, S., Kveton, B., and Cevher, V. (2024). MADA: Meta-adaptive optimizers through hyper-gradient descent. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pages 38983–39008. PMLR.
Raffel, C., Shazeer, N., Roberts, A., Lee, K., Narang, S., Matena, M., Zhou, Y., Li, W., and Liu, P. J. (2020). Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21(140):1–67.
Soboleva, D., Al-Khateeb, F., Myers, R., Steeves, J., Hestness, J., and Dey, N. (2023). Slimpajama: A 627b token cleaned and deduplicated version of red-pajama. Dataset release.
Tan, M. and Le, Q. V. (2019). Efficientnet: Rethinking model scaling for convolutional neural networks. In International Conference on Machine Learning.
Topollai, K. and Choromanska, A. E. (2026). Adaptive memory momentum via a model-based framework for deep learning optimization. In Artificial Intelligence and Statistics, volume 300, pages 4060–4068. PMLR.
Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., Azhar, F., Rodriguez, A., Joulin, A., Grave, E., and Lample, G. (2023). Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971.
Zhang, J. and Mitliagkas, I. (2019). YellowFin and the art of momentum tuning. In Conference on Machine Learning and Systems.
Zhu, Y., Kiros, R., Zemel, R., Salakhutdinov, R., Urtasun, R., Torralba, A., and Fidler, S. (2015). Aligning books and movies: Towards story-like visual explanations by watching movies and reading books. In Proceedings of the IEEE International Conference on Computer Vision.
REPRODUCIBILITY CHECKLIST
- For all models and algorithms presented, check if you include:
(a) A clear description of the mathematical setting, assumptions, algorithm, and/or model. Yes: Sections 3–6 and Appendix D.
(b) An analysis of the properties and complexity (time, space, sample size) of any algorithm. Yes: Section 7.4.
(c) (Optional) Anonymized source code, with specification of all dependencies, including external libraries. Yes.
- For any theoretical claim, check if you include:
(a) Statements of the full set of assumptions of all theoretical results. Yes: the local assumption and conditions accompanying results.
(b) Complete proofs of all theoretical results.
Yes: the main text and Appendices A–B.
(c) Clear explanations of any assumptions. Yes: alongside the derivations and approximation scope.
- For all figures and tables that present empirical results, check if you include:
(a) The code, data, and instructions needed to reproduce the main experimental results (either in the supplemental material or as a URL). Yes for the selection evaluation. Appendices C–D specify the measurement procedures, training recipes, and evaluation calculations.
(b) All the training details (e.g., data splits, hyperparameters, how they were chosen). Yes for the documented experimental protocol: Appendix D specifies architectures, activations, optimizer settings, batches, schedules, splits, seed matching, and evaluation. It separately identifies archive-specific corpus manifests and environment revisions needed for identical raw-stream replay.
(c) A clear definition of the specific measure or statistics and error bars (e.g., with respect to the random seed after running experiments multiple times). Yes: descriptive cross-workload metrics, seed matching, and common-seed training outcomes are specified.
(d) A description of the computing infrastructure used. (e.g., type of GPUs, internal cluster, or cloud provider). Yes: a cluster with eight NVIDIA A100-SXM4 80 GB GPUs; CUDA and pilot bfloat16 execution are described in Appendix D.
- If you are using existing assets (e.g., code, data, models) or curating/releasing new assets, check if you include:
(a) Citations of the creator If your work uses existing assets. Yes: model and dataset sources are cited.
(b) The license information of the assets, if applicable. Yes: Appendix D.8 records software/checkpoint licenses and dataset-provider access sources, identifying the documented reuse provenance.
(c) New assets either in the supplemental material or as a URL, if applicable. Yes: measured sketches and validation-loss summaries.
(d) Information about consent from data providers/curators. N/A: the study uses existing benchmark assets under their providers' access terms.
(e) Discussion of sensible content if applicable, e.g., personally identifiable information or offensive content. Yes: Appendix D discusses inherited corpus content and the scope of the supplied data.
- If you used crowdsourcing or conducted research with human subjects, check if you include:
(a) The full text of instructions given to participants and screenshots. N/A: existing benchmark evaluation.
(b) Descriptions of potential participant risks, with links to Institutional Review Board (IRB) approvals if applicable. N/A: existing benchmark evaluation.
(c) The estimated hourly wage paid to participants and the total amount spent on participant compensation. N/A: existing benchmark evaluation.
Early Memory Selection for Balanced Adam: Supplementary materials
A DETAILED DERIVATIONS
This appendix derives the averaging formulas step by step. Each calculation concerns the local model stated in the main text and expresses the selection mechanism through explicit statistical quantities.
A.1 Obtaining the balanced first-order error
The first derivation shows why shared weights let the two moment channels become one direction innovation and one delay term. Bias correction normalizes the exponential weights to sum to one. The first-moment average in Assumption 1 differs from its current mean by
The second-moment average similarly differs by . Applying (4) gives
This is exact for the first-order model. The innovation sum is centered; independence across ages yields variance . Its squared mean is , proving (7). The assumptions pair independent ages with dependent moment channels at each age.
A.2 Finite-history weight formulas
The retained noise and the delay depend on two sums of weights. Computing them explicitly makes the finite-history risk a scalar function of and history length. For , geometric summation gives
Moreover, . Multiplication by the weight normalizer yields . At zero only the current observation has weight. At , and for every . Thus the first Adam update is independent of both memories with zero initial moments and standard bias correction.
A.3 Stationary and leading minimizers
There are two simplifications: removing finite-history correction when is small, then expanding for large . This subsection derives each separately and states the boundary cases. For fixed , , so and . For positive coefficients,
The unique minimum solves (10). Replacing by and by gives the large-memory leading expression, whose stationary point is . If that leading minimum is below one, its constrained minimum is at one. If , longer memory reduces stationary-model risk; if , is optimal. If both are zero, every memory has zero model risk.
A.4 Sensitivity
Comparing an estimated memory with the population-model minimizer shows how coefficient errors propagate through the cube root. The logarithmic ratio of memory estimates is
The triangle inequality proves the bound. At the optimum the variance term is twice the lag term, so division of risks gives . With this is approximately 1.0583. For the worked coefficients 0.18 and , and . The memory value follows directly from the statistical coefficients.
A.5 The two-memory expression
The two-memory expression explains why sharing weights gives a particularly simple selection problem: the two moment channels combine into one innovation and one lag coefficient. Retain weights , . Let , , and . Their linearized direction error is . Under the same assumptions,
Centering removes lag-innovation cross terms; independence removes cross-age terms; expansion retains same-age covariance. Equal memories recover (7), combining the channels into two scalar coefficients. This reduction provides an analytical basis for selecting a memory from the shared-memory family.
B SCOPE AND APPROXIMATION
The tracking identity is exact under its first-order model. This section explains the additional quantities required to connect that identity to nonlinear updates and a smooth loss.
B.1 Residual terms
The Taylor approximation and violations of the local assumptions can be collected into a direction residual. Its size controls how much the model's risk can differ from the actual direction-error risk. Write the actual direction error as , where is the theorem's linearized error and is their difference. Let be any nonnegative bound on its root-mean-square size: . Expanding the actual squared norm gives
The absolute inner product is bounded by the product of root-mean-square norms, by Cauchy–Schwarz. Therefore
The residual represents nonlinear normalization and deviations from the local statistical model. The inequality quantifies how a stated residual bound transfers the model risk to the actual direction-error risk. Applying it along an adaptive trajectory requires a bound on the residual at the corresponding updates. The workload measurements audit the practical proxies and selected configurations.
B.2 Comparing memories at finite measurement resolution
Proposition 3 quantifies the allowance introduced by estimating a slope from noisy endpoints. This subsection measures its effect on the memory decision under the same local model. Fix a finite candidate set and the update . Define , and let minimize and minimize on . The coefficients in both functions are the population and expected-measurement coefficients specified in the proposition. Then
To prove this, start with and substitute (19) on both sides. Rearranging gives the middle inequality; optimality of gives the lower bound. Since mean ages are nonnegative, discarding the subtracted age term gives the last bound. The result compares two memory decisions through their local tracking risk and makes the cost of measurement resolution explicit.
Finite coefficient accuracy can be incorporated in the same comparison. Suppose a measured score satisfies simultaneously for every , and let minimize this measured score. Inserting the two uniform error bounds into yields . Hence
Here is an assumed uniform coefficient-score accuracy, and the bound is conditional on it. For example, bounds and give . For a cubic-and-rounded candidate , define its measured optimization discrepancy as . The same argument gives the bound : insert this discrepancy before applying the two uniform error bounds. Thus coefficient accuracy and optimization accuracy have separate roles. The exact finite-history audit finds for all eleven observed choices at . Timing and decision-margin audits describe their additional empirical sensitivity.
B.3 A local connection to the loss
Tracking error matters because it perturbs a reference update. The following one-step inequality separates a systematic directional shift from the curvature cost of fluctuations. If has an -Lipschitz gradient, are fixed, and has finite second moment, the smoothness inequality at gives
The term involving measures a systematic shift from the reference direction; the term involving is the curvature penalty. This one-step inequality connects direction-error moments to the loss under the stated smoothness assumption. Its parameter-space norm makes a norm-transfer bound necessary when the error is measured through a sketch. The empirical comparisons evaluate the selected configurations through their full-training validation losses.
B.4 Numerical checks of the identities
These checks test the algebra and the specified innovation model, independently of the saved neural-network outcomes. With NumPy seed 20261005, 1,000 random-vector cases verify (15) with maximum absolute residual , and 1,000 positive-coefficient cases verify (12) with residual . An affine-model check uses 30,000 independent histories of length 128, 0.95, innovation standard deviation 0.3, and slope 0.002:
Its measured mean squared error is 0.00373524, versus exact 0.00373090; the Monte Carlo standard error is . These checks test the statistical formulas, separately from network training.
C MEASUREMENT REPRODUCIBILITY
To reproduce a selection, one needs four direction measurements and the fixed geometry used to compare them. The following specification covers gradient processing, state preservation, projection, and scalar calculation in that order.
C.1 Gradient samples and probe state
The pilot seed is 1 and shared 0.95. Models remain in training mode during probes, including dropout and augmentation. For accumulation count a, each effective-batch gradient averages a physical-batch losses. Norm clipping follows accumulation. Coupled Adam decay is added after clipping; AdamW's decoupled decay belongs to the parameter update. Sixteen fresh effective batches are drawn per required checkpoint with parameters held fixed. Partition their ordered samples into four groups of four; each group computes its own first and second moments before normalization. The pooled direction uses all sixteen samples. Thus the dispersion calculation compares four group directions, each formed from four samples, with one pooled direction.
Python, NumPy, CPU/CUDA random states, module training flags, and mutable buffers are restored after probing, preserving the pilot's training state. The dedicated probe iterator and generator advance through the sampled examples. Gradients are cleared afterward. Dense archives contain checkpoints through update 500 and additional probe budgets; the rule replays checkpoints 100, 150, 180, and 200 with sixteen samples each. Matching the original probe examples in a sparse collection requires reproducing the dense stream's advancement. The supplied measured sketches provide exact reconstruction of the reported decisions. The 64-gradient operation count describes a prospective compact four-checkpoint deployment; the experiments reconstruct its decision from the dense archive's observations.
Pilot vision loaders use zero worker processes and a separate probe generator seeded by training seed plus 10000019. GPT pilot training and probe generators use seed plus 101 and seed plus 10000101, respectively. Llama's training shuffle uses seed 42 and the probe shuffle uses seed plus 10000003.
C.2 The exact fixed sketch
The sketch makes measurements storable while giving each parameter tensor comparable weight. It defines a tensor-balanced measurement norm. For example, multiplying one tensor's dimension by four reduces each of its coordinate weights by two. The same fixed linear map applies to the theorem's innovations and slope, giving the tracking identity in this measurement geometry. Transferring a sketch-space error bound to the original parameter-space norm requires an accompanying norm-transfer bound. Use dimension 1,024 and seed 12,345. For trainable tensor with entries, assign coordinate to bucket and sign . The projection is
To obtain each tensor's bucket/sign generator seed, join the decimal projection seed, parameter name, and suffix idx or sgn with |. Hash its UTF-8 bytes with BLAKE2b, eight-byte digest; interpret little-endian unsigned and retain the low 31 bits. Seed independent Torch CPU generators for bucket and sign draws. Buckets are uniform integers 0–1023; signs are generated by uniform integers 0 or 1 mapped to -1 or +1. Flatten tensors and accumulate in float64. Names are the model's named trainable parameters. Global sketches sum tensor sketches and supply the selection inputs. The archive also contains layerwise 32-coordinate diagnostic sketches.
C.3 Statistical basis of the coefficient estimates
The main estimators use two standard operations: variance estimation from independent groups and linear regression on the lag responses. This subsection supplies the calculations and states precisely where their unbiasedness applies.
Grouped variability. At a fixed checkpoint, let be independent, centered linearized direction innovations with . Each of disjoint groups contains observations. Its innovation average is , and their common mean is . Independence and centering give
The identity therefore yields
In the linearized model, subtracting the common population direction from pooled and group estimates leaves these innovation averages. Equation (14) thus estimates without bias under this model. For nonlinear normalized moment estimates, Proposition 2 still holds exactly, but the group vectors also contain higher-order terms. Its pooling displacement describes one observable contribution; the residual analysis in Appendix B addresses the additional approximation error.
Temporal regression. Condition on the pilot parameter trajectory in the observation model of Section 5. The lags and projected population directions are then fixed. Write and let be the -by-two matrix whose row is . Equation (16) gives , where is the regression residual vector and . Distinct lags make the two columns independent. The ordinary least-squares coefficients satisfy
Taking expectations proves unbiasedness of the unconstrained coefficients. The errors in Y may be correlated and have different variances; these features affect uncertainty and efficiency, while the expectation calculation only uses their zero means. The implementation's least-squares choice matches the affine mean relation and requires no distributional likelihood assumption. Componentwise clipping subsequently enforces the nonnegative score coefficients and can alter their sampling expectations, particularly near zero.
C.4 Coefficient calculation and conversion
The calculation uses fresh probe moments: pooled directions for checkpoint changes and individual group directions for fluctuations at a fixed checkpoint. For , , . Each group normalizes moments from four effective-batch gradients; the pooled direction uses moments from all sixteen. The archived collector also uses a square-root floor in auxiliary derivative calculations. Its guarded direction is numerically identical to (13) in the collector's float64 arithmetic with : the floor changes a denominator only when , and both sums with epsilon then round to epsilon. For exact arithmetic the coordinatewise difference is at most , since . Thus the direction estimator can be written in the standard Adam form without changing the archived selection inputs.
Build a three-by-two least-squares design with rows for , and response . Solve for , apply componentwise clipping and , and evaluate at lag 100. The algorithm therefore consists of one ordinary least-squares fit followed by clipping. Raw checkpoint sketches supply the lag observations directly. The resulting is the fitted nonnegative change on the stated observation scale, including its finite-lag contribution.
For positive coefficients, calculate the cubic memory in (21). The admissible interval is through ; restrict memory to this interval and convert it to . Equivalently, this minimizes the operational leading score over the continuous interval before nearest- rounding. If , the score decreases with memory, so use . If , use . If both vanish, all scores tie and the smaller resolves the tie. These cases follow from minimizing the stated objective. All main measurements have positive coefficients. Rounding is in distance, with ties toward the smaller grid value.
Appendix C.3 derives the variance correction; Proposition 2 separates group scatter and nonlinear pooling displacement.
D TRAINING REPRODUCIBILITY
The selected configurations are evaluated using fixed-memory training runs. This appendix specifies the common protocol, then the architecture, data processing, and validation for each family. Offline reconstruction from the supplied measurements is described separately from regenerating the original training streams.
D.1 Shared settings and schedules
All sweep runs use equal values and epsilon outside the root. For each workload, candidates share batch size, architecture, data, learning-rate recipe, and evaluation schedule. The main comparison uses seed 1. Initialization seeds Python, NumPy, Torch CPU, and all CUDA devices; cuDNN uses deterministic mode with benchmarking set to False. Models use random initialization, except T5-small, which uses its pretrained checkpoint. Pilots use CUDA and bfloat16 autocast; fused optimizers are used when available.
Full-training budgets are 10,000 updates for language models and T5; 50 epochs for Food-101 and both ViTs; 80 epochs for ImageNet100; 100 epochs for Cars; 60 epochs for Caltech-256. Vision full-training schedule horizons equal epochs times training batches per epoch. Their rates warm up linearly, then decay as
with during warmup. ResNet warmup is of the horizon; ViT uses 1,000 updates; EfficientNet and Swin use the larger of 100 updates and of the horizon. Language warmups are 1,000 for Llama and T5, and 2,000 for GPT-2-style models.
Pilot schedule horizons are explicitly configured as listed in Table 4, including ImageNet100 and Caltech-256. Pilot warmup lengths are 1,000 for Llama and T5; 2,000 for GPT-2-style models; 1,477 for Food; 4,060 for ImageNet100; 1,000 for ViTs; 640 for Cars; and 1,128 for Swin. Thus all four compact measurements occur during warmup.
Table 4: Pilot schedule and optimizer settings. Steps is the configured schedule horizon; batch is physical batch size. Accumulation defines the effective batch. Clip zero denotes an unmodified gradient norm.
| Network | Dataset | Steps | Batch | Accum. | LR max | Decay | Clip |
|---|---|---|---|---|---|---|---|
| EfficientNet-B0 | Cars | 12800 | 64 | 1 | 0.0008 | 5e-05 | 1 |
| Llama60M | C4 | 10000 | 64 | 8 | 0.001 | 1e-05 | 0 |
| Llama60M | SlimPajama | 10000 | 64 | 8 | 0.001 | 1e-05 | 0 |
| NanoGPT | OpenWebText | 10000 | 8 | 128 | 0.0006 | 0.01 | 1 |
| NanoGPT | WikiText-103 | 10000 | 8 | 128 | 0.0006 | 0.01 | 1 |
| ResNet50 | Food-101 | 29550 | 128 | 1 | 0.0003 | 0.01 | 0 |
| ResNet50 | ImageNet100 | 81200 | 128 | 1 | 0.0003 | 0.01 | 0 |
| Swin-T | Caltech-256 | 22560 | 64 | 1 | 0.0004 | 0.05 | 1 |
| T5-small | BookCorpus | 10000 | 8 | 8 | 0.0001 | 0.01 | 1 |
| ViT-B/16 | CIFAR-100 | 19500 | 128 | 1 | 0.0005 | 0.1 | 1 |
| ViT-B/16 | TinyImageNet | 39050 | 128 | 1 | 0.0005 | 0.1 | 1 |
AdamW excludes one-dimensional parameters, biases, and normalization parameters from decay according to the recipe: batch-normalization names for ResNet; normalization names for GPT, ViT, Swin, and T5. Llama uses coupled Adam decay on all parameters; EfficientNet also uses coupled Adam decay. Clipping is on the full accumulated gradient norm before the optimizer update.
D.2 Causal language modeling
GPT-2-style models. Both have six decoder blocks, width 384, six attention heads, feedforward width 1,536, vocabulary 50,304, and context 256. They use learned position embeddings, tied input/output embeddings, layer normalization epsilon , GPT-2 approximate GELU, initialization standard deviation 0.02, and dropout 0.2 in embeddings, attention, and residuals. Each effective batch averages 128 physical batches of eight sequences (262,144 input tokens). AdamW uses maximum rate , minimum , decay 0.01, and clip 1.
WikiText-103 uses its raw training/validation splits and GPT-2 tokenization (Merity et al., 2017). OpenWebText uses separately packed training/validation streams (Gokaslan and Cohen, 2019). Batches sample uniform contiguous start positions, giving length-256 inputs and one-token-shifted targets. Evaluation every 500 updates averages next-token cross-entropy over 50 validation batches. Its validation generator uses seed 123456789; train-set evaluation uses 987654321. The packed OpenWebText streams define the actual split; their corpus revision and packing manifest are required to match the exact archived samples.
Llama-style models. Both have eight decoder blocks, width 512, feedforward width 1,376, eight attention heads, SiLU-gated feedforward layers, rotary positional encoding, RMS normalization epsilon , and initialization standard deviation 0.02 (Touvron et al., 2023). The configured vocabulary begins at 32,000 and is expanded for the T5-base tokenizer when required. Sequences have length 256; eight physical batches of 64 sequences form each effective batch (131,072 token positions). Adam uses maximum rate , minimum , coupled decay , and gradients with their original norms.
C4 uses the English configuration (Raffel et al., 2020); the second task uses the cached DKYoon/SlimPajama-6B subset (Soboleva et al., 2023). Texts are shuffled with seed 42, tokenized with T5-base, truncated/padded to 256, and evaluated with valid-token masking. Validation uses batch size 64 and a ten-million-valid-token target. Evaluation is recorded at update 1 and every 1,000 updates, aggregating losses by valid target count.
D.3 Image classification models
ResNet50. Bottleneck stages have depths (3, 4, 6, 3) and output widths (256, 512, 1024, 2048), using ReLU, batch normalization, a stride-2 stem and max pooling, and global average pooling (He et al., 2016). Dropout 0.2 precedes the linear 101-class Food or 100-class ImageNet head. AdamW uses maximum rate , minimum , decay 0.01, gradients with their original norms, and batch 128.
ViT-B/16. Inputs are RGB images with patches. The encoder has 12 blocks, width 768, 12 heads, feedforward width 3,072, GELU, layer-normalization epsilon , and the standard torchvision zero encoder/attention-dropout defaults (Dosovitskiy et al., 2021). Heads have 100 CIFAR or 200 TinyImageNet outputs. AdamW uses maximum rate , minimum , decay 0.1, clip 1, and batch 128.
Swin-T. Patch size is 4, window size 7, base width 96, stage depths (2, 2, 6, 2), head counts (3, 6, 12, 24), and feedforward expansion 4 (Liu et al., 2021). Shifted-window attention, GELU, layer normalization, and stochastic depth 0.2 are used, with a 256-class head. AdamW uses maximum rate , minimum , decay 0.05, clip 1, and batch 64.
EfficientNet-B0. The 32-channel stem is followed by seven MBConv stages. Their (expansion, kernel, first stride, output channels, repetitions) are (1, 3, 1, 16, 1), (6, 3, 2, 24, 2), (6, 5, 2, 40, 2), (6, 3, 2, 80, 3), (6, 5, 1, 112, 3), (6, 5, 2, 192, 4), and (6, 3, 1, 320, 1) (Tan and Le, 2019). Squeeze-and-excitation, SiLU, stochastic depth 0.2, a final width of 1,280, global pooling, dropout 0.2, and a 196-class head complete the model. Adam uses maximum rate , minimum , coupled decay , clip 1, and batch 64.
D.4 Vision datasets, preprocessing, and evaluation
Food-101 uses 75,750 training and 25,250 validation images (Bossard et al., 2014). Stanford Cars uses 8,144/8,041 images, with its test partition used for validation (Krause et al., 2013). CIFAR-100 uses 50,000/10,000 images (Krizhevsky, 2009). TinyImageNet uses 100,000 training and 10,000 validation images across 200 classes. ImageNet100 is a 100-class subset (Deng et al., 2009); the pilot loads 126,689 training images and remaps labels consistently across four training partitions and validation. Exact subset membership is determined by its synset manifest.
Caltech-256 excludes clutter (Griffin et al., 2007). Sort category names and image paths lexicographically, create one Python random generator with seed 123, visit classes in order and shuffle each class's paths, then take the first 60 images for training and the remainder for validation. The generator continues across classes. This gives 15,360 training images.
All inputs are converted to RGB. ResNet uses random resized crop 224, area scale (0.6, 1), aspect ratio (3/4, 4/3), horizontal flip probability 0.5, and brightness/contrast/saturation/hue jitter (0.2, 0.2, 0.2, 0.1). ViT and Swin use crop area scale (0.5, 1), the same ratio/flip, RandAugment with two operations and magnitude 12, and random erasing probability 0.25, area (0.02, 0.2), ratio (0.3, 3.3), random fill.
EfficientNet uses crop area (0.7, 1), ratio (0.85, 1.15), flip 0.5, color jitter (0.2, 0.2, 0.15, 0.03), RandAugment with one operation and magnitude 7, and erasing probability 0.1, area (0.02, 0.12), ratio (0.5, 2), random fill. Erasing follows tensor conversion and normalization. Evaluation resizes the shorter side to 256 and center crops to 224.
Normalization uses means (0.485, 0.456, 0.406) and standard deviations (0.229, 0.224, 0.225); CIFAR uses (0.5071, 0.4867, 0.4408) and (0.2675, 0.2565, 0.2761). Training uses cross-entropy with label smoothing 0.1, except EfficientNet with 0.05. Validation uses plain cross-entropy with label smoothing set to zero. Validation averages batch-mean losses, weighting the final partial batch equally at batch level. Evaluation occurs every epoch. Training shuffles and drops partial batches except EfficientNet; validation preserves dataset order and includes every batch.
D.5 T5 denoising
T5-small begins from the pretrained checkpoint and tokenizer (Raffel et al., 2020). Both encoder and decoder have six blocks, width 512, feedforward width 2,048, eight heads with key/value width 64, ReLU, normalization epsilon , and dropout 0.1. BookCorpus (Zhu et al., 2015) uses span corruption with maximum input length 256, noise density 0.15, mean span length 3, and sentinel tokens. Padded targets are masked with -100.
Corruption is seeded by training seed plus example index; validation adds 10,000,000. Full training reserves the first 20,000 corpus records for validation and uses the remaining 73,984,228 for training. Here a record is one indexed text row. The pilot reserves the first 1,000 records. These are distinct pilot/full partitions. Eight physical batches of eight form each effective batch. AdamW uses maximum rate , minimum , decay 0.01, and clip 1. The 10,000-update training evaluates every 1,000 updates with batch size eight and valid-target-token weighting. The ten-workload comparison excluding T5 gives mean gaps 0.6850% for fixed and 0.4060% for the rule.
D.6 Metrics and implementation provenance
Take each run’s minimum recorded validation loss. For the primary table, the smallest of the eleven seed-1 grid losses defines (22)’s reference. For the common-seed comparison, first take each run’s minimum and then average those minima over identical seed sets.
The implementation uses PyTorch, torchvision, Transformers, NumPy, and dataset-loading utilities. Training was executed on a cluster equipped with eight NVIDIA A100-SXM4 GPUs with 80 GB memory each; this identifies available cluster hardware. The retained execution records identify CUDA and pilot bfloat16 autocast. Exact regeneration of the original training streams additionally requires pinned package versions, the ImageNet100 synset list, packed OpenWebText split manifest, and corpus/checkpoint revisions. The training recipes and matched-seed evaluation are specified here; those additional identifiers determine the exact environment and sample streams.
D.7 Reconstructing the selection evaluation
For each workload, use the pooled and group directions at its four measurement checkpoints. Calculate by (14), fit the three squared secants by (17), calculate by (18), and convert their ratio to a grid by Section 6. Then evaluate that 's recorded validation loss and compute its relative gap by (22). Take the arithmetic mean of the eleven gaps, their maximum, and the mean of their three largest values. Applying the identical aggregation to a fixed gives the comparator. The resulting mean gaps are 0.6235665% for 0.94377 and 0.3694690% for the rule. Timing and probe-budget analyses repeat these steps with their stated measurement designs, holding the candidate trainings fixed.
Existing corpus content. The language tasks use existing text corpora, which can contain offensive text and personally identifying information inherited from their sources. The study uses these benchmark assets for aggregate training and validation measurements. Released measurements consist of gradient-direction sketches and aggregated validation losses. Use of the original datasets and checkpoints remains subject to their providers' access conditions and licenses.
D.8 Existing assets and access conditions
Software and checkpoint licenses and dataset-provider terms govern access to the original assets. Table 5 identifies their providers and documented license information. Released measurements consist of gradient-direction sketches and aggregated losses.
E ABLATIONS AND ADDITIONAL MEASUREMENTS
The following analyses address separate questions: whether a nearby decision time retains the benefit, how many probe batches are needed, how measured coefficients determine , and how the selected configurations behave over common training seeds. Each analysis reuses saved candidate losses. Measurements select the configuration; the loss lookup evaluates it afterward.
Table 5: Software and model license records, and dataset access sources. The providers' records govern access and reuse of the original assets.
| Asset | License information or provider record |
|---|---|
| PyTorch / torchvision | BSD-style / BSD-3-Clause: PyTorch license and torchvision license. |
| NumPy / Transformers | BSD-3-Clause / Apache-2.0: NumPy license and Transformers license. |
| T5-small checkpoint | Apache-2.0, as stated in the provider model card. The other evaluated models start from random weights. |
| C4 / WikiText-103 | C4 card: ODC-By. WikiText card: CC-BY-SA-3.0 and GFDL. |
| SlimPajama-6B | The subset card points to the original SlimPajama record for source and license information. This original provider record supplies the access provenance used here. |
| OpenWebText / BookCorpus | Provider records: OpenWebText and BookCorpus. Rights in underlying web text and books remain with their respective sources. |
| ImageNet / TinyImageNet | ImageNet access terms specify noncommercial research and educational use. The TinyImageNet release supplies its distribution provenance; consult the provider's terms for reuse. |
| Caltech-256 | CaltechDATA provider record, including its rights metadata. |
| Food-101 / Cars / CIFAR | Original access sources: Food-101, Stanford Cars, and CIFAR-100. These provider records supply the dataset-access provenance used here. |
E.1 Decision timing and probe budget
First hold the probe budget at sixteen and change the decision update. Table 6 reports updates 100, 150, 200, and 250. For a decision at update , measure at , , , and use exactly the same fit, cubic rule, and rounding. For instance, a decision at update 150 uses observations at 50, 100, 130, and 150. Shifting this window changes the observed dynamics while preserving the measurement scales and training recipes.
Table 6: Decision-time sensitivity with sixteen probes per checkpoint and matched seed 1. Gaps are percentages. The near-0.95 comparator, 0.94377, has mean 0.6236, maximum 2.4853, and CVaR 2.0409.
| Decision update | Mean gap | Maximum gap | |
|---|---|---|---|
| 100 | 0.6345 | 2.1862 | 1.5271 |
| 150 | 0.3695 | 1.3339 | 1.1359 |
| 200 | 0.3695 | 1.3339 | 1.1359 |
| 250 | 0.3695 | 1.3339 | 1.1359 |
Updates 150, 200, and 250 give the same aggregate result. Update 100 has a slightly larger mean gap and a smaller maximum and CVaR than the near-0.95 reference. These results locate a useful early observation region. Appendix E.8 extends the analysis to every integer update from 100 to 500 on the same pilot trajectories and fixed candidate trainings.
E.2 Probe allocation and budget sensitivity
The common sixteen-probe design assigns four gradients to each of four groups. Averaging the gradients of each group supplies its first and second moment estimates before normalization; comparing groups supplies a dispersion measurement. The pooled direction uses all sixteen gradients. Thus the budget supports two statistical roles, rather than sixteen independent votes for a . Powers of two provide equal groups throughout the measured allocation , with .
The averaging role has a simple theoretical scale. If independent linear direction observations have covariance , their -sample mean has covariance : expand the covariance of the sum and use independence to eliminate cross terms. Under independent, equal-variance endpoints, the squared secant has an expected noise contribution at lag . This explains why the observation budget affects the finite-resolution term in the temporal fit. For the implemented nonlinear normalization, Proposition 2 separately accounts for pooling order. The choice , is a compact common allocation; these sampling identities explain its roles and scaling, while the measured budget audit evaluates its selections.
Table 7 holds update 200, the coefficient formula, and the rounding convention fixed, and reports every examined budget. The variability multiplier remains throughout. Four and eight probes produce the same discrete choices, while sixteen changes the selections for EfficientNet, both ResNets, and T5. The table therefore exposes how increased averaging and changed endpoint resolution translate into the practical memory decision. The common allocation is used unchanged across tasks. Workload-specific information enters through measured
Table 7: Probe-budget sensitivity at update 200. Relative gaps are percentages; the fixed comparator has mean 0.6236%, maximum 2.4853%, and 2.0409%. Bold marks the smallest entry in each metric column.
| Effective batches | Groups | Mean gap | Maximum gap | |
|---|---|---|---|---|
| 2 | 2 | 0.9185 | 2.5913 | 2.4600 |
| 4 | 4 | 0.6829 | 2.4853 | 2.0409 |
| 8 | 4 | 0.6829 | 2.4853 | 2.0409 |
| 16 | 4 | 0.3695 | 1.3339 | 1.1359 |
variability and temporal change. The coefficient sensitivity and rounding margins quantify how these inputs determine the continuous memory and the final grid choice.
Separation of measurement and evaluation. For each protocol, gradient measurements determine the coefficients and the before the candidate-loss lookup. Candidate losses then evaluate the resulting configuration. The same equations and rounding apply to every workload. Protocol comparisons are exploratory sensitivity analyses on this benchmark suite, describing how the decisions respond to the implementation choices.
E.3 Comparison with every fixed grid value
Table 8 evaluates all eleven fixed values using the same seed-1 losses and aggregation. Each constant applies to the entire workload suite. The rule has smaller mean, maximum, and CVaR than every constant, reducing mean gap by 32.3% against the retrospectively best fixed value, 0.96838. This evaluates the same gradient-based decisions under a stronger comparator than the near-0.95 reference.
Table 8: All fixed shared memories on the evaluated grid, and the tracking rule. Gaps are percentages. Bold marks the smallest value in each metric column.
| Fixed shared or method | Mean gap | Maximum gap | |
|---|---|---|---|
| 0.68377 | 4.8152 | 11.6651 | 9.9106 |
| 0.82217 | 2.0501 | 6.4732 | 4.5653 |
| 0.90000 | 1.4292 | 3.8770 | 3.3543 |
| 0.94377 | 0.6236 | 2.4853 | 2.0409 |
| 0.96838 | 0.5461 | 2.1862 | 1.4304 |
| 0.98222 | 1.8128 | 7.2826 | 4.5072 |
| 0.99000 | 3.1592 | 9.4700 | 8.2164 |
| 0.99438 | 7.9687 | 24.6070 | 18.4218 |
| 0.99684 | 13.6732 | 34.5576 | 28.0746 |
| 0.99822 | 27.6722 | 63.7899 | 55.7021 |
| 0.99900 | 42.7583 | 81.3312 | 73.2353 |
| Tracking rule | 0.3695 | 1.3339 | 1.1359 |
E.4 Task-level calibration and workload composition
The two strongest fixed choices expose different compromises. Shared 0.94377 minimizes the four causal-language-model losses and the vision-transformer family mean in the recorded grid. Shared 0.96838 minimizes the ResNet family mean and the whole-suite fixed mean. The measured rule combines these task-specific choices with its shorter causal-model memory.
For a comparator , define gap benefit as , in percentage points, and direct loss improvement as . Positive values favor the rule. Table 9 separates those metrics for both fixed comparators. Relative gap reduction is the reduction of distance to the grid reference; direct loss improvement gives the scale in the actual objective. Against 0.94377, positive task-level gap changes sum to 3.7332 points and
Table 9: Signed task-level benefits against the near-0.95 fixed value and the best global fixed value. Gap benefits are percentage points; direct loss improvements are percentages. Positive entries favor the rule.
| Network | Dataset | Rule gap | Gap benefit (pp) | Loss improvement (%) | |||
|---|---|---|---|---|---|---|---|
| .94377 | .96838 | .94377 | .96838 | ||||
| EfficientNet-B0 | Cars | 0.96838 | 1.0124 | -0.2853 | +0.0000 | -0.2833 | +0.0000 |
| Llama60M | C4 | 0.90000 | 0.2582 | -0.2582 | -0.0700 | -0.2582 | -0.0699 |
| Llama60M | SlimPajama | 0.90000 | 0.1175 | -0.1175 | -0.0924 | -0.1175 | -0.0924 |
| NanoGPT | OpenWebText | 0.90000 | 0.1157 | -0.1157 | -0.1137 | -0.1157 | -0.1137 |
| NanoGPT | WikiText | 0.90000 | 0.1613 | -0.1613 | -0.0800 | -0.1613 | -0.0800 |
| ResNet50 | Food-101 | 0.96838 | 1.0613 | +1.4240 | +0.0000 | +1.3895 | +0.0000 |
| ResNet50 | ImageNet100 | 0.96838 | 0.0000 | +2.3036 | +0.0000 | +2.2517 | +0.0000 |
| Swin-T | Caltech | 0.94377 | 0.0000 | +0.0000 | +2.1862 | +0.0000 | +2.1395 |
| T5-small | BookCorpus | 0.96838 | 0.0039 | +0.0056 | +0.0000 | +0.0056 | +0.0000 |
| ViT-B/16 | CIFAR | 0.94377 | 0.0000 | +0.0000 | +0.4036 | +0.0000 | +0.4020 |
| ViT-B/16 | TinyImageNet | 0.94377 | 1.3339 | +0.0000 | -0.2903 | +0.0000 | -0.2873 |
adverse changes to 0.9381 points. Against 0.96838, these sums are 2.5899 and 0.6465 points. Both comparisons express larger corrections offset by smaller calibration costs. The ResNet contribution is 3.7276 points against the first comparator and exactly zero against the second, where both configurations coincide. Swin and ViT/CIFAR-100 provide the positive changes against the best global fixed value. These complete decompositions locate the gains of the benchmark-wide comparison.
For a workload-composition audit, remove each task in turn, retain every original rule decision, and recompute both the aggregate and the best fixed value on the remaining ten tasks. The rule has smaller mean gap in ten of the eleven subsets. Table 10 gives all subsets and also keeps the original fixed comparators visible. In the subset excluding Swin, the rule's mean gap is 0.4064% and the best fixed mean is 0.3821%. This is a descriptive composition audit of the saved suite: the decisions remain those of the original early measurements.
Table 10: Workload-removal sensitivity. Each row evaluates the remaining ten tasks. Reduction columns give relative mean-gap reductions; positive values favor the rule. The last comparator is reselected on that ten-task subset.
| Network | Excluded task Dataset | Rule mean | Mean-gap reduction (%) | Best fixed on ten | ||
|---|---|---|---|---|---|---|
| vs .94377 | vs .96838 | Reduction (%) | ||||
| EfficientNet-B0 | Cars | 0.3052 | +50.23 | +38.91 | 0.96838 | +38.91 |
| Llama60M | C4 | 0.3806 | +44.51 | +34.60 | 0.96838 | +34.60 |
| Llama60M | SlimPajama | 0.3947 | +42.46 | +34.03 | 0.96838 | +34.03 |
| NanoGPT | OpenWebText | 0.3948 | +42.44 | +34.25 | 0.96838 | +34.25 |
| NanoGPT | WikiText | 0.3903 | +43.10 | +34.14 | 0.96838 | +34.14 |
| ResNet50 | Food-101 | 0.3003 | +31.35 | +39.29 | 0.94377 | +31.35 |
| ResNet50 | ImageNet100 | 0.4064 | +10.79 | +32.35 | 0.94377 | +10.79 |
| Swin-T | Caltech | 0.4064 | +40.75 | -6.36 | 0.96838 | -6.36 |
| T5-small | BookCorpus | 0.4060 | +40.72 | +32.37 | 0.96838 | +32.37 |
| ViT-B/16 | CIFAR | 0.4064 | +40.75 | +27.48 | 0.96838 | +27.48 |
| ViT-B/16 | TinyImageNet | 0.2730 | +50.59 | +45.00 | 0.96838 | +45.00 |
E.5 From measured coefficients to a selected
Table 11 exposes every scalar entering the decision. Divide the variability proxy by four times the temporal-change proxy, take the cube root, convert memory to , then apply the stated grid rounding. Together with the supplied sketches, these scalar values make every selection reproducible. For example, Food-101 gives
Table 11: Measured coefficients and continuous-to-grid conversion. Values are rounded for display; decisions use full precision.
| Network | Dataset | Continuous | Grid | |||
|---|---|---|---|---|---|---|
| EfficientNet-B0 | Cars | 27.494 | 0.963628 | 0.96838 | ||
| Llama60M | C4 | 8.823 | 0.886654 | 0.90000 | ||
| Llama60M | SlimPajama | 8.361 | 0.880399 | 0.90000 | ||
| NanoGPT | OpenWebText | 7.678 | 0.869751 | 0.90000 | ||
| NanoGPT | WikiText-103 | 8.871 | 0.887272 | 0.90000 | ||
| ResNet50 | Food-101 | 26.458 | 0.962205 | 0.96838 | ||
| ResNet50 | ImageNet100 | 26.917 | 0.962849 | 0.96838 | ||
| Swin-T | Caltech-256 | 21.656 | 0.953824 | 0.94377 | ||
| T5-small | BookCorpus | 27.019 | 0.962989 | 0.96838 | ||
| ViT-B/16 | CIFAR-100 | 15.190 | 0.934168 | 0.94377 | ||
| ViT-B/16 | TinyImageNet | 20.055 | 0.950137 | 0.94377 |
163.23 and . Thus , giving continuous 0.962205. The neighboring grid values are 0.94377 and 0.96838, whose midpoint is 0.956075. The continuous value lies above that midpoint, so nearest- rounding selects 0.96838. Every workload uses this arithmetic at full precision.
E.6 Stationary approximation and discretization
The main rule uses a closed-form approximation and nearest- rounding. Four alternatives use exactly the same measured coefficients: the stationary root followed by nearest- rounding, direct grid minimization of (20), direct grid minimization of (9), and direct grid minimization of . All four recover the same eleven selected values. The last uses the exact finite-history weights, including bias correction at history length 200. The choices thus agree across the exact finite-history score and its stationary and leading versions.
E.7 Sensitivity of grid decisions
The cube-root sensitivity concerns continuous memory. A discrete decision additionally depends on its distance to a rounding boundary, the midpoint of two neighboring values. For a boundary and continuous memory , multiplying the measured ratio by moves the continuous exactly to that boundary. Table 12 reports this deterministic arithmetic margin for the nearest boundary; its sign indicates an increase or decrease of the ratio. The table shows how far each measured decision is from changing its grid value. A small boundary margin requires more precise coefficient estimation than a large one. Continuous coefficient attenuation and stability of a discrete decision are therefore complementary diagnostics: the cube root controls the former, while the measured arithmetic margins describe the latter for the observed coefficients.
Across all eleven workloads, the simultaneous safe interval for a multiplicative change in each observed ratio is (0.824286, 1.161718). A ratio perturbation of lies inside this interval and preserves every decision. Independently perturbing each coefficient by gives ratio multipliers between 0.93/1.07 and 1.07/0.93, also inside the interval. These are deterministic properties of the observed coefficients and the rounding map. Table 13 pairs each nearest boundary with the validation-loss consequence of the adjacent grid choice, connecting arithmetic sensitivity to performance sensitivity.
E.8 Complete timing profile
For each integer decision time , use checkpoint lags , calculate the two coefficients, and evaluate the selected by (22). This gives 401 decisions on each pilot trajectory. Over the 351 times from 150 to 500, mean gap ranges from to ; it improves over the near-0.95 reference at 339
Table 12: Rounding-boundary audit from the same measured coefficients. Ratio change is the signed relative change needed to reach the nearest midpoint.
| Network | Dataset | Continuous | Nearest boundary | distance | Ratio change (%) |
|---|---|---|---|---|---|
| EfficientNet-B0 | Cars | 0.963628 | 0.956075 | 0.007553 | -43.224 |
| Llama60M | C4 | 0.886654 | 0.861085 | 0.025569 | -45.679 |
| Llama60M | SlimPajama | 0.880399 | 0.861085 | 0.019314 | -36.180 |
| NanoGPT | OpenWebText | 0.869751 | 0.861085 | 0.008666 | -17.571 |
| NanoGPT | WikiText-103 | 0.887272 | 0.861085 | 0.026187 | -46.563 |
| ResNet50 | Food-101 | 0.962205 | 0.956075 | 0.006130 | -36.294 |
| ResNet50 | ImageNet100 | 0.962849 | 0.956075 | 0.006774 | -39.495 |
| Swin-T | Caltech-256 | 0.953824 | 0.956075 | 0.002251 | +16.172 |
| T5-small | BookCorpus | 0.962989 | 0.956075 | 0.006914 | -40.181 |
| ViT-B/16 | CIFAR-100 | 0.934168 | 0.921885 | 0.012283 | -40.144 |
| ViT-B/16 | TinyImageNet | 0.950137 | 0.956075 | 0.005938 | +46.289 |
Table 13: Nearest decision boundary and its recorded loss consequence. Ratio change moves the observed coefficient ratio to that boundary. Gap and loss changes compare the adjacent choice with the current choice; positive changes indicate a larger loss.
| Network | Dataset | Adjacent | ratio (%) | gap (pp) | loss (%) | |
|---|---|---|---|---|---|---|
| EfficientNet-B0 | Cars | 0.96838 | 0.94377 | -43.22 | -0.2853 | -0.2825 |
| Llama60M | C4 | 0.90000 | 0.82217 | -45.68 | +0.6477 | +0.6460 |
| Llama60M | SlimPajama | 0.90000 | 0.82217 | -36.18 | +0.7058 | +0.7050 |
| NanoGPT | OpenWebText | 0.90000 | 0.82217 | -17.57 | +0.4311 | +0.4306 |
| NanoGPT | WikiText | 0.90000 | 0.82217 | -46.56 | +0.2984 | +0.2979 |
| ResNet50 | Food-101 | 0.96838 | 0.94377 | -36.29 | +1.4240 | +1.4091 |
| ResNet50 | ImageNet100 | 0.96838 | 0.94377 | -39.50 | +2.3036 | +2.3036 |
| Swin-T | Caltech | 0.94377 | 0.96838 | +16.17 | +2.1862 | +2.1862 |
| T5-small | BookCorpus | 0.96838 | 0.94377 | -40.18 | +0.0056 | +0.0056 |
| ViT-B/16 | CIFAR | 0.94377 | 0.90000 | -40.14 | +2.5913 | +2.5913 |
| ViT-B/16 | TinyImageNet | 0.94377 | 0.96838 | +46.29 | -0.2903 | -0.2865 |
times and over the best global fixed value at 288. CVaR improves over the near-0.95 reference at every time. Table 6 displays four times. The candidate trainings remain fixed, isolating sensitivity to the placement of the observation window.
E.9 How measurement spacing changes a discrete choice
Measurement density and observation scale are separate design choices. To isolate density, hold the decision update at 200, keep the shortest and longest lags at 20 and 100, and continue evaluating the fitted change at lag 100. Replace the original lags by a regular mesh on with spacing 1, 2, 5, 10, 20, 40, or 80. Including the final endpoint, these meshes use respectively 82, 42, 18, 10, 6, 4, or 3 checkpoints. Every checkpoint uses sixteen probes, and the OLS fit and rounding are otherwise unchanged.
All seven regular meshes preserve ten original choices and select 0.96838 for Swin instead of 0.94377. Their coefficients differ, but their rounded choices coincide. Consequently their looked-up validation losses and gaps coincide as well: mean 0.5682%, maximum 2.1862%, and CVaR 1.5271%. The mean-gap benefit over the near-0.95 reference is 8.9% for every mesh; the original four-checkpoint layout gives 40.7%. This diagnostic distinguishes broad utility relative to the empirical default from sensitivity of the additional gain supplied by Swin. The repeated aggregate numbers arise from discrete selection, rather than repeated or smoothed measurements. All lag responses share the final endpoint, so denser meshes also retain dependent measurement errors.
E.10 Probe decomposition
Pooling share is divided by (15)'s left side. It tells us how much measured dispersion comes from normalizing the pooled and group moments differently. Finite-lag share is . It tells us how much fitted change remains in the inverse-square component. These descriptive shares quantify the composition of the measured proxies. In five cases the fitted intercept clips to zero, leaving all of the temporal-change proxy in its finite-lag component. Equation (16) explains how endpoint measurement variance can influence the temporal fit.
Table 14: Sixteen-probe measurement decomposition at update 200.
| Network | Dataset | Pooling contribution (%) | Finite-lag contribution (%) |
|---|---|---|---|
| EfficientNet-B0 | Cars | 3.12 | 100.00 |
| Llama60M | C4 | 4.45 | 54.57 |
| Llama60M | SlimPajama | 4.63 | 91.79 |
| NanoGPT | OpenWebText | 3.17 | 100.00 |
| NanoGPT | WikiText-103 | 3.34 | 100.00 |
| ResNet50 | Food-101 | 3.09 | 100.00 |
| ResNet50 | ImageNet100 | 2.64 | 91.24 |
| Swin-T | Caltech-256 | 3.46 | 55.84 |
| T5-small | BookCorpus | 3.33 | 94.47 |
| ViT-B/16 | CIFAR-100 | 2.84 | 53.98 |
| ViT-B/16 | TinyImageNet | 3.10 | 100.00 |
The component may also include roughness of the target. The probe budget is therefore part of the algorithm's specification.
For intuition, consider the illustrative linear measurement model with a constant population direction. An observation with variance averaged over independent samples has variance . Independent endpoints give and zero drift intercept, while the linear scatter proxy has expectation . Inserting these expected coefficients into the operational formula yields . For , this plug-in value is , or approximately 0.96316. The mean of the random memory estimate additionally depends on the joint distribution of its coefficients through the nonlinear cube root. The plug-in calculation isolates how endpoint fluctuations contribute a finite memory at constant population direction. Thus the finite-lag coefficient represents effective measured change, combining the gradient dynamics and the observation scale specified by the algorithm.
E.11 Separating the two temporal contributions
The constant-direction calculation above supplies a simple diagnostic: inserting the expected coefficients of that illustrative linear model for every workload gives the same continuous 0.96316, rounding to 0.96838. Table 15 evaluates this common choice against the measured rule. It also repeats the selection calculation after replacing the temporal proxy by either alone or alone. When the intercept vanishes, the latter diagnostic uses the largest admissible memory, as specified by the objective's boundary rule. These retrospective coefficient diagnostics reuse the measured sketches and completed training outcomes to isolate the information supplied by each component. The full measured rule has smaller aggregate gaps than each diagnostic. Its decisions
Table 15: Contribution diagnostics using the same sketches, rounding, and seed-1 loss lookup. Gaps are percentages; bold marks the smallest value in each column.
| Coefficient diagnostic | Mean gap | Maximum gap | |
|---|---|---|---|
| Constant-target calculation | 0.5461 | 2.1862 | 1.4304 |
| Endpoint contribution only | 0.5682 | 2.1862 | 1.5271 |
| Intercept contribution only | 17.9403 | 72.4969 | 51.6408 |
| Full measured rule | 0.3695 | 1.3339 | 1.1359 |
therefore use information beyond a budget-only common memory. The full and endpoint-only rules share ten choices; adding the intercept changes Swin from 0.96838 to 0.94377, accounting for their aggregate difference. This identifies the specific decision through which the persistent-change component contributes in this audit. Together, these checks assess the finite-measurement noise-change score on the saved workload suite, with the population tracking identity supplying the analytical form of its balance.
E.12 Evaluation summaries of the same trajectories
The primary evaluation uses each run's minimum recorded validation loss. Two additional summaries test whether the comparison persists at the end of training: the last recorded loss and the arithmetic mean of the last three recorded losses. The selected values remain exactly those from the primary pilot. For each summary, recompute the per-workload grid reference from all eleven candidates, all fixed-memory comparisons, and the best fixed value by mean gap.
All 121 seed-1 grid curves and 155 curves including the common-seed pairs are evaluated. Candidates for each workload have matching validation counts and ordered schedules. Language losses are indexed by update and vision losses by epoch, according to Appendix D.
Table 16: Complete sensitivity to three evaluation summaries. Mean gaps and direct loss improvements are percentages. Best fixed is recomputed for each summary. Direct improvements use the near-0.95 comparator 0.94377; positive values favor the rule. Common-seed values evaluate reuse of the seed-1 calibration across initializations.
| Summary | Mean relative gap (%) | Fixed | Direct improvement (%) | |||
|---|---|---|---|---|---|---|
| Rule | Fixed .94377 | Best fixed | Seed 1 | Common seeds | ||
| Minimum recorded | ||||||
| Last recorded | ||||||
| Mean of last three | ||||||
Under each summary, the rule has smaller mean, maximum, and CVaR gap than every fixed grid value. Mean-gap reductions against the respective best fixed are 32.35%, 20.51%, and 10.96%. Table 16 also reports direct loss improvements, separating evaluation-summary sensitivity from transfer across initializations.
Apply (22) and Section 7's aggregation to each summary. Common-seed improvements average the separately summarized runs; memory choices remain fixed from the original pilot.
E.13 All common training seeds
Average each configuration's minimum validation loss over identical seed sets, obtaining and , and report . Positive values favor the rule. Table 17 uses seeds 1–3, except Food-101 with seed 1. The pilot chooses once with seed 1 and retains it for the other seeds. The primary comparison tests matched calibration; this table tests variability across initializations. Its equal-workload mean is .
Table 17: Direct validation-loss improvement over the same common seeds against 0.94377. Zero means the selected and fixed configurations coincide.
| Network | Dataset | Common seeds | Improvement (%) | Rule |
|---|---|---|---|---|
| EfficientNet-B0 | Cars | |||
| Llama60M | C4 | |||
| Llama60M | SlimPajama | |||
| NanoGPT | OpenWebText | |||
| NanoGPT | WikiText-103 | |||
| ResNet50 | Food-101 | |||
| ResNet50 | ImageNet100 | |||
| Swin-T | Caltech-256 | |||
| T5-small | BookCorpus | |||
| ViT-B/16 | CIFAR-100 | |||
| ViT-B/16 | TinyImageNet |