Archived This paper is outside Paper Radar's one-year feed. More archived papers
Talk Less, Call Right: Enhancing Role-Play LLM Agents with Automatic Prompt Optimization and Role Prompting
Reading guide · Based on sections of the original paper
Why read this
Practitioners building tool-using persona agents on a small fixed model may find the turn rules (call before speaking, single call per turn, exact parameter keys) a cheap fix for skipped, redundant or malformed tool calls.
What the authors found
- On the competition leaderboard's private test set, the authors' rule-based role prompt scored 0.571 overall against 0.519 for the zero-shot baseline. Most of the gain came on Task 1, task-oriented function calling, which rose from 0.442 to 0.531. ProTeGi-style APO reached 0.538. On Task 2, the improved role prompt scored best at 0.617, against 0.611 for the rule-based prompt. Each variant is a single leaderboard result, and no separate ablation of the two rule components is reported. 5.1 Main Results
- The authors also measured call-level accuracy for the best configuration on the starter-kit training data, used as a validation set. Function names were exactly right 30.8% of the time, or 71.4% with partial credit. Arguments were exactly right 23.1% of the time, or 64.3% with partial credit. The authors conclude that much of the Task 1 gain reflects partial rather than exact correctness. 5.2 Call-Level Accuracy
Main limitation
The authors acknowledge that the hard one-call cap may shortchange turns that genuinely need several tools. The work also covers only the API-track setting with gpt-4o-mini, and the failure-mode analysis behind the rules drew on 13 sampled Task 1 turns. Limitations
Where to start
4.5 Rule-Based Role Prompting · See the three failure modes (chat-before-call, redundant multi-calls, parameter-key drift) and how each rule and the enforcement wrapper target them.
Abstract
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