# What Roles Do System Prompts Really Assign? Validating and Steering Occupational Role Vectors in LLMs

DevFeed: [What Roles Do System Prompts Really Assign? Validating and Steering Occupational Role Vectors in LLMs](<https://devfeed.tech/articles/what-roles-do-system-prompts-really-assign-validating-and-steering-occupational-role-vectors-in-llms-132185.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.15989>)

Author: Jose L. Sampedro Mazon, Ilmi Yoon, Nadim Saad

Published: 2026-11-13T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [qwen](<https://devfeed.tech/topics/qwen.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [activation](<https://devfeed.tech/tags/activation.md>), [applications](<https://devfeed.tech/tags/applications.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [behavior](<https://devfeed.tech/tags/behavior.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [domain](<https://devfeed.tech/tags/domain.md>), [framework](<https://devfeed.tech/tags/framework.md>), [generation](<https://devfeed.tech/tags/generation.md>), [interpretability](<https://devfeed.tech/tags/interpretability.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [llama](<https://devfeed.tech/tags/llama.md>), [llms](<https://devfeed.tech/tags/llms.md>), [roles](<https://devfeed.tech/tags/roles.md>), [steering](<https://devfeed.tech/tags/steering.md>), [system](<https://devfeed.tech/tags/system.md>), [system-prompts](<https://devfeed.tech/tags/system-prompts.md>), [validating](<https://devfeed.tech/tags/validating.md>), [vectors](<https://devfeed.tech/tags/vectors.md>)

## AI overview

The study introduces a framework for extracting and injecting occupational role vectors--activation directions intended to capture how a role responds--and evaluates them on Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct. Extracted vectors were reproducible across runs and sampling temperatures, separable even for similar roles, and more consistent with themselves across in-domain and out-of-domain questions than with other roles. Steering results were more limited: on Qwen, a vector alone elicited its intended role more often than no steering, but did no better than a role prompt. Combining a vector with a prompt strengthened role expression in single answers on both models, but did not slow its decline over 30 turns. The findings show that a vector can encode a stable role signal without reliably steering behavior, especially out of domain.

## Source excerpt

arXiv:2611.15989v1 Announce Type: cross Abstract: Applications built on large language models assign the model a role through its system prompt, intending to shape how it responds for their use case. We introduce a validation framework for extracting and injecting occupational role vectors, activation-level directions that capture how someone in a given occupational role would distinctively respond to a task or question. We validate these vectors through two complementary lenses, on Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct. The interpretability lens asks whether each vector is a stable, separable, domain-consistent representation of its role: extracted vectors are highly reproducible across repeated runs and sampling temperatures, remain separable even for very similar roles, and agree more with themselves across in-domain and out-of-domain questions than with other roles' signal. The control lens asks whether injecting a role vector during generation makes the model express the role, and sustain it over a conversation, as well as a role prompt does. On Qwen, injecting the vector alone makes the model express the intended role substantially more often than unsteered, but at best matches a role prompt; on both models, adding the vector to the prompt strengthens the role in single answers but did not slow the role's decline over 30 turns. Together, the two lenses show why both are needed: out of domain the role is expressed only subtly, yet the activations still encode it; and a vector that is stable and separable can still barely steer the model's behavior.