demszky-et-al-2023-using-large-language-models-in-psychology-ara

Branch-local ARA HTML rendering

PAPER.md

---

type: agent_native_research_artifact

date: 2026-05-12

source_title: "Demszky et al. - 2023 - Using large language models in psychology"

source_note: "wiki/sources/Demszky et al. - 2023 - Using large language models in psychology.md"

source_path: "raw/Demszky et al. - 2023 - Using large language models in psychology.pdf"

rawmarkdown_path: ""

grounding_status: "pdf_first_pages"

branch: ai-data-extraction

status: automated-level-3

quality_label: automated-level-3

readthrough_status: automated-readthrough-complete

readthrough_date: 2026-05-12

---

Demszky et al. - 2023 - Using large language models in psychology

Retrieval Contract

Use this ARA as the first branch-local agent-facing layer for the source. Verify important claims against `evidence/README.md`, the branch source note, the raw Markdown sidecar when available, and the PDF.

Source Grounding

Abstracted Contribution

nature reviews psychology

https://doi.org/10.1038/s44159-023-00241-5

Perspective

Check for updates

Using large language models in

psychology

Dorottya Demszky 1,10 , Diyi Yang2,10 , David S. Yeager 3,4,10 , Christopher J. Bryan3,5, Margarett Clapper 3,4,

Susannah Chandhok6, Johannes C. Eichstaedt 7,8, Cameron Hecht 3,4, Jeremy Jamieson9, Meghann Johnson3,

Michaela Jones3, Danielle Krettek-Cobb6, Leslie Lai6, Nirel JonesMitchell3, Desmond C. Ong3,4, Carol S. Dweck7,

James J. Gross 7 & James W. Pennebaker4

Abstract

Sections

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.

Introduction

Conceptual and

methodolog

Branch Use

This artifact was generated to make every PDF in the AI Data Extraction branch retrievable through a consistent ARA framework. It is a Level 1 scaffold unless later files in this folder document deeper curation.

Main Concept Links

Layer Index

logic/claims.md

Claims

logic/problem.md

Problem

This ARA preserves a branch-local retrieval entry point for `Demszky et al. - 2023 - Using large language models in psychology`.

Provisional Role

logic/concepts.md

Concepts

logic/method_and_design.md

Method And Design

Source Identity

Design Classification

Data, Sample, Or Source Material

Recommendations for mitigating bias in LLMs. One key approach to using LLMs ethically in psychological research despite their potential for bias is to involve people who are representative of the population that the LLM is meant to serve (for example, teachers and underserved students for a college advice tool) at every stage of the research process (research design, data annotation and model evaluation). Another way to mitigate bias is to take an ‘AI-in-the-loop, humans in charge’ approach58: instead of allowing the LLM to interact directly with vulnerable populations (for example, struggling students), human experts (for example, teachers) are in control of the interaction and can accept or reject suggestions from the LLM. As LLMs become better at simulating different types of behaviour, they could be used to recognize and diagnose undesirable biases in the content they produce as well as text written by humans. For example, researchers are developing approaches for LLMs to self-diagnose59 and self-criticize based on principles written by people60 to de-bias their output. These algorithms could also be applied to mitigate human bias as a form of bias training. For example, participants could receive constructive feedback on their responses to scenarios that have the potential for bias. Given that many training programmes to combat implicit bias do not have a measurable benefit61,62, LLM-guided explicit-bias training might be a promising avenue for research. In general, it will be important to develop clear processes for quantifying and reducing bias that are not solely driven by LLMs themselves.

Method Workflow

This source was read from the branch-local PDF or Markdown sidecar and mapped for AI data extraction relevance. Treat this as an automated read-through card: useful for routing, but not a replacement for close reading when citing exact methods.

Outcomes Or Analytic Targets

A typical speech generated by the expert-prompt-tuned LLM was: “Welcome to my Algebra 1 class! I am eager to start learning with all of you. For those of you who may be feeling a little intimidated by math, I want to let you know that you are capable of learning this material. It may be difficult at first, but with effort and determination, you will be able to understand it. By the end of the year, you will be able to solve problems that once seemed impossible. So let’s get started on this journey together and see what we can achieve!” This speech was rated higher than the un-tuned LLM speech on growth mindset by adolescents because it explained the path towards improvement. One of the most striking findings was that adolescents’ ratings of the prompt-tuned examples were not significantly different (P > 0.05) from ratings of the human expert examples — even though the former were generated in seconds, whereas the latter were generated over a three-day period. Furthermore, the expert-prompt-tuned speeches made up 75% of the gap between un-tuned LLM and human expert speech ratings. These findings provide direct evidence that LLMs can generate novel text that is similar to a precise psychological construct with only five training examples. This study also suggests a promising approach to using LLMs for psychological research when the base model gets the construct wrong: use expert judgements to select exemplary text, and then prompt-tune the LLM to approximate that expert corpus.

What To Verify Before Citation-Grade Use

logic/methods_variables_outcomes.md

Methods Variables Outcomes

Extraction-Relevant Constructs

Variables And Measures To Source-Check

Extracted Evidence Sentences

https://doi.org/10.1038/s44159-023-00241-5

Perspective

Check for updates

Using large language models in

psychology

Dorottya Demszky 1,10 , Diyi Yang2,10 , David S.

Abstract

Sections

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.

we review the foundations of LLMs.

LLMs are constructed enables them to effectively generate human-like

linguistic output without the ability to think or feel like a human.

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.

we examine four major concerns about the application of LLMs to

psychology, and how each might be overcome.

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.

Conceptual and

methodological foundations

Concerns about applying

LLMs to psychology

Outlook

1

Graduate School of Education, Stanford University, Stanford, CA, USA.

AI, Stanford University, Stanford, CA, USA.

and the availability of data have grown, language analysis has progressed from humans counting words in text, starting in the 1960s1,2,

to latent semantic analysis in the 1990s3,4 and to automated algorithms

for analysis of text on the internet5–8 in the 2010s.

advent of LLMs, such as OpenAI’s generative pre-trained transformer

(GPT) models11,12, Google’s LaMDA and Bard AI13 (which can both generate and score text in human-like ways), will probably push the field

in new directions.

phrase, sentence or paragraph, given an input.

logic/source_scope.md

Source Scope

Strong Uses

Weak Uses

Transfer Boundaries

Citation-Grade Verification Needs

logic/experiments.md

Methods And Evidence Role

evidence/README.md

Evidence README

Source Pointer

Current Evidence State

This ARA has a scaffold-level evidence layer. Use the PDF or raw Markdown for quotation, numeric extraction, inclusion/exclusion decisions, and final manuscript claims.

Initial Excerpt

nature reviews psychology

https://doi.org/10.1038/s44159-023-00241-5

Perspective

Check for updates

Using large language models in

psychology

Dorottya Demszky 1,10 , Diyi Yang2,10 , David S. Yeager 3,4,10 , Christopher J. Bryan3,5, Margarett Clapper 3,4,

Susannah Chandhok6, Johannes C. Eichstaedt 7,8, Cameron Hecht 3,4, Jeremy Jamieson9, Meghann Johnson3,

Michaela Jones3, Danielle Krettek-Cobb6, Leslie Lai6, Nirel JonesMitchell3, Desmond C. Ong3,4, Carol S. Dweck7,

James J. Gross 7 & James W. Pennebaker4

Abstract

Sections

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.

Introduction

Conceptual and

methodolog

evidence/passages/readthrough_key_passages.md

Read-Through Key Passages

Abstract Or Opening

Using large language models in psychology Dorottya Demszky 1,10 , Diyi Yang2,10 , David S. Yeager 3,4,10 , Christopher J. Bryan3,5, Margarett Clapper 3,4, Susannah Chandhok6, Johannes C. Eichstaedt 7,8, Cameron Hecht 3,4, Jeremy Jamieson9, Meghann Johnson3, Michaela Jones3, Danielle Krettek-Cobb6, Leslie Lai6, Nirel JonesMitchell3, Desmond C. Ong3,4, Carol S. Dweck7, James J. Gross 7 & James W. Pennebaker4

Methods

Recommendations for mitigating bias in LLMs. One key approach to using LLMs ethically in psychological research despite their potential for bias is to involve people who are representative of the population that the LLM is meant to serve (for example, teachers and underserved students for a college advice tool) at every stage of the research process (research design, data annotation and model evaluation). Another way to mitigate bias is to take an ‘AI-in-the-loop, humans in charge’ approach58: instead of allowing the LLM to interact directly with vulnerable populations (for example, struggling students), human experts (for example, teachers) are in control of the interaction and can accept or reject suggestions from the LLM. As LLMs become better at simulating different types of behaviour, they could be used to recognize and diagnose undesirable biases in the content they produce as well as text written by humans. For example, researchers are developing approaches for LLMs to self-diagnose59 and self-criticize based on principles written by people60 to de-bias their output. These algorithms could also be applied to mitigate human bias as a form of bias training. For example, participants could receive constructive feedback on their responses to scenarios that have the potential for bias. Given that many training programmes to combat implicit bias do not have a measurable benefit61,62, LLM-guided explicit-bias training might be a promising avenue for research. In general, it will be important to develop clear processes for quantifying and reducing bias that are not solely driven by LLMs themselves.

Results Or Findings

A typical speech generated by the expert-prompt-tuned LLM was: “Welcome to my Algebra 1 class! I am eager to start learning with all of you. For those of you who may be feeling a little intimidated by math, I want to let you know that you are capable of learning this material. It may be difficult at first, but with effort and determination, you will be able to understand it. By the end of the year, you will be able to solve problems that once seemed impossible. So let’s get started on this journey together and see what we can achieve!” This speech was rated higher than the un-tuned LLM speech on growth mindset by adolescents because it explained the path towards improvement. One of the most striking findings was that adolescents’ ratings of the prompt-tuned examples were not significantly different (P > 0.05) from ratings of the human expert examples — even though the former were generated in seconds, whereas the latter were generated over a three-day period. Furthermore, the expert-prompt-tuned speeches made up 75% of the gap between un-tuned LLM and human expert speech ratings. These findings provide direct evidence that LLMs can generate novel text that is similar to a precise psychological construct with only five training examples. This study also suggests a promising approach to using LLMs for psychological research when the base model gets the construct wrong: use expert judgements to select exemplary text, and then prompt-tune the LLM to approximate that expert corpus.

Discussion Or Conclusion

Using LLMs as a reproducible tool LLMs are stochastic (non-deterministic) models, meaning that they can generate different responses to the same prompt. LLMs are trained over natural language text and learn the distributions of possible words. There is therefore no single correct answer to how a given sentence should continue and end. The variability in LLM output is controlled by a temperature parameter that determines how it samples from the distribution of possible words. A temperature of 0 would have the model always pick the most likely words (the maximum a posteriori estimate), whereas positive temperatures allow the model to sample more widely from the distribution, which results in more linguistically (and possibly psychologically) diverse outputs. This stochasticity is similar to how the same human research parti­cipant might respond differently when presented with the same prompt — there is a true ‘signal’, but there is also variability and noise. To address this variability, psychologists do not typically survey one participant; they survey many and then compute statistics on the aggregate. Increasingly, psychologists also randomly vary the stimuli in their studies77. In both cases, psychologists incorporate uncertainty intervals into their conclusions. Likewise, statisticians conducting simulation studies re-sample from their data generating process and incorporate that uncertainty into their analyses. Our recommendation is therefore to acknowledge and incorporate the stochasticity of LLM outputs into analyses, similarly to how researchers account for other forms of stochasticity in psychological research. For example, researchers can use LLMs to generate multiple responses for any prompt and then save and publish (in supplementary material) both the parameters and outputs. This approach will aid reproducibility and also lead to more generalizable conclusions. We note that although one could in principle eliminate stochasticity (for example by setting temperature to 0), this might lead to missing insights that come from the diversity of the language in the model, and so we do not recommend this approach.

Limitations

Tools to use LLMs Here we describe tools that can be used to harness LLMs with minimal expertise. However, a limitation of using tools that require little understanding is that incorrect defaults might be used. In addition, the field is changing rapidly. The best tools might be outdated by the time this paper is published.

evidence/tables/readthrough_evidence_map.md

Read-Through Evidence Map

| Field | Automated read-through value |

|---|---|

| Source PDF | `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf` |

| Raw Markdown | `missing` |

| Grounding | `pdftotext-full` |

| Provisional design | `benchmark/evaluation` |

| Branch role | `adjacent evidence-synthesis automation evidence` |

| Top terms | llm (232), chatgpt (18), large language model (12), gpt-4 (6), annotation (6), artificial intelligence (3), generative ai (1), screening (1) |

| Verification status | Needs human source-checking before exact citation |

level1_report.md

Level 1 Report

level3_report.md

Level 3 Report

- `evidence/passages/readthrough_key_passages.md`

- `evidence/tables/readthrough_evidence_map.md`

- `logic/method_and_design.md`

- `logic/methods_variables_outcomes.md`

- `logic/source_scope.md`

readthrough_result.md

Read-Through Result

Source Identity Check

Content Read-Through

The source was read through using full PDF text when available, with Markdown sidecar fallback. It was selected because it matched automated data extraction, LLM/AI evidence synthesis, screening, annotation, or related review-automation terms.

Methods And Design Check

Results Or Findings Check

A typical speech generated by the expert-prompt-tuned LLM was: “Welcome to my Algebra 1 class! I am eager to start learning with all of you. For those of you who may be feeling a little intimidated by math, I want to let you know that you are capable of learning this material. It may be difficult at first, but with effort and determination, you will be able to understand it. By the end of the year, you will be able to solve problems that once seemed impossible. So let’s get started on this journey together and see what we can achieve!” This speech was rated higher than the un-tuned LLM speech on growth mindset by adolescents because it explained the path towards improvement. One of the most striking findings was that adolescents’ ratings of the prompt-tuned examples were not significantly different (P > 0.05) from ratings of the human expert examples — even though the former were generated in seconds, whereas the latter were generated over a three-day period. Furthermore, the expert-prompt-tuned speeches made up 75% of the gap between un-tuned LLM and human expert speech ratings. These findings provide direct evidence that LLMs can generate novel text that is similar to a precise psychological construct with only five training examples. This study also suggests a promising approach to using LLMs for psychological research when the base model gets the construct wrong: use expert judgements to select exemplary text, and then prompt-tune the LLM to approximate that expert corpus.

Theory And Concept Check

Noise Removed

This pass did not preserve title-page boilerplate as claims. It wrote concise method/scope/evidence files and left exact quotation to source checking.

Open Verification Needs

Final Read-Through Status

`automated-readthrough-complete`; do not treat as `curated-level-3`.