paper-with-me

Papers

Reflection-Enhanced Meta-Optimization Integrating TextGrad-style Prompt Optimization with Memory-Driven Self-Evolution

2025-08-26 · Chunlong Wu, Zhibo Qu arxiv

Recent advances in prompt optimization, exemplified by methods such as TextGrad, enable automatic, gradient-like refinement of textual prompts to enhance the performance of large language models (LLMs) on specific downstream tasks. However, current approaches are typically stateless and operate independently across optimization runs, lacking mechanisms to preserve and leverage historical optimization experience. Furthermore, they are susceptible to overfitting, often yielding prompt updates that generalize poorly beyond the immediate task context. To address these limitations, we propose Reflection-Enhanced Meta-Optimization (REMO), a novel framework that integrates (1) a memory-augmented Reflection Retrieval-Augmented Generation (RAG) module - structured as a "mistake notebook" and (2) a Self-Adaptive Optimizer, implemented via an LLM-driven meta-controller that synthesizes epoch-level reflective insights to iteratively improve system-level prompting strategies. This architecture enables not only local, fine-grained prompt tuning akin to TextGrad, but also the systematic accumulation and reuse of cross-run optimization knowledge, thereby supporting continual improvement over time. We instantiate the REMO framework using Qwen3-32B in standard inference mode - without explicit chain-of-thought prompting - and evaluate its efficacy on the GSM8K benchmark for mathematical reasoning. Experimental results demonstrate that, compared to a TextGrad baseline, REMO achieves more stable and robust generalization, albeit at the cost of increased computational overhead. We provide a detailed exposition of the algorithmic design, conduct a qualitative and quantitative analysis of optimization dynamics, and present a comprehensive ablation study to elucidate the contributions of each component.

📄 PDF Abstract BibTeX arXiv:2508.18749

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical Reasoning

Similar 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, demonstra…

Language ModelingLanguage Modellingmodel

TextGrad: Automatic "Differentiation" via Text

2024-06-11 · Mert Yuksekgonul, Federico Bianchi, Joseph Boen, Sheng Liu 외

AI is undergoing a paradigm shift, with breakthroughs achieved by systems orchestrating multiple large language models (LLMs) and other complex components. As a result, developing principled and automated optimization me…

Question AnsweringSpecificity

TextualVerifier: Verify TextGrad Step-by-Step

2025-10-29 · Eugenius Mario Situmorang, Adila Alfa Krisnadhi, Ari Wibisono arxiv

TextGrad is a novel approach to text-based automatic differentiation that enables composite AI systems to perform optimization without explicit numerical equations. However, it currently lacks self-verification mechanism…

Decision Making

TextGrad: Advancing Robustness Evaluation in NLP by Gradient-Driven Optimization

2022-12-19 · Bairu Hou, Jinghan Jia, Yihua Zhang, Guanhua Zhang 외

Robustness evaluation against adversarial examples has become increasingly important to unveil the trustworthiness of the prevailing deep models in natural language processing (NLP). However, in contrast to the computer …

Adversarial DefenseAdversarial RobustnessLanguage Modelling

PrefPO: Pairwise Preference Prompt Optimization

2026-03-13 · Rahul Singhal, Pradyumna Tambwekar, Karime Maamari arxiv

Prompt engineering is effective but labor-intensive, motivating automated optimization methods. Existing methods typically require labeled datasets, which are often unavailable, and produce verbose, repetitive prompts. W…

Reinforcement LearningPrompt Engineering