Understanding the Mechanism of Altruism in Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Zhang, Shuhuai, Wang, Shu, Yao, Zijun, Li, Chuanhao, Wang, Xiaozhi, Zhong, Songfa, Liu, Tracy Xiao
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866914494557454336
author Zhang, Shuhuai
Wang, Shu
Yao, Zijun
Li, Chuanhao
Wang, Xiaozhi
Zhong, Songfa
Liu, Tracy Xiao
author_facet Zhang, Shuhuai
Wang, Shu
Yao, Zijun
Li, Chuanhao
Wang, Xiaozhi
Zhong, Songfa
Liu, Tracy Xiao
contents Altruism is fundamental to human societies, fostering cooperation and social cohesion. Recent studies suggest that large language models (LLMs) can display human-like prosocial behavior, but the internal computations that produce such behavior remain poorly understood. We investigate the mechanisms underlying LLM altruism using sparse autoencoders (SAEs). In a standard Dictator Game, minimal-pair prompts that differ only in social stance (generous versus selfish) induce large, economically meaningful shifts in allocations. Leveraging this contrast, we identify a set of SAE features (0.024% of all features across the model's layers) whose activations are strongly associated with the behavioral shift. To interpret these features, we use benchmark tasks motivated by dual-process theories to classify a subset as primarily heuristic (System 1) or primarily deliberative (System 2). Causal interventions validate their functional role: activation patching and continuous steering of this feature direction reliably shift allocation distributions, with System 2 features exerting a more proximal influence on the model's final output than System 1 features. The same steering direction generalizes across multiple social-preference games. Together, these results enhance our understanding of artificial cognition by translating altruistic behaviors into identifiable network states and provide a framework for aligning LLM behavior with human values, thereby informing more transparent and value-aligned deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2604_19260
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Understanding the Mechanism of Altruism in Large Language Models
Zhang, Shuhuai
Wang, Shu
Yao, Zijun
Li, Chuanhao
Wang, Xiaozhi
Zhong, Songfa
Liu, Tracy Xiao
General Economics
Economics
Altruism is fundamental to human societies, fostering cooperation and social cohesion. Recent studies suggest that large language models (LLMs) can display human-like prosocial behavior, but the internal computations that produce such behavior remain poorly understood. We investigate the mechanisms underlying LLM altruism using sparse autoencoders (SAEs). In a standard Dictator Game, minimal-pair prompts that differ only in social stance (generous versus selfish) induce large, economically meaningful shifts in allocations. Leveraging this contrast, we identify a set of SAE features (0.024% of all features across the model's layers) whose activations are strongly associated with the behavioral shift. To interpret these features, we use benchmark tasks motivated by dual-process theories to classify a subset as primarily heuristic (System 1) or primarily deliberative (System 2). Causal interventions validate their functional role: activation patching and continuous steering of this feature direction reliably shift allocation distributions, with System 2 features exerting a more proximal influence on the model's final output than System 1 features. The same steering direction generalizes across multiple social-preference games. Together, these results enhance our understanding of artificial cognition by translating altruistic behaviors into identifiable network states and provide a framework for aligning LLM behavior with human values, thereby informing more transparent and value-aligned deployment.
title Understanding the Mechanism of Altruism in Large Language Models
topic General Economics
Economics
url https://arxiv.org/abs/2604.19260