atlas

Research map / Large language models / AI and society

metaTextGrad: Automatically optimizing language model optimizers

NeurIPS 2025 · Large language models › AI and society · approach: Critiques of LLM claims and judging · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes metaTextGrad, a meta-optimizer that tunes the prompts and combines the structures of LLM-based optimizers (TextGrad TGD, ADAS-TG) so they align with a specific task.

Problem

LLM-based optimizers used for prompt and program optimization are hand-designed, general-purpose and fixed, so they are not aligned with specific tasks and cannot be combined adaptively.

Approach

Treat the optimizer itself as an object to optimize: a meta prompt optimizer refines each optimizer's meta-prompt using task examples, and a meta structure optimizer (an o1 LLM) merges multiple prompt-optimized optimizers into a composite, with both selected by validation score in an outer loop.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
apply meta-optimization to the optimizermetaTextGrad vs ADAS-TG · BBH Word Sorting testaccuracy: 0.58 -> 0.65Helped
apply meta-optimization to the optimizermetaTextGrad vs 8-shot MIPROv2 · BBH Dyck Languages testaccuracy: 0.26 -> 0.37Helped
apply meta-optimization to the optimizermetaTextGrad vs Self-consistency (8) · GPQA Diamond testaccuracy: 0.42 -> 0.40Hurt
apply meta-optimization to the optimizermetaTextGrad vs Zero-shot MIPROv2 · MMLU Abstract Algebra testaccuracy: 0.77 -> 0.71Hurt
add meta prompt optimization to TGD (ablation)TGD Optimizer · BBH Dyck Languages testaccuracy: 0.10 -> 0.24Helped
add meta prompt optimization to ADAS-TG (ablation)ADAS-TG · BBH Dyck Languages testaccuracy: 0.16 -> 0.37Helped
add meta structure optimization (ablation)ADAS-TG · BBH Dyck Languages testaccuracy: 0.16 -> 0.16No clear effect
transfer the optimizer trained on GPT-4o-mini to Claude 3 HaikumetaTextGrad · BBH Dyck Languages testaccuracy: 0.34 -> 0.35Helped
transfer the optimizer trained on GPQA Diamond to Abstract AlgebrametaTextGrad · MMLU Abstract Algebra testaccuracy: 0.71 -> 0.77Helped
use metaTextGrad rather than zero-shot CoT with GPT-4o-miniBBH Dyck Languages · GPT-4o-miniperformance: 0.05 -> 0.37Helped

Surprising findings

Limitations

Experimental setup

Datasets: BBH Word Sorting BBH Dyck Languages MMLU Abstract Algebra GPQA Diamond

Benchmarks: BBH Word Sorting BBH Dyck Languages GPQA Diamond MMLU Abstract Algebra

Metrics: accuracy

Baselines: Zero-shot CoT 8-shot CoT Self-consistency Best of N MIPROv2 TextGrad TGD ADAS-TG

Builds on: TextGrad DSPy ADAS MIPRO OPRO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy