paper-with-me

Papers

Local Prompt Optimization

2025-04-29 · Yash Jain, Vishal Chowdhary

In recent years, the use of prompts to guide the output of Large Language Models have increased dramatically. However, even the best of experts struggle to choose the correct words to stitch up a prompt for the desired task. To solve this, LLM driven prompt optimization emerged as an important problem. Existing prompt optimization methods optimize a prompt globally, where in all the prompt tokens have to be optimized over a large vocabulary while solving a complex task. The large optimization space (tokens) leads to insufficient guidance for a better prompt. In this work, we introduce Local Prompt Optimization (LPO) that integrates with any general automatic prompt engineering method. We identify the optimization tokens in a prompt and nudge the LLM to focus only on those tokens in its optimization step. We observe remarkable performance improvements on Math Reasoning (GSM8k and MultiArith) and BIG-bench Hard benchmarks across various automatic prompt engineering methods. Further, we show that LPO converges to the optimal prompt faster than global methods.

📄 PDF Abstract BibTeX arXiv:2504.20355

Code (0)

등록된 구현이 없습니다.

Tasks

GSM8KMathPrompt Engineering

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Localized Zeroth-Order Prompt Optimization

2024-03-05 · Wenyang Hu, Yao Shu, Zongmin Yu, Zhaoxuan Wu 외

The efficacy of large language models (LLMs) in understanding and generating natural language has aroused a wide interest in developing prompt-based methods to harness the power of black-box LLMs. Existing methodologies …

global-optimization

Modular Prompt Optimization: Optimizing Structured Prompts with Section-Local Textual Gradients

2026-01-07 · Prith Sharma, Austin Z. Henley arxiv

Prompt quality plays a central role in controlling the behavior, reliability, and reasoning performance of large language models (LLMs), particularly for smaller open-source instruction-tuned models that depend heavily o…

Two-Stage Prompt Optimization for Few-Shot Relation Extraction: From Reasoning-Guided Search to Gradient-Guided Refinement

2026-06-28 · Aunabil Chakma, Mihai Surdeanu, Eduardo Blanco arxiv

Automatic prompt optimization is still underexplored for episodic few-shot relation extraction with smaller language models. We propose a two-stage framework that combines reasoning-based prompt optimization with gradien…

Relation Extraction

ADOPT: Adaptive Dependency-Guided Joint Prompt Optimization for Multi-Step LLM Pipelines

2025-12-31 · Minjun Zhao, Xinyu Zhang, Shuai Zhang, Deyang Li 외 arxiv

Multi-step LLM pipelines can solve complex tasks, but jointly optimizing prompts across steps remains challenging due to missing step-level supervision and inter-step dependency. We propose ADOPT, an adaptive dependency-…

Multi-Agent Design: Optimizing Agents with Better Prompts and Topologies

2025-02-04 · Han Zhou, Xingchen Wan, Ruoxi Sun, Hamid Palangi 외

Large language models, employed as multiple agents that interact and collaborate with each other, have excelled at solving complex tasks. The agents are programmed with prompts that declare their functionality, along wit…