IDEAS home Printed from https://ideas.repec.org/p/ajk/ajkdps/302.html
   My bibliography  Save this paper

Integrating Machine Behavior into Human Subject Experiments: A User-Friendly Toolkit and Illustrations

Author

Listed:
  • Christoph Engel

    (Max Planck Institute for Research on Collective Goods, Bonn & University of Bonn)

  • Max R. P. Grossmann

    (University of Cologne)

  • Axel Ockenfels

    (University of Cologne & Max Planck Institute for Research on Collective Goods, Bonn)

Abstract

Large Language Models (LLMs) have the potential to profoundly transform and enrich experimental economic research. We propose a new software framework, “alter_ego”, which makes it easy to design experiments between LLMs and to integrate LLMs into oTreebased experiments with human subjects. Our toolkit is freely available at github.com/mrpg/ego. To illustrate, we run differently framed prisoner’s dilemmas with interacting machines as well as with humanmachine interaction. Framing effects in machine-only treatments are strong and similar to those expected from previous human-only experiments, yet less pronounced and qualitatively different if machines interact with human participants.

Suggested Citation

  • Christoph Engel & Max R. P. Grossmann & Axel Ockenfels, 2024. "Integrating Machine Behavior into Human Subject Experiments: A User-Friendly Toolkit and Illustrations," ECONtribute Discussion Papers Series 302, University of Bonn and University of Cologne, Germany.
  • Handle: RePEc:ajk:ajkdps:302
    as

    Download full text from publisher

    File URL: https://www.econtribute.de/RePEc/ajk/ajkdps/ECONtribute_302_2024.pdf
    File Function: First version, 2024
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Dufwenberg, Martin & Gächter, Simon & Hennig-Schmidt, Heike, 2011. "The framing of games and the psychology of play," Games and Economic Behavior, Elsevier, vol. 73(2), pages 459-478.
    2. Fischbacher, Urs & Gachter, Simon & Fehr, Ernst, 2001. "Are people conditionally cooperative? Evidence from a public goods experiment," Economics Letters, Elsevier, vol. 71(3), pages 397-404, June.
    3. Anna Dreber & Tore Ellingsen & Magnus Johannesson & David Rand, 2013. "Do people care about social context? Framing effects in dictator games," Experimental Economics, Springer;Economic Science Association, vol. 16(3), pages 349-371, September.
    4. Friederike Mengel, 2018. "Risk and Temptation: A Meta‐study on Prisoner's Dilemma Games," Economic Journal, Royal Economic Society, vol. 128(616), pages 3182-3209, December.
    5. Tim Johnson & Nick Obradovich, 2022. "Measuring an artificial intelligence agent's trust in humans using machine incentives," Papers 2212.13371, arXiv.org.
    6. 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.
    7. Smith, Vernon L, 1976. "Experimental Economics: Induced Value Theory," American Economic Review, American Economic Association, vol. 66(2), pages 274-279, May.
    8. John J. Horton, 2023. "Large Language Models as Simulated Economic Agents: What Can We Learn from Homo Silicus?," Papers 2301.07543, arXiv.org.
    9. Steve Phelps & Yvan I. Russell, 2023. "Investigating Emergent Goal-Like Behaviour in Large Language Models Using Experimental Economics," Papers 2305.07970, arXiv.org.
    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. Christoph Engel & Max R. P. Grossmann & Axel Ockenfels, 2023. "Integrating machine behavior into human subject experiments: A user-friendly toolkit and illustrations," Discussion Paper Series of the Max Planck Institute for Research on Collective Goods 2024_01, Max Planck Institute for Research on Collective Goods.
    2. Masiliūnas, Aidas & Nax, Heinrich H., 2020. "Framing and repeated competition," Games and Economic Behavior, Elsevier, vol. 124(C), pages 604-619.
    3. Fosgaard, Toke R. & Hansen, Lars Gårn & Wengström, Erik, 2014. "Understanding the nature of cooperation variability," Journal of Public Economics, Elsevier, vol. 120(C), pages 134-143.
    4. Kirshner, Samuel N., 2024. "GPT and CLT: The impact of ChatGPT's level of abstraction on consumer recommendations," Journal of Retailing and Consumer Services, Elsevier, vol. 76(C).
    5. Gächter, Simon & Kölle, Felix & Quercia, Simone, 2022. "Preferences and perceptions in Provision and Maintenance public goods," Games and Economic Behavior, Elsevier, vol. 135(C), pages 338-355.
    6. Philip Brookins & Jason DeBacker, 2024. "Playing games with GPT: What can we learn about a large language model from canonical strategic games?," Economics Bulletin, AccessEcon, vol. 44(1), pages 25-37.
    7. Felix Chopra & Ingar Haaland, 2023. "Conducting qualitative interviews with AI," CEBI working paper series 23-06, University of Copenhagen. Department of Economics. The Center for Economic Behavior and Inequality (CEBI).
    8. Kölle, Felix & Gächter, Simon & Quercia, Simone, 2014. "The ABC of Cooperation in Voluntary Contribution and Common Pool Extraction Games," VfS Annual Conference 2014 (Hamburg): Evidence-based Economic Policy 100417, Verein für Socialpolitik / German Economic Association.
    9. Caria, A. Stefano & Fafchamps, Marcel, 2019. "Expectations, network centrality, and public good contributions: Experimental evidence from India," Journal of Economic Behavior & Organization, Elsevier, vol. 167(C), pages 391-408.
    10. Wolff, Irenaeus, 2022. "Predicting Voluntary Contributions by `Revealed-Preference Nash-Equilibrium'," VfS Annual Conference 2022 (Basel): Big Data in Economics 264072, Verein für Socialpolitik / German Economic Association.
    11. Bartke, Simon & Bosworth, Steven J. & Snower, Dennis & Chierchia, Gabriele, 2016. "The influence of induced care and anger motives on behavior, beliefs and perceptions in a public goods game," Kiel Working Papers 2054, Kiel Institute for the World Economy (IfW Kiel).
    12. Siting Lu, 2024. "Strategic Interactions between Large Language Models-based Agents in Beauty Contests," Papers 2404.08492, arXiv.org.
    13. Fosgaard, Toke R. & Hansen, Lars G. & Wengström, Erik, 2019. "Cooperation, framing, and political attitudes," Journal of Economic Behavior & Organization, Elsevier, vol. 158(C), pages 416-427.
    14. Korenok, Oleg & Millner, Edward L. & Razzolini, Laura, 2018. "Taking aversion," Journal of Economic Behavior & Organization, Elsevier, vol. 150(C), pages 397-403.
      • Korenok Oleg & Edward L. Millner & Laura Razzolini, 2017. "Taking Aversion," Working Papers 1702, VCU School of Business, Department of Economics.
    15. Jörg Spiller & Friedel Bolle, 2017. "Experimental investigations of coordination games: high success rates, invariant behavior, and surprising dynamics," Discussion Paper Series RECAP15 28, RECAP15, European University Viadrina, Frankfurt (Oder).
    16. Kevin Leyton-Brown & Paul Milgrom & Neil Newman & Ilya Segal, 2023. "Artificial Intelligence and Market Design: Lessons Learned from Radio Spectrum Reallocation," NBER Chapters, in: New Directions in Market Design, National Bureau of Economic Research, Inc.
    17. Desmet, Pieter T.M. & Engel, Christoph, 2021. "People are conditional rule followers," Journal of Economic Psychology, Elsevier, vol. 85(C).
    18. Kim, Jeongbin & Putterman, Louis & Zhang, Xinyi, 2022. "Trust, Beliefs and Cooperation: Excavating a Foundation of Strong Economies," European Economic Review, Elsevier, vol. 147(C).
    19. A Stefano Caria & Marcel Fafchamps, 2014. "Cooperation and Expectations in Networks: Evidence from a Network Public Good Experiment in Rural India," CSAE Working Paper Series 2014-33, Centre for the Study of African Economies, University of Oxford.
    20. David Zetland & Marina Della Giusta, 2011. "Focal Points, Gender Norms and Reciprocation in Public Good Games," Economics Discussion Papers em-dp2011-01, Department of Economics, University of Reading.

    More about this item

    Keywords

    Software for experiments; large language models; humanmachine interaction; framing;
    All these keywords.

    JEL classification:

    • C91 - Mathematical and Quantitative Methods - - Design of Experiments - - - Laboratory, Individual Behavior
    • C92 - Mathematical and Quantitative Methods - - Design of Experiments - - - Laboratory, Group Behavior
    • D91 - Microeconomics - - Micro-Based Behavioral Economics - - - Role and Effects of Psychological, Emotional, Social, and Cognitive Factors on Decision Making
    • O33 - Economic Development, Innovation, Technological Change, and Growth - - Innovation; Research and Development; Technological Change; Intellectual Property Rights - - - Technological Change: Choices and Consequences; Diffusion Processes
    • L86 - Industrial Organization - - Industry Studies: Services - - - Information and Internet Services; Computer Software

    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:ajk:ajkdps:302. 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: ECONtribute Office (email available below). General contact details of provider: https://www.econtribute.de .

    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.