Dissecting Persona-Driven Reasoning in Language Models via Activation Patching

Ansh Poonia, Maeghal Jain
7/28/2025
cs.LGcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Large language models (LLMs) exhibit remarkable versatility in adopting diverse personas. In this study, we examine how assigning a persona influences a model's reasoning on an objective task. Using activation patching, we take a first step toward understanding how key components of the model encode persona-specific information. Our findings reveal that the early Multi-Layer Perceptron (MLP) layers attend not only to the syntactic structure of the input but also process its semantic content. These layers transform persona tokens into richer representations, which are then used by the middle Multi-Head Attention (MHA) layers to shape the model's output. Additionally, we identify specific attention heads that disproportionately attend to racial and color-based identities.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{poonia2025dissecting,
  title  = {Dissecting Persona-Driven Reasoning in Language Models via Activation Patching},
  author = {Ansh Poonia and Maeghal Jain},
  year   = {2025},
  eprint = {2507.20936},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.20936v2}
}

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/2507.20936.svg)](https://codeofpaper.com/paper/2507.20936)

Discussion