mlsanityData to 14 Oct 2026

Probing then Editing Response Personality of Large Language Models

arXiv 2504.10227 ↗First posted 14 Apr 2025cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated promising capabilities to generate responses that simulate consistent personality traits. Despite the major attempts to analyze personality expression through output-based evaluations, little is known about how such traits are internally encoded within LLM parameters. In this paper, we introduce a layer-wise probing framework to systematically investigate the layer-wise capability of LLMs in simulating personality for responding. We conduct probing experiments on 11 open-source LLMs over the PersonalityEdit benchmark and find that LLMs predominantly simulate personality for responding in their middle and upper layers, with instruction-tuned models demonstrating a slightly clearer separation of personality traits. Furthermore, by interpreting the trained probing hyperplane as a layer-wise boundary for each personality category, we propose a layer-wise perturbation method to edit the personality expressed by LLMs during inference. Our results show that even when the prompt explicitly specifies a particular personality, our method can still successfully alter the response personality of LLMs. Interestingly, the difficulty of converting between certain personality traits varies substantially, which aligns with the representational distances in our probing experiments. Finally, we conduct a comprehensive MMLU benchmark evaluation and time overhead analysis, demonstrating that our proposed personality editing method incurs only minimal degradation in general capabilities while maintaining low training costs and acceptable inference latency. Our code is publicly available at https://github.com/universe-sky/probing-then-editing-personality.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 28 of its 38 references that are in the map. First posted on arXiv 14 Apr 2025.

Builds on

28 of 38 references.

References · 28

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  3. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  4. 2024Qwen2 Technical Reportcited by 2,120
  5. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  6. 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
  7. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  8. 2023The Internal State of an LLM Knows When It's Lyingcited by 659
  9. 2019Designing and Interpreting Probes with Control Taskscited by 640
  10. 2021Fast Model Editing at Scalecited by 498
  11. 2018What you can cram into a single vector: Probing sentence embeddings for linguistic propertiescited by 457
  12. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
16 more
  1. 2023Explainability for Large Language Models: A Surveycited by 333
  2. 2021Understanding Dataset Difficulty with V-Usable Informationcited by 291
  3. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 285
  4. 2023LEACE: Perfect linear concept erasure in closed formcited by 267
  5. 2023PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traitscited by 234
  6. 2023InCharacter: Evaluating Personality Fidelity in Role-Playing Agents through Psychological Interviewscited by 179
  7. 2023Personality Traits in Large Language Modelscited by 169
  8. 2024A Comprehensive Study of Knowledge Editing for Large Language Modelscited by 163
  9. 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 129
  10. 2022Evaluating and Inducing Personality in Pre-trained Language Modelscited by 123
  11. 2020CausaLM: Causal Model Explanation Through Counterfactual Language Modelscited by 117
  12. 2024Uncovering Safety Risks of Large Language Models through Concept Activation Vectorcited by 67
  13. 2024How Large Language Models Encode Context Knowledge? A Layer-Wise Probing Studycited by 64
  14. 2023CharacterChat: Learning towards Conversational AI with Personalized Social Supportcited by 60
  15. 2023Editing Personality for Large Language Modelscited by 22
  16. 2024Eliciting Personality Traits in Large Language Modelscited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.