Identifying and Manipulating Personality Traits in LLMs Through Activation Engineering

Rumi Allbert, James K. Wiles, Vlad Grankovsky
12/10/2024
cs.CLcs.AI

No official code found. Best implementation: RumiAllbert/llm-abliterator (9 stars, last commit 2025-02-08).

Abstract

The field of large language models (LLMs) has grown rapidly in recent years, driven by the desire for better efficiency, interpretability, and safe use. Building on the novel approach of "activation engineering," this study explores personality modification in LLMs, drawing inspiration from research like Refusal in LLMs Is Mediated by a Single Direction (arXiv:2406.11717) and Steering Llama 2 via Contrastive Activation Addition (arXiv:2312.06681). We leverage activation engineering to develop a method for identifying and adjusting activation directions related to personality traits, which may allow for dynamic LLM personality fine-tuning. This work aims to further our understanding of LLM interpretability while examining the ethical implications of such developments.

View on arXivView PDF

Code Implementations(1)

91Python, MathematicaJun 30, 20241 years ago

Similar Papers

Cite this paper

@article{allbert2024identifying,
  title  = {Identifying and Manipulating Personality Traits in LLMs Through Activation Engineering},
  author = {Rumi Allbert and James K. Wiles and Vlad Grankovsky},
  year   = {2024},
  eprint = {2412.10427},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.10427v2}
}

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

Discussion