LearnQuestion bank

What are persona vectors, how would you extract one for a trait such as sycophancy, and how could they be used during deployment and training?

ResearchTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • Persona vector = a direction in the residual stream associated with a trait, estimated by contrasting mean activations on responses that show the trait with those that do not.
  • Automated pipeline: from a trait name and description, generate contrasting system prompts and questions, collect responses, score them with a judge, then take the activation difference at chosen layers.
  • For sycophancy: use prompts that invite agreement versus honest pushback, questions where the user is wrong or overconfident, and a judge that labels flattery/agreement versus truthful disagreement.
  • Validate causally by steering: adding the vector should increase the trait and subtracting it should decrease it, checked across layers and prompts.
  • Uses: monitor activation drift during conversations or fine-tuning, flag training samples that push along the vector before training, and use preventative steering during fine-tuning to stop the trait being learned with less capability loss than post-hoc suppression.
  • Limits: needs a well-specified trait, linear directions may miss entangled behaviour, and judge quality bounds the result.

In full

A persona vector is a direction in the residual stream that is associated with a trait, found by contrasting mean activations on responses that show the trait with those that do not. For sycophancy, I would start from the trait name and description, generate contrasting system prompts and questions such as user-is-wrong or user-is-overconfident scenarios, collect responses, score them with a judge for flattery or agreement versus honest pushback, and take the activation difference at chosen layers. The key check is causal: adding the vector should make the model more sycophantic and subtracting it should make it less sycophantic, not just correlate with the trait. During deployment and training, I would use it to monitor activation drift in conversations or fine-tuning, flag training samples that push along the vector before training, and apply preventative steering during fine-tuning so the trait is not learned, which can preserve capability better than suppressing it after the fact. The limits are real: the trait has to be well-specified, a single linear direction may miss entangled behaviour, and the whole result is bounded by the quality of the judge and the contrastive data.

Checked against sources by an independent AI reviewer.

What a strong answer covers

  • A direction in the residual stream associated with a trait, found by contrasting mean activations on responses that show the trait with those that do not
  • Automated pipeline: from a trait name and description, generate contrasting system prompts and questions, collect responses, score them with a judge, take the activation difference at chosen layers
  • Validate causally by steering: adding the vector should increase the trait and subtracting it should decrease it
  • Uses: monitor activation drift during conversations or fine-tuning, flag training samples that push along the vector before training, and ‘preventative steering’ during fine-tuning to stop the trait being learned with less capability loss than post-hoc suppression
  • Limits: needs a well-specified trait, linear directions may miss entangled behaviour, judge quality bounds the result

Common mistakes

  • Equating a steering vector with a probe accuracy number, without causal tests

Follow-ups

  • How would you use this to screen a fine-tuning dataset of customer chats?