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
- 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`
- Raw Markdown sidecar: `missing`
- Grounding status: `pdf_first_pages`
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
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
Layer Index
- `logic/claims.md`
- `logic/problem.md`
- `logic/concepts.md`
- `logic/related_work.md`
- `logic/experiments.md`
- `evidence/README.md`
- `trace/exploration_tree.yaml`
- `src/environment.md`
- `index.html`
logic/claims.md
Claims
- C01: `Demszky et al. - 2023 - Using large language models in psychology` is part of the AI Data Extraction branch source base and should be retrieved with the anchor documents before use in rejoinder synthesis.
- C02: The source is provisionally connected to [[AI Data Extraction]], [[Evidence Synthesis Automation]].
- C03: The current ARA is a scaffold; exact empirical, methodological, and numerical claims require source checking against `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`.
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
- Document category: `evidence-synthesis-source`
- Branch anchor: connect explicitly to [[Main Paper]], [[Commentary]], [[Commentary 2]], or [[Rejoinder Map]] before using in final prose.
logic/concepts.md
Concepts
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
logic/method_and_design.md
Method And Design
Source Identity
- Title: Demszky et al. - 2023 - Using large language models in psychology
- ARA: `demszky-et-al-2023-using-large-language-models-in-psychology-ara`
- Source PDF: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`
- Raw Markdown: `missing`
- Automated read-through grounding: `pdftotext-full`
Design Classification
- Provisional design: `benchmark/evaluation`
- Branch role: `adjacent evidence-synthesis automation evidence`
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
- Exact sample/study counts.
- Exact model/tool versions.
- Evaluation metrics and denominators.
- Whether reported accuracy concerns screening, extraction, annotation, risk-of-bias, or downstream synthesis.
- Whether humans are used as gold standard, adjudicators, reviewers, validators, or final decision makers.
logic/methods_variables_outcomes.md
Methods Variables Outcomes
Extraction-Relevant Constructs
- Branch role: `adjacent evidence-synthesis automation evidence`.
- Provisional design: `benchmark/evaluation`.
- Top automated-data-extraction terms in source text: llm (232), chatgpt (18), large language model (12), gpt-4 (6), annotation (6), artificial intelligence (3), generative ai (1), screening (1).
Variables And Measures To Source-Check
- AI system or tool used.
- Human comparison or adjudication workflow.
- Data extraction target fields.
- Screening/extraction/annotation/risk-of-bias task definition.
- Accuracy, agreement, sensitivity, specificity, error rate, time, cost, or workload outcomes.
Extracted Evidence Sentences
- 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.
- 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.
- 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
methodological foundations
Concerns about applying
LLMs to psychology
Outlook
1
Graduate School of Education, Stanford University, Stanford, CA, USA.
- 8Institute for Human-Centered
AI, Stanford University, Stanford, CA, USA.
- As computational power
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.
- The
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.
- LLMs are massive statistical models that predict the next word,
phrase, sentence or paragraph, given an input.
logic/source_scope.md
Source Scope
Strong Uses
- Use as `adjacent evidence-synthesis automation evidence` in the AI Data Extraction branch.
- Use for retrieval around llm, chatgpt, large language model, gpt-4, annotation.
Weak Uses
- Do not treat this automated ARA as citation-grade for exact numbers without checking the PDF.
- Do not infer model superiority from abstract-level claims alone.
- Do not treat human-AI agreement or model confidence as validation unless the source itself defines and tests that standard.
Transfer Boundaries
- Domain, document type, extraction target, model/tool version, and human adjudication design may limit transfer to the main AI data extraction paper.
Citation-Grade Verification Needs
- Re-open `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`.
- Confirm the exact extraction task and evaluation metric.
- Confirm whether the source evaluates data extraction specifically or an adjacent task such as screening, annotation, risk-of-bias, or literature search.
logic/experiments.md
Methods And Evidence Role
- Current status: automated scaffold.
- Grounding status: `pdf_first_pages`.
- Source checking path: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`.
- Raw Markdown path: `not available`.
evidence/README.md
Evidence README
Source Pointer
- PDF: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`
- Raw Markdown: `not available`
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 participant 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
- `PAPER.md`: present.
- Source PDF: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`.
- Raw Markdown: `missing`.
- Source note: `wiki/sources/Demszky et al. - 2023 - Using large language models in psychology.md`.
- Required scaffold folders: present.
- Status: `automated-level-1`.
level3_report.md
Level 3 Report
- Automated read-through completed: 2026-05-12.
- Status assigned: `automated-level-3`.
- Source considered: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`.
- Evidence files added:
- `evidence/passages/readthrough_key_passages.md`
- `evidence/tables/readthrough_evidence_map.md`
- Logic files added/refreshed:
- `logic/method_and_design.md`
- `logic/methods_variables_outcomes.md`
- `logic/source_scope.md`
- Remaining work: human close-reading curation before `curated-level-3`.
readthrough_result.md
Read-Through Result
Source Identity Check
- Title: Demszky et al. - 2023 - Using large language models in psychology
- Source PDF: `raw/Demszky et al. - 2023 - Using large language models in psychology.pdf`
- Raw Markdown: `missing`
- Grounding used: `pdftotext-full`
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
- Provisional design: `benchmark/evaluation`
- Branch role: `adjacent evidence-synthesis automation evidence`
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
- [[AI Data Extraction]]
- [[Evidence Synthesis Automation]]
- [[Human-AI Validation]]
- [[LLM Accuracy]]
- [[Speed-Accuracy Tradeoff]]
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
- Verify exact methods, sample sizes, field definitions, and metrics in the PDF.
- Distinguish direct data extraction evidence from adjacent tasks.
- Add parser-compatible APA relations only after close manual comparison with neighboring ARAs.
Final Read-Through Status
`automated-readthrough-complete`; do not treat as `curated-level-3`.