GRL-Prompt: Towards Knowledge Graph based Prompt Optimization via Reinforcement Learning
Yuze Liu, Tingjie Liu, Tiehua Zhang, Youhua Xia, Jinze Wang, Zhishu, Shen, Jiong Jin, Fei Richard Yu

TL;DR
GRL-Prompt is a reinforcement learning framework that automatically optimizes prompts for large language models using a knowledge graph to encode query-example relationships, significantly improving performance.
Contribution
This paper introduces a novel RL-based prompt optimization method utilizing a knowledge graph for structured prompt construction, advancing automated prompt engineering for LLMs.
Findings
Outperforms state-of-the-art prompt methods
Achieves higher ROUGE and BLEU scores
Demonstrates effective prompt optimization via RL
Abstract
Large language models (LLMs) have demonstrated impressive success in a wide range of natural language processing (NLP) tasks due to their extensive general knowledge of the world. Recent works discovered that the performance of LLMs is heavily dependent on the input prompt. However, prompt engineering is usually done manually in a trial-and-error fashion, which can be labor-intensive and challenging in order to find the optimal prompts. To address these problems and unleash the utmost potential of LLMs, we propose a novel LLMs-agnostic framework for prompt optimization, namely GRL-Prompt, which aims to automatically construct optimal prompts via reinforcement learning (RL) in an end-to-end manner. To provide structured action/state representation for optimizing prompts, we construct a knowledge graph (KG) that better encodes the correlation between the user query and candidate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAnomaly Detection Techniques and Applications · Neural Networks and Applications · Data Stream Mining Techniques
MethodsSparse Evolutionary Training
