Saved in:
Bibliographic Details
Main Authors: Zheng, Lifan, Yang, Xue, Chen, Jiawei, Wu, Chenyan, Zhang, Jingyuan, Kong, Fanheng, Zeng, Xinyi, Chen, Xiang, Tian, Yu
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.27929
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911636621623296
author Zheng, Lifan
Yang, Xue
Chen, Jiawei
Wu, Chenyan
Zhang, Jingyuan
Kong, Fanheng
Zeng, Xinyi
Chen, Xiang
Tian, Yu
author_facet Zheng, Lifan
Yang, Xue
Chen, Jiawei
Wu, Chenyan
Zhang, Jingyuan
Kong, Fanheng
Zeng, Xinyi
Chen, Xiang
Tian, Yu
contents With the widespread adoption of large language models (LLMs), understanding their personality representation mechanisms has become critical. As a novel paradigm in Personality Editing, most existing methods employ neuron-editing to locate and modify LLM neurons, requiring changes to numerous neurons and leading to significant performance degradation. This raises a fundamental question: Are all modified neurons directly related to personality representation? In this work, we investigate and quantify this specificity through assessments of general capability impact and representation-level patterns. We find that: 1) Current methods can change personalities but reduce overall performance. 2) Neurons are multifunctional, connecting personality traits and general knowledge. 3) Opposing personality traits demonstrate distinctly mutually exclusive representation patterns. Motivated by these findings, we propose DPN-LE (Dual Personality Neuron Localization and Editing), which identifies personality-specific neurons by contrasting MLP activations between high-trait and low-trait samples. DPN-LE constructs layer-wise steering vectors and applies dual-criterion filtering based on Cohen's $d$ effect size and activation magnitude to isolate mutually exclusive neuron subsets. Sparse linear intervention on these neurons enables precise personality control at inference time. Using only 1,000 contrastive sample pairs per trait, DPN-LE intervenes on $\sim$0.5\% of neurons while achieving competitive personality control and substantially better capability preservation across reasoning tasks. Experiments on LLaMA-3-8B-Instruct and Qwen2.5-7B-Instruct demonstrate the effectiveness and generalizability of our approach.
format Preprint
id arxiv_https___arxiv_org_abs_2604_27929
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DPN-LE: Dual Personality Neuron Localization and Editing for Large Language Models
Zheng, Lifan
Yang, Xue
Chen, Jiawei
Wu, Chenyan
Zhang, Jingyuan
Kong, Fanheng
Zeng, Xinyi
Chen, Xiang
Tian, Yu
Computation and Language
With the widespread adoption of large language models (LLMs), understanding their personality representation mechanisms has become critical. As a novel paradigm in Personality Editing, most existing methods employ neuron-editing to locate and modify LLM neurons, requiring changes to numerous neurons and leading to significant performance degradation. This raises a fundamental question: Are all modified neurons directly related to personality representation? In this work, we investigate and quantify this specificity through assessments of general capability impact and representation-level patterns. We find that: 1) Current methods can change personalities but reduce overall performance. 2) Neurons are multifunctional, connecting personality traits and general knowledge. 3) Opposing personality traits demonstrate distinctly mutually exclusive representation patterns. Motivated by these findings, we propose DPN-LE (Dual Personality Neuron Localization and Editing), which identifies personality-specific neurons by contrasting MLP activations between high-trait and low-trait samples. DPN-LE constructs layer-wise steering vectors and applies dual-criterion filtering based on Cohen's $d$ effect size and activation magnitude to isolate mutually exclusive neuron subsets. Sparse linear intervention on these neurons enables precise personality control at inference time. Using only 1,000 contrastive sample pairs per trait, DPN-LE intervenes on $\sim$0.5\% of neurons while achieving competitive personality control and substantially better capability preservation across reasoning tasks. Experiments on LLaMA-3-8B-Instruct and Qwen2.5-7B-Instruct demonstrate the effectiveness and generalizability of our approach.
title DPN-LE: Dual Personality Neuron Localization and Editing for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2604.27929