How role-play shapes relevance judgment in zero-shot LLM rankers
Yumeng Wang, Jirui Qi, Catherine Chen, Panagiotis Eustratiadis, Suzan Verberne

TL;DR
This paper investigates how role-play prompts influence zero-shot relevance ranking in large language models, revealing the importance of prompt formulation and the internal mechanisms involved.
Contribution
It systematically analyzes the effects of role-play variations on LLM rankers and uncovers the internal encoding and communication of role information within the models.
Findings
Careful role descriptions significantly improve ranking quality.
Role-play signals are mainly encoded in early layers of LLMs.
Specific attention heads encode critical role-conditioned relevance information.
Abstract
Large Language Models (LLMs) have emerged as promising zero-shot rankers, but their performance is highly sensitive to prompt formulation. In particular, role-play prompts, where the model is assigned a functional role or identity, often give more robust and accurate relevance rankings. However, the mechanisms and diversity of role-play effects remain underexplored, limiting both effective use and interpretability. In this work, we systematically examine how role-play variations influence zero-shot LLM rankers. We employ causal intervention techniques from mechanistic interpretability to trace how role-play information shapes relevance judgments in LLMs. Our analysis reveals that (1) careful formulation of role descriptions have a large effect on the ranking quality of the LLM; (2) role-play signals are predominantly encoded in early layers and communicate with task instructions in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Artificial Intelligence in Healthcare and Education · Text Readability and Simplification
