Manuscript Offprint

arXiv:2610.09604

Lightweight and Versatile Learned Optimization by Recombination of Gradient History

Minyoung Choi, Dalta Imam Maulana, Wanyeong Jung

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

Figure 1: Recombination of gradient history as a learned update. Recombination of history contributions −∑hαhgh-\sum_{h}\alpha_{h}gh with predicted coefficients αh\alpha_{h} 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.

References (36)