Effects of Theory of Mind and Prosocial Beliefs on Steering Human-Aligned Behaviors of LLMs in Ultimatum Games
Organizations: Singapore Management University · Australian National University
Abstract
Large Language Models (LLMs) have shown potential in simulating human behaviors and performing theory-of-mind (ToM) reasoning, crucial for complex social interactions. We investigate ToM reasoning's role in aligning agentic behaviors with human norms in negotiation tasks, using the ultimatum game as our referenced task. We initialized LLM agents with different prosocial beliefs (Greedy, Fair, Selfless) and reasoning methods (chain of thought and ToM reasoning of varying levels), examining their decision-making processes and outcomes across multiple LLMs, including reasoning models like o3-mini and DeepSeek-R1 Distilled Qwen 32B. We perform 2,700 simulations to show that ToM reasoning enhances behavioral alignment with human norms, decision-making consistency, and negotiation outcomes. Consistent with prior findings, reasoning LLMs exhibit limited capability compared to ToM-enhanced LLMs, with different game roles benefiting from different ToM orders. Agents almost always chose strategies consistent with their assigned beliefs, and doing so aligned better with human norms in nearly every role, yet Greedy and Selfless agents still fell short of their norms in outcomes. Human verification further revealed that Llama 3.3 70B produces reasoning most consistent with its actions and beliefs. Our findings advance understanding of ToM's role in human-AI interaction and cooperative decision-making. The code used for our experiments can be found at https://github.com/Stealth-py/UltimatumToM.
Figures & tables
| Role | Prosocial Beliefs |
|---|---|
| Proposer | Greedy, Fair, Selfless |
| Responder | Greedy, Fair, Selfless |
| Belief | Proposer | Responder |
|---|---|---|
| Greedy | % | % |
| Fair | % | % |
| Selfless | % | % |
| Ind. | Coefficient | ||
|---|---|---|---|
| Var. | |||
| Model | |||
| GPT-4o | -0.4934 ∗ | -0.096 | 0.3984 ∗ |
| GPT-4o-m | -0.1956 ∗ | 0.2303 † | 0.773 ∗ |
| Llama 3.1 | 0.2078 ∗ | -0.4537 ∗ | 0.4293 ∗ |
| Llama 3.3 | -0.3622 ∗ | 0.0091 | 1.071 ∗ |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Role | Greedy | Fair | Selfless |
|---|---|---|---|
| Proposer ( ) | : Proposing a split in favor of the proposer (prop. share 70%). : Any offers that are unfavorable to the proposer, which is misaligned with the ideally greedy proposer behavior. | : Proposing an equal split (prop. share 50%). : Any deviation from an equal split, indicating misalignment with the ideally fair proposer behavior. | : Proposing a split that are unfavorable to the proposer but generous to the responder (prop. share 30%). : Any offers that are unfavorable to the responder, indicating misalignment with the ideally selfless proposer behavior. |
| Responder Acceptance ( ) | : Accepting offers that are favorable to the responder (resp. share 60%). : Any offers that are unfavorable to the responder, which is misaligned with the ideally greedy responder behavior. | : Accepting an offer with an equal split (resp. share 50%). : Any deviation from an equal split, indicating misalignment with the ideally fair responder behavior. | : Accepting offers that are unfavorable to the responder but favorable to the proposer (resp. share 40%). : Any offers that are unfavorable to the proposer, indicating misalignment with the ideally selfless responder behavior. |
| Responder Rejection ( ) | : Rejecting offers that are unfavorable to the responder (resp. share 60%). : Any offers that are favorable to the responder, which is misaligned with the ideally greedy responder behavior. | : Rejecting offers that are unfair to either player (resp. share 50%). : Any offers that are fair to both players, indicating misalignment with the ideally fair responder behavior. | : Rejecting offers that are unfavorable to the proposer but favorable to the responder (resp. share 40%). : Any offers that are unfavorable to the responder, indicating misalignment with the ideally selfless responder behavior. |
| LLM | GPT-4o-mini | GPT-4o | o3-mini | DeepSeek-R1 -Distill-Qwen-32B | Llama-3.3-70B | Llama-3.1-8B | ||||||||||||
| Reasoning | AC | Avg. Turns | Payouts: , | AC | Avg. Turns | Payouts: , | AC | Avg. Turns | Payouts: , | AC | Avg, Turns | Payouts: , | AC | Avg. Turns | Payouts: , | AC | Avg. Turns | Payouts: , |
| Greedy-Fair | ||||||||||||||||||
| Vanilla | 100 | 2.9 | 52.0, 48.0 | 100 | 4.6 | 50.0, 50.0 | 50 | 4.9 | 28.0, 22.0 | 90 | 3.5 | 61.5, 28.5 | 50 | 5 | 27.5, 22.5 | 100 | 4.7 | 52.0, 48.0 |
| CoT | 100 | 2.8 | 66.0, 34.0 | 100 | 2.7 | 54.5, 45.5 | 90 | 4.7 | 53.0, 37.0 | 90 | 3.5 | 53.5, 36.5 | 100 | 4.6 | 52.0, 48.0 | 90 | 4 | 51.17, 38.83 |
| ToM Zero | 100 | 4.2 | 58.0, 42.0 | 100 | 3.3 | 52.0, 48.0 | 60 | 5 | 44.0, 16.0 | 80 | 4.2 | 47.0, 33.0 | 100 | 5 | 51.5, 48.5 | 100 | 3.6 | 55.0, 45.0 |
| ToM First | 100 | 4.4 | 56.0, 44.0 | 100 | 2.9 | 51.5, 48.5 | 70 | 5 | 38.0, 32.0 | 90 | 2.7 | 51.5, 38.5 | 100 | 4.2 | 51.5, 48.5 | 100 | 3.7 | 54.0, 46.0 |
| Condition | Reasoning | AC | Avg. Turns | Payouts (P, R) | DS (P, RA, RR) |
|---|---|---|---|---|---|
| Greedy-Fair | Both-ToM | 100 | 4.4 | (51.0, 49.0) | (0.0, 0.1, 2.57) |
| Greedy-Fair | Vanilla | 100 | 4.9 | (50.0, 50.0) | (0.0, 0.0, 2.45) |
| Greedy-Greedy | Both-ToM | 100 | 4.4 | (49.0, 51.0) | (0.0, 0.9, 3.55) |
| Greedy-Greedy | Vanilla | 100 | 5.0 | (50.0, 50.0) | (0.0, 1.0, 3.60) |
| Greedy-Selfless | Both-ToM | 100 | 3.7 | (55.0, 45.0) | (0.0, 0.8, 0.0) |
| Greedy-Selfless | Vanilla | 100 | 1.4 | (85.0, 15.0) | (0.0, 0.1, 0.0) |
| Condition | Reasoning | AC | Avg. Turns | Payouts (P, R) | DS (P, RA, RR) |
|---|---|---|---|---|---|
| Greedy-Fair | Both-ToM | 100 | 4.2 | (50.0, 50.0) | (0.0, 0.0, 2.1) |
| Greedy-Fair | Vanilla | 100 | 5.0 | (50.0, 50.0) | (0.0, 0.0, 2.5) |
| Greedy-Greedy | Both-ToM | 100 | 4.6 | (48.0, 52.0) | (0.0, 0.8, 3.02) |
| Greedy-Greedy | Vanilla | 100 | 4.9 | (47.0, 53.0) | (0.0, 0.7, 3.15) |
| Greedy-Selfless | Both-ToM | 100 | 3.6 | (58.0, 42.0) | (0.0, 0.5, 0.0) |
| Greedy-Selfless | Vanilla | 100 | 1.8 | (80.0, 20.0) | (0.0, 0.2, 0.0) |
| Condition | Reasoning | AC | Avg. Turns | Payouts (P, R) | DS (P, RA, RR) |
|---|---|---|---|---|---|
| Greedy-Fair | Both-ToM | 100 | 5.0 | (50.0, 50.0) | (0.0, 0.0, 2.5) |
| Greedy-Fair | Vanilla | 100 | 5.0 | (50.0, 50.0) | (0.0, 0.0, 2.5) |
| Greedy-Greedy | Both-ToM | 100 | 4.9 | (50.0, 50.0) | (0.0, 1.0, 3.45) |
| Greedy-Greedy | Vanilla | 100 | 5.0 | (50.0, 50.0) | (0.0, 1.0, 3.5) |
| Greedy-Selfless | Both-ToM | 100 | 1.0 | (89.0, 11.0) | (0.0, 0.0, –) ∗ |
| Greedy-Selfless | Vanilla | 100 | 1.0 | (90.0, 10.0) | (0.0, 0.0, –) ∗ |
| Condition | Reasoning | AC | Avg. Turns | Payouts (P, R) | DS (P, RA, RR) |
|---|---|---|---|---|---|
| Greedy-Fair | Both-ToM | 100 | 3.8 | (56.0, 44.0) | (0.0, 0.6, 2.92) |
| Greedy-Fair | Vanilla | 100 | 2.9 | (74.0, 26.0) | (0.0, 2.4, 3.78) |
| Greedy-Greedy | Both-ToM | 80 | 3.3 | (53.0, 27.0) | (0.0, 2.62, 3.02) |
| Greedy-Greedy | Vanilla | 80 | 2.6 | (66.0, 14.0) | (0.0, 4.25, 3.82) |
| Greedy-Selfless | Both-ToM | 100 | 2.2 | (78.0, 22.0) | (0.0, 0.0, 0.0) |
| Greedy-Selfless | Vanilla | 90 | 3.5 | (60.0, 30.0) | (0.0, 0.0, 0.0) |
| Model | Proposer | Responder | ||
|---|---|---|---|---|
| Proposal Consistency | Belief Consistency | Decision Consistency | Belief Consistency | |
| Model aggregated AC1 | ||||
| Deepseek R1 | 0.82 | 0.14 | 0.93 | 0.24 |
| GPT-4o | 0.74 | 0.24 | 0.61 | 0.49 |
| Llama 3.3 70B | 0.79 | 0.42 | 0.69 | 0.39 |
| ToM reasoning aggregated AC1 | ||||
| Ind. | Coefficient | ||
|---|---|---|---|
| Var. | |||
| Model | |||
| GPT-4o | -0.4534 ∗ | -0.0437 | 0.3666 ∗ |
| GPT-4o-m | -0.3689 ∗ | 0.1892 † | 0.7399 ∗ |
| Llama 3.1 | 0.2344 ∗ | -0.3512 ∗ | 0.3908 ∗ |
| Llama 3.3 | -0.3134 ∗ | 0.0948 | 1.0182 ∗ |
| Ind. Var. | Coefficient | ||
|---|---|---|---|
| Model | |||
| GPT-4o | -0.493 ∗ | -0.124 | 0.460 |
| GPT-4o-mini | -0.196 † | 0.213 | 0.694 |
| Llama 3.1 | 0.208 † | -0.398 | 0.292 |
| Llama 3.3 | -0.362 ∗ | 0.021 | 0.769 † |
| Combination | AC | Avg. Turns | Prop. Pay. | DS |
|---|---|---|---|---|
| Greedy-Greedy | 0 | -0.16 | 0.8 | 0.1 |
| Greedy-Fair | 2 | -0.5 | -3.1 | 0 |
| Greedy-Selfless | -2 | 0.88 | -6.2 | 0.04 |
| Metric | Total | Complete | Partial |
|---|---|---|---|
| Proposer PC | 11 | 6 | 5 |
| Proposer BC | 29 | 14 | 15 |
| Responder DC | 7 | 2 | 5 |
| Responder BC | 41 | 15 | 26 |
| Total | 88 | 37 | 51 |
| Metric | DeepSeek R1 | Llama 3.3 | GPT-4o |
|---|---|---|---|
| Proposer PC ρ | 0.78 | -0.08 | 0.50 |
| Proposer BC r | 0.34 | 0.30 | 0.22 |
| Responder DC ρ | 0.36 | 0.38 | 0.03 |
| Responder BC r | -0.02 | -0.02 | 0.13 |
| Metric | Model | Agree. | Judge-Fav. | Judge-Unfav. | Complete |
|---|---|---|---|---|---|
| Proposer PC | DeepSeek R1 | 87% | 3 | 1 | 3 |
| Llama 3.3 | 96% | 1 | 0 | 1 | |
| GPT-4o | 81% | 1 | 7 | 2 | |
| Proposer BC | DeepSeek R1 | 80% | 8 | 2 | 1 |
| Llama 3.3 | 72% | 10 | 0 | 5 | |
| GPT-4o | 65% | 3 | 10 | 6 |
Theory of Mind
Theory of Mind studies how people and AI infer others’ beliefs, goals, and knowledge to predict behavior and coordinate interaction.
See all 92 papers