PACE: Improving Prompt with Actor-Critic Editing for Large Language Model

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Dong, Yihong, Luo, Kangcheng, Jiang, Xue, Jin, Zhi, Li, Ge
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866913351835058176
author Dong, Yihong
Luo, Kangcheng
Jiang, Xue
Jin, Zhi
Li, Ge
author_facet Dong, Yihong
Luo, Kangcheng
Jiang, Xue
Jin, Zhi
Li, Ge
contents Large language models (LLMs) have showcased remarkable potential across various tasks by conditioning on prompts. However, the quality of different human-written prompts leads to substantial discrepancies in LLMs' performance, and improving prompts usually necessitates considerable human effort and expertise. To this end, this paper proposes Prompt with Actor-Critic Editing (PACE) for LLMs to enable automatic prompt editing. Drawing inspiration from the actor-critic algorithm in reinforcement learning, PACE leverages LLMs as the dual roles of actors and critics, conceptualizing prompt as a type of policy. PACE refines prompt, taking into account the feedback from both actors performing prompt and critics criticizing response. This process helps LLMs better align prompt to a specific task, thanks to real responses and thinking from LLMs. We conduct extensive experiments on 24 instruction induction tasks and 21 big-bench tasks. Experimental results indicate that PACE elevates the relative performance of medium/low-quality human-written prompts by up to 98\%, which has comparable performance to high-quality human-written prompts. Moreover, PACE also exhibits notable efficacy for prompt generation.
format Preprint
id arxiv_https___arxiv_org_abs_2308_10088
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PACE: Improving Prompt with Actor-Critic Editing for Large Language Model
Dong, Yihong
Luo, Kangcheng
Jiang, Xue
Jin, Zhi
Li, Ge
Computation and Language
Software Engineering
Large language models (LLMs) have showcased remarkable potential across various tasks by conditioning on prompts. However, the quality of different human-written prompts leads to substantial discrepancies in LLMs' performance, and improving prompts usually necessitates considerable human effort and expertise. To this end, this paper proposes Prompt with Actor-Critic Editing (PACE) for LLMs to enable automatic prompt editing. Drawing inspiration from the actor-critic algorithm in reinforcement learning, PACE leverages LLMs as the dual roles of actors and critics, conceptualizing prompt as a type of policy. PACE refines prompt, taking into account the feedback from both actors performing prompt and critics criticizing response. This process helps LLMs better align prompt to a specific task, thanks to real responses and thinking from LLMs. We conduct extensive experiments on 24 instruction induction tasks and 21 big-bench tasks. Experimental results indicate that PACE elevates the relative performance of medium/low-quality human-written prompts by up to 98\%, which has comparable performance to high-quality human-written prompts. Moreover, PACE also exhibits notable efficacy for prompt generation.
title PACE: Improving Prompt with Actor-Critic Editing for Large Language Model
topic Computation and Language
Software Engineering
url https://arxiv.org/abs/2308.10088