Manuscript Offprint
arXiv:2610.09604Lightweight and Versatile Learned Optimization by Recombination of Gradient History
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
This paper presents a lightweight and versatile learned optimizer that dynamically recombines gradient history, represented as averages over disjoint time spans. The optimizer reduces the prediction space to one scalar coefficient per gradient average, shared by multiple parameters. Progressively averaging older gradients minimizes memory cost of long history, while keeping their contributions independently accessible. A 37k-parameter network trained in 0.87 GPU-hours generalizes zero-shot to unseen tasks, lowering validation loss by 9.1% and 0.4% on BERT-Tiny and GPT-Tiny, and improving test accuracy over Adam by 3.5 %p on a Vision Transformer and by 2.7 %p on average across nine graph models, with FLOPs overhead as low as 0.3%.
1 INTRODUCTION

Figure 1: Recombination of gradient history as a learned update. Recombination of history contributions with predicted coefficients can redirect the Adam trajectory away from ascent.
While learned optimizers can adapt to loss landscapes, designing lightweight and versatile architectures remains challenging. Coordinate-wise prediction methods (Andrychowicz et al., 2016; Wichrowska et al., 2017; Metz et al., 2022) are expensive as they process gradient-derived features for individual parameters. For example, training VeLO requires approximately 4,000 TPU-months (Metz et al., 2022), more than twice the compute to train large language models (Chowdhery et al., 2023).
Gradient history can serve directly as a useful directional basis for optimizers, as demonstrated by momentum and Adam (Polyak, 1964; Kingma & Ba, 2014). This motivates an adaptive optimizer that learns to dynamically recombine gradients from the past optimization trajectory.
Building on this principle, this paper presents a learned optimizer that dynamically recombines gradient history, represented by averages over disjoint time spans. To remain lightweight, the optimizer operates on compact statistics at coarse, configurable parameter granularity. This also allows the optimizer to jointly compare different history components and adjust their relative contributions, while the disjoint representation keeps older time spans independently accessible. Figure 1 visualizes this concept, showing how past gradients are weighted and recombined into each update.
Two techniques make the optimizer versatile and practical. First, fixed-dimensional representation of group statistics supports arbitrary granularity as well as versatility across target networks. Second, progressive averaging of older gradients limits memory growth logarithmically with history length. The core contributions are:
• The presented learned optimizer justifies the use of gradient-history directions, jointly weighting and dynamically recombining them to construct each update.
• A single trained policy generalizes zero-shot to unseen language, vision, and graph benchmarks, improving validation loss and test accuracy over Adam.
• A compact 37k-parameter policy is trained in under one GPU-hour on an NVIDIA B200.
2.1 DYNAMIC RECOMBINATION OF GRADIENT HISTORY
H: number of history slots
: history slot r: scaling factor
: parameter group dimension
d: encoded feature dimension

Figure 2: Dynamic recombination of multi-resolution gradient history. For each parameter group, the current gradient enters a multi-resolution history. A group feature encoder converts each stored average into a fixed-dimensional slot feature, and a joint temporal predictor assigns the coefficients used to recombine the history into the group update. Step index t is omitted in the figure as it represents a single optimization step.
The learned optimizer recombines averages of gradient histories from the target model to construct each parameter update, predicting a coefficient for each. Target-model parameters are partitioned into disjoint groups, where coordinates within each group share the same temporal coefficient vector.
Figure 2 illustrates this dataflow from gradient-history storage to parameter update. At optimization step , parameter group in the target model denoted as contains parameters, and the target-model loss yields the gradient . Each group maintains history slots for disjoint time spans. denotes the gradient average stored in slot , and its scalar coefficient. Let denote the set of populated slots. The group update is
2.2 MULTI-RESOLUTION GRADIENT HISTORY
Multi-resolution gradient history expands the temporal span covered by a small number of slots. Each history slot is assigned a tier and can average up to gradients, where is the scaling factor. As the stored average ages, it is carried forward and averaged into subsequent tiers.
Figure 3 shows an example with r = 2 and one slot per tier (c = h). At each step, the current group gradient enters slot 1, and its displaced value is carried to slot 2. In subsequent slots, the carried value either fills an empty slot, averages into a partially filled slot, or replaces a full slot while forwarding its previous average. A carry beyond slot H is evicted. Appendix A.1.2 gives the complete update procedure.

Figure 3: Multi-resolution history with exclusive temporal ranges, tier capacities 1, 2, 4, and scaling factor r = 2. At step 8, carry propagates through full slots and , evicting the previous average over beyond the final tier.
2.3 TEMPORAL COEFFICIENT PREDICTION
The temporal coefficients are jointly predicted from its current optimization state and stored gradient history. Figure 4 depicts the architecture.
Group feature encoder For each parameter group, the group feature encoder summarizes each history slot and the current parameters into a fixed-dimensional slot feature, using their histograms and other statistics such as group dimension, scale, concentration, and alignment. Separate MLPs project both types of information into , where is independent of , and a learned two-way Softmax gate fuses them into one slot feature. Appendix A.1.1 provides its architecture and numerical safeguards.
Joint temporal predictor The joint temporal predictor generates the coefficients by processing all slot features via self-attention. Positional encoding provides tier context, including the center and length of each slot's history span. Following self-attention, a coefficient head and Softmax yield nonnegative allocations that sum to one over . A separate scale token predicts a group-level gain , which scales these allocations into the final temporal coefficients used in Equation 1. Appendix A specifies the evaluated attention configuration.

Figure 4: Temporal coefficient prediction. For each history slot, the stored gradient average and current group parameters are converted into histogram features and scalar summaries, then fused into a fixed-dimensional slot feature. Positional encoding identifies the represented range, and self-attention processes the slot features jointly. Softmax produces normalized temporal allocations , while a group scale converts them into the final coefficients used in Equation 1. Step index t is omitted in the figure as it represents a single optimization step.
2.4 EXTENSION ACROSS PARAMETER PARTITIONS
The optimizer architecture can extend to support overlapping parameter groups via an additional spatial recombination process. After temporal recombination, a separate network sharing identical architecture processes the intermediate output of each partition. It then applies spatial coefficients to fuse these outputs into the final parameter step. While the evaluation focuses on a single partition, Appendix C defines and evaluates the extension.
2.5 TRAJECTORY-LEVEL OPTIMIZER TRAINING
The optimizer is trained to minimize the cumulative change in held-out loss over an unrolled trajectory of K updates, rewarding persistent improvements. Loss scales are normalized for each meta-task to contribute equally. Let be the held-out loss before the unroll and the loss after update k. The meta-loss is:
Appendix A.2.1 specifies the numerical safeguards and exact implementation.
3 EVALUATION
3.1 EXPERIMENTAL SETUP
Optimizer training and deployment. The 37,389-parameter learned optimizer is meta-trained on four small networks (under 10,000 parameters). Six history slots (63-step span) were used during optimizer training, where each meta-epoch consists 160 model-training steps. The trained policy is evaluated zero-shot on BERT, GPT, Vision Transformer, and GNN architectures unseen during meta-training. At deployment, the learned optimizer uses history slots with scaling factor r = 2 to cover the entire target trajectory, referred to as full-span unless otherwise stated. Target network tensors are partitioned into groups of at most 256 coordinates, prioritizing partitions along the output-channel dimension.
Baselines and pairing. Adam, stochastic gradient descent (SGD), and SGD with momentum (SGDM) use default hyperparameters to all tasks. This setup intends to evaluate the off-the-shelf deployment performance of the learned optimizer. Paired comparisons share the same initialization, data ordering, stochastic streams, training budget, and parameter grouping. Appendix A specifies the group construction, optimizer-training configuration, target protocols, baseline hyperparameters, and metrics.
3.2 ZERO-SHOT GENERALIZATION TO UNSEEN TASKS
Table 1: Overall comparison on tasks unseen during optimizer training. Language models report terminal validation loss. Vision reports test accuracy both at the state with the lowest validation loss and at the terminal state. Graph models report test accuracy from the state with the lowest validation loss within 100 updates on Cora and CiteSeer and 500 updates on PubMed. Bold and underlined values denote the best and second-best result per row. Graph results are mean ± standard deviation over three seeds.
| Data | Model | Learned | Adam | SGD | SGDM |
|---|---|---|---|---|---|
| Language modeling | Terminal validation loss ↓ | ||||
| Wikipedia-BookCorpus | BERT-Tiny (masked-token) | 3.463* | 3.810 | 6.703 | 6.222 |
| WikiText-103 | GPT-Tiny (next-token) | 4.250* | 4.268 | 5.921 | 4.686 |
| Vision Test accuracy (%) ↑ | |||||
| CIFAR-100 | ViT (lowest val. loss) | 31.13 | 27.61 | 17.29 | 32.54 |
| ViT (terminal) | 31.74 | 27.95 | 27.25 | 31.22 | |
| Graph node classification | Validation-selected test accuracy (%) ↑ | ||||
| Cora | GCN | 81.7 ± .2 | 79.3 ± .8 | 31.8 ± 10.0 | 74.9 ± .9 |
| GraphSAGE | 79.6 ± .4 | 78.7 ± .3 | 24.1 ± 3.6 | 76.6 ± .2 | |
| GAT | 82.0 ± .6 | 78.3 ± 1.3 | 47.2 ± 8.0 | 79.0 ± 1.2 | |
| CiteSeer | GCN | 71.0 ± .8 | 66.2 ± 1.6 | 33.0 ± 6.2 | 70.6 ± .7 |
| GraphSAGE | 69.9 ± .9 | 65.6 ± 1.4 | 34.7 ± 9.4 | 70.2 ± .4 | |
| GAT | 69.1 ± .3 | 66.2 ± .8 | 52.9 ± 1.4 | 70.4 ± .8 | |
| PubMed | GCN | 79.1 ± .2 | 77.5 ± .4 | 51.8 ± 1.2 | 67.7 ± 6.1 |
| GraphSAGE | 77.2 ± .1 | 75.2 ± .4 | 50.2 ± 13.7 | 74.7 ± .4 | |
| GAT | 78.8 ± .2 | 77.1 ± 1.4 | 59.2 ± 6.0 | 73.3 ± .2 | |
| GNN arithmetic mean across 9 cells | 76.47 ± .24 | 73.78 ± .26 | 42.76 ± 2.36 | 73.04 ± .75 | |
- Embedding and output-head tensors are trained with Adam.

Learned (embeddings, output head to Adam)
Adam
SGDM
SGD
Figure 5: The learned optimizer updates all tensors except the embedding and output-head tensors. Adam trains those tensors using the same hyperparameters as the all-Adam baseline. BERT-Tiny follows a 100,000-update protocol with a context transition at update 90,000, while GPT-Tiny is evaluated at 50,000 updates. The GPT magnifies the later trajectory.

— Learned — Adam
Figure 6: FLOP-matched Cora training loss under full span. The horizontal axis expresses cumulative FLOPs in units of one Adam step, with a budget equal to 100 Adam updates. Lines show three-seed means, and bands show seed-wise ranges.

Figure 7: ViT/CIFAR-100 epoch-mean training loss and validation accuracy over 50 epochs under matched initialization, split, and minibatch order. Table 1 reports validation-selected and terminal test accuracy.
Language models. On language models, the learned optimizer successfully generalizes to held-out language tasks 100,000-step horizon despite only being meta-trained seeing 160-steps with six history slots. It reaches the lowest terminal validation loss among all baselines. (Table 1, Figure 5). This section reports the setting which embedding and output-head tensors are delegated to Adam. Applying the learned optimizer to all parameters or exclusively to the embedding and output head also maintain convergence and can even outperform the baselines (Appendix B.1.1).
Graph models. The learned optimizer further generalizes to unseen graph modalities and node-classification tasks. The learned optimizer is evaluated on Cora, CiteSeer, and PubMed using GCN, GraphSAGE, and GAT Kipf & Welling (2016); Hamilton et al. (2017); Veličković et al. (2018); Sen et al. (2008). It achieves the highest validation-selected test accuracy in seven of nine comparisons and the highest nine-cell arithmetic mean (Table 1). Accounting for inference overhead, it yields lower training loss than Adam at equal cumulative FLOPs on Cora (Figure 6). Appendix B.1.2 reports all FLOP-matched trajectories.
Vision transformer. Training a six-block ViT on CIFAR-100 tests generalization to a larger model scale with unseen image dataset. The learned optimizer outperforms Adam in both validation-selected and terminal test accuracy, achieving the highest accuracy overall (Table 1). Figure 7 reports the training loss and validation accuracy trajectories.
3.3 ABLATIONS AND BEHAVIORAL ANALYSIS
History span ablations. Reducing history span to 63-step demonstrates that full-span coverage is not required to maintain convergence across all tasks (Table 2). For language models, while full-span achieves lower validation loss compared to 63-step span, both cases are better or comparably to Adam (Appendix B.2.2). Vision task shows consistent pattern, with both spans achieving higher test accuracy than Adam. Graph tasks show near-identical arithmetic mean test accuracies across two spans. Appendix B.2.2 reports the all 9 GNN comparisons.
Temporal dynamics. Figure 8 shows that the learned policy is dynamic and behaves differently from Adam. Following a shared initial trajectory, transitioning to Adam branches to a different solution with higher terminal training loss (Figure 8a). At this branch, weights assigned to the history slots by the learned optimizer differs from norm-matched Adam update (Figure 8b,d). The predicted temporal scores and signed contributions vary over the optimization steps, confirming the policy is not static (Figure 8c,e). Appendix B.2.3 shows the behavioral analysis of other parameter groups.
Table 2: Effect of history span. Language models report terminal validation loss. ViT reports validation-selected and terminal test accuracy, and GNNs report validation-selected test accuracy. The GNN row is the unweighted arithmetic mean across nine model–dataset comparisons, reported as mean ± sample standard deviation across three target seeds. Bold and underlined values mark the best and second-best result in each row.
| Target | Metric | Full span | 63-step span | Adam |
|---|---|---|---|---|
| BERT-Tiny | Val. loss ↓ | 3.463* | 3.824* | 3.810 |
| GPT-Tiny | Val. loss ↓ | 4.250* | 4.261* | 4.268 |
| ViT/CIFAR-100 | Test acc. (best val.) (%) ↑ | 31.13 | 30.81 | 27.61 |
| Test acc. (terminal) (%) ↑ | 31.74 | 30.86 | 27.95 | |
| GNN arithmetic mean across 9 cells | Test acc. (%) ↑ | 76.44 ± 0.28 | 76.47 ± 0.24 | 73.78 ± 0.26 |
- Embedding and output-head tensors are trained with Adam.
(a) Diverging paths from a shared state

Layer-1 source-attention parameter group (panels b-e)
Figure 8: Temporal dynamics on GAT/PubMed. (a) Both paths share the trajectory through , with Adam states reconstructed from the learned path. At step , Adam branches and reaches terminal training loss of 0.30 (), and 0.25 for learned recombination. (b,d) Red bars show the scale-normalized temporal scores and signed contribution fractions for the layer-1 source-attention group at branch (). Signed fractions indicate each slot's directional contribution to the constructed update. corresponds to the slot with newest gradient, and with the oldest. Gold bars show the closest nonnegative coefficient allocation fitted to the norm-matched Adam direction. (c,e) The learned scores and signed contributions vary over updates 24–55. Dotted boxes mark , and hatching marks unpopulated slots.
3.4 COMPUTATIONAL COST AND DEPLOYMENT SCALING
Optimizer training and deployment costs. Training the learned policy requires 64 meta-updates and consumes 0.87 NVIDIA B200 GPU-hours. During deployment, routing all parameters through the learned optimizer requires and the Adam FLOPs per step on BERT and GPT, respectively. The corresponding end-to-end step times are and the matched Adam baselines (Figure 9).

Figure 9: Deployment cost relative to Adam in isolated NVIDIA B200 profiles using bfloat16 arithmetic. A value of 1.0 denotes the matched Adam baseline. FLOPs/step include forward, backward, the learned update, and any update routed to Adam. Time/step measures the same end-to-end boundary. BERT values weight its 128- and 512-token contexts by 0.9/0.1. GNN values are geometric means over the nine model–dataset tasks, with min–max error bars. Appendix A.4 reports all profiles for the learned optimizer.
History slot scaling. In the language profiles, persistent optimizer state covers up to 131,071 past gradients, occupying 301 MB for BERT and 466 MB for GPT. Adam occupies 35 MB and 55 MB in the matched profiles, respectively. Appendix A.4 specifies the profiling boundaries and state accounting.
4 CONCLUSION
This paper demonstrates that a compact temporal recombination policy, meta-trained only on small classification tasks, can generalize to unseen tasks. These results establish recombination of gradient history as a practical design principle for learned optimization.
REFERENCES
Marcin Andrychowicz, Misha Denil, Sergio Gomez, Matthew W Hoffman, David Pfau, Tom Schaul, Brendan Shillingford, and Nando De Freitas. Learning to learn by gradient descent by gradient descent. Advances in neural information processing systems, 29, 2016.
Aakanksha Chowdhery, Sharan Narang, Jacob Devlin, Maarten Bosma, Gaurav Mishra, Adam Roberts, Paul Barham, Hyung Won Chung, Charles Sutton, Sebastian Gehrmann, et al. Palm: Scaling language modeling with pathways. Journal of machine learning research, 24(240):1–113, 2023.
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. Advances in neural information processing systems, 30, 2017.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. arXiv preprint arXiv:1609.02907, 2016.
Luke Metz, James Harrison, C. Daniel Freeman, Amil Merchant, Lucas Beyer, James Bradbury, Naman Agrawal, Ben Poole, Igor Mordatch, Adam Roberts, et al. Velo: Training versatile learned optimizers by scaling up. arXiv preprint arXiv:2211.09760, 2022.
Boris T. Polyak. Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics, 4(5):1–17, 1964. doi: 10.1016/0041-5553(64)90137-5.
Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. Language models are unsupervised multitask learners. OpenAI blog, 1(8):9, 2019.
Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Gallagher, and Tina Eliassi-Rad. Collective classification in network data. AI Mag., 29(3):93–106, September 2008. ISSN 0738-4602. doi: 10.1609/aimag.v29i3.2157. URL https://doi.org/10.1609/aimag.v29i3.2157.
Iulia Turc, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Well-read students learn better: On the importance of pre-training compact models. arXiv preprint arXiv:1908.08962, 2019.
Petar Veličković, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Liò, and Yoshua Bengio. Graph attention networks. In International Conference on Learning Representations, 2018.
Olga Wichrowska, Niru Maheswaranathan, Matthew W. Hoffman, Sergio Gomez Colmenarejo, Misha Denil, Nando de Freitas, and Jascha Sohl-Dickstein. Learned optimizers that scale and generalize. In Proceedings of the 34th International Conference on Machine Learning, pp. 3751–3760. PMLR, 2017.
A IMPLEMENTATION AND EVALUATION DETAILS
This appendix specifies the evaluated optimizer, optimizer-training procedure, target protocols, and resource measurements.
A.1 LEARNED-OPTIMIZER CONFIGURATION
Each parameter tensor is partitioned into fixed groups of at most 256 active coordinates. For tensors with at least two dimensions, trailing dimensions are flattened within each leading-dimension slice. Adjacent complete slices are packed up to the limit, and oversized slices are split into contiguous segments. One-dimensional tensors are segmented directly. Final incomplete segments are padded for batched policy inference, with padded coordinates masked from features and updates.
The evaluated optimizer uses six history slots with capacities 1, 2, 4, 8, 16, 32 and . Manuscript indices run newest to oldest. Attention receives the reverse order. Each populated slot is paired with its temporal center and stored-gradient count.
A.1.1 HISTORY-SLOT FEATURE DEFINITIONS
For a group of parameters, let denote a populated stored average and its current parameter vector. Table 3 defines the six statistics computed per slot. The stabilized norms are and .
Table 3: Statistics computed for the stored gradient average in each populated history slot.
| Feature | Definition |
|---|---|
| Group size | |
| Stored-average scale | |
| Current-parameter scale | |
| Coordinate uniformity | |
| Gradient-parameter alignment | |
| Gradient-to-parameter scale |
The histogram path normalizes each populated slot by its gradient RMS. For normalized coordinate and current parameter , the seven tuple entries are , , , , a signed logarithm of relative to the slot RMS, , and the normalized group index in the extraction batch. Tuple channels are standardized within each slot and clipped to . Sixteen bins are indexed by and store their assigned mean tuples. Empty bins are zero. Padded coordinates are excluded, and feature extraction is detached during optimizer training.
Two-layer MLPs with intermediate LayerNorm and GELU project the six statistics and 112-dimensional histogram to separate 32-dimensional vectors. LayerNorm precedes their learned two-way gated fusion. A fixed sinusoidal encoding adds temporal center and stored-gradient count. Unpopulated slots are excluded from attention and coefficient normalization.
The temporal predictor uses two width-32 Transformer encoder layers, four attention heads, and feed-forward width 128. Softmax normalizes coefficients over populated slots. The evaluated realization also applies an auxiliary group scale after Equation 1. Its learned scale vector attends to every populated slot, while an asymmetric mask prevents slot tokens from attending to it. For its contextualized representation and scalar projection , the scale is
where is learned and . The scale is initialized at one and multiplies the completed recombination.
Algorithm 1 One-slot-per-tier multi-resolution history update at optimization step . Processing stops when no value is carried to the next slot.
Require: current parameter-group gradient history slots from step slot accumulation counters from step history depth and accumulation factor
Ensure: 1: 2: carry {insert the current gradient} 3: 4: while and carry empty do 5: if then 6: next empty; carry; {fill an empty slot} 7: else if then 8: next carry; {replace the full slot and carry its value} 9: else 10: next empty 11: 12: {merge by averaging} 13: end if 14: carry next; 15: end while 16: return
A.1.2 MULTI-RESOLUTION HISTORY UPDATE
Algorithm 1 gives the update for one group, omitting group indices. counts values accumulated at tier . Slots and counters start empty or zero, and a carry beyond tier is discarded.
A.2 OPTIMIZER-TRAINING TASKS AND PROTOCOL
Table 4: Optimizer-training tasks. Parameter counts include all trainable parameters.
| Model | Dataset | Architecture | Params. |
|---|---|---|---|
| MLP | Synthetic binary | 64 inputs; two 64-unit ReLU layers; 2-class head | 8,450 |
| ConvNet | CIFAR-10 | convolutions with 2, 4 channels; ReLU and pooling; 16-unit ReLU; 10-class head | 2,142 |
| MicroResNet | Fashion-MNIST | 8-channel BN stem; residual blocks of width 8, 16; adaptive pooling; 10-class head | 5,122 |
| MicroViT | CIFAR-10 | patches; width 16; 2 heads; one pre-normalized block; FF width 64; 10-class head | 6,810 |
CIFAR-10 and Fashion-MNIST inputs are normalized channelwise with mean and standard deviation 0.5, without augmentation. MicroViT additionally uses a learned class token, learned positional embeddings, and zero dropout. The synthetic dataset contains 20,000 standardized 64-dimensional examples with 32 informative and 10 redundant features and class separation 0.8. Each training set is split stratified 80/20 into model-training and held-out meta-objective partitions.
A.2.1 NORMALIZED CUMULATIVE HELD-OUT-LOSS OBJECTIVE
The complete held-out partition is evaluated after every simulated update in microbatches of 512. The starting loss is detached and the denominator in Equation 2 is lower-bounded by 0.1. Feature statistics are also detached. Gradients pass through every other optimizer path, simulated update, and subsequent held-out loss. Table 5 summarizes the remaining optimizer-training configuration.
Table 5: Optimizer-training configuration.
| Item | Value |
|---|---|
| Tasks per meta-window | All four tasks in Table 4 |
| Model-training batch | 128 |
| Reset trajectories / steps per trajectory | 4 / 160 |
| Successful meta-update cap | 64 |
| TBPTT horizon / meta-update cadence | 20 / 10 model-training updates |
| Meta-objective | Normalized cumulative held-out-loss change in Equation 2 |
| Meta-gradient | full differentiation through exposed paths |
| Meta-optimizer | Adam, learning rate , , , , global gradient-norm clipping at 10 |
| Held-out evaluation microbatch | 512 |
| Objective schedule | Model-training task loss only |
A.3 TARGET-MODEL TRAINING AND EVALUATION
A.3.1 SHARED BASELINE HYPERPARAMETERS
Across all evaluation domains, the baseline optimizers use fixed hyperparameters and zero weight decay. Adam uses a learning rate of , , and . SGD and SGDM use a learning rate of 0.01, with momentum 0 and 0.9, respectively. No domain-specific hyperparameter sweeps are applied, as this evaluation specifically tests deployment performance where exhaustive hyperparameter tuning is computationally prohibitive.
A.3.2 LANGUAGE MODELS
Both language targets use two layers, width 128, and two heads. BERT-Tiny follows Turc et al. (2019). The causal target uses a GPT-2 decoder (Radford et al., 2019). Table 6 summarizes their training configurations.
Table 6: Language-model configurations used for optimizer evaluation.
| Model | Layers / width / heads | Context | Global / micro | Data and objective |
|---|---|---|---|---|
| BERT-Tiny | 2/128/2 | 128 for 90k, then 512 for 10k | 256/8 | Wikipedia–BookCorpus-compatible masked-token prediction |
| GPT-style | 2/128/2 | 128 fixed | 64/16 | WikiText-103 next-token prediction |
Embeddings and the output head use Adam. Learned recombination updates all other language-model parameters. Paired runs share initialization, data, stochastic streams, and a 20-microbatch validation panel. Validation restores model mode and random-number state, and loss is aggregated over predicted targets.
A.3.3 VISION-TRANSFORMER PROTOCOL
The CIFAR-100 model uses six Transformer blocks, width 256, eight heads, patches, and dropout 0.1. The learned optimizer updates all parameters. A fixed stratified split supplies 45,000 training and 5,000 validation examples, with batch size 64 and 704 updates per epoch. Validation is measured after each of 50 epochs, and the terminal state is evaluated once on the test set.
A.3.4 GRAPH MODELS
The graph evaluation crosses GCN, GraphSAGE, and GAT with Cora, CiteSeer, and PubMed. Cora and CiteSeer run for 100 updates with seven slots. PubMed runs for 500 updates with nine slots.
The public Planetoid split and stored node features are used without input-feature normalization. Each split has 20 labeled training nodes per class, 500 validation nodes, and 1,000 test nodes, giving

Figure 10: FLOPs and time per training step, reported as ratios to Adam, by history span.

Figure 11: FLOPs and time per training step, reported as ratios to Adam, by language-model parameter assignment.
140, 120, and 60 training nodes for Cora, CiteSeer, and PubMed. Training loss uses the training mask. Full-graph passes retain all nodes and edges. Validation is recorded after every update, and the terminal state is evaluated once on the test mask without model selection.
A.4 RESOURCE MEASUREMENTS
Figures 10 and 11 report deployment cost by history span and language-model parameter assignment, respectively.
The reported 37,389 parameters include trainable policy tensors and exclude fixed positional encodings. Deployment profiles fix model, hardware, precision, batch, parameter assignment, and software configuration. Each repeat uses at least five warm-up and 50 measured updates; the synchronized BERT repeats use 20 warm-up updates. CUDA events measure both the optimizer update and complete training step. The reported ratio is
In Equation 3, counts the target forward/backward pass and U counts update arithmetic. Fused Adam kernels omit elementwise arithmetic from the profiler. Both Adam terms use 18 declared
Table 7: Terminal validation loss by language-model parameter assignment. Each row reports the paired Adam baseline. The same trained policy is routed to the listed tensors without separate optimizer training for each assignment. Bold marks the lowest learned-optimizer loss within each model.
| Model | Learned optimizer updates | Adam updates | Learned | Adam |
|---|---|---|---|---|
| BERT-Tiny | All parameters | — | 3.889 | 3.815 |
| All except embeddings/output head | Embeddings/output head | 3.463 | 3.810 | |
| Embeddings/output head | All other parameters | 3.484 | 3.811 | |
| GPT-Tiny | All parameters | — | 4.299 | 4.268 |
| All except embeddings/output head | Embeddings/output head | 4.250 | 4.268 | |
| Embeddings/output head | All other parameters | 4.309 | 4.268 |

Learned (embeddings, output head to Adam)
Learned (all parameters)
Learned (embeddings/output head; others to Adam)
Adam
Figure 12: Validation loss when the learned optimizer updates all tensors or either complementary parameter partition. Adam updates the tensors not routed to learned recombination using the same hyperparameters as the all-Adam baseline. BERT changes context at update 90,000, and the GPT inset magnifies updates 30,000–50,000.
scalar operations per updated coordinate. The learned-update term is profiled with Adam disabled before this estimate is added once.
FLOPs and timing are collected separately. Inputs, gradients, and mature history state are resident on-device before measurement. Data loading, validation, logging, and checkpointing are excluded. For language models, Time/step holds each paired Adam forward/backward interval fixed and replaces only its Adam update interval with the measured learned-optimizer interval; this removes between-process target-compute drift from the reported optimizer overhead. Persistent state is measured after history prefill and includes learned-optimizer state, auxiliary Adam state, and policy parameters.
B ADDITIONAL EVALUATION RESULTS AND ABLATIONS
B.1 ADDITIONAL TARGET-MODEL RESULTS
B.1.1 LANGUAGE-MODEL PARAMETER ASSIGNMENTS
Table 7 and Figure 12 compare learned recombination on all tensors with the two complementary hybrid assignments. Arms share initialization, minibatches, stochastic streams, and validation panels. The study does not independently train every parameter assignment.
B.1.2 GRAPH TRAINING TRAJECTORIES
The graph trajectories separate checkpoint selection from compute-normalized optimization. Figure 13 compares the full-span learned optimizer with Adam at equal cumulative FLOPs, while Figure 14 shows the complete validation signal used to select checkpoints without reference to test accuracy.

Learned — Adam
Figure 13: FLOP-aligned GNN training loss for the full-span learned optimizer and Adam. Rows identify datasets, and columns identify model architectures. The horizontal axis measures cumulative profiler-visible FLOPs in units of one Adam step. Lines show three-seed means, and bands show seedwise ranges. Cora and CiteSeer use budgets of 100 Adam steps, while PubMed uses 500 Adam steps. PubMed learned curves continue beyond the dotted 500-step boundary to show the complete 500-update trajectory.

Learned (full span)
Per-seed minimum (3 seeds)
Figure 14: Step-aligned GNN validation loss. Rows identify datasets, and columns identify model architectures. Curves show three-seed means, bands show seedwise ranges, and circles mark the minimum of each seedwise validation trajectory. Checkpoints are selected independently within the fixed 100-update Cora and CiteSeer budgets and 500-update PubMed budget. Test accuracy does not enter checkpoint selection. Figure 13 separately compares training progress at equal cumulative FLOPs.
B.2 MECHANISM EVIDENCE AND ABLATIONS
B.2.1 PARAMETER GROUPING
Table 8 tests deployment regrouping from the output-slice-trained policy and matched training under alternative groupings. Every trajectory remains finite, but effects vary by task and metric. Matched policies use one optimizer-training seed, and the results do not identify a preferred grouping.
Table 8: Parameter-grouping ablation. Entries are mean sample standard deviation over three paired target seeds. The group count is measured at deployment. Output and input slices prioritize complete leading- and second-dimension slices, respectively. Tensor-wide and network-wide conditions form one group per parameter tensor and optimizee. Bold marks the best mean within each task and metric. Adam uses the same target initializations and data streams.
| Policy training | Deployment grouping | Deployment groups | Train-loss AUC ↓ | Terminal |
|---|---|---|---|---|
| MicroLeNet/CIFAR-10 (terminal test loss ↓) | ||||
| Output slice | Output slice | 15 | 1.820 ± 0.012 | 1.743 ± 0.055 |
| Output slice | Input slice | 14 | 1.823 ± 0.016 | 1.705 ± 0.054 |
| Output slice | Tensor-wide | 8 | 1.822 ± 0.014 | 1.681 ± 0.028 |
| Output slice | Network-wide | 1 | 1.831 ± 0.017 | 1.666 ± 0.018 |
| Input slice | Input slice | 14 | 1.873 ± 0.043 | 1.748 ± 0.034 |
| Tensor-wide | Tensor-wide | 8 | 1.827 ± 0.024 | 1.665 ± 0.034 |
| Network-wide | Network-wide | 1 | 1.844 ± 0.009 | 1.693 ± 0.017 |
| Adam | - | - | 1.972 ± 0.024 | 1.804 ± 0.008 |
| GAT/Cora (terminal test accuracy ↑) | ||||
| Output slice | Output slice | 367 | 0.195 ± 0.007 | 80.93 ± 0.15 |
| Output slice | Input slice | 367 | 0.195 ± 0.007 | 81.13 ± 0.31 |
| Output slice | Tensor-wide | 8 | 0.194 ± 0.007 | 81.00 ± 0.26 |
| Output slice | Network-wide | 1 | 0.194 ± 0.007 | 81.00 ± 0.10 |
| Input slice | Input slice | 367 | 0.182 ± 0.007 | 80.90 ± 0.10 |
| Tensor-wide | Tensor-wide | 8 | 0.193 ± 0.007 | 81.00 ± 0.30 |
| Network-wide | Network-wide | 1 | 0.186 ± 0.007 | 81.00 ± 0.36 |
| Adam | - | - | 0.515 ± 0.013 | 80.37 ± 1.03 |
B.2.2 HISTORY-DEPTH CONTROLS
Table 9 compares the 63-step span with the full span over three paired target seeds. Aggregate accuracy is similar, while the preferred span varies across cells. History depth is fixed before validation and test evaluation.
Table 9: GNN history-depth ablation. Entries are test accuracy (%) from the lowest-validation-loss state, reported as mean sample standard deviation over three paired target seeds. The final row is the unweighted arithmetic mean of the nine model–dataset means. Bold marks the best mean, and underlining marks the second-best; tied means are both bold.
| Data | Model | 63-step span (%) | Full span (%) |
|---|---|---|---|
| Cora | GCN | 80.77 ± 0.67 | 80.83 ± 0.45 |
| GraphSAGE | 79.53 ± 0.35 | 79.27 ± 0.50 | |
| GAT | 80.77 ± 0.71 | 80.83 ± 0.51 | |
| CiteSeer | GCN | 70.07 ± 0.35 | 70.07 ± 0.23 |
| GraphSAGE | 70.13 ± 0.31 | 69.50 ± 0.46 | |
| GAT | 68.07 ± 1.56 | 67.60 ± 1.73 | |
| PubMed | GCN | 76.43 ± 0.45 | 75.77 ± 0.55 |
| GraphSAGE | 77.77 ± 0.81 | 77.13 ± 0.84 | |
| GAT | 75.80 ± 0.53 | 75.00 ± 0.87 | |
| Arithmetic mean | 75.48 ± 0.21 | 75.11 ± 0.23 | |

Figure 15: Full-trajectory groupwise temporal dynamics on GAT/PubMed. Rows show a 64-coordinate layer-1 source-attention group, a 256-coordinate layer-1 dense-weight group, and the 3-coordinate layer-2 bias. Columns show temporal contributions , raw slot RMS, and signed contribution fractions; the final coefficient is . RMS colors are logarithmically spaced while their labels retain linear values; signed-fraction colors use a symmetric logarithmic scale. Hatching marks temporal ranges not yet populated.
B.2.3 TEMPORAL COEFFICIENTS AND STORED-HISTORY CONTENT
Figure 15 compares the complete GAT/PubMed trajectories of a source-attention group, a dense-weight group, and the 3-coordinate output bias. Their temporal contributions, slot magnitudes, and signed contributions exhibit distinct patterns along the same model trajectory.
C SPATIO-TEMPORAL EXTENSION
This section extends temporal recombination across spatial tiers: multiple partitions of a target-model tensor independently construct candidate updates from gradient history, and a second predictor combines those candidates into the final parameter update.
C.1 PYRAMID GROUPING
Pyramid grouping tests whether the temporal policy can operate over more than one fixed partition of a parameter tensor. Each tensor of rank at least two is represented by its first axis and the flattened product of its remaining axes.
Figure 16 illustrates the generalized spatial hierarchy. The evaluated realization retains the whole-tensor configuration and the two single-axis configurations.
The temporal policy produces one full-tensor candidate from each retained partition . A separate predictor assigns Softmax weights to these candidates and constructs
The temporal path applies the same temporal predictor, with shared weights, to every retained partition. The spatial path uses a separate network, also shared across partitions, whose feature encoder, self-attention encoder, and coefficient head follow the temporal architecture but have independently
: partition configuration
: subdivision depth along axis
: spatial tier
: group within configuration
Split axis 1
Split axis 2
Split axis 1
Split axis 2
Spatial tier k: coarse fine
Configurations within a spatial tier
Figure 16: Spatio-temporal extension through pyramid grouping. A partition configuration assigns subdivision depth to tensor axis , and spatial tier contains configurations with the same total subdivision depth. Each cell denotes parameter group within configuration . The illustration uses two tensor axes and split factor through tier ; the evaluated realization retains the whole-tensor and two single-axis configurations with 16 splits per active axis. Within each group, the temporal policy recombines the stored gradient history.
Table 10: Full-trajectory test accuracy (%) for row and pyramid grouping on unseen graph tasks. Cora and CiteSeer use 100 updates and PubMed uses 500. Entries are mean sample standard deviation over three target seeds. Bold and underlined values mark the best and second-best mean in each row.
| Data | Model | Row | Pyramid | Adam | SGD | SGDM |
|---|---|---|---|---|---|---|
| Cora | GCN | |||||
| GraphSAGE | ||||||
| GAT | ||||||
| CiteSeer | GCN | |||||
| GraphSAGE | ||||||
| GAT | ||||||
| PubMed | GCN | |||||
| GraphSAGE | ||||||
| GAT | ||||||
| Arithmetic mean across 9 cells | ||||||
learned parameters. The spatial network omits the scale token and group-scale output; its Softmax weights directly combine the partition candidates.
The evaluated construction forms three partitions: the whole tensor, 16 contiguous groups along the first axis, and 16 contiguous groups along the flattened trailing axis. Groups smaller than 64 coordinates are omitted. The pyramid policy matches the representative row-grouped policy across nine unseen graph tasks. Table 10 reports test accuracy from the minimum-validation-loss state. Its arithmetic mean is 76.51%, compared with 76.44% for row grouping and 73.78% for Adam. The two learned policies were trained independently, so the comparison establishes that both grouping constructions function under the evaluated protocol rather than isolating the effect of grouping alone.