IDEAS home Printed from https://ideas.repec.org/p/uea/wcbess/24-01.html
   My bibliography  Save this paper

Using Large Language Models for Text Classification in Experimental Economics

Author

Listed:
  • Can Celebi

    (University of Mannheim)

  • Stefan Penczynski

    (School of Economics and Centre for Behavioural and Experimental Social Science, University of East Anglia)

Abstract

In our study, we compare the classification capabilities of GPT-3.5 and GPT-4 with human annotators using text data from economic experiments. We analysed four text corpora, focusing on two domains: promises and strategic reasoning. Starting with prompts close to those given to human annotators, we subsequently explored alternative prompts to investigate the effect of varying classification instructions and degrees of background information on the models' classification performance. Additionally, we varied the number of examples in a prompt (few-shot vs zero-shot) and the use of the zero-shot "Chain of Thought" prompting technique. Our findings show that GPT-4's performance is comparable to human annotators, achieving accuracy levels near or over 90% in three tasks, and in the most challenging task of classifying strategic thinking in asymmetric coordination games, it reaches an accuracy level above 70%.

Suggested Citation

  • Can Celebi & Stefan Penczynski, 2024. "Using Large Language Models for Text Classification in Experimental Economics," Working Paper series, University of East Anglia, Centre for Behavioural and Experimental Social Science (CBESS) 24-01, School of Economics, University of East Anglia, Norwich, UK..
  • Handle: RePEc:uea:wcbess:24-01
    as

    Download full text from publisher

    File URL: https://ueaeco.github.io/working-papers/papers/cbess/UEA-CBESS-24-01.pdf
    File Function: main text
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Guarnaschelli, Serena & McKelvey, Richard D. & Palfrey, Thomas R., 2000. "An Experimental Study of Jury Decision Rules," American Political Science Review, Cambridge University Press, vol. 94(2), pages 407-423, June.
    2. Paul Glasserman & Caden Lin, 2023. "Assessing Look-Ahead Bias in Stock Return Predictions Generated By GPT Sentiment Analysis," Papers 2309.17322, arXiv.org.
    3. David J. Cooper & John H. Kagel, 2005. "Are Two Heads Better Than One? Team versus Individual Play in Signaling Games," American Economic Review, American Economic Association, vol. 95(3), pages 477-509, June.
    4. Daniel Houser & Erte Xiao, 2011. "Classification of natural language messages using a coordination game," Experimental Economics, Springer;Economic Science Association, vol. 14(1), pages 1-14, March.
    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. Jiabin Wu, 2018. "Indirect higher order beliefs and cooperation," Experimental Economics, Springer;Economic Science Association, vol. 21(4), pages 858-876, December.
    2. Baethge, Caroline, 2016. "Performance in the beauty contest: How strategic discussion enhances team reasoning," Passauer Diskussionspapiere, Betriebswirtschaftliche Reihe B-17-16, University of Passau, Faculty of Business and Economics.
    3. Ginzburg, Boris & Guerra, José-Alberto, 2019. "When collective ignorance is bliss: Theory and experiment on voting for learning," Journal of Public Economics, Elsevier, vol. 169(C), pages 52-64.
    4. Ronald Bosman & Heike Hennig-Schmidt & Frans Winden, 2006. "Exploring group decision making in a power-to-take experiment," Experimental Economics, Springer;Economic Science Association, vol. 9(1), pages 35-51, April.
    5. van Dijk, Frans & Sonnemans, Joep & Bauw, Eddy, 2014. "Judicial error by groups and individuals," Journal of Economic Behavior & Organization, Elsevier, vol. 108(C), pages 224-235.
    6. Auerswald, Heike & Schmidt, Carsten & Thum, Marcel & Torsvik, Gaute, 2018. "Teams in a public goods experiment with punishment," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 72(C), pages 28-39.
    7. Jacob K. Goeree & Leeat Yariv, 2009. "An experimental study of jury deliberation," IEW - Working Papers 438, Institute for Empirical Research in Economics - University of Zurich.
    8. Andres, Maximilian & Bruttel, Lisa & Friedrichsen, Jana, 2023. "How communication makes the difference between a cartel and tacit collusion: A machine learning approach," European Economic Review, Elsevier, vol. 152(C).
    9. Nick Feltovich & Yasuyo Hamaguchi, 2018. "The Effect of Whistle‐Blowing Incentives on Collusion: An Experimental Study of Leniency Programs," Southern Economic Journal, John Wiley & Sons, vol. 84(4), pages 1024-1049, April.
    10. Elten, Jonas van & Penczynski, Stefan P., 2020. "Coordination games with asymmetric payoffs: An experimental study with intra-group communication," Journal of Economic Behavior & Organization, Elsevier, vol. 169(C), pages 158-188.
    11. David J. Cooper & Ian Krajbich & Charles N. Noussair, 2019. "Choice-Process Data in Experimental Economics," Journal of the Economic Science Association, Springer;Economic Science Association, vol. 5(1), pages 1-13, August.
    12. Wang, Siyu & Houser, Daniel, 2019. "Demanding or deferring? An experimental analysis of the economic value of communication with attitude," Games and Economic Behavior, Elsevier, vol. 115(C), pages 381-395.
    13. W. Viscusi & Owen Phillips & Stephan Kroll, 2011. "Risky investment decisions: How are individuals influenced by their groups?," Journal of Risk and Uncertainty, Springer, vol. 43(2), pages 81-106, October.
    14. Andres, Maximilian & Bruttel, Lisa & Friedrichsen, Jana, 2021. "How do sanctions work? The choice between cartel formation and tacit collusion," VfS Annual Conference 2021 (Virtual Conference): Climate Economics 242372, Verein für Socialpolitik / German Economic Association.
    15. Nobuyuki Hanaki & Ali I. Ozkes, 2023. "Strategic environment effect and communication," Experimental Economics, Springer;Economic Science Association, vol. 26(3), pages 588-621, July.
    16. Maximilian Andres & Lisa Bruttel & Jana Friedrichsen, 2020. "Choosing between explicit cartel formation and tacit collusion – An experiment," CEPA Discussion Papers 19, Center for Economic Policy Analysis.
    17. David J. Cooper & Krista Saral & Marie Claire Villeval, 2021. "Why Join a Team?," Management Science, INFORMS, vol. 67(11), pages 6980-6997, November.
    18. Zakaria Babutsidze & Nobuyuki Hanaki & Adam Zylbersztejn, 2019. "Digital Communication and Swift Trust," Post-Print halshs-02409314, HAL.
    19. Morone, A. & Morone, P. & Germani, A.R., 2014. "Individual and group behaviour in the traveler's dilemma: An experimental study," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 49(C), pages 1-7.
    20. Jordi Brandts & David J. Cooper, 2005. "It's What You Say Not What You Pay," UFAE and IAE Working Papers 643.05, Unitat de Fonaments de l'Anàlisi Econòmica (UAB) and Institut d'Anàlisi Econòmica (CSIC).

    More about this item

    Keywords

    Text Classification; GPT; Strategic Thinking; Promises;
    All these keywords.

    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:uea:wcbess:24-01. 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: Cara Liggins (email available below). General contact details of provider: https://edirc.repec.org/data/esueauk.html .

    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.