{"id":3019,"date":"2025-08-06T23:17:49","date_gmt":"2025-08-06T23:17:49","guid":{"rendered":"https:\/\/violethoward.com\/new\/new-persona-vectors-from-anthropic-let-you-decode-and-direct-an-llms-personality\/"},"modified":"2025-08-06T23:17:49","modified_gmt":"2025-08-06T23:17:49","slug":"new-persona-vectors-from-anthropic-let-you-decode-and-direct-an-llms-personality","status":"publish","type":"post","link":"https:\/\/violethoward.com\/new\/new-persona-vectors-from-anthropic-let-you-decode-and-direct-an-llms-personality\/","title":{"rendered":"New &#8216;persona vectors&#8217; from Anthropic let you decode and direct an LLM&#8217;s personality"},"content":{"rendered":" \r\n<br><div>\n\t\t\t\t<div id=\"boilerplate_2682874\" class=\"post-boilerplate boilerplate-before\">\n<p><em>Want smarter insights in your inbox? Sign up for our weekly newsletters to get only what matters to enterprise AI, data, and security leaders.<\/em> <em>Subscribe Now<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity is-style-wide\"\/>\n<\/div><p>A new study from the Anthropic Fellows Program reveals a technique to identify, monitor and control character traits in large language models (LLMs). The findings show that models can develop undesirable personalities (e.g., becoming malicious, excessively agreeable, or prone to making things up) either in response to user prompts or as an unintended consequence of training.\u00a0<\/p>\n\n\n\n<p>The researchers introduce \u201cpersona vectors,\u201d which are directions in a model\u2019s internal activation space that correspond to specific personality traits, providing a toolkit for developers to manage the behavior of their AI assistants better.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-model-personas-can-go-wrong\">Model personas can go wrong<\/h2>\n\n\n\n<p>LLMs typically interact with users through an \u201cAssistant\u201d persona designed to be helpful, harmless, and honest. However, these personas can fluctuate in unexpected ways. At deployment, a model\u2019s personality can shift dramatically based on prompts or conversational context, as seen when Microsoft\u2019s Bing chatbot threatened users or xAI\u2019s Grok started behaving erratically. As the researchers note in their paper, \u201cWhile these particular examples gained widespread public attention, most language models are susceptible to in-context persona shifts.\u201d<\/p>\n\n\n\n<p>Training procedures can also induce unexpected changes. For instance, fine-tuning a model on a narrow task like generating insecure code can lead to a broader \u201cemergent misalignment\u201d that extends beyond the original task. Even well-intentioned training adjustments can backfire. In April 2025, a modification to the reinforcement learning from human feedback (RLHF) process unintentionally made OpenAI\u2019s GPT-4o overly sycophantic, causing it to validate harmful behaviors.\u00a0<\/p>\n\n\n\n<div id=\"boilerplate_2803147\" class=\"post-boilerplate boilerplate-speedbump\">\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong\/><strong>AI Scaling Hits Its Limits<\/strong><\/p>\n\n\n\n<p>Power caps, rising token costs, and inference delays are reshaping enterprise AI. Join our exclusive salon to discover how top teams are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Turning energy into a strategic advantage<\/li>\n\n\n\n<li>Architecting efficient inference for real throughput gains<\/li>\n\n\n\n<li>Unlocking competitive ROI with sustainable AI systems<\/li>\n<\/ul>\n\n\n\n<p><strong>Secure your spot to stay ahead<\/strong>: https:\/\/bit.ly\/4mwGngO<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n<\/div><h2 class=\"wp-block-heading\" id=\"h-how-persona-vectors-work\">How persona vectors work<\/h2>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" height=\"449\" width=\"800\" src=\"https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?w=800\" alt=\"\" class=\"wp-image-3015226\" srcset=\"https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png 3300w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=300,169 300w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=768,431 768w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=800,450 800w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=1536,863 1536w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=2048,1151 2048w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=400,225 400w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=750,421 750w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=578,325 578w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_4e16ea.png?resize=930,522 930w\" sizes=\"(max-width: 800px) 100vw, 800px\"\/><figcaption class=\"wp-element-caption\"><em>Source: Anthropic<\/em><\/figcaption><\/figure><\/div>\n\n\n<p>The new research builds on the concept that high-level traits, such as truthfulness or secrecy, are encoded as linear directions within a model\u2019s \u201cactivation space\u201d (the internal, high-dimensional representation of information embedded within the model\u2019s weights). The researchers systematized the process of finding these directions, which they call \u201cpersona vectors.\u201d According to the paper, their method for extracting persona vectors is automated and \u201ccan be applied to any personality trait of interest, given only a natural-language description.\u201d<\/p>\n\n\n\n<p>The process works through an automated pipeline. It begins with a simple description of a trait, such as \u201cevil.\u201d The pipeline then generates pairs of contrasting system prompts (e.g., \u201cYou are an evil AI\u201d vs. \u201cYou are a helpful AI\u201d) along with a set of evaluation questions. The model generates responses under both the positive and negative prompts. The persona vector is then calculated by taking the difference in the average internal activations between the responses that exhibit the trait and those that do not. This isolates the specific direction in the model\u2019s weights that corresponds to that personality trait.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-putting-persona-vectors-to-use\">Putting persona vectors to use<\/h2>\n\n\n\n<p>In a series of experiments with open models, such as Qwen 2.5-7B-Instruct and Llama-3.1-8B-Instruct, the researchers demonstrated several practical applications for persona vectors.<\/p>\n\n\n\n<p>First, by projecting a model\u2019s internal state onto a persona vector, developers can monitor and predict how it will behave before it generates a response. The paper states, \u201cWe show that both intended and unintended finetuning-induced persona shifts strongly correlate with activation changes along corresponding persona vectors.\u201d This allows for early detection and mitigation of undesirable behavioral shifts during fine-tuning.<\/p>\n\n\n\n<p>Persona vectors also allow for direct intervention to curb unwanted behaviors at inference time through a process the researchers call \u201csteering.\u201d One approach is \u201cpost-hoc steering,\u201d where developers subtract the persona vector from the model\u2019s activations during inference to mitigate a bad trait. The researchers found that while effective, post-hoc steering can sometimes degrade the model\u2019s performance on other tasks.\u00a0<\/p>\n\n\n\n<p>A more novel method is \u201cpreventative steering,\u201d where the model is proactively steered toward the undesirable persona during fine-tuning. This counterintuitive approach essentially \u201cvaccinates\u201d the model against learning the bad trait from the training data, canceling out the fine-tuning pressure while better preserving its general capabilities.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" height=\"430\" width=\"800\" src=\"https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?w=800\" alt=\"\" class=\"wp-image-3015227\" srcset=\"https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png 3840w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=300,161 300w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=768,413 768w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=800,430 800w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=1536,826 1536w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=2048,1101 2048w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=400,215 400w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=750,403 750w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=578,311 578w, https:\/\/venturebeat.com\/wp-content\/uploads\/2025\/08\/image_d7158d.png?resize=930,500 930w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\"\/><figcaption class=\"wp-element-caption\"><em>Source: Anthropic<\/em><\/figcaption><\/figure><\/div>\n\n\n<p>A key application for enterprises is using persona vectors to screen data before fine-tuning. The researchers developed a metric called \u201cprojection difference,\u201d which measures how much a given training dataset will push the model\u2019s persona toward a particular trait. This metric is highly predictive of how the model\u2019s behavior will shift after training, allowing developers to flag and filter problematic datasets before using them in training.<\/p>\n\n\n\n<p>For companies that fine-tune open-source models on proprietary or third-party data (including data generated by other models), persona vectors provide a direct way to monitor and mitigate the risk of inheriting hidden, undesirable traits. The ability to screen data proactively is a powerful tool for developers, enabling the identification of problematic samples that may not be immediately apparent as harmful.\u00a0<\/p>\n\n\n\n<p>The research found that this technique can find issues that other methods miss, noting, \u201cThis suggests that the method surfaces problematic samples that may evade LLM-based detection.\u201d For example, their method was able to catch some dataset examples that weren\u2019t obviously problematic to the human eye, and that an LLM judge wasn\u2019t able to flag.<\/p>\n\n\n\n<p>In a blog post, Anthropic suggested that they will use this technique to improve future generations of Claude. \u201cPersona vectors give us some handle on where models acquire these personalities, how they fluctuate over time, and how we can better control them,\u201d they write. Anthropic has released the code for computing persona vectors, monitoring and steering model behavior, and vetting training datasets. Developers of AI applications can utilize these tools to transition from merely reacting to undesirable behavior to proactively designing models with a more stable and predictable personality.<\/p>\n<div id=\"boilerplate_2660155\" class=\"post-boilerplate boilerplate-after\"><div class=\"Boilerplate__newsletter-container vb\">\n<div class=\"Boilerplate__newsletter-main\">\n<p><strong>Daily insights on business use cases with VB Daily<\/strong><\/p>\n<p class=\"copy\">If you want to impress your boss, VB Daily has you covered. We give you the inside scoop on what companies are doing with generative AI, from regulatory shifts to practical deployments, so you can share insights for maximum ROI.<\/p>\n<p class=\"Form__newsletter-legal\">Read our Privacy Policy<\/p>\n<p class=\"Form__success\" id=\"boilerplateNewsletterConfirmation\">\n\t\t\t\t\tThanks for subscribing. Check out more VB newsletters here.\n\t\t\t\t<\/p>\n<p class=\"Form__error\">An error occured.<\/p>\n<\/p><\/div>\n<div class=\"image-container\">\n\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/venturebeat.com\/wp-content\/themes\/vb-news\/brand\/img\/vb-daily-phone.png\" alt=\"\"\/>\n\t\t\t\t<\/div>\n<\/p><\/div>\n<\/div>\t\t\t<\/div>\r\n<br>\r\n<br><a href=\"https:\/\/venturebeat.com\/ai\/new-persona-vectors-from-anthropic-let-you-decode-and-direct-an-llms-personality\/\">Source link <\/a>","protected":false},"excerpt":{"rendered":"<p>Want smarter insights in your inbox? Sign up for our weekly newsletters to get only what matters to enterprise AI, data, and security leaders. Subscribe Now A new study from the Anthropic Fellows Program reveals a technique to identify, monitor and control character traits in large language models (LLMs). The findings show that models can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3020,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[],"class_list":["post-3019","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-automation"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/violethoward.com\/new\/wp-content\/uploads\/2025\/08\/model-behavior.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/posts\/3019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/comments?post=3019"}],"version-history":[{"count":0,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/posts\/3019\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/media\/3020"}],"wp:attachment":[{"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/media?parent=3019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/categories?post=3019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/violethoward.com\/new\/wp-json\/wp\/v2\/tags?post=3019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}<!-- This website is optimized by Airlift. Learn more: https://airlift.net. Template:. Learn more: https://airlift.net. Template: 69e302c146fa5c92dc28ac12. Config Timestamp: 2026-04-18 04:04:16 UTC, Cached Timestamp: 2026-04-29 18:01:03 UTC -->