paper-with-me

Papers

metaTextGrad: Automatically optimizing language model optimizers

2025-05-24 · Guowei Xu, Mert Yuksekgonul, Carlos Guestrin, James Zou

Large language models (LLMs) are increasingly used in learning algorithms, evaluations, and optimization tasks. Recent studies have shown that using LLM-based optimizers to automatically optimize model prompts, demonstrations, predictions themselves, or other components can significantly enhance the performance of AI systems, as demonstrated by frameworks such as DSPy and TextGrad. However, optimizers built on language models themselves are usually designed by humans with manual design choices; optimizers themselves are not optimized. Moreover, these optimizers are general purpose by design, to be useful to a broad audience, and are not tailored for specific tasks. To address these challenges, we propose metaTextGrad, which focuses on designing a meta-optimizer to further enhance existing optimizers and align them to be good optimizers for a given task. Our approach consists of two key components: a meta prompt optimizer and a meta structure optimizer. The combination of these two significantly improves performance across multiple benchmarks, achieving an average absolute performance improvement of up to 6% compared to the best baseline.

📄 PDF Abstract BibTeX arXiv:2505.18524

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage Modellingmodel

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…
TextGrad TextGrad is a powerful framework building automatic ``differentiation'' via text. TextGrad implements backpropagation through text feedback provided by LLMs, strongly building on…

Similar Papers 제목 키워드 기반

LangProBe: a Language Programs Benchmark

2025-02-27 · Shangyin Tan, Lakshya A Agrawal, Arnav Singhvi, Liheng Lai 외

Composing language models (LMs) into multi-step language programs and automatically optimizing their modular prompts is now a mainstream paradigm for building AI systems, but the tradeoffs in this space have only scarcel…

Automated Algorithm Design for Auto-Tuning Optimizers

2025-10-19 · Floris-Jan Willemsen, Niki van Stein, Ben van Werkhoven arxiv

Automatic performance tuning (auto-tuning) is essential for optimizing high-performance applications, where vast and irregular search spaces make manual exploration infeasible. While auto-tuners traditionally rely on cla…

Cost-Sensitive Approach to Batch Size Adaptation for Gradient Descent

2017-12-09 · Matteo Pirotta, Marcello Restelli

In this paper, we propose a novel approach to automatically determine the batch size in stochastic gradient descent methods. The choice of the batch size induces a trade-off between the accuracy of the gradient estimate …

General Classification

Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs

2024-06-17 · Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman 외

Language Model Programs, i.e. sophisticated pipelines of modular language model (LM) calls, are increasingly advancing NLP tasks, but they require crafting prompts that are jointly effective for all modules. We study pro…

Language ModelingLanguage ModellingNavigate

Randomized Benchmarking of Local Zeroth-Order Optimizers for Variational Quantum Systems

2023-10-14 · Lucas Tecot, Cho-Jui Hsieh

In the field of quantum information, classical optimizers play an important role. From experimentalists optimizing their physical devices to theorists exploring variational quantum algorithms, many aspects of quantum inf…

Benchmarking