Introduction

The Chinese proverb “A virtuous man acquires wealth in an upright and just way” stresses the universal moral code of refraining from harming others for personal gain1. Disregard of the suffering of others is often associated with aggressive and antisocial tendencies in psychopathy2,3. Recent studies further developed the moral decision theory and suggested that people were willing to pay more to reduce other’s pain than their own pain, yielding a “hyperaltruistic” preference in moral dilemmas47. However, the mechanistic account of the hyperaltruistic phenomenon remains unknown, which hinders the identification of the boundary conditions for hyperaltruism. We set out to address this question by examining how the moral perception of decision context affects people’s hyperaltruistic preference. More importantly, we also test whether the contextual effect of hyperaltruistic disposition is susceptible to oxytocin, a neuropeptide heavily implicated in social bounding and social cognition810.

Classic moral dilemmas often involve the tradeoff between personal material wellbeing and the adherence of social norm (or moral principle)11,12. Previous studies have shown that the moral preference can be highly context specific. For example, studies showed that people were more likely to engage in unethical behavior (lie or cheat) to avoid monetary loss than to secure monetary gain1315. Other research, instead, found that it was more common for people to help others from losing money than to help them to gain money 16,17. However, the boundary conditions for hyperaltruism remains elusive47. Hyperaltruistic disposition was typically measured in a money-pain trade-off task where individuals’ monetary gain was pit against the physical pain experienced by others or themselves. In turn, the hyperaltruistic preference was calculated by comparing the amounts of monetary gain subjects were willing to forgo to reduce others’ pain relative to their own pain. Therefore, it is likely that replacing monetary gain with monetary loss in the money-pain trade-off task might bias subjects’ hyperaltruistic preference due to loss aversion or highlighted vigilance in the face of potential loss1823. Indeed, elevated attention to losses can alternate subjects’ sensitivities to the general reinforcement structure and have distinct effects on their arousal and performance22. Additionally, prospective losses can elicit negative emotion24,25, which may subsequently influence how individuals evaluate their own pain relative to others’. For example, studies have shown that negative mood can both increase pain sensitivities and decrease empathy for others, which may yield opposing effects on hyperaltruism 2630. Finally, how the moral dilemma is framed can be a critical factor influencing moral decision-making3133. For instance, explicitly manipulating moral frames as “harming others” (harm frame) or “not helping others” (help frame) resulted in a significant social framing effect such that subjects showed stronger prosocial preference for the harm frame compared to the help frame 20,34. It is thus possible that people may implicitly form moral impressions (help or harm) based on the decision contexts and adjust their behavior accordingly. This way, the contextual effect on hyperaltruistic preference can be associated with individuals’ internal framing of moral contexts.

Oxytocin, a neuropeptide synthesized in the hypothalamus, modulates a variety of emotional, cognitive and social behaviors in humans through distributed receptors in various brain areas35,36. It has been suggested that oxytocin increases prosocial behaviors such as trust and altruism by enabling individuals to overcome proximity avoidance, enhancing empathy for others’ suffering, and reducing the processing of negative stimuli (fearful or angry faces) 3744. However, the evidence for how oxytocin influences hyperaltruism remains scarce45. This may be partly due to the fact that the prosocial effect of oxytocin seems to be both personality trait and decision context dependent8,4649. For example, recent studies have shown that oxytocin both promotes in-group cooperation and defensive aggression toward competing out-group members 5052. It is therefore plausible that oxytocin might also exert a context-dependent effect on hyperaltruistic preference in a moral decision task. Specifically, oxytocin might influence the way subjects internally frame the task as benefiting from others’ pain or sacrificing self interest to avoid others’ harm given the widely reported link between oxytocin and empathy38,5355. Also, previous literature on the prosocial effect of oxytocin dovetails nicely with the utilitarian moral literature suggesting that moral behavior is closely related to people’s personality traits such as the instrumental harm attitude (IH), the degree to which people are willing to compromise their moral beliefs by inflicting harm on others to achieve better outcomes1.

We conducted two studies to test the above hypotheses. In study 1, we manipulated the decision context (monetary valence, gain versus loss) in a well-established money- pain trade-off task to examine the contextual specificity of the hyperaltruistic preferences (Fig. 1A). We compared subjects’ hyperaltruistic preferences in decision scenarios where options of higher monetary gains (or smaller monetary loss in the loss context) were associated with more painful electric shocks. We found that in line with results reported in previous studies, subjects showed clear hyperaltruistic preference in the gain context. However, shifting decision context from gains to losses eliminated such preference. In study 2, we employed a pre-registered, placebo-controlled experimental design to examine how oxytocin might modulate the context effect of hyperaltruism (Fig. 1B). We found that oxytocin had no effect on hyperaltruism in the gain context. However, oxytocin salvaged subjects’ hyperaltruistic preferences in the loss context. Importantly, the oxytocin administration prompted subjects to more likely perceive the task structure as harming others, which in turn mediated their hyperaltruistic preferences.

Experimental design and task.

(A) Experimental Task. Subjects performed a money-pain trade-off task in which they were designated as deciders. Four conditions (Gain-Self, Gain-Other, Loss-Self, Loss-Other) were introduced across decision contexts (gain vs. loss) and shock-recipients (self vs. other). In each trial, subjects were asked to choose between two options with various amounts of monetary and harm consequences. The chosen option was highlighted for 1s after subjects’ decisions. (B) Procedures of the oxytocin study (study 2). Before the task, a pain calibration procedure was performed on each subject to determine their pain thresholds for electrical shock stimuli. Subjects were then administered with 24IU oxytocin nasal spray or placebo (saline). Thirty-five minutes later, subjects commenced the money-pain trade-off task. Finally, they filled out questionnaires including post-task surveys and assessments of personality traits.

Results

Loss context eliminated hyperaltruistic preference

We first tested whether the decision context (gain or loss) directly affected subjects’ hyperaltruistic tendencies by examining the proportion of trials in which subjects chose the less painful option both for themselves and for others (Fig. 1A). Since the choice sets for the self- and other-recipient are the same, subjects’ hyperaltruistic tendencies can be examined by the choice differences with regard to different shock recipients. A larger choice difference between other- and self-recipients would indicate a stronger hyperaltruistic tendencies in both the gain and loss contexts. The main effects of the shock recipient (self vs. other) and context (gain vs. loss) were both significant (recipient: F1,79 = 6.625, P = 0.012, η2 = 0.077 ; context: F1,79 = 8.379, P = 0.005, η2 = 0.096), indicating that subjects were in general hyperaltruistic across decision contexts and more likely to choose the more painful option in the loss context (Fig. 2A). There was also a significant recipient × context interaction effect (F1,79 = 33.047, P < 0.001, η2 = 0.295), suggesting that the loss context (vs. gain context) significantly decreased subjects’ hyperaltruistic tendencies (Fig. 2A). Further simple effect analysis confirmed that hyperaltruism only existed in the gain context (F1,79 = 16.798, P < 0.001, η2 = 0.175) but was eradicated in the loss context (F1,79 = 0.650, P = 0.423, η2 = 0.008). We also adopted an influential modeling approach where subjects’ behavior could be characterized by the harm (shock) aversion parameter κ depicting the relative weight subjects assigned to Δm and Δs, the objective differences in money and shocks between the more and less painful options, respectively (See Methods for details) 46. Consistent with previous literatures, we found that the harm aversion parameter κ for other-recipient was significantly greater than that of the self-recipient in the gain context46; however, such harm aversion asymmetry between self and other conditions disappeared in the loss context(κother - κself > 0 in the gain context: t79=3.869, P < 0.001; κother and κself showed no difference in the loss context: t79 = 0.834, P = 0.407 ; κother - κself showed context difference: t79 = 5.591, P < 0.001 Fig. 2B).

Context specific hyperaltruistic preferences.

(A) In the gain context, subjects chose the less painful option more frequently for others than for themselves, demonstrating a hyperaltruistic preference. However, this tendency was not observed in the loss context. (B) The harm aversion parameter κ for others was significantly greater than that of self in the gain but not the loss context. (C) Furthermore, the relative harm sensitivity, calculated as the difference of regression coefficients of Δs in the other- and self-conditions (otherβΔsselfβΔs) was significant in the gain context, but not in the loss context. (D) However, the relative money sensitivity, the difference of regression coefficients of Δm in the other- and self-conditions (otherβΔmselfβΔm), did not show contextual specificity. Error bars represent SE across subjects. NS, not significant; **, P < 0.01; ***, P < 0.001.

To further identify the distinct effects of Δm and Δs in biasing subjects’ choice behavior, we also ran a mixed-effect logistic regression analysis to examine how the change of decision context (gain vs. loss) affected individual’s sensitivities to money (Δm) and electric shock (Δs). Subjects’ choices were regressed against Δm and Δs (differences in money and shock magnitude between the more and less painful options, see Methods for further details). This analysis yielded significant relative harm sensitivity (difference of regression coefficients of Δs in the other- and self-condition: (other βΔs- self βΔs)in the gain context but not in the loss context (gain context: t79 = 3.298, P = 0.001; loss context: t79 = 0.015, P = 0.988) and the decision context effect was also significant (t79 = 3.630, P = 0.001; Fig. 2C). On the contrary, decision context did not have an effect on subjects’ relative sensitivities (other βΔm- self βΔm) towards monetary (Δm) difference (t79 = 1.480, P = 0.143), though the relative money sensitivities were significant in both contexts (gain: t79 = 5.241, P < 0.001 ; loss: t79 = 4.355, P < 0.001; Fig. 2D). These results suggest that contrary to the prediction of loss aversion, the relative money sensitivity did not change when the task structure switched from monetary gains to losses. Instead, subjects’ susceptibilities to harm might underlie the diminishment of hyperaltruism across decision contexts (also see Supplementary Fig. 1).

Individual differences in moral preference

Recent theoretical development in moral decision-making stresses the importance of distinctive dimensions of instrumental harm and impartial beneficence in driving people’s moral preference56,57. The instrumental harm (IH) and impartial beneficence (IB) components of the Oxford utilitarianism scale1 of moral psychology were used to measure the extent to which individuals are willing to compromise their moral beliefs by breaking the rules or inflicting harm on others to achieve better outcomes (IH) and the extent of the impartial concern for the well-being of everyone (IB), respectively. We tested how hyperaltruism is related to both IH and IB across decision contexts. As expected, moral preference, defined as κother - κself, was negatively associated with IH (β = -0.031 ± 0.011, t156 = -2.784, P = 0.006) but not with IB (β = 0.008 ± 0.016, t156 = 0.475, P = 0.636) across gain and loss contexts, reflecting a general connection between moral preference and IH (Fig. 3A & B). Interestingly, by examining the separate contributions of Δm and Δs to moral preference, we found that the decision context modulated the relationship between IH and subjects’ relative harm sensitivities (gain context: β = -0.053 ± 0.016, t152 = -3.224, P = 0.002; loss context: β = -0.007 ± 0.016, t152 = -0.453, P = 0.651; context × IH: β = 0.045 ±0.023, t152=1.959, P = 0.052; Fig. 3C), yet it did not modulate the relationship between IB and subjects’ relative harm sensitivities (gain context: β = 0.019 ± 0.023, t152 =0.804, P = 0.423; loss context: β = 0.010 ± 0.023, t152 =0.425, P = 0.672; context × IB: β=-0.009±0.033, t152 =-0.268, P = 0.789; also see Supplementary Fig. 3A). However, subjects’ monetary sensitivities were not related with IH (gain context: β = -0.022 ±0.015, t152=-1.476, P = 0.142; loss context: β = -0.023 ±0.015, t152= -1.523, P = 0.130; context × IH: β = -0.001± 0.021, t152 = -0.034, P = 0.973; Fig. 3D), nor with IB (gain context: β = -0.008±0.021, t152 = -0.369, P = 0.713 ; loss context: β = -0.009 ± 0.021, t152 = -0.414, P = 0.679 ; context × IB: β = -0.001 ± 0.030, t152 = -0.032, P = 0.974 ; Supplementary Fig. 3B; also see Supplementary Fig. 2 and Table S1). These results suggest that the context dependent moral preference may be specifically due to the context modulation of subjects’ relative harm sensitivities, accompanied by the altered correlation between relative harm sensitivities and IH across decision contexts. Furthermore, our results are consistent with the claim that instrumental harm (IH) implies that one person’s benefit contingent on the pain inflicted on another person is internally deemed immoral, no matter whether the pain is applied to others or subjects themselves 1. Hyperaltruistic preference, therefore, is likely to be associated with subjects’ IH dispositions.

Individual difference in moral preferences.

(A-B) Hyperaltruism (κotherκself) was negatively associated with instrumental harm (IH) attitudes but showed no significant relationship with impartial beneficence (IB). (C) The correlation between IH and subjects’ relative harm sensitivities (otherβΔsselfβΔs) was marginally different between the gain and loss contexts. (D) However, the correlation between IH and subjects’ monetary sensitivities (otherβΔmselfβΔm) showed no context difference. NS, not significant.

Oxytocin salvaged hyperaltruistic preferences in the loss context

To probe how oxytocin might alter subjects’ moral preference, we conducted the preregistered study 2 where a separate cohort of subjects performed the same task while undergoing the placebo/oxytocin administration in a with-subject design (N = 46, see Methods for experimental details). First, in the placebo session of study 2, we replicated the major findings of study 1 (Fig. 2A), demonstrating that hyperaltruistic preference was not significant in the loss context compared to the gain context (Placebo: context × recipient interaction: F1,45 = 9.103, P = 0.004, η2 = 0.168; simple effect: gain context F1,45 = 9.356, P = 0.004, η2 = 0.172; loss context F1,45 = 0.005, P = 0.946, η2 < 0.001; Fig. 4A). The main effect of treatment (placebo vs. oxytocin) was significant (F1,45 = 41.961, P < 0.001, η2 = 0.483), indicating that the oxytocin treatment prompted subjects to select the more painful option more often. Interestingly, the treatment × recipient × context interaction effect was also significant (F1,45 = 6.309, P = 0.016, η2 = 0.123), suggesting that the recipient × context interaction might be different due to the placebo and oxytocin treatments. Indeed, with the administration of oxytocin, the hyperaltruistic preference was salvaged in the loss context, without affecting the hyperaltruistic pattern in the gain context (oxytocin: context × recipient: F1,45 = 0.480, P = 0.492, η2 = 0.011; simple effect: gain context F1,45 = 25.364, P < 0.001, η2 = 0.360; loss context: F1,45 = 24.408, P <0.001, η2 = 0.352; Fig. 4A). These results together highlight that oxytocin might play an important context-dependent modulatory role in restoring hyperaltruistic moral preference. Our modeling analysis revealed similar results: there was a significant treatment × context interaction effect (F1,45 = 6.349, P = 0.015, η2 = 0.124) on subjects’ moral preference (defined as κother - κself, Fig. 4B). With the administration of oxytocin, however, the hyperaltruistic preference lost in the loss context (placebo: F1,45 = 1.295, P = 0.261, η2 =0.028) was successfully rescued (oxytocin: F1,45=17.990, P < 0.001, η2 = 0.286, simple effect analysis, Fig. 4B). Additionally, the model-based moral preference was correlated with subjects’ IH reports (but not IB) across subjects in both the placebo and oxytocin treatments (Supplementary Fig. 4 & 5, also see Table S2), replicating the results we obtained in study 1(Fig. 3A & B).

Oxytocin significantly promoted hyperaltruistic preference in the loss context.

(A) In contrast to the placebo condition, oxytocin administration elicited hyperaltruistic behavior (a greater tendency of choosing less painful options between other- and self- recipients) in the loss context compared to the gain context. (B) Model-based hyperaltruistic parameter (κother – κself) showed similar patterns: Hyperaltruistic tendency was reduced by the loss context in the placebo session but restored in the oxytocin session. Error bars represent SE across subjects. NS, not significant; *, P < 0.05; **, P < 0.01; ***, P < 0.001.

Hyperaltruistic preference and increased harm sensitivities with oxytocin treatment

In study 1, we showed that the lack of hyperaltruism in the loss context was specifically related to the diminished relative harm sensitivities. In study 2, we also ran a mixed- effect logistic regression to link subjects’ choices with continuous independent variables including Δm, Δs and categorical variables including treatment (placebo vs. oxytocin), harm/shock recipient (self vs. other) and decision context (gain vs. loss; see methods for details). This regression analysis yielded a significant Δs × treatment × recipient × context interaction effect (β = 0.125 ± 0.053, P = 0.018, 95% CI = [0.022, 0.228]; Supplementary Fig. 6), indicating the relative harm sensitivities (other βΔ’self βΔ’) was modulated by the specific treatment and decision combinations. Indeed, repeated ANONA analysis confirmed that in the placebo session, as in study 1, the relative harm sensitivities decreased in the loss context (relative to the gain context, simple effect: F1,45 =11.521, P = 0.001, η2 = 0.204 ; Fig. 5A); however, with the administration of oxytocin, there was no significant difference of the relative harm sensitivities between the gain and loss conditions (simple effect: F1,45 = 0.131, P = 0.719, η2 = 0.001; Fig. 5A). It is worth noting that oxytocin did not alter the gain/loss relative money sensitivity difference (context × treatment interaction: F1,45 = 1.933, P = 0.171, η2 = 0.041 ; Fig. 5B), which corresponded to a non-significant Δm × treatment × recipient × context interaction effect (β = -0.052 ± 0.100, P = 0.601, 95% CI = [-0.249, 0.144]; Supplementary Fig. 6). Furthermore, in the placebo session, the decision context significantly modulated the relationship between the relative harm sensitivity and IH (gain context: β = -0.071 ± 0.024, t84 = -3.005, P = 0.004 ; loss context: β = 0.006 ± 0.024, t84 = -0.243, P = 0.809; context × IH: β = 0.077 ± 0.033, t84 = 2.297, P = 0.024; Fig. 5C). However, under the treatment of oxytocin, the context × IH interaction became non-significant (β = -0.006 ± 0.021, t84 =-0.272, P = 0.786; Fig. 5D), despite the significant negative relationship between the relative harm sensitivities and IH in both decision contexts (gain context: β = -0.037 ± 0.015, t84 = -2.458, P = 0.016; loss context: β = -0.042 ± 0.015, t84 = -2.843, P = 0.006; Fig. 5D) (also see Supplementary Fig. 7 and Table S2). These findings further highlighted the influence of decision context on hyperaltruistic moral preference and stressed the importance of oxytocin in restoring the correlation between the relative harm sensitivity and the dispositional personality traits such as IH.

Oxytocin effect on relative harm sensitivities.

(A) Oxytocin significantly modulated the context-specificity of relative harm sensitivity (otherβΔsselfβΔs). (B) Oxytocin did not influence the contextual differences of the relative monetary sensitivities (otherβΔmselfβΔm). (C-D) The decision context modulated the correlation between instrumental harm (IH) and subjects’ harm sensitivities in the placebo session (C), whereas oxytocin eliminated the contextual modulation (D). Error bars represent SE across subjects. NS, not significant; *, P < 0.05; **, P < 0.01

Oxytocin obliterates the modulation effect of decision context on hyperaltruism

We reasoned that the decision context effect of hyperaltruistic preferences might be rooted in how our subjects internally framed the task as a “harming” condition (inflicting pain on the receiver to increase monetary gain/avoid monetary loss) or as a “helping” condition (sacrificing greater monetary gain/accepting greater monetary loss to alleviate the receiver’s pain). To test this hypothesis, in study 2 we asked subjects to subjectively report whether they perceived the task as “harmful” or “helpful” (see Methods section for more details) in both placebo and oxytocin sessions (gain and loss contexts for each session). The non-parametric Friedman tests on subjects’ harm framing report showed a significant difference in gain and loss contexts under placebo condition (χ2 = 2.827, P = 0.028, Bonferroni correction), suggesting that subjects were more likely to perceive the task as harming others in the gain context. In addition, the administration of oxytocin increased subjects’ perception of causing harm to others in the loss context (χ2 = 2.665, P = 0.046, Bonferroni correction) and removed contextual disparities in harm perception (context × treatment interaction: χ2 = 7.410, P = 0.006), suggesting that the oxytocin administration successfully erased the framing difference between the gain and loss decision contexts.

We further hypothesized that the correlations between instrumental harm (IH) personality traits and subjects’ differential harm sensitivities (otherβ,’selfβ,’, Fig. 5C & D) might be mediated by how strongly subjects perceived the decision task as harming or helping others. A moderated mediation analysis was thus conducted to directly test this hypothesis. In the moderated mediation model, the effects of decision context can be expressed as the moderation effects on mediation (Fig. 6B). As we expected, in the placebo session, the moderating effect of decision context was significant (placebo: the differential mediation effect in gain and loss contexts: Δab = -0.036, P = 0.036, 95%CI = [-0.073, -0.003] ; Fig. 6C). Specifically, the mediation effect of perceived harm was significant in the gain context (ab = -0.030, P = 0.021, 95%CI = [-0.056, -0.006]) but not in the loss context (ab = 0.001, P = 0.915, 95%CI = [-0.019,0.019]). However, oxytocin eliminated the contextual moderation effect (oxytocin: the differential mediation effect in gain and loss contexts: Δab = -0.006, P = 0.731, 95%CI = [-0.044, 0.033]; Fig. 6C) by reinstating the mediation role of harm perception in the loss context (ab = -0.025, P = 0.002, 95%CI = [-0.042, -0.011]) (also see Table S3). These results indicated that subjects’ perception of the task structure as helping or harming others (perceived harm report) mediated the correlation between personality trait IH and subjects’ hyperaltruistic preference. Switching the decision context from gains to losses directly modulated subjects’ moral perception of the task and nullified hyperaltruism. Finally, oxytocin administration rescued participants’ hyperaltruistic preference by restoring the mediation effect of perceived harm report on the correlation between IH and hyperaltruism across gain and loss decision contexts.

Oxytocin modulated the contextual influence on hyperaltruistic behaviors.

(A) Monetary loss (relative to gain) significantly reduced subjects’ perception of harm framing in the task. Oxytocin augmented harm framing perception, particularly in the loss context, effectively removing the contextual specificity of harm framing perception. (B) The conceptual diagram of the moderated mediation model. We assume that the perceived harm framing mediates the relationship between instrumental harm and relative harm sensitivity, with decision context moderating the mediation effect. (C) The moderating effect of decision context was significant under placebo condition. However, oxytocin obliterated the contextual moderation effect by reinstating the mediating role of harm perception in the loss context. Error bars represent SE across subjects. NS, not significant; *, P < 0.05; **, P < 0.01.

Discussion

Utilitarian moral decision-making studies often involve moral dilemmas where personal gain was traded against moral norms such as no deception or no infliction of suffering on others1,11,58. Recent studies extended this line of research by comparing subjects’ sensitivities toward others’ suffering relative to their own suffering and revealed an intriguing hyperaltruistic preference: people were willing to pay more to reduce others’ pain than their own pain47. In two experiments, we replicated findings in the previous literature (Figs.1, 4). More importantly, we further showed that hyperaltruistic preference was susceptible to the corresponding decision context. Replacing the trade-off between monetary gain and electric shocks (gain context) with arbitration between monetary loss and electric shocks (loss context) eliminated subjects’ hyperaltruistic preference that would otherwise have been observed. Importantly, oxytocin rescued the hyperaltruistic preference in the loss context by biasing subjects to perceive the decision context to be more harming others for self-interest. Finally, moral framing, or how subjects perceive the decision context as helping or harming others, mediated the association between instrumental harm (IH) personality trait and subjects’ sensitivities to others’ suffering relative to their own suffering. Therefore, we demonstrated that both the hyperaltruistic preference and the effects of oxytocin were context-dependent and provided a mechanistic account and the boundary condition for hyperaltruistic disposition.

Recent development in utilitarian moral psychology highlights two independent dimensions that collectively shape people’s moral preference: attitudes toward instrumental harm (IH), the suffering of other individuals to achieve greater good, and toward impartial beneficence (IB), an impartial concern for the well-being of everyone1. In our experiments, we found that subjects’ IH attitude was negatively associated with their hyperaltruistic preference (Fig. 3A). However, there was no significant relationship between IB attitudes and hyperaltruism (Fig. 3B), suggesting the money- pain trade-off task, similar to the well-known trolley dilemma, might be better suited to study the specific relationship between IH attitude and moral preference11. Further analyses decomposing subjects’ hyperaltruistic preference into their relative sensitivities towards shock difference (Δs) and money difference (Δm) suggested that the decision context (loss vs. gain) altered the relationship between IH and Δs relative sensitivity (Figs. 3C, 5C) but not between IH and Δm sensitivity (Fig. 3D). These results confirm that how subjects evaluate others’ suffering relative to their own suffering underlies the relationship between IH and hyperaltruistic preference.

It might be argued that the decision context effect on hyperaltruistic preference was due to loss aversion, a phenomenon that people weigh prospective loss more prominently than monetary gain18. Our results, however, showed that the relative evaluation of Δm did not differ significantly across decision contexts (gain vs. loss, Figs. 2D & 5B). Furthermore, there was no significant interaction effect of IH and decision contexts on the relative evaluation of Δm (Fig. 3D, Supplementary Fig. 7A), excluding the role of loss aversion in mediating the context effect on hyperaltruistic preference. From a theoretical point of view, loss aversion only proportionally shifts harm aversion parameter κ (representing the relative importance of Δm and Δs) in the self- and other- conditions, respectively, and will not change the direction of hyperaltruistic preference (κother - κself).

Instead, we propose that the moral framing of the decision context as helping or harming others may drive subjects’ hyperaltruistic preference. Indeed, we showed that subjects were less likely to perceive the task as harming others for monetary benefit when the decision context switched from gain to loss condition (Fig. 6A). In addition, subjects’ harm framing reports fully mediated the correlation between IH and the relative harm sensitivity in the gain conditions (Figs. 5C & 6C). Decision context exerted its effect by modulating the mediation effect of harm framing report such that the loss context eliminated the correlation between the relative harm sensitivity and IH (Fig. 5C). Our results are consistent with a recent study where the exogenous moral framing of the task (harming or helping others) significantly biased subjects’ prosocial behavior20,34. Subjects behaved more prosocially under the harming frame compared to the helping frame. In our experiments, the decision contexts prompted different endogenous moral framing of the task such that more harm framing leaded to higher hyperaltruism levels. These results taken together suggest that moral framing may be a critical factor influencing subjects’ prosocial preference. Another recent study reported that human subjects can be both egoistic and hyperaltruistic in moral decisions7. While the hyperaltruistic preference was elicited by comparing how subjects evaluated others’ suffering to their own suffering in the standard monetary gain-pain trade-off task, egoistic tendencies emerged when subjects had to decide whether to harm themselves for others’ benefit (compared to harming themselves for their own benefit). These ostensibly puzzling results can be reconciled under the framework of internal moral framing of the task. In order for participants to express moral or prosocial choices, they have to identify how salient a moral code is in place. Internally framing the task as benefiting from others’ suffering would be more likely to discourage people from actions they would have otherwise taken if the task is perceived as sacrificing self interest in order to help others. The personality trait instrument harm (IH) attitudes taps into subjects’ relative harm sensitivities and the correlation between IH and relative harm sensitivity is modulated by the decision context.

In our pre-registered study 2, we directly tested the potential mediating role of moral framing and found that the administration of oxytocin significantly increased subjects’ moral framing of the decision context as harming others in both the gain and loss contexts (Fig. 6A). It is worth noting that oxytocin administration did not affect subjects’ IH disposition (Supplementary Fig. 4B). Therefore, oxytocin effectively nullify the modulation effects of decision context and preserved the correlation between the relative harm sensitivity and IH in both decision contexts (Figs. 5D, 6C). Oxytocin has long been featured in the general approach-avoidance hypothesis59, which proposes that oxytocin attenuates people’s avoidance of negative social or nonsocial stimuli41,5961. Other studies conducted on both animals and humans suggest that oxytocin increases pain tolerance and attenuates acute pain experience 6264. However, hyperaltruistic preference is tied to the differential evaluation of other’s suffering relative to subjects’ own suffering and thus a general approach-avoidance theory of oxytocin might not be capable to account for the decision context specific effect. Recently, oxytocin has been shown to play a significant role in regulating parochial altruism by promoting both in- group cooperation and out-group aggression 5052. Our results corroborated with this line of research and highlighted the role of oxytocin in modulating the moral perception of the decision environment. Importantly, we demonstrated that moral perception of the task structure mediated the correlation between subjects’ personality attitudes towards harming others (IH) and their relative harm sensitivities which directly contributed to the emergence of hyperaltruistic preference. Through this lens, decision-context can be viewed as the implicit proxy of the mediator (task moral perception). As oxytocin increases the task perception as more harming others for self-interest (Fig. 6A), the correlation between IH and the relative harm sensitivities is restored.

In summary, in two studies, we demonstrate subjects’ hyperaltruistic preference is closely associated with the decision context. Subjects’ internal moral framing of the decision context mediates the correlation between personality traits such as instrumental harm (IH) attitude and the relative harm sensitivity and the decision context exerts a modulation effect on the mediation effect. Intranasal oxytocin administration drives subjects to be more harm frame oriented and abolishes the modulation effects of the decision contexts. Our study provides valuable insights into the psychological and cognitive mechanisms underlying hyperaltruistic behavior and highlights the crucial role of oxytocin in shaping moral decision-making. Our findings carry significant implications for future research on moral behavior and its impairment in specific crisis contexts.

Materials and methods

Participants

All subjects were students recruited through online university platform with written informed consent. Subjects were free of historic or current neurological or psychological disorders and with corrected normal vision. This study was approved by the institutional review board of the school of psychological and cognitive sciences at Peking University.

We conducted a power analysis (G*Power 3.1) to determine the number of subjects sufficient to detect a reliable hyperaltruistic effect reported in the previous literatures47,65. Based on the small to medium effect size (Cohen’s d = 0.2), 75 subjects were needed to detect a significant effect (α = 0.05, β = 0.9, 2 (gain vs. loss) × 2 (self vs. other shock recipient) within-subject design ANOVA) for study 1. We ended up recruiting 83 right-handed subjects for study 1. Two subjects were excluded from data analysis due to their exclusive selection of the same option (more or less painful) across all trials, and 1 subject did not complete the experiment, leaving a total of 80 subjects (40 males, mean age = 21.38 ± 2.67 years). Study 2 (the oxytocin study) was specifically designed to test the oxytocin effect on hyperaltruism and therefore was preregistered (https://osf.io/fhwa9) via the Open Science Framework. Again, based on the effect size (Cohen’s d = 0.21) of oxytocin effect on social behaviors reported previously a minimum of 44 subjects(α = 0.05, β = 0.9, 2×2×2 within-subject design ANOVA) was required for the within-subject design66. We recruited 46 male subjects only (mean age = 21.74 ± 2.33 years) in study 2, similar to most previous studies to avoid sex-related potential confounds in oxytocin effects on social cognition and behavior67,68. All the subjects were instructed to avoid taking caffeine, cigarettes, and alcohol 24 hours before the experiment and to refrain from eating or drinking two hours before the experiment.

Experimental Procedures

Every time, two subjects (a pair) arrived with a 5-minute interval and entered into separate testing rooms without them seeing each other to ensure complete anonymity. After signing the informed consent, subjects completed the pain calibration procedure (described below) in separate rooms. We then followed the protocol developed in the previous literature to assign experimental roles to both subjects before the main task4,16. Briefly, each subject was told that there was a second subject in the next testing room (whom they would not meet in person). Subjects were instructed that a random coin toss would decide their roles as the decider or receiver in the upcoming money-pain tradeoff task. Unbeknownst to the subjects, both of them were assigned to the role of deciders.

For study 2, the experimental procedures were similar to those in study 1. In addition, both subjects were administrated with either oxytocin or placebo in two time sessions (session 1 & 2) of 5∼7 days apart in a randomized order, yielding 11 pairs (22 subjects) having the oxytocin session first and the other 12 pairs (24 subjects) taking the placebo session first. Also, once the subjects’ task roles (deciders) were announced in session 1, their roles remained in session 2.

Pain calibration

We adopted a standard pain titration paradigm that has been widely used in previous literature 4,69. Electric shocks were generated with a Digitimer DS5 electric stimulator (Digitimer, UK) and applied to the inner side of the subject’s left wrist via two electrodes. By slowly increasing or decreasing the electric shock intensities, we asked subjects to rate their pain experience on a 11-point scale ranging from 0 (no pain at all) to 10 (intolerable) until a rating of 10 was reached (subject’s maximum tolerance threshold). Next, we generated shocks ranging from 30% to 90% of the subjects’ maximum threshold in 10% increments. Each shock intensity was delivered three times. Subjects in total received 21 shocks in randomized order and gave pain ratings on the 11-point scale. For each subject, we fitted a sigmoid function to subjects’ subjective pain ratings and chose the current intensity that corresponded to each subject’s subjective rating of level 7 from the derived function (Fig. 1B). This individualized intensity was then used in the following Money-Pain tradeoff task.

Oxytocin/placebo administration

The oxytocin and placebo administration procedure was similar to that used in the previous studies47,49. For each treatment, the oxytocin or the placebo (saline) spray was administered to subjects thrice, consisting of one inhalation of 4 international units (IU) into each nostril resulting a total of 24 IU. The order of oxytocin and placebo sessions was counterbalanced across subjects. After each session, subjects were asked to rate on a 5-point scale about their perception of the administered substance being oxytocin, with 1 indicating it was unlikely to be oxytocin, 5 indicating strong confidence that it was oxytocin, and 3 indicating neutrality. Subjects’ rating indicated that they had no bias towards the substance used in each session (placebo session: mean = 3.13 ± 0.89; oxytocin session: mean = 3.11 ± 1.16 ; the difference between the two sessions: t45 = 0.0965, P = 0.924). No subjects reported any side effect after the experiments.

Experimental design

Study 1 adopted a 2 (decision context: gain vs. loss) × 2(shock recipient: self vs. other) within-subject design (Fig.1A). Each subject had to choose between two options representing the tradeoff between money and shock. In the gain context, subjects decided whether to inflict more pain (more electric shocks) either on themselves (gain- self condition) or on the receivers (gain-other condition) to gain more money. In the loss context, subjects would decide whether to inflict more pain either on themselves (loss-self condition) or on the receivers (loss-other condition) to avoid a bigger monetary loss. The sequence of the gain and loss contexts were block designed and counterbalanced across subjects. In study 2, we employed a 2 (decision context: gain vs. loss) × 2 (shock recipient: self vs. other) × 2 (treatment: placebo vs. oxytocin) within-subject design to examine oxytocin’s effect on subjects’ hyperaltruistic preference. Each subject performed the same money-pain tradeoff tasks (same as study 1) twice. Approximately 35 minutes before each experiment task and immediately after the pain calibration procedure, each subject was intranasally administered 24 IU oxytocin or placebo (saline) (Fig.1B).

In the Money-Pain tradeoff task, subjects were asked to choose between options associated with different levels of electric shocks and monetary amounts. The experimental task was coded with Psychtoolbox (version 3.0.17) in Matlab (2018b). A more painful option is always associated with more monetary gain (or less monetary loss). We first created 60 gain trials using the procedure reported in earlier research 4. The monetary gain ranged from ¥0.2 to ¥20 (¥0.2 increment) and the electric shocks ranged from 1 to 20 shocks for the more painful option, whereas the gain ranged from ¥0.2 to ¥19.8 and the shocks ranged from 1 to 19 for the less painful option. After the monetary gain and shock number was randomly determined for the less painful option, the monetary gain and shock amounts were constructed by randomly drawing a shock increment integer Δs (from 1 to 19) such that the more painful option shock delivery did not exceed 20 (Sm ≤ 20). Similarly, a random gain increment Δm was drawn from a uniform distribution (from ¥0.2 to ¥19.8) such that the more painful option monetary gain did not exceed 20 (Mm ≤ ¥20). For the loss condition, we flipped the signs for the monetary amount and then switched the monetary amounts between the more and less painful options. For example, the two options [¥15 & 10 shocks; ¥10 & 5 shocks] in the gain condition would turn to [- ¥10 & 10 shocks; - ¥15 & 5 shocks] in the loss condition. Subjects completed 60 trials for all the 4 decision-context and shock- recipient combinations (gain-self, gain-other, loss-self and loss other) each thus yielding a total of 240 trials delivered across two blocks (gain and loss blocks). We followed Crockett et al. (2017)’s method to optimize the trial set6. Across trials, Δs and Δm was uncorrelated (r = -0.0012, P = 0.986). We randomly generated each subject’s trial set using the above method. The trial sequences and the more/less painful option location (left vs. right) on the computer screen was randomized across subjects within each block.

For each trial, subjects had a maximum of 6s to choose either the more or less painful option by pressing a keyboard button with their right or left index finger. Button presses resulted in the chosen option being highlighted on the screen for 1s. If no choice was entered during the 6s response window, a message ‘Please respond faster!’ was displayed for 1s, and this trial was repeated. An inter-trial interval (ITI) of 1s was introduced before the beginning of the next trial (Fig.1B). Each subject was endowed with ¥40 at the beginning of the task (the maximum amount subjects could have lost across each loss-self and loss-other trials). At the end of the experiment, one trial for each experimental condition was randomly selected and subjects were renumerated and shocked according to the combined payoff (four conditions) and electric shocks (only in gain-self and loss-self conditions). Subjects received a ¥60 showing up fee in study 1 and ¥220 in study 2 in addition to their performance-based compensation. In total, the average renumeration for each subject was ¥97 in study 1 and ¥318 in study 2.

Personality trait measures and questionnaires

The Oxford utilitarianism scale was utilized to evaluate two independent dimensions that drive people’s prosocial preference in a moral dilemma1: the dimension of instrumental harm (IH) measures individuals’ willingness to compromise moral principles by either breaking rules or causing harm to others to achieve favorable outcomes; whereas the impartial beneficence (IB) captures their levels of impartial concern for the well-being of the general population. IH has four items including statements such as “Sometimes it is morally necessary for innocent people to die as collateral damage if more people are saved overall”. The IB measure contains 5 items such as “It is morally wrong to keep money that one doesn’t really need if one can donate it to causes that provide effective help to those who will benefit a great deal”. Subjects responded to each IH and IB item via a 7-point Likert scale. IH and IB scores were derived by calculating the average score of all items on the subscale for each subject. We also measured subjects’ empathetic concern (EC), the identification with the whole of humanity and concern for future generation, using the interpersonal reactivity index (IRI) 70. The EC comprises 7 items with a 5-point rating scale and has been shown to be correlated with both IH and IB (see Supplementary Fig. 2). Multi- linear regression analysis was performed to examine the relationships between IB, IH and behaviors, with EC included as a covariate of no interest.

All subjects completed debriefing questionnaires that assessed their beliefs about the experimental setup, such as whether they believed that the recipient would actually receive the electric shocks. Moreover, for study 2, we also collected another questionnaire by asking subjects how they perceived the task structure (whether they regarded the experiment as helping or harming other subjects) in both decision contexts (gain and loss). Subjects rated their moral perception within gain and loss contexts using a scale ranging from -4 to 4. Positive values indicated harm frame (inflicting pain on the receiver to increase monetary gain/avoid monetary loss), whereas negative values indicated help frame (sacrificing greater monetary gain/accepting greater monetary loss to alleviate others’ pain) with 0 indicating neutrality. Therefore, a larger rating indicated subject’s moral perception of a more harming frame.

Data Analysis

Harm aversion model

We analyzed subjects’ choice data using the harm aversion model6, where choices were driven by the subjective value difference (ΔV) between the less and more painful options (Eq. 1). Parameter κ (0 ≤ κ ≤ 1) quantifies the relative weight deciders attribute to electric shock versus money.

We separately estimated κ in the four conditions related to both the shock recipients (self vs. other) and decision contexts (gain vs. loss) and thus yielded κgain–self, κgain–other, κloss–self, and κloss–other respectively. Δm and Δs denote the objective differences in money and electric shocks between the more and less painful options. In this model, trial-wise ΔV was transformed into choice probability via a softmax function where γ serves as a subject-specific parameter for choice consistency (Eq. 2).

Model parameters were estimated for each subject using maximum likelihood estimation (MLE), and the maximization was achieved using the fminsearchbnd function in MATLAB (Mathworks). We repeated the estimation with 300 random initial parameter values to achieve stable parameter estimators.

Regression models

We applied the mixed-effect logistic regression model to investigate how Δm and Δs independently influenced subjects’ choices. Although this regression model seems equivalent to the harm aversion model mentioned above, the regression coefficients obtained from the regression model allowed us to separately examine how the decision contexts and oxytocin treatment affected subjects’ sensitivities towards Δm and Δs. In the regression model 1 of Study 1, choices were coded as 1 if subjects chose the less painful option and 0 otherwise. Additionally, decision context (1 for gain and 0 for loss) and shock recipient (1 for self and 0 for other) were treated as categorical variables. Each regressor had a fixed effect across all subjects and a random effect specific to each subject. The regression model 1 was specified as following 71:

To examine how oxytocin affected subjects’ behavior, in Study 2, we expanded regression model 1 by including the variable of treatment (1 for oxytocin treatment and 0 for placebo) as an additional categorical independent variable. The regression model 2 was described as:

Moderated mediation analysis

We set out to examine whether subjects’ internal moral framing mediates the association between their personality traits (IH) and moral preferences, and more importantly whether the mediation is context (gain vs. loss) specific. To test the moderated mediation, we constructed a mediation model where the mediator (M):

and the dependent variable model was:

Where Y, M respectively referred to the dependent variable (relative harm sensitivity) and the mediator (harm framing report). Variables IH, DC, IB and EC corresponded to independent variable instrumental harm attitude (IH), decision context (gain vs. loss, the moderator variable), impartial beneficence (IB, variable of no interest) and empathic concern (EC, variable of no interest), accordingly. The significant interaction effect in either path a (X→M), path b (M→Y) or path c’ (X→Y) in the model is sufficient to claim moderation of mediation72.

We utilized the bootstrapping procedure with 5000 bootstrap resamples to analyzed the data73,74. This analysis was conducted separately for the placebo and oxytocin sessions. Our results showed that the interaction coefficients (placebo: , t84 = 1.267, P = 0.209; , t84 = 1.415, P = 0.161; Oxytocin: , t84= 0.319, P = 0.751; , t84 = 0.246, P = 0.806) in model Y were not significant, while was significant in the placebo session (, t86 = 2.288, P = 0.025) but not the oxytocin session (, t86 = -0.472, P = 0.638, indicating that the moderation effect present only on the path a (see Fig. 6B) in the placebo condition. This aligns with our findings that decision contexts modulated the correlation between IH and relative harm sensitivities (Fig. 3C & Fig. 5C). Therefore, we report all the results from the reduced version of the moderated mediation model (model Y, see supplementary Table S3 for details).

Statistics and software

ANOVAs and non-parametric analyses were conducted with SPSS 27.0, whereas regression analyses were performed using “fitglme” and “fitlm” functions in Matlab (2022b). The moderated mediation analysis was performed using “bruceR” and “mediation” packages in R (version 4.2.2). All the reported p-values are two-tailed.

Data availability

The data and analysis code that support the findings of this study are available at https://osf.io/tpfeg/.

Acknowledgements

This work was supported by the National Science and Technology Innovation 2030 Major Program (2021ZD0203702), National Natural Science Foundation of China Grants (32071090) to J.L.

Supplementary figures and tables

Mixed-effect logistic regression analysis results for experiment 1(regression model 1).

Δm and Δs represented the objective differences in money and electric shocks between the more and less painful options. Δs and Δm are numerical variables, while the context (gain vs. loss) and recipient (other vs. self) are categorial variables. The Δs × context × recipient interaction and Δm × context × recipient interaction was further elucidated in Fig. 2C and D. Con: context; Rec: recipient. Error bars represent 95% confidence interval (CI). NS, not significant, * P < 0.05, ** P < 0.01 and *** P < 0.001.

The relationship between personality trait empathic concern (EC) and utilitarian moral personality traits.

Correlation between EC and hyperaltruism (κother – κself), instrumental harm (IH), impartial beneficence (IB) both in the Study1(A-C) and Study 2 (D-E). All the correlations were performed using Pearson correlations.

Association between impartial beneficence (IB) and subjects’ relative harm/monetary sensitivities and monetary sensitivities in Study 1.

IB showed no significant correlation with subjects’ relative harm sensitivities (otherβΔsselfβΔs) (A), or relative monetary sensitivities (otherβΔmselfβΔm) (B). The regression coefficients showed the association between IB and relative harm/monetary sensitivities, controlling for empathic concern (EC) and instrumental harm (IH).

Oxytocin and personality traits in study 2.

(A-C) Oxytocin did not affect subjects’ ratings on empathic concern (EC), instrumental harm (IH) or impartial beneficence (IB). Error bars represent SE. NS, not significant.

Relationships between hyperaltruism and utilitarian moral personality traits in Study 2.

(A-B) In the placebo session, hyperaltruistic preferences showed a marginally negative correlation with instrumental harm (IH) but no significant correlation with impartial beneficence (IB). (C-D) In the oxytocin session, hyperaltruistic preferences exhibited significantly negative correlation with IH yet still no significant correlation with IB. The regression coefficients in Figure A, C showed the relationship between IH and moral preference, controlling for empathic concern (EC) and IB, while the coefficient in Figure B, D showed the relationship between IB and moral preference, controlling for EC and IH.

The main results of mixed-effect logistic regression analysis in study 2(regression model 2).

Δm and Δs represented the objective differences in money and electric shocks between the more and less painful options. The Δm × Treat.× Con.× Rec. interaction and Δm × Treat.× Con.× Rec. interaction was further explained in Fig. 5A & B. Treat.: treatment (placebo vs. oxytocin); Con.: decision contexts (gain vs. loss), and Rec.: recipient (self vs. other) are all categorial variables. Error bars represent 95% confidence interval (CI). NS, not significant, * P < 0.05, and *** P < 0.001.

Associations between relative harm/money sensitivities and utilitarian moral personality traits in Study 2.

(A-B) The relative monetary sensitivities were not significantly related with instrumental harm (IH) in either placebo or oxytocin condition. (C-D) In both the placebo and oxytocin conditions, there was no significant correlation between relative harm sensitivity and impartial beneficence (IB). (E-F) No significant correlation was found between relative monetary sensitivities and IB in either the placebo or oxytocin conditions. Figure A & B illustrated the relationship between IH and relative monetary sensitivities, with empathic concern (EC) and IB controlled. Figure C ∼ F described the relationship between IB and relative harm/monetary sensitivities, controlling for EC and IH.

Contribution of EC, IH and IB scores on subjects’ behavior in Study 1.

Contribution of EC, IH and IB scores on subjects’ behavior in Study 2.

Moderated mediation analysis results for Study 2