Skip to main navigation Skip to search Skip to main content

REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimization

  • Peiyan Zhang
  • , Haibo Jin
  • , Leyang Hu
  • , Xinnuo Li
  • , Liying Kang
  • , Man Luo
  • , Yangqiu Song
  • , Haohan Wang*
  • *Corresponding author for this work

Research output: Contribution to journalConference article published in journalpeer-review

Abstract

Recent advancements in large language models (LLMs) have significantly enhanced the ability of LLM-based systems to perform complex tasks through natural language processing and tool interaction. However, optimizing these LLM-based systems for specific tasks remains challenging, often requiring manual interventions like prompt engineering and hyperparameter tuning. Existing automatic optimization methods, such as textual feedback-based techniques (e.g., TextGrad), tend to focus on immediate feedback, analogous to using immediate derivatives in traditional numerical gradient descent. However, relying solely on such feedback can be limited when the adjustments made in response to this feedback are either too small or fluctuate irregularly, potentially slowing down or even stalling the optimization process. In this paper, we introduce REVOLVE, an optimization method that tracks how Responses EVOLVE across iterations in LLM systems. By focusing on the evolution of responses over time, REVOLVE enables more stable and effective optimization by making thoughtful, progressive adjustments at each step. Experiments across three tasks demonstrate the adaptability and efficiency of our proposal. Beyond its practical contributions, REVOLVE highlights a promising direction, where the rich knowledge from established optimization principles can be leveraged to enhance LLM systems, which paves the way for further advancements in this hybrid domain. Code is available at: https://llm-revolve.netlify.app

Original languageEnglish
Pages (from-to)75216-75233
Number of pages18
JournalProceedings of Machine Learning Research
Volume267
Publication statusPublished - 1 May 2025
Event42nd International Conference on Machine Learning, ICML 2025 - Vancouver, Canada
Duration: 13 Jul 202519 Jul 2025

Bibliographical note

Publisher Copyright:
© 2025 by the author(s).

Fingerprint

Dive into the research topics of 'REVOLVE: Optimizing AI Systems by Tracking Response Evolution in Textual Optimization'. Together they form a unique fingerprint.

Cite this