GPT is an effective tool for multilingual psychological text analysis
Proceedings of the National Academy of Sciences · 20.08.2024 · 121 (34)
DOI: 10.1073/pnas.2308950121 ↗Kurz gefasst
Fachartikel in der Zeitschrift Proceedings of the National Academy of Sciences, online erschienen am 12.08.2024. Verfasst von Steve Rathje und 5 weiteren Autor:innen. Beteiligte Einrichtung: Department of Psychology, New York University, New York, NY 10003. Hauptthemen laut MEDLINE: Multilingualism. Die Arbeit wurde bisher 317-mal zitiert (Crossref) und nennt 87 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: HHS | NIH | National Institute of Mental Health (NIMH), Templeton World Charity Foundation (TWCF), Gates Cambridge Scholarship.
Abstract (Originalsprache)
The social and behavioral sciences have been increasingly using automated text analysis to measure psychological constructs in text. We explore whether GPT, the large-language model (LLM) underlying the AI chatbot ChatGPT, can be used as a tool for automated psychological text analysis in several languages. Across 15 datasets ( n = 47,925 manually annotated tweets and news headlines), we tested whether different versions of GPT (3.5 Turbo, 4, and 4 Turbo) can accurately detect psychological constructs (sentiment, discrete emotions, offensiveness, and moral foundations) across 12 languages. We found that GPT ( r = 0.59 to 0.77) performed much better than English-language dictionary analysis ( r = 0.20 to 0.30) at detecting psychological constructs as judged by manual annotators. GPT performed nearly as well as, and sometimes better than, several top-performing fine-tuned machine learning models. Moreover, GPT’s performance improved across successive versions of the model, particularly for lesser-spoken languages, and became less expensive. Overall, GPT may be superior to many existing methods of automated text analysis, since it achieves relatively high accuracy across many languages, requires no training data, and is easy to use with simple prompts (e.g., “is this text negative?”) and little coding experience. We provide sample code and a video tutorial for analyzing text with the GPT application programming interface. We argue that GPT and other LLMs help democratize automated text analysis by making advanced natural language processing capabilities more accessible, and may help facilitate more cross-linguistic research with understudied languages.
Schlagwörter
MeSH-Schlagwörter (MEDLINE)
Stichwörter der Autor:innen
Autor:innen und Institutionen
- Department of Psychology, New York University, New York, NY 10003.
- Department of Psychology, Princeton University, Princeton, NJ 08540.
- Department of Computer Science, Princeton University, Princeton, NJ 08540.
- Center for Neural Science, New York University, New York, NY 10003.
- Department of Strategy and Management, Norwegian School of Economics, Bergen 5045, Norway.
ORCID-Profile: Steve Rathje, Dan-Mircea Mirea, Ilia Sucholutsky, Raja Marjieh, Claire E Robertson, Jay J Van Bavel
Förderung
- HHS | NIH | National Institute of Mental Health (NIMH)
- Templeton World Charity Foundation (TWCF)
- Gates Cambridge Scholarship
- Russell Sage Foundation (RSF)
- NIMH NIH HHS
- Canadian Government | Natural Sciences and Engineering Research Council of Canada (NSERC)
Zitieren
APA
Rathje, S., Mirea, D. M., Sucholutsky, I., Marjieh, R., Robertson, C. E., & Van Bavel, J. J. (2024). GPT is an effective tool for multilingual psychological text analysis. Proceedings of the National Academy of Sciences, 121(34). https://doi.org/10.1073/pnas.2308950121
Vancouver
Rathje S, Mirea DM, Sucholutsky I, Marjieh R, Robertson CE, Van Bavel JJ. GPT is an effective tool for multilingual psychological text analysis. Proceedings of the National Academy of Sciences. 2024;121(34). doi:10.1073/pnas.2308950121
BibTeX
@article{Rathje2024,
author = {Rathje, Steve and Mirea, Dan-Mircea and Sucholutsky, Ilia and Marjieh, Raja and Robertson, Claire E and Van Bavel, Jay J},
title = {GPT is an effective tool for multilingual psychological text analysis},
journal = {Proceedings of the National Academy of Sciences},
year = {2024},
volume = {121},
number = {34},
doi = {10.1073/pnas.2308950121}
}
EUVIMED