StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Models
<|reference_start|>StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for Large Language Models: Finding appropriate prompts for the specific task has become an important issue as the usage of Large Language Models (LLM) has expanded. Reinforcement Learning (RL) is widely used for prompt tuning, but its inherent instability and environmental dependency make it difficult to use in practice. In this paper, we propose StablePrompt, which strikes a balance between training stability and search space, mitigating the instability of RL and producing high-performance prompts. We formulate prompt tuning as an online RL problem between the agent and target LLM and introduce Adaptive Proximal Policy Optimization (APPO). APPO introduces an LLM anchor model to adaptively adjust the rate of policy updates. This allows for flexible prompt search while preserving the linguistic ability of the pre-trained LLM. StablePrompt outperforms previous methods on various tasks including text classification, question answering, and text generation. Our code can be found in github.<|reference_end|>
@article{kwon2024stableprompt:,
    title={StablePrompt: Automatic Prompt Tuning using Reinforcement Learning for
  Large Language Models},
    author={Minchan Kwon, Gaeun Kim, Jongsuk Kim, Haeil Lee, Junmo Kim},
    journal={arXiv preprint arXiv:2410.07652},
    year={2024},
    archivePrefix={arXiv},
    eprint={2410.07652},
    primaryClass={cs.CL}
}