paper-with-me

Papers

RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agents

2024-06-17 · Weizhe Chen, Sven Koenig, Bistra Dilkina

In this past year, large language models (LLMs) have had remarkable success in domains outside the traditional natural language processing, and people are starting to explore the usage of LLMs in more general and close to application domains like code generation, travel planning, and robot controls. Connecting these LLMs with great capacity and external tools, people are building the so-called LLM agents, which are supposed to help people do all kinds of work in everyday life. In all these domains, the prompt to the LLMs has been shown to make a big difference in what the LLM would generate and thus affect the performance of the LLM agents. Therefore, automatic prompt engineering has become an important question for many researchers and users of LLMs. In this paper, we propose a novel method, \textsc{RePrompt}, which does "gradient descent" to optimize the step-by-step instructions in the prompt of the LLM agents based on the chat history obtained from interactions with LLM agents. By optimizing the prompt, the LLM will learn how to plan in specific domains. We have used experiments in PDDL generation and travel planning to show that our method could generally improve the performance for different reasoning tasks when using the updated prompt as the initial prompt.

📄 PDF Abstract BibTeX arXiv:2406.11132

Code (0)

등록된 구현이 없습니다.

Tasks

Code GenerationPrompt Engineering

Methods 이 논문이 사용한 방법론

Travel 설명 없음

Similar Papers 제목 키워드 기반

Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Sampling

2023-05-17 · Weijia Xu, Andrzej Banburski-Fahey, Nebojsa Jojic

We introduce Reprompting, an iterative sampling algorithm that automatically learns the Chain-of-Thought (CoT) recipes for a given task without human intervention. Through Gibbs sampling, Reprompting infers the CoT recip…

Autonomous Control Leveraging LLMs: An Agentic Framework for Next-Generation Industrial Automation

2025-07-03 · Javal Vyas, Mehmet Mercangoz arxiv

The increasing complexity of modern chemical processes, coupled with workforce shortages and intricate fault scenarios, demands novel automation paradigms that blend symbolic reasoning with adaptive control. In this work…

Instruction FollowingContinuous Control

RePrompt: Automatic Prompt Editing to Refine AI-Generative Art Towards Precise Expressions

2023-02-19 · Yunlong Wang, Shuyuan Shen, Brian Y. Lim

Generative AI models have shown impressive ability to produce images with text prompts, which could benefit creativity in visual art creation and self-expression. However, it is unclear how precisely the generated images…

Image Generation

ChatGPT for Conversational Recommendation: Refining Recommendations by Reprompting with Feedback

2024-01-07 · Kyle Dylan Spurlock, Cagla Acun, Esin Saka, Olfa Nasraoui

Recommendation algorithms have been pivotal in handling the overwhelming volume of online content. However, these algorithms seldom consider direct user input, resulting in superficial interaction between them. Efforts h…

Conversational RecommendationPrompt Engineering

The Illusion of Secure LLM Code: Closing the Security Gap via Iterative Reprompting

2026-07-26 · Ishpuneet Singh, Shreyas Mahajan, Gurjot Singh, Maninder Singh arxiv

Large Language Models (LLMs) are increasingly integrated into software development workflows, yet their ability to autonomously generate secure authentication code remains uncertain. This paper evaluates the security arc…

Prompt Engineering