paper-with-me

Papers

Introducing MAPO: Momentum-Aided Gradient Descent Prompt Optimization

2024-10-25 · Anthony Cui, Pranav Nandyalam, Ethan Cheung, Kevin Zhu

Momentum-Aided Prompt Optimization (MAPO) enhances the efficiency and efficacy of prompt optimization for Large Language Models (LLMs). Building on ProTeGi, MAPO uses positive natural language "gradients" and a momentum-based extension to refine prompts effectively. By tracking gradient history, MAPO avoids local minima and oscillations. It also utilizes beam search and an Upper Confidence Bound (UCB) algorithm for balanced candidate expansion and selection. Benchmark testing shows that MAPO achieves faster convergence time with fewer API calls and higher F1 scores than ProTeGi, proving it as a robust and scalable solution for automated prompt engineering in LLMs.

📄 PDF Abstract BibTeX arXiv:2410.19499

Code (0)

등록된 구현이 없습니다.

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Continuous Time Analysis of Momentum Methods

2019-06-10 · Nikola B. Kovachki, Andrew M. Stuart

Gradient descent-based optimization methods underpin the parameter training of neural networks, and hence comprise a significant component in the impressive test results found in a number of applications. Introducing sto…

Global Convergence of Natural Policy Gradient with Hessian-aided Momentum Variance Reduction

2024-01-02 · Jie Feng, Ke Wei, Jinchi Chen

Natural policy gradient (NPG) and its variants are widely-used policy search methods in reinforcement learning. Inspired by prior work, a new NPG variant coined NPG-HM is developed in this paper, which utilizes the Hessi…

MuJoCoPolicy Gradient Methods

Scaling transition from momentum stochastic gradient descent to plain stochastic gradient descent

2021-06-12 · Kun Zeng, Jinlan Liu, Zhixia Jiang, Dongpo Xu

The plain stochastic gradient descent and momentum stochastic gradient descent have extremely wide applications in deep learning due to their simple settings and low computational complexity. The momentum stochastic grad…

Gradient Descent with Polyak's Momentum Finds Flatter Minima via Large Catapults

2023-11-25 · Prin Phunyaphibarn, Junghyun Lee, Bohan Wang, Huishuai Zhang 외

Although gradient descent with Polyak's momentum is widely used in modern machine and deep learning, a concrete understanding of its effects on the training trajectory remains elusive. In this work, we empirically show t…

Momentum-Based Policy Gradient Methods

2020-07-13 · ICML 2020 1 · Feihu Huang, Shangqian Gao, Jian Pei, Heng Huang

In the paper, we propose a class of efficient momentum-based policy gradient methods for the model-free reinforcement learning, which use adaptive learning rates and do not require any large batches. Specifically, we pro…

Policy Gradient Methods