cs.LGOct 24, 2026

Reactive Optimizers

Authors: Xingjian Bai, Jia-Hao Liang, Jayden Teoh, Vincent Sitzmann

Organizations: Massachusetts Institute of Technology

Abstract

We study a reactive optimizer that uses a pretrained language-model agent to inspect training dynamics and rewrite executable optimizer code during a single training run. The agent can change update rules and schedules for individual parameter groups, without optimizer-specific meta-training or memory transferred from other runs. We evaluate this approach, OPAL, on language modeling and image generation when a recipe has not been tuned for the target setting. Across the evaluated settings, it matches or improves on selected fixed recipes. Analysis of its decisions shows changes to learning-rate schedules, optimizer structure, numerical precision, and momentum. Controlled experiments also show adaptation to repeated data corruption and reduced overfitting. We report these behaviors together with the agent's computational cost and implementation requirements.

Figures & tables

Explore similar work

CardsList
  1. RSI-Opt: Recursive Self-Improvement Optimizer Agents For Model Training

    Oct 23, 2026Binghang Lu, Yige Sun, Guang LinLarge Language Model-Guided OptimizationLearning to Optimize

  2. The Best Optimizer Depends on Batch Size

    Oct 6, 2026Xingyu Dang, Kaiyue Wen, Sadhika MalladiDeep Learning OptimizationHyperparameter Transfer

  3. Harnessing Language Models as Optimization Modeling Agents

    Oct 22, 2026Yunxiang Luo, Xin Xu, Tianhao Chen +7Large Language Model-Guided OptimizationNatural Language to Optimization Modeling