Multi-Agent AI Discovers New Optimizer Programs for Transformers

Zhongzheng Li, Tiancan Feng, Wenhao Li, Qingsong Ran, Shikun Feng, Xiaoyuan Zhang, Yue Wang, Xiaoguang Zhao· July 24, 2026 View original

Summary

OPTScientist is a theory-guided multi-agent framework that discovers typed optimizer programs for transformer pretraining. It uses a collaborative process involving Theorist, Designer, Engineer, and Reviewer agents to synthesize, evaluate, and refine optimizers, leading to the discovery of RS-MR, a reduced-state matrix optimizer that improves transformer pretraining.

Designing effective optimizers for modern deep learning, particularly for transformer models, is a complex scientific challenge that requires balancing various factors like optimization geometry, numerical stability, and empirical generalization. Traditional automated discovery methods often either lack structure, leading to invalid programs, or are too constrained, limiting innovation. To overcome these limitations, OPTScientist, a novel multi-agent framework, has been introduced.OPTScientist frames optimizer design as a structured scientific search problem within a typed domain-specific language (DSL). This DSL allows for expressing optimizer updates through modular components such as direction, scaling, and regularization. The framework employs four specialized AI agents—Theorist, Designer, Engineer, and Reviewer—who collaborate in an iterative loop. These agents propose hypotheses, synthesize DSL candidates, compile and evaluate the optimizers, and provide critical feedback.A key feature of OPTScientist is its ability to extend its search space. When repeated failures indicate representational bottlenecks, the framework can propose small extensions to the DSL. This approach led to the discovery of RS-MR, a reduced-state matrix optimizer that demonstrated improved transformer pretraining performance over strong baselines. This research suggests a promising future for automated optimizer science, grounded in theoretical principles, structured programming, and closed-loop experimentation.

Why it matters

This research is highly significant for professionals involved in training and deploying large AI models, as it offers a path to automatically discover more efficient and effective optimizers. Better optimizers can lead to faster training, improved model performance, and reduced computational costs.

How to implement this in your domain

  1. 1Evaluate your current deep learning optimizer choices and their impact on training efficiency and model performance.
  2. 2Explore the OPTScientist framework's principles for automated optimizer discovery in your own research or development.
  3. 3Consider adopting a modular, DSL-based approach for defining and experimenting with custom optimizers.
  4. 4Investigate the potential benefits of RS-MR or similar automatically discovered optimizers for your transformer pretraining tasks.

Who benefits

AI/ML PlatformsCloud ComputingResearch & DevelopmentSemiconductorAutomotive (for autonomous driving AI)

Key takeaways

  • Optimizer design for deep learning is complex, balancing many factors.
  • OPTScientist is a multi-agent framework for automated optimizer discovery.
  • It uses a typed domain-specific language and collaborative AI agents.
  • The framework discovered RS-MR, an optimizer that improves transformer pretraining.

Original post by Zhongzheng Li, Tiancan Feng, Wenhao Li, Qingsong Ran, Shikun Feng, Xiaoyuan Zhang, Yue Wang, Xiaoguang Zhao

"arXiv:2607.20486v1 Announce Type: new Abstract: Designing optimizers for modern deep learning remains a challenging scientific problem, requiring the joint consideration of optimization geometry, state dynamics, numerical stability, implementation constraints, and empirical gener…"

View on X

Originally posted by Zhongzheng Li, Tiancan Feng, Wenhao Li, Qingsong Ran, Shikun Feng, Xiaoyuan Zhang, Yue Wang, Xiaoguang Zhao on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses