IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2312.15198.html
   My bibliography  Save this paper

Do LLM Agents Exhibit Social Behavior?

Author

Listed:
  • Yan Leng
  • Yuan Yuan

Abstract

The advances of Large Language Models (LLMs) are expanding their utility in both academic research and practical applications. Recent social science research has explored the use of these ``black-box'' LLM agents for simulating complex social systems and potentially substituting human subjects in experiments. Our study delves into this emerging domain, investigating the extent to which LLMs exhibit key social interaction principles, such as social learning, social preference, and cooperative behavior (indirect reciprocity), in their interactions with humans and other agents. We develop a framework for our study, wherein classical laboratory experiments involving human subjects are adapted to use LLM agents. This approach involves step-by-step reasoning that mirrors human cognitive processes and zero-shot learning to assess the innate preferences of LLMs. Our analysis of LLM agents' behavior includes both the primary effects and an in-depth examination of the underlying mechanisms. Focusing on GPT-4, our analyses suggest that LLM agents appear to exhibit a range of human-like social behaviors such as distributional and reciprocity preferences, responsiveness to group identity cues, engagement in indirect reciprocity, and social learning capabilities. However, our analysis also reveals notable differences: LLMs demonstrate a pronounced fairness preference, weaker positive reciprocity, and a more calculating approach in social learning compared to humans. These insights indicate that while LLMs hold great promise for applications in social science research, such as in laboratory experiments and agent-based modeling, the subtle behavioral differences between LLM agents and humans warrant further investigation. Careful examination and development of protocols in evaluating the social behaviors of LLMs are necessary before directly applying these models to emulate human behavior.

Suggested Citation

  • Yan Leng & Yuan Yuan, 2023. "Do LLM Agents Exhibit Social Behavior?," Papers 2312.15198, arXiv.org, revised Feb 2024.
  • Handle: RePEc:arx:papers:2312.15198
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2312.15198
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. John J. Horton, 2023. "Large Language Models as Simulated Economic Agents: What Can We Learn from Homo Silicus?," NBER Working Papers 31122, National Bureau of Economic Research, Inc.
    2. Taylor Webb & Keith J. Holyoak & Hongjing Lu, 2023. "Emergent analogical reasoning in large language models," Nature Human Behaviour, Nature, vol. 7(9), pages 1526-1541, September.
    3. Lorenz Goette & David Huffman & Stephan Meier, 2006. "The Impact of Group Membership on Cooperation and Norm Enforcement: Evidence Using Random Assignment to Real Social Groups," American Economic Review, American Economic Association, vol. 96(2), pages 212-216, May.
    4. Martin A. Nowak & Karl Sigmund, 2005. "Evolution of indirect reciprocity," Nature, Nature, vol. 437(7063), pages 1291-1298, October.
    5. Eckel, Catherine C. & Grossman, Philip J., 2005. "Managing diversity by creating team identity," Journal of Economic Behavior & Organization, Elsevier, vol. 58(3), pages 371-392, November.
    6. Yuan Yuan & Tracy Liu & Chenhao Tan & Qian Chen & Alex Pentland & Jie Tang, 2019. "Gift Contagion in Online Groups: Evidence From Virtual Red Packets," Papers 1906.09698, arXiv.org, revised Aug 2023.
    7. John J. Horton, 2023. "Large Language Models as Simulated Economic Agents: What Can We Learn from Homo Silicus?," Papers 2301.07543, arXiv.org.
    8. Bogaçhan Çelen & Kyle Hyndman, 2012. "Social Learning Through Endogenous Information Acquisition: An Experiment," Management Science, INFORMS, vol. 58(8), pages 1525-1548, August.
    9. Yan Chen & Sherry Xin Li, 2009. "Group Identity and Social Preferences," American Economic Review, American Economic Association, vol. 99(1), pages 431-457, March.
    10. Wayne E. Baker & Nathaniel Bulkley, 2014. "Paying It Forward vs. Rewarding Reputation: Mechanisms of Generalized Reciprocity," Organization Science, INFORMS, vol. 25(5), pages 1493-1510, October.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Grimm, Veronika & Utikal, Verena & Valmasoni, Lorenzo, 2015. "In-group favoritism and discrimination among multiple out-groups," FAU Discussion Papers in Economics 05/2015, Friedrich-Alexander University Erlangen-Nuremberg, Institute for Economics.
    2. Sun-Ki Chai & Dolgorsuren Dorj & Katerina Sherstyuk, 2018. "Cultural Values and Behavior in Dictator, Ultimatum, and Trust Games: An Experimental Study," Research in Experimental Economics, in: Experimental Economics and Culture, volume 20, pages 89-166, Emerald Group Publishing Limited.
    3. Dickinson, David L. & Masclet, David & Peterle, Emmanuel, 2018. "Discrimination as favoritism: The private benefits and social costs of in-group favoritism in an experimental labor market," European Economic Review, Elsevier, vol. 104(C), pages 220-236.
    4. Lohse, Johannes & McDonald, Rebecca, 2021. "Absolute groupishness and the demand for information," VfS Annual Conference 2021 (Virtual Conference): Climate Economics 242454, Verein für Socialpolitik / German Economic Association.
    5. Yuning Tang & Qinxin Guo & Junyi Shen, 2022. "Revisiting the Effects of Group Identity and Information Diversity in a Leader-member Public Goods Experiment," Discussion Paper Series DP2022-35, Research Institute for Economics & Business Administration, Kobe University.
    6. Drouvelis, Michalis & Malaeb, Bilal & Vlassopoulos, Michael & Wahba, Jackline, 2021. "Cooperation in a fragmented society: Experimental evidence on Syrian refugees and natives in Lebanon," Journal of Economic Behavior & Organization, Elsevier, vol. 187(C), pages 176-191.
    7. Masella, Paolo & Meier, Stephan & Zahn, Philipp, 2014. "Incentives and group identity," Games and Economic Behavior, Elsevier, vol. 86(C), pages 12-25.
    8. Sanjit Dhami & Emma Manifold & Ali al‐Nowaihi, 2021. "Identity and Redistribution: Theory and Evidence," Economica, London School of Economics and Political Science, vol. 88(350), pages 499-531, April.
    9. Ockenfels, Axel & Werner, Peter, 2014. "Beliefs and ingroup favoritism," Journal of Economic Behavior & Organization, Elsevier, vol. 108(C), pages 453-462.
    10. List, John A. & Neilson, William S. & Price, Michael K., 2016. "The effects of group composition in a strategic environment: Evidence from a field experiment," European Economic Review, Elsevier, vol. 90(C), pages 67-85.
    11. Afridi, Farzana & Dhillon, Amrita & Li, Sherry Xin & Sharma, Swati, 2020. "Using social connections and financial incentives to solve coordination failure: A quasi-field experiment in India's manufacturing sector," Journal of Development Economics, Elsevier, vol. 144(C).
    12. Berge, Lars Ivar Oppedal & Juniwaty, Kartika Sari & Sekei, Linda Helgesson, 2016. "Gender composition and group dynamics: Evidence from a laboratory experiment with microfinance clients," Journal of Economic Behavior & Organization, Elsevier, vol. 131(PA), pages 1-20.
    13. Tor Eriksson & Lei Mao & Marie Claire Villeval, 2017. "Saving face and group identity," Experimental Economics, Springer;Economic Science Association, vol. 20(3), pages 622-647, September.
    14. Martin Kolmar & Andreas Wagener, 2019. "Group Identities in Conflicts," Homo Oeconomicus: Journal of Behavioral and Institutional Economics, Springer, vol. 36(3), pages 165-192, December.
    15. Rong, Rong & Houser, Daniel & Dai, Anovia Yifan, 2016. "Money or friends: Social identity and deception in networks," European Economic Review, Elsevier, vol. 90(C), pages 56-66.
    16. Benistant, Julien & Villeval, Marie Claire, 2019. "Unethical behavior and group identity in contests," Journal of Economic Psychology, Elsevier, vol. 72(C), pages 128-155.
    17. Bicskei, Marianna & Lankau, Matthias & Bizer, Kilian, 2016. "Negative reciprocity and its relation to anger-like emotions in identity-homogeneous and -heterogeneous groups," Journal of Economic Psychology, Elsevier, vol. 54(C), pages 17-34.
    18. Butler, Je rey V. & Conzo, Pierluigi & Leroch, Martin A., 2013. "Social Identity and Punishment," Department of Economics and Statistics Cognetti de Martiis. Working Papers 201329, University of Turin.
    19. Weng, Qian & Carlsson, Fredrik, 2015. "Cooperation in teams: The role of identity, punishment, and endowment distribution," Journal of Public Economics, Elsevier, vol. 126(C), pages 25-38.
    20. Dominique Cappelletti & Luigi Mittone & Matteo Ploner, 2015. "Language and intergroup discrimination. Evidence from an experiment," CEEL Working Papers 1504, Cognitive and Experimental Economics Laboratory, Department of Economics, University of Trento, Italia.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2312.15198. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.