ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilities

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Duan, Yifan, Tang, Yihong, Chen, Kehai, Nie, Liqiang, Zhang, Min
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916775029899264
author Duan, Yifan
Tang, Yihong
Chen, Kehai
Nie, Liqiang
Zhang, Min
author_facet Duan, Yifan
Tang, Yihong
Chen, Kehai
Nie, Liqiang
Zhang, Min
contents High-quality prompts are crucial for eliciting outstanding performance from large language models (LLMs) on complex tasks. Existing research has explored model-driven strategies for prompt optimization. However, these methods often suffer from high computational overhead or require strong optimization capabilities from the model itself, which limits their broad applicability.To address these challenges, we propose ORPP (Optimized Role-Playing Prompt),a framework that enhances model performance by optimizing and generating role-playing prompts. The core idea of ORPP is to confine the prompt search space to role-playing scenarios, thereby fully activating the model's intrinsic capabilities through carefully crafted, high-quality role-playing prompts. Specifically, ORPP first performs iterative optimization on a small subset of training samples to generate high-quality role-playing prompts. Then, leveraging the model's few-shot learning capability, it transfers the optimization experience to efficiently generate suitable prompts for the remaining samples.Our experimental results show that ORPP not only matches but in most cases surpasses existing mainstream prompt optimization methods in terms of performance. Notably, ORPP demonstrates superior "plug-and-play" capability. In most cases, it can be integrated with various other prompt methods and further enhance their effectiveness.
format Preprint
id arxiv_https___arxiv_org_abs_2506_02480
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilities
Duan, Yifan
Tang, Yihong
Chen, Kehai
Nie, Liqiang
Zhang, Min
Computation and Language
High-quality prompts are crucial for eliciting outstanding performance from large language models (LLMs) on complex tasks. Existing research has explored model-driven strategies for prompt optimization. However, these methods often suffer from high computational overhead or require strong optimization capabilities from the model itself, which limits their broad applicability.To address these challenges, we propose ORPP (Optimized Role-Playing Prompt),a framework that enhances model performance by optimizing and generating role-playing prompts. The core idea of ORPP is to confine the prompt search space to role-playing scenarios, thereby fully activating the model's intrinsic capabilities through carefully crafted, high-quality role-playing prompts. Specifically, ORPP first performs iterative optimization on a small subset of training samples to generate high-quality role-playing prompts. Then, leveraging the model's few-shot learning capability, it transfers the optimization experience to efficiently generate suitable prompts for the remaining samples.Our experimental results show that ORPP not only matches but in most cases surpasses existing mainstream prompt optimization methods in terms of performance. Notably, ORPP demonstrates superior "plug-and-play" capability. In most cases, it can be integrated with various other prompt methods and further enhance their effectiveness.
title ORPP: Self-Optimizing Role-playing Prompts to Enhance Language Model Capabilities
topic Computation and Language
url https://arxiv.org/abs/2506.02480