Using large language models in psychology

Dorottya Demszky,Diyi Yang,David S. Yeager,Christopher J. Bryan,Margarett Clapper,Susannah Chandhok,Johannes C. Eichstaedt,Cameron Hecht,Jeremy Jamieson,Meghann Johnson,Michaela Jones,Danielle Krettek-Cobb,Leslie Lai,Nirel JonesMitchell,Desmond C. Ong,Carol S. Dweck,James J. Gross,James W. Pennebaker
DOI: https://doi.org/10.1038/s44159-023-00241-5
2023-10-14
Nature Reviews Psychology
Abstract:Large language models (LLMs), such as OpenAI's GPT-4, Google's Bard or Meta's LLaMa, have created unprecedented opportunities for analysing and generating language data on a massive scale. Because language data have a central role in all areas of psychology, this new technology has the potential to transform the field. In this Perspective, we review the foundations of LLMs. We then explain how the way that LLMs are constructed enables them to effectively generate human-like linguistic output without the ability to think or feel like a human. We argue that although LLMs have the potential to advance psychological measurement, experimentation and practice, they are not yet ready for many of the most transformative psychological applications — but further research and development may enable such use. Next, we examine four major concerns about the application of LLMs to psychology, and how each might be overcome. Finally, we conclude with recommendations for investments that could help to address these concerns: field-initiated 'keystone' datasets; increased standardization of performance benchmarks; and shared computing and analysis infrastructure to ensure that the future of LLM-powered research is equitable.
What problem does this paper attempt to address?