Proceedings

Navigating Social Dilemmas with LLM-based Agents via Consideration of Future Consequences

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 223-231.

https://doi.org/10.24963/ijcai.2025/26

Abstract

Artificial agents with the aid of large language models (LLMs) are effective in various real-world scenarios but struggle to cooperate in social dilemmas. When making decisions under the strain of selecting between long-term consequences and short-term benefits in commonly shared resources, LLM-based agents often exploit the environment, leading to early depletion. Inspired by the concept of consideration of future consequences (CFC), which is well-known in social psychology, we propose a framework to enable the ability to consider future consequences for LLM-based agents, which results in a new kind of agent that we term the CFC-Agent. We enable the CFC-Agent to act toward different levels of consideration for future consequences. Our first set of experiments, where LLM is directly asked to make decisions, shows that agents considering future consequences exhibit sustainable behaviour and achieve high common rewards for the population. Extensive experiments in complex environments showed that the CFC-Agent can manage a sequence of calls to LLM for reasoning and engaging in communication to cooperate with others to resolve the common dilemma better. Finally, our analysis showed that considering future consequences not only affects the final decision but also improves the conversations between LLM-based agents toward a better resolution of social dilemmas.

  1. [Achiam et al., 2023] Josh Achiam, Steven Adler, et al. Gpt- 4 technical report. arXiv preprint arXiv:2303.08774, 2023.
  2. [Agapiou et al., 2022] John P Agapiou, Alexander Sasha Vezhnevets, et al. Melting pot 2.0. arXiv preprint arXiv:2211.13746, 2022.
  3. [Aher et al., 2023] Gati V Aher, Rosa I Arriaga, and Adam Tauman Kalai. Using large language models to sim- ulate multiple humans and replicate human subject studies. In ICML, pages 337-371. PMLR, 2023.
  4. [Akata et al., 2023] Elif Akata, Lion Schulz, Julian Coda- Forno, Seong Joon Oh, Matthias Bethge, and Eric Schulz. Playing repeated games with large language models. arXiv preprint arXiv:2305.16867, 2023.
  5. [Anwar et al., 2024] Usman Anwar, Abulhair Saparov, et al. Foundational challenges in assuring alignment and safety of large language models. arXiv preprint arXiv:2404.09932, 2024.
  6. [Brown, 2020] Tom B Brown. Language models are few- shot learners. arXiv preprint ArXiv:2005.14165, 2020.
  7. [Capraro et al., 2024] Valerio Capraro, Roberto Di Paolo, Matjaž Perc, and Veronica Pizziol. Language-based game theory in the age of artificial intelligence. Journal of the Royal Society Interface, 21(212):20230720, 2024.
  8. [Chan et al., 2023] Alan Chan, Maxime Riché, and Jesse Clifton. Towards the scalable evaluation of cooperative- ness in lms. arXiv preprint arXiv:2303.13360, 2023.
  9. [Chan et al., 2024] Chi-Min Chan, Weize Chen, Yusheng Su, Jianxuan Yu, Wei Xue, Shanghang Zhang, Jie Fu, and Zhiyuan Liu. Chateval: Towards better LLM-based evalu- ators through multi-agent debate. In ICLR, 2024.
  10. [Choi and Li, 2024] Hyeong Kyu Choi and Yixuan Li. PI- CLe: Eliciting diverse behaviors from large language models with persona in-context learning. volume 235, pages 8722-8739. PMLR, 21-27 Jul 2024.
  11. [Duan et al., 2024] Jinhao Duan, Renming Zhang, James Diffenderfer, Bhavya Kailkhura, Lichao Sun, et al. GT- Bench: Uncovering the strategic reasoning limitations of LLMs via game-theoretic evaluations. arXiv preprint arXiv:2402.12348, 2024.
  12. [Dubey et al., 2024] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, et al. The llama 3 herd of models. arXiv preprint arXiv:2407.21783, 2024.
  13. [Fan et al., 2024] Caoyun Fan, Jindou Chen, Yaohui Jin, and Hao He. Can large language models serve as rational play- ers in game theory? A systematic analysis. In AAAI, volume 38, pages 17960-17967, 2024.
  14. [Fatima et al., 2024] Shaheen Fatima, Nicholas R Jennings, and Michael Wooldridge. Learning to resolve social dilemmas: A survey. JAIR, 79:895-969, 2024.
  15. [Fu et al., 2023] Yao Fu, Hao Peng, Tushar Khot, and Mirella Lapata. Improving language model negotiation with self-play and in-context learning from AI feedback. arXiv preprint arXiv:2305.10142, 2023.
  16. [Gandhi et al., 2023] Kanishk Gandhi, Dorsa Sadigh, and Noah D Goodman. Strategic reasoning with language models. arXiv preprint arXiv:2305.19165, 2023.
  17. [Geiger et al., 2024] Atticus Geiger, Zhengxuan Wu, Christopher Potts, Thomas Icard, and Noah Goodman. Finding alignments between interpretable causal variables and distributed neural representations. In Causal Learning and Reasoning, pages 160-187. PMLR, 2024.
  18. [Guo et al., 2023] Jiaxian Guo, Bo Yang, Paul Yoo, Bill Yuchen Lin, Yusuke Iwasawa, and Yutaka Mat- suo. Suspicion-agent: Playing imperfect information games with theory of mind aware gpt-4. arXiv preprint arXiv:2309.17277, 2023.
  19. [Hardin, 1968] Garrett Hardin. The tragedy of the commons. Science, 162(3859):1243-1248, 1968.
  20. [Horton, 2023] John J Horton. LLMs as simulated economic agents: What can we learn from homo silicus? Technical report, National Bureau of Economic Research, 2023.
  21. [Huang et al., 2024] Jen-tse Huang, Eric John Li, Man Ho Lam, Tian Liang, et al. How far are we on the decision- making of llms? Evaluating llms' gaming ability in multi- agent environments. arXiv preprint arXiv:2403.11807, 2024.
  22. [Hughes et al., 2018] Edward Hughes, Joel Z Leibo, Matthew Phillips, Karl Tuyls, Edgar Dueñez-Guzman, Antonio García Castañeda, Iain Dunning, et al. Inequity aversion improves cooperation in intertemporal social dilemmas. NIPS, 31, 2018.
  23. [Leibo et al., 2017] Joel Z Leibo, Vinicius Zambaldi, Marc Lanctot, Janusz Marecki, and Thore Graepel. Multi-agent reinforcement learning in sequential social dilemmas. In AAMAS, pages 464-473, 2017.
  24. [Li et al., 2023] Huao Li, Yu Chong, Simon Stepputtis, Joseph P Campbell, Dana Hughes, Charles Lewis, and Ka- tia Sycara. Theory of mind for multi-agent collaboration via large language models. In EMNLP, pages 180-192, 2023.
  25. [Liao et al., 2024] Austen Liao, Nicholas Tomlin, and Dan Klein. Efficacy of language model self-play in non-zero- sum games. arXiv preprint arXiv:2406.18872, 2024.
  26. [Liu et al., 2024a] Ryan Liu, Jiayi Geng, Joshua C Peterson, Ilia Sucholutsky, and Thomas L Griffiths. Large language models assume people are more rational than we really are. arXiv preprint arXiv:2406.17055, 2024.
  27. [Liu et al., 2024b] Xiaoqian Liu, Xingzhou Lou, Jianbin Jiao, and Junge Zhang. Position: Foundation agents as the paradigm shift for decision making. arXiv preprint arXiv:2405.17009, 2024.
  28. [Lorè and Heydari, 2024] Nunzio Lorè and Babak Heydari. Strategic behavior of large language models and the role of game structure versus contextual framing. Scientific Re- ports, 14(1):18490, 2024.
  29. [Macy and Flache, 2002] MW Macy and A Flache. Learning dynamics in social dilemmas. Proceedings of the National Academy of Sciences, 99:7229-7236, 2002.
  30. [Ostrom, 1994] E Ostrom. Rules, games, and common-pool resources. Michigan University Press, 1994.
  31. [Ostrom, 1999] Elinor Ostrom. Coping with tragedies of the commons. Annual review of political science, 2(1):493- 535, 1999.
  32. [Park et al., 2023] Joon Sung Park, Joseph O'Brien, Car- rie Jun Cai, Meredith Ringel Morris, Percy Liang, and Michael S Bernstein. Generative agents: Interactive sim- ulacra of human behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology, pages 1-22, 2023.
  33. [Perolat et al., 2017] Julien Perolat, Joel Z Leibo, Vinicius Zambaldi, Charles Beattie, Karl Tuyls, and Thore Graepel. A multi-agent reinforcement learning model of common- pool resource appropriation. NeurIPS, 30, 2017.
  34. [Petrov et al., 2024] Nikolay B Petrov, Gregory Serapio- García, and Jason Rentfrow. Limited ability of llms to simulate human psychological behaviours: a psychomet- ric analysis. arXiv preprint arXiv:2405.07248, 2024.
  35. [Phelps and Russell, 2023a] Steve Phelps and Yvan I Rus- sell. Investigating emergent goal-like behaviour in large language models using experimental economics. arXiv preprint arXiv:2305.07970, 2023.
  36. [Phelps and Russell, 2023b] Steve Phelps and Yvan I Rus- sell. The machine psychology of cooperation: Can gpt models operationalise prompts for altruism, coopera- tion, competitiveness, and selfishness in economic games? Journal of Physics: Complexity, 2023.
  37. [Piatti et al., 2024] Giorgio Piatti, Zhijing Jin, Max Kleiman-Weiner, Bernhard Schö lkopf, Mrinmaya Sachan, and Rada Mihalcea. Cooperate or collapse: Emergence of sustainability behaviors in a society of llm agents. arXiv preprint arXiv:2404.16698, 2024.
  38. [Sachs et al., 2004] Joel L Sachs, Ulrich G Mueller, Thomas P Wilcox, and James J Bull. The evolution of cooperation. The Quarterly review of biology, 79(2):135-160, 2004.
  39. [Serapio-García et al., 2023] Greg Serapio-García, Mustafa Safdari, Clé ment Crepy, et al. Personality traits in LLMs. arXiv preprint arXiv:2307.00184, 2023.
  40. [Shoham et al., 2007] Yoav Shoham, Rob Powers, and Trond Grenager. If multi-agent learning is the answer, what is the question? Artificial intelligence, 171(7):365- 377, 2007.
  41. [Song et al., 2024] Xiaoyang Song, Yuta Adachi, Jessie Feng, Mouwei Lin, Linhao Yu, Frank Li, Akshat Gupta, Gopala Anumanchipalli, and Simerjot Kaur. Identifying multiple personalities in large language models with ex- ternal evaluation. arXiv preprint arXiv:2402.14805, 2024.
  42. [Strathman and Joireman, 2006] Alan Strathman and Jeff Joireman. Understanding behavior in the context of time: Theory, research, and application. Psychology Press, 2006.
  43. [Strathman et al., 1994] Alan Strathman, Faith Gleicher, David S Boninger, and C Scott Edwards. The consider- ation of future consequences: Weighing immediate and distant outcomes of behavior. Journal of personality and social psychology, 66(4):742, 1994.
  44. [Tan et al., 2024] Daniel Tan, David Chanin, Aengus Lynch, Dimitrios Kanoulas, Brooks Paige, Adria Garriga- Alonso, and Robert Kirk. Analyzing the generaliza- tion and reliability of steering vectors. arXiv preprint arXiv:2407.12404, 2024.
  45. [Team, 2024] Qwen Team. Qwen2.5: A party of foundation models, September 2024.
  46. [Tshimula et al., 2024] Jean Marie Tshimula, D'Jeff K Nkashama, Jean Tshibangu Muabila, et al. Psychological profiling in cybersecurity: A look at llms and psycholin- guistic features. In International Conference on Web In- formation Systems Engineering, pages 378-393. Springer, 2024.
  47. [Van Lange et al., 2013] Paul AM Van Lange, Jeff Joireman, Craig D Parks, and Eric Van Dijk. The psychology of so- cial dilemmas: A review. Organizational Behavior and Human Decision Processes, 120(2):125-141, 2013.
  48. [Vaswani, 2017] A Vaswani. Attention is all you need. Ad- vances in Neural Information Processing Systems, 2017.
  49. [Wu et al., 2023] Qingyun Wu, Gagan Bansal, Jieyu Zhang, Yiran Wu, Shaokun Zhang, Erkang Zhu, Beibin Li, Li Jiang, Xiaoyun Zhang, and Chi Wang. Autogen: En- abling next-gen llm applications via multi-agent conversa- tion framework. arXiv preprint arXiv:2308.08155, 2023.
  50. [Wu et al., 2024] Zhengxuan Wu, Aryaman Arora, Wang, et al. ReFT: Representation finetuning for language mod- els. arXiv preprint arXiv:2404.03592, 2024.
  51. [Xu et al., 2023] Lin Xu, Zhiyuan Hu, Daquan Zhou, Hongyu Ren, Zhen Dong, Kurt Keutzer, See-Kiong Ng, and Jiashi Feng. Magic: Investigation of large language model powered multi-agent in cognition, adaptability, ra- tionality and collaboration. In ICLR 2024 Workshop on Large Language Model (LLM) Agents, 2023.
  52. [Yocum et al., 2023] Julian Yocum, Phillip JK Christof- fersen, Mehul Damani, Justin Svegliato, Dylan Hadfield- Menell, and Stuart Russell. Mitigating generative agent social dilemmas. In NeurIPS 2023 Foundation Models for Decision Making Workshop, 2023.
  53. [Zou et al., 2023] Andy Zou, Long Phan, Sarah Chen, et al. Representation engineering: A top-down approach to AI transparency. arXiv preprint arXiv:2310.01405, 2023.
  54. [Zou et al., 2024] Andy Zou, Long Phan, Justin Wang, Derek Duenas, et al. Improving alignment and robustness with circuit breakers. In NeurIPS, 2024.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards