Helpful assistant or fruitful facilitator? Investigating how personas affect language model behavior

Pedro Henrique Luz de Araujo, Benjamin Roth
7/2/2024
cs.CL

No official code found. Best implementation: peluz/persona-behavior (2 stars, MIT, last commit 2025-07-04).

Abstract

One way to personalize and steer generations from large language models (LLM) is to assign a persona: a role that describes how the user expects the LLM to behave (e.g., a helpful assistant, a teacher, a woman). This paper investigates how personas affect diverse aspects of model behavior. We assign to seven LLMs 162 personas from 12 categories spanning variables like gender, sexual orientation, and occupation. We prompt them to answer questions from five datasets covering objective (e.g., questions about math and history) and subjective tasks (e.g., questions about beliefs and values). We also compare persona's generations to two baseline settings: a control persona setting with 30 paraphrases of "a helpful assistant" to control for models' prompt sensitivity, and an empty persona setting where no persona is assigned. We find that for all models and datasets, personas show greater variability than the control setting and that some measures of persona behavior generalize across models.

View on arXivView PDF

Code Implementations(1)

MIT

This repo holds source code and results for the paper "Helpful assistant or fruitful facilitator? Investigating how personas affect language model behavior"

20Shell, PythonJul 1, 20241 years agoMIT

Similar Papers

Cite this paper

@article{araujo2024helpful,
  title  = {Helpful assistant or fruitful facilitator? Investigating how personas affect language model behavior},
  author = {Pedro Henrique Luz de Araujo and Benjamin Roth},
  year   = {2024},
  eprint = {2407.02099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.02099v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.02099.svg)](https://codeofpaper.com/paper/2407.02099)

Discussion