Manuscript Offprint

arXiv:2610.29073

A Large-Scale Evaluation of Role-Enhanced Zero-Shot Chain-of-Thought Prompting

Ibrahim Khan, Thai Van Nguyen, Yi Xia, Pratch Suntichaikul, Mustafa Can Gursesli, Daniel Fernandez Galeote, Juho Hamari, Ruck Thawonmas

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ibrahim Khan, Thai Van Nguyen, Yi Xia, Pratch Suntichaikul, Mustafa Can Gursesli, Daniel Fernandez Galeote, Juho Hamari, and Ruck Thawonmas

Abstract—This paper proposes Role-Enhanced Zero-Shot Chain-of-Thought (RE-ZS-CoT), a prompting framework that systematically integrates domain-specific expert roles to enhance reasoning in large language models (LLMs) without task-specific examples. We assess two versions of our approach. In the first version, static role selection, we evaluate eight predefined expert roles across arithmetic, commonsense, and reading comprehension benchmarks to determine their impact on reasoning performance. In the second version, dynamic role selection, each model autonomously selects the single most suitable role for each benchmark, enabling adaptive task-role alignment without manual specification. Across 20 LLMs and seven benchmarks, RE-ZS-CoT frequently surpasses zero-shot and zero-shot-CoT baselines, achieving performance improvements of up to 44 percentage points. The results reveal a strong correspondence between static and dynamic versions; the benchmarks where static roles yielded improvements were almost always those where dynamic roles also outperformed baselines, though static selection achieved peak performance. Ablation studies further show that unconventional roles degrade performance, underscoring the necessity of task-role alignment. The framework's scalability is validated across model sizes (2b–14b parameters), with smaller models like Granite3.3-8b achieving remarkable proficiency in arithmetic reasoning. RE-ZS-CoT advances zero-shot prompting by unifying role specialization with chain-of-thought reasoning, offering a practical, resource-efficient solution for improving LLM capabilities across diverse domains.

I. INTRODUCTION

Large language models (LLMs) exhibit enhanced reasoning capabilities when directed by structured prompting techniques, such as chain-of-thought (CoT) [1] and zero-shot-CoT [2]. However, these methodologies frequently demonstrate inconsistent performance across various tasks, particularly in zero-shot scenarios where task-specific examples are unavailable. Recent studies explore various strategies to enhance reasoning in large language models, including decoding techniques to elicit CoT reasoning without explicit prompts [3], structured prompting methods like Plan-and-Solve to improve zero-shot reasoning [4], and frameworks such as Graph of Thoughts that model LLM outputs as graphs for complex problem-solving [5]. Additionally, LLMs demonstrate improved reasoning by taking on a persona, which often leads to greater accuracy, though not consistently [6], [7]. However, evaluations of role-enhanced prompting, particularly regarding its scalability, adaptability, and effects across reasoning domains, remain unexplored.

We present Role-Enhanced Zero-Shot Chain-of-Thought (RE-ZS-CoT), a prompting framework that integrates expert role specification into single-turn, zero-shot reasoning without requiring task examples (Fig. 1). Unlike previous work relying on fixed templates ([6], [7], [8]), RE-ZS-CoT fills the above-stated gap by evaluating two versions. Version 1 assesses eight roles across three prompt variants (pre-question, post-question, split-phrase; Fig.2) and uses self-alignment, leveraging recent advances in aligning LLM behavior [9]; [10]; [11]. Version 2 shifts to an adaptive framework where each LLM independently selects the most suitable role for each benchmark, enabling self-optimization of task-role alignment without manual adjustment, using the same three prompt variants.

In version 1 (static self-alignment), we identify optimal roles for open-weight models under computational constraints. For OpenAI models, we test all eight roles on GPT-4o-mini, while larger models (GPT-4o, GPT-4.1) use only the best-performing role due to cost. Open-weight models (2–3b, 7–9b, 12–14b) use quantized instruct-tuned versions (q4-K-M). We evaluate 20 LLMs across seven benchmarks spanning arithmetic, commonsense, and reading comprehension. RE-ZS-CoT yields 12–44% higher accuracy than zero-shot and zero-shot-CoT baselines, with the largest gains in arithmetic tasks (AQuA-RAT, MATH). Role effects vary: domain-specific roles (e.g., mathematician) outperform general ones in arithmetic structured tasks, consistent with findings from a previous study [7].

The contributions of this paper are: (1) We introduce RE-ZS-CoT, the first framework that unifies role-enhancement with zero-shot-CoT reasoning, demonstrating broad applicability across seven benchmarks and 20 LLMs. (2) We show that the efficacy of role specialization is task-dependent, with math reasoning benefiting the most from domain-aligned roles. (3) We provide actionable insights for prompt engineering, highlighting the superiority of pre-question prompts and adaptive role selection for open-weight models. (4) Our ablation studies reveal novel findings regarding the impact of non-traditional roles and lexical variations, advancing the design of context-aware prompting strategies.

Ibrahim Khan and Ruck Thawonmas are with the College of Information Science and Technology, Ritsumeikan University, Japan

Thai Van Nguyen and Yi Xia are with the Graduate School of Information Science and Technology, Ritsumeikan University, Japan.

Pratch Suntichaikul is an Independent Researcher, and an alumnus of the Graduate School of Information Science and Technology, Ritsumeikan University, Japan.

Mustafa Can Gursesli, Daniel Fernandez Galeote, and Juho Hamari are with the Research Centre of Gameful Realities, Gamification Group, Tampere University, Finland.

References (41)