Daily Dose of Data Science | Avi Chawla | Substack
Read post

6 Automatic Optimization Methods for LLM Systems

Six automatic optimization methods for LLM systems are compared, all sharing a common loop: an LLM proposes a change, an evaluator scores it, and the best changes are kept. The methods differ in what they optimize and what feedback they use. OPRO (Google DeepMind) treats the LLM as the optimizer using a leaderboard of past prompts. MIPROv2 (DSPy) jointly tunes instructions and few-shot examples via Bayesian search. TextGrad (Stanford) applies backpropagation-style natural-language criticism through a computation graph. GEPA (Berkeley) reads full execution traces to diagnose failures and maintain a Pareto frontier of candidates. AlphaEvolve (DeepMind) evolves code using two Gemini models and automated evaluators, producing results like a faster matrix multiplication algorithm. AutoResearch (Karpathy) runs a coding agent on ML training scripts, committing only improvements and using git as a log. Each method has distinct tradeoffs in compute cost, data requirements, and applicability.

    #llm#ai-agents#prompt-engineering
Jul 31•7m read time•From blog.dailydoseofds.com
Post cover image
Table of contents
Agent memory, at enterprise scale!6 automatic optimization methods for LLM systemsP.S. For those wanting to develop “Industry ML” expertise:
288 Impressions
Daily Dose of Data Science | Avi Chawla | Substack's image
Daily Dose of Data Science | Avi Chawla | Substack

Daily Dose of DS offers a daily dose of inspiration, education, and motivation for data scientists a...

1.2K Followers

•

12.8K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard