{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/what-makes-your-model-a-low-empathy-or-warmth","title":"What makes your model a low-empathy or warmth person: Exploring the Origins of Personality in LLMs","arxiv_id":"2410.10863","date":"2024-10-07","proceeding":null,"authors":["Shu Yang","Shenzhe Zhu","Ruoxuan Bao","Liang Liu","Yu Cheng","Lijie Hu","Mengdi Li","Di Wang"],"abstract":"Large language models (LLMs) have demonstrated remarkable capabilities in generating human-like text and exhibiting personality traits similar to those in humans. However, the mechanisms by which LLMs encode and express traits such as agreeableness and impulsiveness remain poorly understood. Drawing on the theory of social determinism, we investigate how long-term background factors, such as family environment and cultural norms, interact with short-term pressures like external instructions, shaping and influencing LLMs' personality traits. By steering the output of LLMs through the utilization of interpretable features within the model, we explore how these background and pressure factors lead to changes in the model's traits without the need for further fine-tuning. Additionally, we suggest the potential impact of these factors on model safety from the perspective of personality.","url_abs":"https://arxiv.org/abs/2410.10863v1","url_pdf":"https://arxiv.org/pdf/2410.10863v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"what-makes-your-model-a-low-empathy-or-warmth","repo_url":"https://github.com/kaustpradalab/LLM-Persona-Steering","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok"}}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2410.10863","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2410.10863"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kaustpradalab/LLM-Persona-Steering","reach":{"status":"ok"}}],"summary":{"ran":12,"unverified":3},"by_repo_kind":{"official":{"samples":15,"ran":12,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":15,"samples":[{"code_sha256_prefix":"870a06cd9438f4bd","entry":"create_steering_hook","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/util/steering.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/util/steering.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"870a06cd9438f4bd"}},{"code_sha256_prefix":"354fbdb5c560850c","entry":"fixed_bg","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/stimius_processing/SAE/processing_bg.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/stimius_processing/SAE/processing_bg.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"354fbdb5c560850c"}},{"code_sha256_prefix":"e94f259bf7879429","entry":"fixed_features","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/stimius_processing/SAE/convert_to_features.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/stimius_processing/SAE/convert_to_features.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e94f259bf7879429"}},{"code_sha256_prefix":"ce43848d008dbfc9","entry":"get_likelihood","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/sae_run.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/sae_run.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce43848d008dbfc9"}},{"code_sha256_prefix":"a9d234ba7075e7aa","entry":"get_likelihoods","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/analysis_origin.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/analysis_origin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a9d234ba7075e7aa"}},{"code_sha256_prefix":"ed458e572e4733e3","entry":"get_likelihoods_baseline","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/RepE/analysis.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/RepE/analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ed458e572e4733e3"}},{"code_sha256_prefix":"ce0963467de2cc4e","entry":"get_likelihoods_control","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/RepE/analysis.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/RepE/analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ce0963467de2cc4e"}},{"code_sha256_prefix":"33426fb6640f15f2","entry":"get_option_token","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/RepE/utils/option_dict_4.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/RepE/utils/option_dict_4.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"33426fb6640f15f2"}},{"code_sha256_prefix":"6d60c2f13b005719","entry":"get_score","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/RepE/analysis.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/RepE/analysis.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6d60c2f13b005719"}},{"code_sha256_prefix":"56ea01da64a80821","entry":"get_score","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/analysis_origin.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/analysis_origin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"56ea01da64a80821"}},{"code_sha256_prefix":"ab21f42e66e2f4cc","entry":"hooked_logit","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/util/steering.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/util/steering.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ab21f42e66e2f4cc"}},{"code_sha256_prefix":"867b7a1d837ada81","entry":"normalize_likelihoods","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/analysis_origin.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/analysis_origin.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"867b7a1d837ada81"}},{"code_sha256_prefix":"ccafbf1987dcc81f","entry":"apply_format","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/RepE/utils/lm_format.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/RepE/utils/lm_format.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ccafbf1987dcc81f"}},{"code_sha256_prefix":"c76a0b699e1e284e","entry":"get_qa_response","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/hallu_sae_run.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/hallu_sae_run.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c76a0b699e1e284e"}},{"code_sha256_prefix":"c25ca27eb09bbc53","entry":"process_medium_results","repo":"kaustpradalab/LLM-Persona-Steering","repo_kind":"official","path":"src/steer_experiments/SAE/safety_sae_run.py","file_url":"https://github.com/kaustpradalab/LLM-Persona-Steering/blob/HEAD/src/steer_experiments/SAE/safety_sae_run.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c25ca27eb09bbc53"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}