Talk Less, Call Right: Enhancing Role-Play LLM Agents with Automatic Prompt Optimization and Role Prompting
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
This report investigates approaches for prompting a tool-augmented large language model (LLM) to act as a role-playing dialogue agent in the API track of the Commonsense Persona-grounded Dialogue Challenge (CPDC) 2025. In this setting, dialogue agents often produce overly long in-character responses (over-speaking) while failing to use tools effectively according to the persona (under-acting), such as generating function calls that do not exist or making unnecessary tool calls before answering. We explore four prompting approaches to address these issues: 1) basic role prompting, 2) improved role prompting, 3) automatic prompt optimization (APO), and 4) rule-based role prompting. The rule-based role prompting (RRP) approach achieved the best performance through two novel techniques-character-card/scene-contract design and strict enforcement of function calling-which led to an overall score of 0.571, improving on the zero-shot baseline score of 0.519. These findings demonstrate that RRP design can substantially improve the effectiveness and reliability of role-playing dialogue agents compared with more elaborate methods such as APO. To support future efforts in developing persona prompts, we are open-sourcing all of our best-performing prompts and the APO tool Source code is available at https://github.com/scb-10x/apo
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 10 of its 21 references that are in the map. First posted on arXiv 30 Aug 2025.
Builds on
10 of 21 references.
Closest ancestors · 1
Same direction, newest first
Other references · 9
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 817
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 653
- 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 149
- 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 63
- 2024LLM-Powered User Simulator for Recommender Systemcited by 39
- 2023PeaCoK: Persona Commonsense Knowledge for Consistent and Engaging Narrativescited by 19
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Memory-Driven Role-Playing: Evaluation and Enhancement of Persona Knowledge Utilization in LLMscited by 5
- 2026TalkMatrix: Generating Character Dialogue that is Both Consistent and Diversecited by 0
- 2026When a Kindergartener Solves Calculus: Measuring Capability Leakage in Role-Prompted Reasoning Modelscited by 0
- 2026Cognitive Enhancement: Rethinking the Necessity of Role-Playing for Large Language Modelscited by 0
- 2026Cognitive Enhancement: Rethinking the Necessity of Role-Playing for Large Language Models30 Sep 2026
- 2026When a Kindergartener Solves Calculus: Measuring Capability Leakage in Role-Prompted Reasoning Models30 Sep 2026
- 2026TalkMatrix: Generating Character Dialogue that is Both Consistent and Diverse20 Jul 2026
- 2026Memory-Driven Role-Playing: Evaluation and Enhancement of Persona Knowledge Utilization in LLMs14 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2024BEYOND DIALOGUE: A Profile-Dialogue Alignment Framework Towards General Role-Playing Language Model
- 2025RoleMRC: A Fine-Grained Composite Benchmark for Role-Playing and Instruction-Following
- 2025Test-Time-Matching: Decouple Personality, Memory, and Linguistic Style in LLM-based Role-Playing Language Agent
- 2024ERABAL: Enhancing Role-Playing Agents through Boundary-Aware Learning
- 2026Role-Playing Agents Driven by Large Language Models: Current Status, Challenges, and Future Trends
- 2024Thinking Before Speaking: A Role-playing Model with Mindset
- 2025Enhancing Persona Consistency for LLMs' Role-Playing using Persona-Aware Contrastive Learning
- 2023Better Zero-Shot Reasoning with Role-Play Prompting